Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SparqlStore.php |
— | — | @@ -29,7 +29,6 @@ |
30 | 30 | parent::deleteSubject( $subject ); |
31 | 31 | } |
32 | 32 | |
33 | | - /// @todo Change master page entries as well |
34 | 33 | public function changeTitle( Title $oldtitle, Title $newtitle, $pageid, $redirid = 0 ) { |
35 | 34 | $oldWikiPage = SMWDIWikiPage::newFromTitle( $oldtitle ); |
36 | 35 | $newWikiPage = SMWDIWikiPage::newFromTitle( $newtitle ); |
— | — | @@ -233,7 +232,7 @@ |
234 | 233 | $exists = true; |
235 | 234 | $rediTargetElement = $firstRow[1]; |
236 | 235 | $rediTargetUri = $rediTargetElement->getUri(); |
237 | | - $wikiNamespace = Exporter::getNamespaceUri( 'wiki' ); |
| 236 | + $wikiNamespace = SMWExporter::getNamespaceUri( 'wiki' ); |
238 | 237 | if ( strpos( $rediTargetUri, $wikiNamespace ) === 0 ) { |
239 | 238 | return new SMWExpNsResource( substr( $rediTargetUri, 0, strlen( $wikiNamespace ) ) , $wikiNamespace, 'wiki' ); |
240 | 239 | } else { |