MediaWiki:PreMarkup.js: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
Line 3:
$('pre').each(function(){
var $this = $(this)▼
var OriginalText = $this.html();▼
$this.parent(".mw-collapsible-content").show(); /// temporary show collapsible content to read its location....▼
function returnBoxedText(match, p1) { return '<box>' + p1 + '</box>'; }▼
▲
$this.parent().parent(".mw-collapsible-content").show(); /// temporary show collapsible content to read its location....
function returnSpanPosStr(match, p1) {
var MarginTop = 0;
Line 15 ⟶ 20:
switch(p1) {
case "":
MarginTop = 5;
| |||