MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
PeaceDeadC (talk | contribs) No edit summary Tag: Reverted |
PeaceDeadC (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
link.rel = "stylesheet"; |
link.rel = "stylesheet"; |
||
link.type = "text/css"; |
link.type = "text/css"; |
||
link.href = "https://cdn.pbc.xxx/bootstrap |
link.href = "https://cdn.pbc.xxx/bootstrap/bootstrap.min.css"; |
||
document.head.appendChild(link); |
document.head.appendChild(link); |
||
} |
} |
||
Latest revision as of 15:29, 24 February 2025
mw.loader.load('https://test1.pbc.xxx/w/index.php?title=User:Lisa/convenientDiscussions.js&action=raw&ctype=text/javascript');
if (mw.config.get('wgPageName') === 'Main_Page') {
var link = document.createElement("link");
link.rel = "stylesheet";
link.type = "text/css";
link.href = "https://cdn.pbc.xxx/bootstrap/bootstrap.min.css";
document.head.appendChild(link);
}