From: Antoine Musso Date: Tue, 6 Dec 2011 12:49:59 +0000 (+0000) Subject: revert r104468 per CR: not needed :-) X-Git-Tag: 1.31.0-rc.0~26162 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=679e1330b42fead2ee49583e7936887baf191122;p=lhc%2Fweb%2Fwiklou.git revert r104468 per CR: not needed :-) --- diff --git a/includes/api/ApiFormatBase.php b/includes/api/ApiFormatBase.php index b742b80319..a0138ac366 100644 --- a/includes/api/ApiFormatBase.php +++ b/includes/api/ApiFormatBase.php @@ -265,8 +265,6 @@ See complete documentation, or $text = preg_replace( "#(($protos).*?)(")?([ \\'\"<>\n]|<|>|")#", '\\1\\3\\4', $text ); // identify requests to api.php $text = preg_replace( "#api\\.php\\?[^ \\()<\n\t]+#", '\\0', $text ); - // identify requests to index.php - $text = preg_replace( "#index\\.php\\?[^ \\()<\n\t]+#", '\\0', $text ); if ( $this->mHelp ) { // make strings inside * bold $text = preg_replace( "#\\*[^<>\n]+\\*#", '\\0', $text );