Support Title::GAID_FOR_UPDATE for Title->exists
authorMatthew Flaschen <mflaschen@wikimedia.org>
Thu, 30 Apr 2015 18:55:23 +0000 (14:55 -0400)
committerOri.livneh <ori@wikimedia.org>
Tue, 5 May 2015 03:13:26 +0000 (03:13 +0000)
commitba03c0139a0e67c87fb635e1a9f09b060e69cc8b
tree02e4e0ae676e0076e2e1c1da85260e524c3f7262
parent9ca24dc486eea049a62313eeb50cd62753369b41
Support Title::GAID_FOR_UPDATE for Title->exists

Without this, you have to call:

getArticleID( Title::GAID_FOR_UPDATE )

then either use that directly (bypassing the TitleExists hook) or
call exists afterwards.

Change-Id: Ieec5579e4de2a289795364e7001028932535e435
includes/Title.php
tests/phpunit/includes/TitleTest.php