MediaWiki:PreMarkup.js: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
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>'; }▼
▲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 '' + p1 + ''; }
function returnSpanPosStr(match, p1) {
var MarginTop = 0;
Line 20 ⟶ 15:
switch(p1) {
case "":
MarginTop = 5;
Line 35 ⟶ 29:
MarginLeft = 0;
Rotation = 315;
break;
case "-bl":
| |||