https://bugzilla.wikimedia.org/show_bug.cgi?id=28929
Web browser: ---
Bug #: 28929
Summary: interwiki transclusion fails with "Cannot redeclare
class HttpRequest" error
Product: MediaWiki
Version: 1.16.5
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Templates
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l