Last modified: 2008-12-23 14:25:08 UTC
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
Okay, figured it out myself. Fixed in r44931.