MediaWiki:Common.js: Difference between revisions

From Porn Base Central
Jump to navigation Jump to search
Content deleted Content added
No edit summary
Tag: Reverted
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-cdn/bootstrap.min.css";
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);
}