r96959 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96958‎ | r96959 | r96960 >
Date:12:37, 13 September 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix documentation, document return type
Modified paths:
  • /trunk/phase3/api.php (modified) (history)

Diff [purge]

Index: trunk/phase3/api.php
@@ -68,11 +68,13 @@
6969
7070 // Selectively allow cross-site AJAX
7171
72 -/*
 72+/**
7373 * Helper function to convert wildcard string into a regex
7474 * '*' => '.*?'
7575 * '?' => '.'
76 - * @ return string
 76+ *
 77+ * @param $search string
 78+ * @return string
7779 */
7880 function convertWildcard( $search ) {
7981 $search = preg_quote( $search, '/' );

Status & tagging log