Refactor a bit preparatory to fixing bug 8068: rewrite the robot policy stuff in...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 23 Jul 2008 19:05:43 +0000 (19:05 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 23 Jul 2008 19:05:43 +0000 (19:05 +0000)
commit650be91fb8163bcf5951dd7ec9e6b7d7147b0ab2
treece30edacf922fef562de677d3ed940fbd7f419b8
parent3a711565e4deed11c04d9fbbc9ef8a926878e7e3
Refactor a bit preparatory to fixing bug 8068: rewrite the robot policy stuff in OutputPage to allow index and follow policy to be set separately.  Also now validates input to setRobotPolicy().  And renamed setRobotpolicy to setRobotPolicy, too.  If anyone was accessing $mRobotpolicy directly they're out of luck, though.
16 files changed:
includes/Article.php
includes/Credits.php
includes/DifferenceEngine.php
includes/EditPage.php
includes/Exception.php
includes/ImagePage.php
includes/OutputPage.php
includes/PageHistory.php
includes/ProtectionForm.php
includes/SpecialPage.php
includes/specials/SpecialPreferences.php
includes/specials/SpecialSearch.php
includes/specials/SpecialSpecialpages.php
includes/specials/SpecialUpload.php
includes/specials/SpecialUserlogin.php
includes/specials/SpecialUserlogout.php