r91157 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91156‎ | r91157 | r91158 >
Date:05:12, 30 June 2011
Author:aaron
Status:ok
Tags:
Comment:
Use NS_USER const for non-content check (was the raw project NS integer before)
Modified paths:
  • /trunk/extensions/FlaggedRevs/tests/FRUserCountersTest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/tests/FRUserCountersTest.php
@@ -86,8 +86,8 @@
8787 $copyP = $p;
8888 FRUserCounters::updateUserParams( $copyP, $article, "/* section */" );
8989 $this->assertEquals( $p['editComments'], $copyP['editComments'], "Auto summary" );
90 -
91 - $title = Title::makeTitleSafe( 4, 'helloworld' );
 90+
 91+ $title = Title::makeTitleSafe( NS_USER, 'helloworld' );
9292 $article = new Article( $title );
9393
9494 $copyP = $p;

Status & tagging log