Bartosz Dziewoński has uploaded a new change for review.

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

Change subject: ApiQueryBase: wfDeprecated() takes a string as second 
parameter, not number
......................................................................

ApiQueryBase: wfDeprecated() takes a string as second parameter, not number

Change-Id: I86902f6f10928ef19efab56dcf065418ea1139ca
---
M includes/api/ApiQueryBase.php
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/84/157184/1

diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php
index afb939b..6b08fc5 100644
--- a/includes/api/ApiQueryBase.php
+++ b/includes/api/ApiQueryBase.php
@@ -576,7 +576,7 @@
         * @return bool True if acceptable, false otherwise
         */
        protected function checkRowCount() {
-               wfDeprecated( __METHOD__, 1.24 );
+               wfDeprecated( __METHOD__, '1.24' );
                $db = $this->getDB();
                $this->profileDBIn();
                $rowcount = $db->estimateRowCount(
@@ -603,7 +603,7 @@
         * @return string Page title with underscores
         */
        public function titleToKey( $title ) {
-               wfDeprecated( __METHOD__, 1.24 );
+               wfDeprecated( __METHOD__, '1.24' );
                // Don't throw an error if we got an empty string
                if ( trim( $title ) == '' ) {
                        return '';
@@ -623,7 +623,7 @@
         * @return string Page title with spaces
         */
        public function keyToTitle( $key ) {
-               wfDeprecated( __METHOD__, 1.24 );
+               wfDeprecated( __METHOD__, '1.24' );
                // Don't throw an error if we got an empty string
                if ( trim( $key ) == '' ) {
                        return '';
@@ -644,7 +644,7 @@
         * @return string Key part with underscores
         */
        public function keyPartToTitle( $keyPart ) {
-               wfDeprecated( __METHOD__, 1.24 );
+               wfDeprecated( __METHOD__, '1.24' );
                return substr( $this->keyToTitle( $keyPart . 'x' ), 0, -1 );
        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I86902f6f10928ef19efab56dcf065418ea1139ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>

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

Reply via email to