מדיה ויקי: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 | ||
alert(JSON.stringify(mw.config.get('wgFormattedNamespaces'))); | alert(JSON.stringify(mw.config.get('wgFormattedNamespaces'))); | ||
alert(converttable[ | var namespace = mw.config.get('wgNamespaceNumber'); | ||
alert(converttable[namename]); | |||
$(document) | $(document) | ||
.prop('title', partext + letter + String.fromCharCode(8207) | .prop('title', partext + letter + String.fromCharCode(8207) | ||