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:
9a66398
)
Fix documentation, document return type
author
Sam Reed
<reedy@users.mediawiki.org>
Tue, 13 Sep 2011 12:37:05 +0000
(12:37 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Tue, 13 Sep 2011 12:37:05 +0000
(12:37 +0000)
api.php
patch
|
blob
|
history
diff --git
a/api.php
b/api.php
index
05a881e
..
154e168
100644
(file)
--- a/
api.php
+++ b/
api.php
@@
-68,11
+68,13
@@
if ( !$wgEnableAPI ) {
// Selectively allow cross-site AJAX
-/*
+/*
*
* Helper function to convert wildcard string into a regex
* '*' => '.*?'
* '?' => '.'
- * @ return string
+ *
+ * @param $search string
+ * @return string
*/
function convertWildcard( $search ) {
$search = preg_quote( $search, '/' );