MediaWiki:Gadget-TranslationAdder.js: diferència entre les revisions
Contingut suprimit Contingut afegit
Use of "wgNamespaceNumber" is deprecated. Use mw.config instead. |
Use of "wgAction"/"wgTitle" is deprecated. Use mw.config instead. |
||
Línia 769:
if (txt.indexOf(',') == -1 || forceComma) {
forceComma = false;
if (langmetadata.expectedCase(thiz.elements.lang.value, mw.config.get("wgTitle"), txt) || forceCase) {
forceCase = false;
return util.validateNoWikisyntax('traducció', true)(txt, error);
Línia 1.283:
addOnloadHook(function () {
var actions = window.location.toString().replace(/.*\?/, '&');
if (mw.config.get("wgAction
// Check that we have not been disabled
var prefs = new CookiePreferences('EditorJs');
|