https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108322

Revision: 108322
Author:   bawolff
Date:     2012-01-07 15:43:21 +0000 (Sat, 07 Jan 2012)
Log Message:
-----------
(follow-up r108145) Mark test as needing a database, and fix bug number in 
comment.

Modified Paths:
--------------
    trunk/phase3/includes/Skin.php
    trunk/phase3/tests/phpunit/skins/SideBarTest.php

Modified: trunk/phase3/includes/Skin.php
===================================================================
--- trunk/phase3/includes/Skin.php      2012-01-07 15:43:05 UTC (rev 108321)
+++ trunk/phase3/includes/Skin.php      2012-01-07 15:43:21 UTC (rev 108322)
@@ -1246,7 +1246,7 @@
                                        $line = array_map( 'trim', explode( 
'|', $line, 2 ) );
                                        if ( count( $line ) !== 2 ) {
                                                // Second sanity check, could 
be hit by people doing
-                                               // funky stuff with 
parserfuncs... (bug 3321)
+                                               // funky stuff with 
parserfuncs... (bug 33321)
                                                continue;
                                        }
 

Modified: trunk/phase3/tests/phpunit/skins/SideBarTest.php
===================================================================
--- trunk/phase3/tests/phpunit/skins/SideBarTest.php    2012-01-07 15:43:05 UTC 
(rev 108321)
+++ trunk/phase3/tests/phpunit/skins/SideBarTest.php    2012-01-07 15:43:21 UTC 
(rev 108322)
@@ -106,7 +106,10 @@
                );
 
        }
-       /** bug 33321 */
+       /**
+        * bug 33321 - Make sure there's a | after transforming.
+        * @group Database
+        */
        function testTrickyPipe() {
                $this->assertSidebar(
                array( 'Title' => array(


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to