MediaWiki:Common.js: Difference between revisions

making totally sure that this is the reason for the problem
m (testing to see if my browser is paying attention)
(making totally sure that this is the reason for the problem)
Line 23: Line 23:
   *  Description: Allows for sysop-specific Javascript at [[MediaWiki:Sysop.js]].
   *  Description: Allows for sysop-specific Javascript at [[MediaWiki:Sysop.js]].
   */
   */
function sysopFunctions() {
/*function sysopFunctions() {
     if ( wgUserGroups && !window.disableSysopJS ) {
     if ( wgUserGroups && !window.disableSysopJS ) {
         for ( var g = 0; g < wgUserGroups.length; ++g ) {
         for ( var g = 0; g < wgUserGroups.length; ++g ) {
Line 34: Line 34:
}
}


addOnloadHook( sysopFunctions );
addOnloadHook( sysopFunctions );*/