Add WikiPage::isLocal()
authorKunal Mehta <legoktm@member.fsf.org>
Tue, 13 Sep 2016 04:32:53 +0000 (21:32 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 13 Sep 2016 04:56:06 +0000 (04:56 +0000)
commit5176e6d069b4bd293c8c32188f8d4ad91f1c8104
tree1cae455130c0df49267a3ebf4cd2a015bb66a2e0
parent148f7bf0d1e20f395891eb58cb506ef37d752eaf
Add WikiPage::isLocal()

WikiFilePage has a isLocal() function which indicates whether the file
is local or not. To better support other remote content, add this method
to the base WikiPage class. It only returns true currently, since all
content represented by WikiPage is local.

Change-Id: Ia39c405af4d131d919a57512e72a112bd65cc461
includes/page/WikiPage.php