Hard-deprecate global function wfShowingResults
Bug: T264980 Change-Id: If5e7aa5b975c880f41db624df3800ca04b9fea70
This commit is contained in:
parent
82466b0594
commit
262269d5a0
2 changed files with 3 additions and 0 deletions
|
|
@ -292,6 +292,7 @@ because of Phabricator reports.
|
|||
now emits deprecation warnings.
|
||||
* IndexPager::getHookContainer is deprecated and emits deprecation warnings.
|
||||
Inject a HookContainer instead.
|
||||
* Global function wfShowingResults is deprecated and emits deprecation warnings.
|
||||
* AbstractBlock::getPermissionsError(), deprecated in 1.35, now emits
|
||||
deprecation warnings.
|
||||
* The following functions are deprecated: isBlockedGlobally, getGlobalBlock.
|
||||
|
|
|
|||
|
|
@ -1120,11 +1120,13 @@ function wfFormatStackFrame( $frame ) {
|
|||
/**
|
||||
* @todo document
|
||||
*
|
||||
* @deprecated with warnings since 1.40
|
||||
* @param int $offset
|
||||
* @param int $limit
|
||||
* @return string
|
||||
*/
|
||||
function wfShowingResults( $offset, $limit ) {
|
||||
wfDeprecated( __FUNCTION__, '1.40' );
|
||||
return wfMessage( 'showingresults' )->numParams( $limit, $offset + 1 )->parse();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue