adding note to code snippet
authorAntoine Musso <hashar@users.mediawiki.org>
Mon, 17 Oct 2011 09:46:05 +0000 (09:46 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Mon, 17 Oct 2011 09:46:05 +0000 (09:46 +0000)
This small comment will avoid us using pathinfo() again and reimplement
bug 30219.
follow up r94171

includes/templates/NoLocalSettings.php

index facb616..59284af 100644 (file)
@@ -10,6 +10,7 @@ if ( !isset( $wgVersion ) ) {
        $wgVersion = 'VERSION';
 }
 
+# bug 30219 : can not use pathinfo() on URLs since slashes do not match
 $matches = array();
 $ext = 'php';
 $path = '/';