Author: richardg_uk
Description:
If the curid parameter is specified with action=info, the search engine index status is always reported as "Not indexable", which is generally incorrect.
Presumably the returned information is intended to relate to the canonical page, regardless of how it is specified in the URL, so that action=info results should be identical irrespective of whether the page is identified by curid ("Page ID") or by title ("Display title").
Something seems to be going wrong with passing the canonical title to setIndexPolicy() or getRobotPolicy() in InfoAction::pageInfo().
Example with the [[Trumptonshire]] article on enwiki:
http://en.wikipedia.org/w/index.php?title=Trumptonshire&action=info
-> Search engine status: "Indexable" (as expected)
http://en.wikipedia.org/w/index.php?curid=11652196&action=info
-> Search engine status: "Not indexable" (unexpected)
http://en.wikipedia.org/w/index.php?title=Trumptonshire&curid=11652196&action=info
-> Search engine status: "Not indexable" (unexpected)
(If both curid and title are specified, title is ignored. This is presumably by design.)
- created by bug 38531 - "Add (search) index status to MediaWiki's info action"
- tracking bug 38450 - "Reimplement MediaWiki's info action (tracking)"
Version: 1.21.x
Severity: normal