https://bugzilla.wikimedia.org/show_bug.cgi?id=58659

       Web browser: ---
            Bug ID: 58659
           Summary: Installation of bundled extensions fails on Windows
           Product: MediaWiki
           Version: 1.22.0
          Hardware: All
                OS: Windows 7
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Installer
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: gla...@hallowelt.biz
    Classification: Unclassified
   Mobile Platform: ---

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...

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to