21 namespace MediaWiki\Linker;
82 public function create( array $options = [
'renderForComment' =>
false ] ) {
84 $this->titleFormatter, $this->linkCache, $this->specialPageFactory,
95 $linkRenderer = $this->
create();
97 if ( in_array(
'forcearticlepath', $options,
true ) ) {
98 $linkRenderer->setForceArticlePath(
true );
101 if ( in_array(
'http', $options,
true ) ) {
103 } elseif ( in_array(
'https', $options,
true ) ) {
107 return $linkRenderer;
Cache for article titles (prefixed DB keys) and ids linked from one source.
Factory for handling the special page list and generating SpecialPage objects.