מדיה ויקי:Gadget-HotCat.js: הבדלים בין גרסאות בדף

do not add interface to protected pages, if user has no edit permission
oops, the previous version broke Special:upload
שורה 82: שורה 82:


   // do not add interface to protected pages, if user has no edit permission
   // do not add interface to protected pages, if user has no edit permission
   if( document.getElementById('ca-edit' ) == null ) return;  
   if( document.getElementById('ca-viewsource' ) != null ) return;  


   hotcat_modify_existing ( catline ) ;
   hotcat_modify_existing ( catline ) ;