Munurin millum rættingarnar hjá "MediaWiki:Common.js"
Content deleted Content added
Linja 288:
// if the namespace prefix is there, remove it on our verification copy. If it isn't there, add it to the original realValue copy.
if (mw.config.get('wgNamespaceNumber') != 0) {
if (mw.config.
verifyTitle = verifyTitle.substr(mw.config.
} else {
realTitleText = mw.config.
realTitleHTML = mw.config.
}
}
Linja 300:
verifyTitle = verifyTitle.replace(/_/g, " "); // underscores to spaces
verifyTitle = verifyTitle[0].toUpperCase() + verifyTitle.substring(1, verifyTitle.length); // uppercase first character
isPasteable = (verifyTitle == mw.config.
var h1 = document.getElementsByTagName("h1")[0];
|