Main Page: Difference between revisions

From HeatSync Labs Wiki
Jump to navigation Jump to search
No edit summary
en>WikiSysop
No edit summary
Line 1: Line 1:
/* Main page hacks. Remove default "Main Page" header */
var mpTitle = "{{MediaWiki:Mainpage}}";
var isMainPage = (document.title.substr(0, document.title.lastIndexOf(" - ")) == mpTitle);
var isDiff = (document.location.search && (document.location.search.indexOf("diff=") != -1 || document.location.search.indexOf("oldid=") != -1));
if (isMainPage && !isDiff)
{
document.write('<style type="text/css">/*<![CDATA[*/ #siteSub, #contentSub, h1.firstHeading { display: none !important; } /*]]>*/</style>');
}
<big>'''MediaWiki has been successfully installed.'''</big>
<big>'''MediaWiki has been successfully installed.'''</big>



Revision as of 23:55, 4 September 2009

/* Main page hacks. Remove default "Main Page" header */ var mpTitle = "Main Page"; var isMainPage = (document.title.substr(0, document.title.lastIndexOf(" - ")) == mpTitle); var isDiff = (document.location.search && (document.location.search.indexOf("diff=") != -1 || document.location.search.indexOf("oldid=") != -1));

if (isMainPage && !isDiff) { document.write('<style type="text/css">/*<![CDATA[*/ #siteSub, #contentSub, h1.firstHeading { display: none !important; } /*]]>*/</style>'); }


MediaWiki has been successfully installed.

Consult the User's Guide for information on using the wiki software.

Getting started