Index: trunk/extensions/ImageTagging/ImageTagging_body.php |
— | — | @@ -205,8 +205,8 @@ |
206 | 206 | continue; |
207 | 207 | } |
208 | 208 | |
209 | | - // TODO |
210 | | - // $ul = $sk->makeLink( $wgContLang->getNsText( Namespace::getUser() ) . ":{$ut}", $ut ); |
| 209 | + // TODO - getUser() doesn't exist, do you mean NS_USER? |
| 210 | + // $ul = $sk->makeLink( $wgContLang->getNsText( MWNamespace::getUser() ) . ":{$ut}", $ut ); |
211 | 211 | |
212 | 212 | $nb = ''; |
213 | 213 | $textlink = $this->mShowFilename ? |
Index: trunk/extensions/Wikidata/php-tools/DataImport.php |
— | — | @@ -86,7 +86,7 @@ |
87 | 87 | echo "\nImporting Swiss-Prot\n"; |
88 | 88 | # $nsstore=wfGetNamespaceStore(); |
89 | 89 | # print_r($nsstore->nsarray); |
90 | | -# "Namespace id for expression=" . Namespace::getIndexForName('expression'); |
| 90 | +# "Namespace id for expression=" . MWNamespace::getIndexForName('expression'); |
91 | 91 | |
92 | 92 | // $umlsImport = new UMLSImportResult; |
93 | 93 | // $umlsImport->umlsCollectionId = 5; |