Index: trunk/phase3/includes/SearchEngine.php |
— | — | @@ -40,12 +40,10 @@ |
41 | 41 | * If an exact title match can be find, or a very slightly close match, |
42 | 42 | * return the title. If no match, returns NULL. |
43 | 43 | * |
44 | | - * @static |
45 | 44 | * @param string $term |
46 | 45 | * @return Title |
47 | | - * @private |
48 | 46 | */ |
49 | | - function getNearMatch( $searchterm ) { |
| 47 | + public static function getNearMatch( $searchterm ) { |
50 | 48 | global $wgContLang; |
51 | 49 | |
52 | 50 | $allSearchTerms = array($searchterm); |
— | — | @@ -176,9 +174,8 @@ |
177 | 175 | /** |
178 | 176 | * Make a list of searchable namespaces and their canonical names. |
179 | 177 | * @return array |
180 | | - * @access public |
181 | 178 | */ |
182 | | - function searchableNamespaces() { |
| 179 | + public static function searchableNamespaces() { |
183 | 180 | global $wgContLang; |
184 | 181 | $arr = array(); |
185 | 182 | foreach( $wgContLang->getNamespaces() as $ns => $name ) { |