Last modified: 2014-01-14 08:26:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60659, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58659 - Installation of bundled extensions fails on Windows
Installation of bundled extensions fails on Windows
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.22.0
All Windows 7
: Unprioritized normal (vote)
: 1.22.x release
Assigned To: Nobody - You can work on this!
: code-update-regression
: 59079 59611 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-18 19:07 UTC by Markus Glaser
Modified: 2014-01-14 08:26 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Markus Glaser 2013-12-18 19:07:47 UTC
I tried to install MediaWiki 1.22 on Windows and selected a few of the bundled extensions. Installation continues smoothly, but I cannot call MediaWiki afterwards. Instead, I get this warning:

Warning: require_once(<path to mediawiki>\mediawiki-1.22.0xtensions\Cite\Cite.php): failed to open stream: Invalid argument in <path to mediawiki>\mediawiki-1.22.0\LocalSettings.php on line 126

The reason for this is most likely that the path to the extension file is written with backslashes in LocalSettings.php:

require_once "$IP\extensions\Cite\Cite.php";

Unfortunately, \e is an escape sequence. So the resulting include path for php is wrong. Instead of 

...mediawiki-1.22.0/extensions...

it says

...mediawiki-1.22.0xtensions...
Comment 1 Kevin Israel (PleaseStand) 2013-12-22 09:31:57 UTC
Likely caused by 2e1852ad6c54. This would affect only the REL1_22 branch.
Comment 2 Nemo 2013-12-30 09:29:31 UTC
Update per https://www.mediawiki.org/w/index.php?title=MediaWiki_1.22/Known_issues&oldid=847749 which seems to be the master list.
Comment 3 Umherirrender 2014-01-02 14:47:02 UTC
*** Bug 59079 has been marked as a duplicate of this bug. ***
Comment 4 Jackmcbarn 2014-01-03 23:19:32 UTC
*** Bug 59611 has been marked as a duplicate of this bug. ***
Comment 5 Markus Glaser 2014-01-14 08:26:14 UTC
Fixed as of https://gerrit.wikimedia.org/r/#/c/107211/ and in MediaWiki 1.22.1. I can install extensions now on Windows. Thanks!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links