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

Platonides Platonides at gmail.com
Sun Mar 25 15:57:29 UTC 2012

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

More information about the MediaWiki-l mailing list