Umherirrender has uploaded a new change for review. https://gerrit.wikimedia.org/r/134469
Change subject: Add error 'pagecannotexist' to ApiBase::getTitleOrPageIdErrorMessage ...................................................................... Add error 'pagecannotexist' to ApiBase::getTitleOrPageIdErrorMessage Function can die with 'pagecannotexist' since I2123e3a3034cb815cf35f66f2fbf2b94fb27069f Change-Id: I10c496da147c1bf6ceb6d69b19170a0e62f1318c --- M includes/api/ApiBase.php 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/69/134469/1 diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index a1e02ef..1d88a1b 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -892,6 +892,7 @@ array( array( 'invalidtitle', 'title' ), array( 'nosuchpageid', 'pageid' ), + array( 'code' => 'pagecannotexist', 'info' => "Namespace doesn't allow actual pages" ), ) ); } -- To view, visit https://gerrit.wikimedia.org/r/134469 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I10c496da147c1bf6ceb6d69b19170a0e62f1318c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits