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

אין תקציר עריכה
אין תקציר עריכה
שורה 75: שורה 75:
var partext = par == null || oldtext.indexOf(par[0]) != 0 ? '' : par[0] + ' ';
var partext = par == null || oldtext.indexOf(par[0]) != 0 ? '' : par[0] + ' ';
// set the short name
// set the short name
var namespace = mw.config.get('wgNamespace').replaceAll('_', ' ');
var namespace = mw.config.get('wgNamespaceName').replaceAll('_', ' ');
alert(namespace);
alert(namespace);
alert(converttable[pagename]);
alert(converttable[pagename]);