On 13/05/12 08:43, Stip wrote:
> In 1.17., the following Code in MediaWiki:Sidebar worked as intended:
> 
> {{#ifeq: {{NAMESPACE}} | |
> *Search for "{{PAGENAME}}"
> **external link with PAGENAME as parameter
> | }}
> 
> After upgrading to 1.19., it doesnt work anymore. Any advice how to fix it?
> 
> Greetings
> Stip

In which way it doesn't work?
1.17.4 seems to conditionally render the Search for "{{PAGENAME}}" but
not to show the link.

As for getting the old behavior, change in Skin.php, function
addToSidebar (line 1237) the wfMsgForContentNoTrans to wfMsgForContent
(you shouldn't be doing these things, though What about hiding it with CSS?)



_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to