Page MenuHomePhabricator

generateLocalAutoload.php outputs backslashes on Windows machines
Closed, ResolvedPublic

Description

Per title. It should use forward slashes on all OSs.

@@ -2,1315 +2,1320 @@
 // This file is generated by maintenance/generateLocalAutoload.php, do not adjust manually
 
 global $wgAutoloadLocalClasses;
 
 $wgAutoloadLocalClasses = array(
-	'APCBagOStuff' => __DIR__ . '/includes/objectcache/APCBagOStuff.php',
-	'AbstractContent' => __DIR__ . '/includes/content/AbstractContent.php',
-	'Action' => __DIR__ . '/includes/actions/Action.php',
-	'ActiveUsersPager' => __DIR__ . '/includes/specials/SpecialActiveusers.php',
-	'AjaxDispatcher' => __DIR__ . '/includes/AjaxDispatcher.php',
-	'AjaxResponse' => __DIR__ . '/includes/AjaxResponse.php',
-	'AllMessagesTablePager' => __DIR__ . '/includes/specials/SpecialAllMessages.php',
-	'AllTrans' => __DIR__ . '/maintenance/language/alltrans.php',
[...]
+	'APCBagOStuff' => __DIR__ . '\\includes\\objectcache\\APCBagOStuff.php',
+	'AbstractContent' => __DIR__ . '\\includes\\content\\AbstractContent.php',
+	'Action' => __DIR__ . '\\includes\\actions\\Action.php',
+	'ActiveUsersPager' => __DIR__ . '\\includes\\specials\\SpecialActiveusers.php',
+	'AjaxDispatcher' => __DIR__ . '\\includes\\AjaxDispatcher.php',
+	'AjaxResponse' => __DIR__ . '\\includes\\AjaxResponse.php',
+	'AllMessagesTablePager' => __DIR__ . '\\includes\\specials\\SpecialAllMessages.php',
+	'AllTrans' => __DIR__ . '\\maintenance\\language\\alltrans.php',
[...]
 );

Event Timeline

TTO raised the priority of this task from to Needs Triage.
TTO updated the task description. (Show Details)
TTO added a project: MediaWiki-General.
TTO changed Security from none to None.
TTO subscribed.

I rather think you meant to merge this into the older task, but we'll live with this...

Aklapper triaged this task as Lowest priority.Dec 8 2014, 11:56 PM

Change 178376 had a related patch set uploaded (by TTO):
Make the autoload generator use forward slashes on all OSs

https://gerrit.wikimedia.org/r/178376

Patch-For-Review

Change 178376 merged by Umherirrender:
Make the autoload generator use forward slashes on all OSs

https://gerrit.wikimedia.org/r/178376