API: Add iiprop=canonicaltitle
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 9 Dec 2013 16:22:27 +0000 (11:22 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 9 Dec 2013 16:25:52 +0000 (11:25 -0500)
commit7b9b91ead5e9f0bcbbb2daf2b8734cbee932c02d
treef07848e027563e4439af168bdfc68d1c20a69825
parent0886ddb2e98d535aa9e465c20574a24582429d04
API: Add iiprop=canonicaltitle

With recent changes to the filerepo backends, prop=imageinfo will now
return information for the target file when file redirects are queried.
To make this more transparent to clients, add an iiprop to return the
canonical title for the imageinfo data.

Change-Id: I62e368ffe09512f1af6677994f1ccca776b97651
includes/api/ApiQueryImageInfo.php