[Mediawiki-l] Embed Special:Random
Helmut Schneider
jumper99 at gmx.de
Tue Mar 18 19:28:15 UTC 2008
<zehetner at molgen.mpg.de> wrote:
> No idea why this should happen in this context (but I don't know
> newestpages). The UNIQ problem seems more related with extension
> incombatibility (e.g. double-call of the parse() function):
> https://bugzilla.wikimedia.org/show_bug.cgi?id=8820
> http://meta.wikimedia.org/wiki/QINU_fix
OK, due my lack of PHP knowledge this seems a dead end for me. I assume that
the snippet
public function execute( $par ) {
global $wgRequest, $wgOut, $wgContLang;
in NewestPages.page.php might cause the problem (according to
http://meta.wikimedia.org/wiki/QINU_fix) but I have no idea how to fix.
As the problem only occures when {{Special:RandomPageRedirect}} and
{{Special:NewestPages}} are on the same page (also when using templates for
each) I'll rebuild the page.
Thanks anyway, Helmut
More information about the MediaWiki-l
mailing list