http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89552
Revision: 89552
Author: reedy
Date: 2011-06-06 09:40:45 +0000 (Mon, 06 Jun 2011)
Log Message:
-----------
Followup r89550, add new error message to getPossibleErrors
Modified Paths:
--------------
trunk/phase3/includes/api/ApiComparePages.php
Modified: trunk/phase3/includes/api/ApiComparePages.php
===================================================================
--- trunk/phase3/includes/api/ApiComparePages.php 2011-06-06 09:39:00 UTC
(rev 89551)
+++ trunk/phase3/includes/api/ApiComparePages.php 2011-06-06 09:40:45 UTC
(rev 89552)
@@ -114,6 +114,7 @@
return array_merge( parent::getPossibleErrors(), array(
array( 'code' => 'inputneeded', 'info' => 'A title or a
revision is needed' ),
array( 'invalidtitle', 'title' ),
+ array( 'code' => 'baddiff', 'info' => 'The diff cannot
be retrieved. Maybe one or both revisions do not exist or you do not have
permission to view them.' ),
) );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs