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

--- Comment #8 from Bawolff (Brian Wolff) <bawolff...@gmail.com> ---
I was more thinking that SpecialPage::setHeaders() becomes:

        function setHeaders() {
                $out = $this->getOutput();
                $out->setArticleRelated( false );
                $out->setRobotPolicy( $this->getRobotPolicy() );
                $out->setPageTitle( $this->getDescription() );
        }


and then a new method of SpecialPage

       function getRobotPolicy() {
              return "noindex,nofollow";
       }

and if people wanted to change what getRobotPolicy was, they would override in
a subclass.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to