https://bugzilla.wikimedia.org/show_bug.cgi?id=65879

            Bug ID: 65879
           Summary: Unit tests fail if Site is named 'Foo'
           Product: MediaWiki
           Version: 1.24-git
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Unit tests
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: jeff.ja...@gmail.com
                CC: has...@free.fr, krinklem...@gmail.com,
                    m...@everybody.org
       Web browser: ---
   Mobile Platform: ---

If you name your wiki site 'Foo', as I usually did when making a wiki for
testing purposes, the unit tests fail.

It fails because tests/phpunit/includes/TitleTest.php uses 'Talk:Foo:Sandbox'
to construct a title to be tested and found valid, and apparently this not
valid if the wiki site has been named Foo.

Is there any good defense against this?  Should I just add a note saying "don't
do that" to
https://www.mediawiki.org/wiki/Manual:PHP_unit_testing/Running_the_unit_tests ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to