Remove wfCheckLimits
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Sat, 2 Jan 2016 22:56:38 +0000 (23:56 +0100)
committerFlorian <florian.schmidt.stargatewissen@gmail.com>
Sat, 2 Jan 2016 23:01:29 +0000 (00:01 +0100)
Change-Id: Iae5614a82681317afd1b96bc9ab1709fa3588539

RELEASE-NOTES-1.27
includes/GlobalFunctions.php

index 8be703e..c98db50 100644 (file)
@@ -206,6 +206,7 @@ changes to languages because of Phabricator reports.
 * WikiPage::testPreSaveTransform() was removed (deprecated since 1.19).
 * LogPage::logName() was removed (deprecated since 1.19).
 * LogPage::logHeader() was removed (deprecated since 1.19).
+* wfCheckLimits() was removed (deprecated since 1.24).
 
 == Compatibility ==
 
index 075f69e..f71d765 100644 (file)
@@ -1996,21 +1996,6 @@ function wfClientAcceptsGzip( $force = false ) {
        return $result;
 }
 
-/**
- * Obtain the offset and limit values from the request string;
- * used in special pages
- *
- * @param int $deflimit Default limit if none supplied
- * @param string $optionname Name of a user preference to check against
- * @return array
- * @deprecated since 1.24, just call WebRequest::getLimitOffset() directly
- */
-function wfCheckLimits( $deflimit = 50, $optionname = 'rclimit' ) {
-       global $wgRequest;
-       wfDeprecated( __METHOD__, '1.24' );
-       return $wgRequest->getLimitOffset( $deflimit, $optionname );
-}
-
 /**
  * Escapes the given text so that it may be output using addWikiText()
  * without any linking, formatting, etc. making its way through. This