[Mediawiki-l] CentralNotice only working on pages without short URLs

Forest ForTrees forestfortrees at ymail.com
Sun Apr 1 00:39:23 UTC 2012

> I suspect that setting
> > $wgCentralPagePath = "http://www.tmswiki.org/w/index.php";
> will fix it.

Many thanks, Platonides, that was exactly it.



> From: Platonides <Platonides at gmail.com>
>To: mediawiki-l at lists.wikimedia.org 
>Sent: Sunday, March 25, 2012 11:57 AM
>Subject: Re: [Mediawiki-l] CentralNotice only working on pages without short URLs
>It's related to the way it is configured. It's trying to load the
>central notice from:
>> http://www.tmswiki.org/ppd/The_Tension_Myositis_Syndrome_Wiki?title=Special:BannerLoader&banner=TestBanner&campaign=TYDS&userlang=en&db=ptpn_wiki&sitename=The+TMS+Wiki
>instead of
>> http://www.tmswiki.org/w/index.php?title=Special:BannerLoader&banner=TestBanner&campaign=TYDS&userlang=en&db=ptpn_wiki&sitename=The+TMS+Wiki
>You seem to have $wgCentralPagePath with its default value.
>I suspect that setting
>> $wgCentralPagePath = "http://www.tmswiki.org/w/index.php";
>will fix it.
>I've also submitted a change to https://gerrit.wikimedia.org/r/3717
>which should provide a better default.
>Best regards
>MediaWiki-l mailing list
>MediaWiki-l at lists.wikimedia.org

More information about the MediaWiki-l mailing list