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

       Web browser: ---
            Bug ID: 42867
           Summary: action=info always returns search engine index status
                    "Not indexable" when curid is specified
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to