바뀜

편집 요약 없음
13번째 줄: 13번째 줄:  
// Import more specific scripts if necessary
 
// Import more specific scripts if necessary
   −
if( wgNamespaceNumber == 6 ) {
+
if( mw.config.get('wgNamespaceNumber') == 6 ) {
 
     importScript('MediaWiki:Common.js/file.js');
 
     importScript('MediaWiki:Common.js/file.js');
 
}
 
}