IndexPager - document getLinkRenderer
Had to look through git blame to find when it was added (1.34) for a recent review, would be helpful for others if it was easily available in a doc block; since I'm adding a doc block, also add @return Change-Id: I07c4cdda176f309204fa3c2cfe6c165d1df850af
This commit is contained in:
parent
4365aa0f8d
commit
2c6e42c434
1 changed files with 4 additions and 0 deletions
|
|
@ -973,6 +973,10 @@ abstract class IndexPager extends ContextSource implements Pager {
|
|||
return $prevNext->buildPrevNextNavigation( $title, $offset, $limit, $query, $atend );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 1.34
|
||||
* @return LinkRenderer
|
||||
*/
|
||||
protected function getLinkRenderer() {
|
||||
if ( $this->linkRenderer === null ) {
|
||||
$this->linkRenderer = MediaWikiServices::getInstance()->getLinkRenderer();
|
||||
|
|
|
|||
Loading…
Reference in a new issue