37 private $messageLocalizer;
44 $this->messageLocalizer = $messageLocalizer;
68 ->setLinkQuery( [
'limit' => $limit,
'offset' => $offset ] + $query )
69 ->setLimitLinkQueryParam(
'limit' )
70 ->setCurrentLimit( $limit )
71 ->setPrevTooltipMsg(
'prevn-title' )
72 ->setNextTooltipMsg(
'nextn-title' )
73 ->setLimitTooltipMsg(
'shown-title' );
76 $navBuilder->setPrevLinkQuery( [
'offset' => (
string)max( $offset - $limit, 0 ) ] );
79 $navBuilder->setNextLinkQuery( [
'offset' => (
string)( $offset + $limit ) ] );
82 return $navBuilder->getHtml();
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Logs a warning that a deprecated feature was used.
Interface for localizing messages in MediaWiki.