https://bugzilla.wikimedia.org/show_bug.cgi?id=14900
--- Comment #2 from Happy-melon <[email protected]> 2009-01-13 14:21:12 UTC --- Created an attachment (id=5670) --> (https://bugzilla.wikimedia.org/attachment.cgi?id=5670) Patch to resolve indexing conflicts, on r45695 This adds an optional parameter to OutputPage::setIndexPolicy, the 'precedence' of the method that is trying to change the configuration. The hierarchy is set up as * 5 = unset (initalised defaults as below) * 4 = set by $wgDefaultRobotPolicy * 3 = set by $wgNamespaceRobotPolicies * 2 = set by __INDEX__ or __NOINDEX__ magic words (where allowed by $wgExemptFromUserRobotsControl) * 1 = set by $wgArticleRobotPolicies * 0 = set 'on-the-fly' to hide things like special pages, old revisions, etc Also rewrites OutputPage::setRobotsPolicy as a wrapper to use the new functions, and redefines all three as returning bool: whether the attempt to change the settings was successful, which should make it easier to resolve bug16979 cleanly (or at least *more* cleanly). Patch needs review and is UNTESTED on a live MediaWiki installation. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
