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

       Web browser: ---
            Bug ID: 57764
           Summary: Enable SpecialPage::setHeaders() to set a different
                    robot policy besides "noindex,nofollow"
           Product: MediaWiki
           Version: 1.23-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Special pages
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: nathanlarson3...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Sometimes it's desired that a special page be indexed or followed. E.g. some
special pages have not just page metadata but actual content, such as a
dictionary (e.g. http://childwiki.net/wiki/Special:Dictionary ), that does not
exist in that particular format elsewhere on the wiki, and that the wiki owner
might wish to have show up in search results.

Therefore, I propose to enable SpecialPage::setHeaders() to set a different
robot policy besides "noindex,nofollow". I guess the best way to do this would
be to add a $policy argument:

function setHeaders( $policy = "noindex,nofollow" ) {
       ...
       $out->setRobotPolicy( $policy );
       ...
}

-- 
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