r91809 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91808‎ | r91809 | r91810 >
Date:21:34, 9 July 2011
Author:foxtrott
Status:deferred
Tags:
Comment:
set a subobjectname to protect glossary terms from being deleted when semantic data is updated
Modified paths:
  • /trunk/extensions/SemanticGlossary/SpecialSemanticGlossaryBrowser.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticGlossary/SpecialSemanticGlossaryBrowser.php
@@ -387,7 +387,7 @@
388388 $termNumber++;
389389 }
390390
391 - return new SMWDIWikiPage( "GlossaryTerm#$termNumber", NS_MAIN, '' );
 391+ return new SMWDIWikiPage( "GlossaryTerm#$termNumber", NS_MAIN, '', '#SemanticGlossary#' );
392392
393393 exit();
394394 }