From: Sam Reed Date: Tue, 13 Sep 2011 12:37:05 +0000 (+0000) Subject: Fix documentation, document return type X-Git-Tag: 1.31.0-rc.0~27698 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/message.php?a=commitdiff_plain;h=a0fbb287ae58054ee3d9b69bf1afaf4edea327bb;p=lhc%2Fweb%2Fwiklou.git Fix documentation, document return type --- diff --git a/api.php b/api.php index 05a881ee31..154e168efd 100644 --- 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, '/' );