r46926 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46925‎ | r46926 | r46927 >
Date:16:18, 6 February 2009
Author:jojo
Status:ok
Tags:
Comment:
do not force NS_MAIN for articles on saved book pages
Modified paths:
  • /trunk/extensions/Collection/Collection.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.body.php
@@ -545,7 +545,7 @@
546546 if( is_null( $articleTitle ) ) {
547547 continue;
548548 }
549 - $articleTitle = Title::makeTitleSafe( NS_MAIN, $articleTitle );
 549+ $articleTitle = Title::newFromText( $articleTitle );
550550 if ($oldid < 0) {
551551 $article = new Article( $articleTitle );
552552 } else {

Status & tagging log