From: Antoine Musso Date: Mon, 17 Oct 2011 09:46:05 +0000 (+0000) Subject: adding note to code snippet X-Git-Tag: 1.31.0-rc.0~27050 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=b468974b1627d50f469138d77152fef0cc917e82;p=lhc%2Fweb%2Fwiklou.git adding note to code snippet This small comment will avoid us using pathinfo() again and reimplement bug 30219. follow up r94171 --- diff --git a/includes/templates/NoLocalSettings.php b/includes/templates/NoLocalSettings.php index facb616779..59284af09e 100644 --- a/includes/templates/NoLocalSettings.php +++ b/includes/templates/NoLocalSettings.php @@ -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 = '/';