dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
144ffcc
)
revert r104468 per CR: not needed :-)
author
Antoine Musso
<hashar@users.mediawiki.org>
Tue, 6 Dec 2011 12:49:59 +0000
(12:49 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Tue, 6 Dec 2011 12:49:59 +0000
(12:49 +0000)
includes/api/ApiFormatBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiFormatBase.php
b/includes/api/ApiFormatBase.php
index
b742b80
..
a0138ac
100644
(file)
--- a/
includes/api/ApiFormatBase.php
+++ b/
includes/api/ApiFormatBase.php
@@
-265,8
+265,6
@@
See <a href='https://www.mediawiki.org/wiki/API'>complete documentation</a>, or
$text = preg_replace( "#(($protos).*?)(")?([ \\'\"<>\n]|<|>|")#", '<a href="\\1">\\1</a>\\3\\4', $text );
// identify requests to api.php
$text = preg_replace( "#api\\.php\\?[^ \\()<\n\t]+#", '<a href="\\0">\\0</a>', $text );
- // identify requests to index.php
- $text = preg_replace( "#index\\.php\\?[^ \\()<\n\t]+#", '<a href="\\0">\\0</a>', $text );
if ( $this->mHelp ) {
// make strings inside * bold
$text = preg_replace( "#\\*[^<>\n]+\\*#", '<b>\\0</b>', $text );