https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113553
Revision: 113553
Author: liangent
Date: 2012-03-10 07:34:02 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
(bug 35116) Correct API documentation for prop=excerpts
Modified Paths:
--------------
trunk/extensions/MobileFrontend/api/ApiQueryExcerpts.php
Modified: trunk/extensions/MobileFrontend/api/ApiQueryExcerpts.php
===================================================================
--- trunk/extensions/MobileFrontend/api/ApiQueryExcerpts.php 2012-03-10
02:07:31 UTC (rev 113552)
+++ trunk/extensions/MobileFrontend/api/ApiQueryExcerpts.php 2012-03-10
07:34:02 UTC (rev 113553)
@@ -226,7 +226,7 @@
public function getExamples() {
return array(
-
'api.php?action=query&prop=excerpt&length=175&titles=Therion' => 'Get a
175-character excerpt',
+
'api.php?action=query&prop=excerpts&exlength=175&titles=Therion' => 'Get a
175-character excerpt',
);
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs