Weitere Optionen
KKeine Bearbeitungszusammenfassung |
K test |
||
| Zeile 16: | Zeile 16: | ||
// Wenn true: Auswahlliste nach unten statt nach oben ausklappen | // Wenn true: Auswahlliste nach unten statt nach oben ausklappen | ||
// var hotcat_list_down = false; | // var hotcat_list_down = false; | ||
// The tooltips for the above links | |||
,addmulti : '<span>+<sup>+</sup></span>' | |||
// The HTML content of the "enter multi-mode" link at the front. | |||
,multi_tooltip : 'Mehrere Kategorien ändern' | |||
// Tooltip for the "enter multi-mode" link | |||
,disable : | |||
function () { // Return true to disable HotCat | |||
return ( wgNamespaceNumber < 0 // Special pages; Special:Upload is handled differently | |||
|| wgNamespaceNumber == 10 // Templates | |||
|| wgNamespaceNumber == 8 // MediaWiki | |||
|| wgNamespaceNumber == 2 | |||
&& wgTitle && wgTitle.length >= 3 && wgTitle.lastIndexOf ('.js') + 3 == wgTitle.length | |||
// User scripts | |||
|| typeof (wgNamespaceIds) != 'unknown' | |||
&& ( wgNamespaceNumber == wgNamespaceIds['creator'] | |||
|| wgNamespaceNumber == wgNamespaceIds['timedtext'] | |||
) | |||
); | |||
} | |||
// interne Variablen | // interne Variablen | ||