66 return new LinkRenderer( $this->titleFormatter, $this->linkCache, $this->nsInfo );
74 $linkRenderer = $this->
create();
85 $linkRenderer = $this->
create();
87 if ( in_array(
'forcearticlepath', $options,
true ) ) {
88 $linkRenderer->setForceArticlePath(
true );
91 if ( in_array(
'http', $options,
true ) ) {
93 } elseif ( in_array(
'https', $options,
true ) ) {
97 if ( isset( $options[
'stubThreshold'] ) ) {
98 $linkRenderer->setStubThreshold(
99 $options[
'stubThreshold']
103 return $linkRenderer;
Cache for article titles (prefixed DB keys) and ids linked from one source.
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.