MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
PeaceDeadC (talk | contribs) Undo revision 2910 by PeaceDeadC (talk) Tag: Undo |
PeaceDeadC (talk | contribs) No edit summary |
||
| 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);
}