64 # Make 'previous' link
65 $prev = $this->messageLocalizer->msg(
'prevn' )
73 max( $offset - $limit, 0 ),
81 $plink = htmlspecialchars( $prev );
85 $next = $this->messageLocalizer->msg(
'nextn' )
90 $nlink = htmlspecialchars( $next );
103 # Make links to set number of items per page
107 $lang = $this->messageLocalizer->getLanguage();
108 foreach ( [ 20, 50, 100, 250, 500 ] as $num ) {
114 $lang->formatNum( $num ),
120 return $this->messageLocalizer->msg(
'viewprevnext' )
122 ->rawParams( $plink, $nlink,
$lang->pipeList( $numLinks ) )