משתמש אלמוני
מדיה ויקי:Gadget-popup.js: הבדלים בין גרסאות בדף
better comment.
(←using [[mw:CodeEditor|CodeEditor]]: הי -a 1-800-oops-jew) |
(better comment.) |
||
שורה 229: | שורה 229: | ||
}; | }; | ||
// this gadget wipes the "title" attribute of links. however, cat-a-lot depends on | // this gadget wipes the "title" attribute of links. however, Gadget cat-a-lot depends on the "title" attribute. | ||
// so if we are in category space (14), and if this user also uses cat-a-lot, | // so if we are in category space (14), and if this user also uses cat-a-lot, | ||
// | // turn off the title-wiping behavior by setting global variable "removeTitles" to false. | ||
// as explained | // as explained in cat-a-lot talk page: http://commons.wikimedia.org/wiki/MediaWiki_talk:Gadget-Cat-a-lot.js | ||
if (wgNamespaceNumber == 14) | if (wgNamespaceNumber == 14) | ||
mw.loader.using('mediawiki.user', function(){ | mw.loader.using('mediawiki.user', function(){ |