global $wgTitle, $wgArticle, $wgUser, $wgLang, $wgOut;
global $wgScript, $wgStyleSheetPath, $wgLanguageCode, $wgUseNewInterlanguage;
global $wgMimeType, $wgOutputEncoding, $wgUseDatabaseMessages, $wgRequest;
- global $wgDisableCounters;
+ global $wgDisableCounters, $wgLogo;
extract( $wgRequest->getValues( 'oldid', 'diff' ) );
*/
$tpl->setRef( "searchaction", &$wgScript );
$tpl->setRef( "stylepath", &$wgStyleSheetPath );
+ $tpl->setRef( "logopath", &$wgLogo );
$tpl->setRef( "lang", &$wgLanguageCode );
$tpl->set( "langname", $wgLang->getLanguageName( $wgLanguageCode ) );
$tpl->setRef( "username", &$this->username );
window.attachEvent("onload", hookit);
function hookit() {
- // replaced by special indexed logo for now
- //fixalpha();
+ fixalpha();
if(version == 6) {
var wrapper = document.getElementById('tawrapper');
if (!wrapper) relativeforfloats();
display: block;
height: 155px;
width: 135px;
- background: url(wiki.png) no-repeat;
background-repeat: no-repeat;
text-decoration: none;
}
* html #portal-column-content {
display: inline;
}
-/* only indexed png transparency */
-* html #portlet-logo a,
-* html #portlet-logo a:hover {
- background: url(wiki-indexed.png) no-repeat;
-}
/* float/negative margin brokenness */
* html #bodyContent pre,
</div>
<!--<esi:include src="staticLogoNaviSearch"/> same for all pages, contains quite a few messages that are worth caching -->
<div class="portlet" id="portlet-logo">
- <a href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
+ <a style="background: url(${logopath}) no-repeat;" href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
</div>
<div class="portlet" id="portlet-navigation">
<h5 i18n:translate="string:navigation">Navigation</h5>