User:Poke/CollapsibleTables.js: Difference between revisions

no edit summary
(creation.)
 
No edit summary
 
Line 43: Line 43:
   function initialize ()
   function initialize ()
   {
   {
     if ( wgIsArticle == false && window.location.href.indexOf( 'action=submit' ) < 0 )
     if ( mw.config.get("wgIsArticle") == false && window.location.href.indexOf( 'action=submit' ) < 0 )
       return;
       return;