Show 'Indexing by robots' status correct on action=info
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 14 Feb 2014 14:21:12 +0000 (15:21 +0100)
committerIAlex <codereview@emsenhuber.ch>
Fri, 14 Feb 2014 19:43:55 +0000 (19:43 +0000)
commitd7acfe079fea072ca5092ff48ad1588442a646e6
tree000c69b1b04321d877778f120b501b3a2434b439
parent5701521f5f755a5ff2bab7bc41b1bdbbcad3d15e
Show 'Indexing by robots' status correct on action=info

When $wgNamespaceRobotPolicies contains a noindex for a namespace and
the page contains __INDEX__, the index status on action=info was
"Disallowed", but that is wrong, because the page is indexed.

Pass the 'index' to the robot policy logic.

Change-Id: Ib77c3e73968cdc72f657e50371a2372564a1c618
includes/actions/InfoAction.php