https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113904

Revision: 113904
Author:   maxsem
Date:     2012-03-15 10:43:51 +0000 (Thu, 15 Mar 2012)
Log Message:
-----------
Lower the limit due to worst-case performance concerns. OpenSearchXml will 
generate its fast but inaccurate extracts for the remaining pages, while 
geosearch will not need more.

Modified Paths:
--------------
    trunk/extensions/MobileFrontend/api/ApiQueryExcerpts.php

Modified: trunk/extensions/MobileFrontend/api/ApiQueryExcerpts.php
===================================================================
--- trunk/extensions/MobileFrontend/api/ApiQueryExcerpts.php    2012-03-15 
10:06:16 UTC (rev 113903)
+++ trunk/extensions/MobileFrontend/api/ApiQueryExcerpts.php    2012-03-15 
10:43:51 UTC (rev 113904)
@@ -199,8 +199,8 @@
                                ApiBase::PARAM_DFLT => 1,
                                ApiBase::PARAM_TYPE => 'limit',
                                ApiBase::PARAM_MIN => 1,
-                               ApiBase::PARAM_MAX => 100,
-                               ApiBase::PARAM_MAX2 => 100,
+                               ApiBase::PARAM_MAX => 20,
+                               ApiBase::PARAM_MAX2 => 20,
                        ),
                        'plaintext' => false,
                        'continue' => array(


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to