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

           Summary: 19 parserTests fail if anon editing of NS_MAIN is
                    disabled
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Maintenance scripts
        AssignedTo: [email protected]
        ReportedBy: [email protected]


On my test wiki I have $wgGroupPermissions['*']['edit'] set to false.  This
causes 19 parser tests to fail, since they expect section edit links to be
generated.  The same happens even if one merely disables anon editing of
NS_MAIN using $wgNamespaceProtection.

To fix this, the parser tests should either be ran as a sufficiently privileged
user (e.g. belonging to a "parsertests" user group, with sufficient permissions
to edit NS_MAIN) or the test suite should automatically grant anons such
privileges while running the tests.

The 19 failing tests are:

* Bug 6563: Edit link generation for section shown by <includeonly> 
* Bug 6563: Edit link generation for section suppressed by <includeonly>
* Basic section headings
* Section headings with TOC
* Handling of sections up to level 6 and beyond
* TOC regression (bug 9764)
* TOC with wgMaxTocLevel=3 (bug 6204)
* Resolving duplicate section names
* Resolving duplicate section names with differing case (bug 10721)
* Template with sections, __NOTOC__
* Link inside a section heading
* TOC regression (bug 12077)
* Fuzz testing: Parser14
* Fuzz testing: Parser14-table
* Inclusion of !userCanEdit() content
* Out-of-order TOC heading levels
* -{}- tags within headlines (within html for parserConvert())
* Morwen/13: Unclosed link followed by heading
* HHP2.2: Heuristics for headings in preprocessor parenthetical structures


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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