Burthsceh has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/113909

Change subject: Change descriptions of prohibitions to fit when using as 
generators
......................................................................

Change descriptions of prohibitions to fit when using as generators

Change-Id: I78c76571cbc42640f335a34e0b2d6a76030fc66f
---
M includes/api/ApiQueryAllImages.php
M includes/api/ApiQueryAllPages.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/09/113909/1

diff --git a/includes/api/ApiQueryAllImages.php 
b/includes/api/ApiQueryAllImages.php
index 4095bd8..891a95a 100644
--- a/includes/api/ApiQueryAllImages.php
+++ b/includes/api/ApiQueryAllImages.php
@@ -65,7 +65,7 @@
        public function executeGenerator( $resultPageSet ) {
                if ( $resultPageSet->isResolvingRedirects() ) {
                        $this->dieUsage(
-                               'Use "gaifilterredir=nonredirects" option 
instead of "redirects" ' .
+                               '"redirects" option is prohibited for 
performance ' .
                                        'when using allimages as a generator',
                                'params'
                        );
diff --git a/includes/api/ApiQueryAllPages.php 
b/includes/api/ApiQueryAllPages.php
index 501154a..0c571c7 100644
--- a/includes/api/ApiQueryAllPages.php
+++ b/includes/api/ApiQueryAllPages.php
@@ -50,7 +50,7 @@
        public function executeGenerator( $resultPageSet ) {
                if ( $resultPageSet->isResolvingRedirects() ) {
                        $this->dieUsage(
-                               'Use "gapfilterredir=nonredirects" option 
instead of "redirects" ' .
+                               '"redirects" option is prohibited for 
performance ' .
                                        'when using allpages as a generator',
                                'params'
                        );

-- 
To view, visit https://gerrit.wikimedia.org/r/113909
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I78c76571cbc42640f335a34e0b2d6a76030fc66f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Burthsceh <burths...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to