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

            Bug ID: 73507
           Summary: Need tests covering page moves, etc.
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Keywords: need-unittest
          Severity: normal
          Priority: Unprioritized
         Component: Unit tests
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

A while ago a patch of mine was merged to MW core which broke page moves (see
followup Gerrit change 170882). Jenkins greenlighted the original change,
because there isn't even a single unit test that tests page moves.

Test coverage of the includes/page directory [1] is pretty woeful in general.
Article.php and WikiPage.php in particular are pretty crucial files in the
MediaWiki code base; any stuff-ups there are likely to break such basic
features as page editing, moves, deletion, etc.

[1]
https://integration.wikimedia.org/cover/mediawiki-core/master/php/includes_page.html

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to