From a0fbb287ae58054ee3d9b69bf1afaf4edea327bb Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 13 Sep 2011 12:37:05 +0000 Subject: [PATCH] Fix documentation, document return type --- api.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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, '/' ); -- 2.20.1