Diferència entre revisions de la pàgina «MediaWiki:Gadget-traduccions/editor.js»

Use of "wgNamespaceNumber" is deprecated. Use mw.config instead.
(traduïnt)
(Use of "wgNamespaceNumber" is deprecated. Use mw.config instead.)
addOnloadHook(function () {
var actions = window.location.toString().replace(/.*\?/, '&');
if (wgAction != 'view' || actions.indexOf('&printable=yes') > -1 || actions.indexOf('&diff=') > -1 || actions.indexOf('&oldid=') > -1 || mw.config.get("wgNamespaceNumber")!=0) {return;} //Només espai ppal.
// Check that we have not been disabled
var prefs = new CookiePreferences('EditorJs');
14.850

modificacions