88 $this->titleFormatter, $this->linkCache, $this->nsInfo, $this->specialPageFactory,
98 $linkRenderer = $this->
create();
101 return $linkRenderer;
109 $linkRenderer = $this->
create();
111 if ( in_array(
'forcearticlepath', $options,
true ) ) {
112 $linkRenderer->setForceArticlePath(
true );
115 if ( in_array(
'http', $options,
true ) ) {
117 } elseif ( in_array(
'https', $options,
true ) ) {
121 if ( isset( $options[
'stubThreshold'] ) ) {
122 $linkRenderer->setStubThreshold(
123 $options[
'stubThreshold']
127 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.
This is a utility class for dealing with namespaces that encodes all the "magic" behaviors of them ba...
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
getStubThreshold()
Get the user preferred stub threshold.