r91536 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91535‎ | r91536 | r91537 >
Date:08:19, 6 July 2011
Author:mkroetzsch
Status:deferred
Tags:
Comment:
fixed typo
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SparqlStore.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SparqlStore.php
@@ -29,7 +29,6 @@
3030 parent::deleteSubject( $subject );
3131 }
3232
33 - /// @todo Change master page entries as well
3433 public function changeTitle( Title $oldtitle, Title $newtitle, $pageid, $redirid = 0 ) {
3534 $oldWikiPage = SMWDIWikiPage::newFromTitle( $oldtitle );
3635 $newWikiPage = SMWDIWikiPage::newFromTitle( $newtitle );
@@ -233,7 +232,7 @@
234233 $exists = true;
235234 $rediTargetElement = $firstRow[1];
236235 $rediTargetUri = $rediTargetElement->getUri();
237 - $wikiNamespace = Exporter::getNamespaceUri( 'wiki' );
 236+ $wikiNamespace = SMWExporter::getNamespaceUri( 'wiki' );
238237 if ( strpos( $rediTargetUri, $wikiNamespace ) === 0 ) {
239238 return new SMWExpNsResource( substr( $rediTargetUri, 0, strlen( $wikiNamespace ) ) , $wikiNamespace, 'wiki' );
240239 } else {