MediaWiki:Common.js: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
if (mw.config.get("wgTitle") == "Web") {
if (mw.config.get("wgTitle") == "Web") {


 
//if (mw.config.get("wgRevisionId") < 11000) {
 
var notice = document.getElementById("siteNotice");
notice.innerHtml = "<b>Warning:</b> This page has not been updated since Early Access, the contents may be outdated.";
//}


}
}

Revision as of 03:34, 10 July 2023

/* Any JavaScript here will be loaded for all users on every page load. */

if (mw.config.get("wgTitle") == "Web") {

//if (mw.config.get("wgRevisionId") < 11000) {
	var notice = document.getElementById("siteNotice");
	notice.innerHtml = "<b>Warning:</b> This page has not been updated since Early Access, the contents may be outdated.";
//}

}