Difference between revisions of "Mediawiki Notes"
Jump to navigation
Jump to search
PeterHarding (talk | contribs) m (MediaWiki moved to Mediawiki Notes) |
PeterHarding (talk | contribs) |
||
| Line 22: | Line 22: | ||
</pre> | </pre> | ||
==Embedding Images== | |||
http://en.wikipedia.org/wiki/Help:Images_and_other_uploaded_files#Embedding_internal_images | |||
[[Category:Mediawiki]] | [[Category:Mediawiki]] | ||
Revision as of 12:25, 12 February 2008
Mediawiki Notes
Adding the following code to the buildSidebar() function in include/Skins.php will cause an empty menu to be used when no use is logged in.
(Around line 1608 in include/Skins.php)
function buildSidebar() {
global $parserMemc, $wgEnableSidebarCache;
global $wgLang, $wgContLang;
#----- PLH 20070728 --------------------------------------
global $wgUser;
if (!$wgUser->isLoggedIn()) {
return array();
}
#---------------------------------------------------------
Embedding Images
http://en.wikipedia.org/wiki/Help:Images_and_other_uploaded_files#Embedding_internal_images