Add additional information to FileRepo::getInfo
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 20 Nov 2013 19:38:49 +0000 (14:38 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 20 Nov 2013 19:38:49 +0000 (14:38 -0500)
commitea941f7843d5c40ea3fefe0128026ce0a34c1c75
tree6991acb257f43fff9f9e7509dae498cf9c2aaf8a
parent2738723279d7925acca57edbc4434443b2d91164
Add additional information to FileRepo::getInfo

The API's meta=filerepoinfo could use some additional information, most
pressingly a way to determine the MW API endpoint of the associated
repo. Since FileRepo already has scriptDirUrl (to which "/api.php" could
be appended), let's just add that.

And for good measure, we may as well include various other bits of
information that people might find useful.

Change-Id: I6d5aa6cf44ef1d9bdfd9b2f36f184e5fdc0900dd
RELEASE-NOTES-1.23
includes/filerepo/FileRepo.php