- public function docLink( $linkText, $attribs, $parser ) {
- $url = $this->getDocUrl( $attribs['href'] );
-
- return Html::element( 'a', [ 'href' => $url ], $linkText );
+ public function makeLinkItem( $url, $linkText ) {
+ return Html::rawElement( 'li', [],
+ Html::element( 'a', [ 'href' => $url ], $linkText )
+ );