Anonymous

MediaWiki:Gadget-MoveUtil.js: Difference between revisions

From Elwiki
m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
if(wgNamespaceNumber == -1 && /MovePage(\/.+)?/.test(wgTitle)){
if(wgNamespaceNumber == -1 && /MovePage(\/.+)?/.test(wgTitle)){
     if(!$('#mw-movepage-table')){
     if(!$('#mw-movepage-table').length){
         var from, to, wiki, edittoken = '', new_wiki;
         var from, to, wiki, edittoken = '', new_wiki;
         from = $('#mw-content-text > p > b > a').first().text();
         from = $('#mw-content-text > p > b > a').first().text();