Author: pavelmalahov
Description:
I have a wiki-farm but cannot make interwiki transclution works.
That's what I checked:
- iw_trans flag in interwiki tables is ON (=1)
- $wgEnableScaryTranscluding = true;
- Template is accessible by any (including anonymous) user
- MediaWiki core was not touched
- No extension used (now they switched on)
That's what I need:
There is a template Common in pool wiki - the wiki of common resources for all wikis in the project
http://en.teopedia.org/pool/Template:Common
Transcluding works in it's own wiki just fine (see the bottom):
http://en.teopedia.org/pool/Main_Page
I've tried to put the line
{{t-en-pool:Common}}
Or
{{t-en-pool:Template:Common}}
to the another wiki in the same farm:
http://en.teopedia.org/wiki/Main_Page
where "t-en-pool" is a prefix in the shared interwiki table, which can be verified in
http://en.teopedia.org/wiki/Special:Interwiki
and see a blank page in my browser. In PHP log on server I read:
[error] [client 127.0.0.8] PHP Fatal error: Cannot redeclare class HttpRequest in /local-path-to-mw-engine/includes/HttpFunctions.php on line 122, referer: http://en.teopedia.org/w-wiki/index....ge&action=edit
There is the same error on MediaWiki 1.16.2, 1.16.4, 1.16.5
Is it something wrong in PHP configuration on my server? Or is it a MediaWiki bug?
My configuration:
MediaWiki 1.16.5
PHP 5.3.6 (apache2handler)
MySQL 5.0.77-log
Version: 1.16.x
Severity: normal