Mobile app version of vmapp.org
Login or Join
Harper822

: MediaWiki: How to put $wgSitename in the sidebar? I'm working on a group of related wikis. I want $wgSitename to show up prominently in the left sidebar. What's a good way to do this? I could

@Harper822

Posted in: #Mediawiki

I'm working on a group of related wikis. I want $wgSitename to show up prominently in the left sidebar. What's a good way to do this?

I could hack the skin but this is not a good way.
I looked into MediaWiki:Sidebar but there's no obvious way to get the site name in there.

There will be more than 10 wikis and I don't want to create a different logo for each wiki.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Harper822

1 Comments

Sorted by latest first Latest Oldest Best

 

@Hamaas447

You can add * {{SITENAME}} to MediaWiki:Sidebar and use some script to replicate that, or use the AddMessages extension or the MessagesPreLoad hook to set the text from code.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme