பயனர்:Logicwiki/editlink.js
குறிப்பு - சேமித்த பின்னர், நீங்கள் செய்த மாற்றங்களைக் காண்பதற்கு உங்கள் உலவியின் இடைமாற்று அகற்றப்பட வேண்டும்.
- மொஸில்லா பயர்பாக்ஸ் / சபாரி: Shift+Reload, அல்லது Ctrl-F5 அல்லது Ctrl-R (⌘-R Mac ல்)
- கூகிள் குரோம் Ctrl-Shift-R அழுத்தவும். (⌘-Shift-R Mac ல்) ;
- இண்டர்நெட் எக்ஸ்ப்ளோரர்: Ctrl-Refresh அல்லது Ctrl-F5 ஐ அழுத்தவும்.
- ஒபேரா: Tools → Preferences இல் இடைமாற்றை அகற்றவும்;
/ **
* Moving [edit]
*
* Fixed titles that appear ill because of limitations due to MediaWiki.
* This script should be removed when the [[bugzilla: 11555]] will be resolved (similar behavior)
*
* Copyright 2006, Marc Mongenet. GPL and GFDL.
*
* The function looks for <span class="editsection">, and move 'em
* At the End of Their parent and display inline 'em in small font.
* Var = true oldEditsectionLinks Disable the function.
* /
setModifySectionStyle function (element) {
if (typeof oldEditsectionLinks! == 'undefined' & & oldEditsectionLinks) {
return;
}
var root = element? element: document;
try {
for (var sections = ["h1", "h2" "h3" "h4", "h5", "h6"], i = 0; i <6; i + +) {
var list = root. getElementsByTagName (sections [i]);
for (var j = 0, l = list. length j <l, j + +) {
var parent = list [j];
var span = parent. firstChild;
if (className === span. "Editsection") {
addClass (parent, "modifiedSectionTitle");
parent. appendChild (span);
}
}
}
}
catch (e) {}
}
addOnloadHook (setModifySectionStyle);