MediaWiki:Common.js: Difference between revisions

From Porn Base Central
Jump to navigation Jump to search
Content deleted Content added
Undo revision 2909 by PeaceDeadC (talk)
Tags: Undo Reverted
Undo revision 2910 by PeaceDeadC (talk)
Tag: Undo
Line 1: Line 1:
mw.loader.load('https://test1.pbc.xxx/w/index.php?title=User:Lisa/convenientDiscussions.js&action=raw&ctype=text/javascript');
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-cdn/bootstrap.min.css";
document.head.appendChild(link);
}

Revision as of 15:27, 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-cdn/bootstrap.min.css";
    document.head.appendChild(link);
}