MediaWiki  1.27.1
DummyLinker.php
Go to the documentation of this file.
1 <?php
2 
6 class DummyLinker {
7 
11  public function getInterwikiLinkAttributes( $title, $unused = null, $class = 'external' ) {
12  wfDeprecated( __METHOD__, '1.27' );
14  $title,
15  $unused,
16  $class
17  );
18  }
19 
23  public function getInternalLinkAttributes( $title, $unused = null, $class = '' ) {
24  wfDeprecated( __METHOD__, '1.27' );
26  $title,
27  $unused,
28  $class
29  );
30  }
31 
36  $nt,
37  $unused = null,
38  $class = '',
39  $title = false
40  ) {
41  wfDeprecated( __METHOD__, '1.27' );
43  $nt,
44  $unused,
45  $class,
46  $title
47  );
48  }
49 
50  public function getLinkColour( $t, $threshold ) {
51  return Linker::getLinkColour( $t, $threshold );
52  }
53 
54  public function link(
55  $target,
56  $html = null,
57  $customAttribs = [],
58  $query = [],
59  $options = []
60  ) {
61  return Linker::link(
62  $target,
63  $html,
65  $query,
66  $options
67  );
68  }
69 
70  public function linkKnown(
71  $target,
72  $html = null,
73  $customAttribs = [],
74  $query = [],
75  $options = [ 'known', 'noclasses' ]
76  ) {
77  return Linker::linkKnown(
78  $target,
79  $html,
81  $query,
82  $options
83  );
84  }
85 
86  public function makeSelfLinkObj(
87  $nt,
88  $html = '',
89  $query = '',
90  $trail = '',
91  $prefix = ''
92  ) {
94  $nt,
95  $html,
96  $query,
97  $trail,
98  $prefix
99  );
100  }
101 
102  public function getInvalidTitleDescription(
104  $namespace,
105  $title
106  ) {
108  $context,
109  $namespace,
110  $title
111  );
112  }
113 
114  public function normaliseSpecialPage( Title $title ) {
115  return Linker::normaliseSpecialPage( $title );
116  }
117 
118  public function makeExternalImage( $url, $alt = '' ) {
119  return Linker::makeExternalImage( $url, $alt );
120  }
121 
122  public function makeImageLink(
123  Parser $parser,
124  Title $title,
125  $file,
126  $frameParams = [],
127  $handlerParams = [],
128  $time = false,
129  $query = "",
130  $widthOption = null
131  ) {
132  return Linker::makeImageLink(
133  $parser,
134  $title,
135  $file,
136  $frameParams,
138  $time,
139  $query,
140  $widthOption
141  );
142  }
143 
144  public function makeThumbLinkObj(
145  Title $title,
146  $file,
147  $label = '',
148  $alt,
149  $align = 'right',
150  $params = [],
151  $framed = false,
152  $manualthumb = ""
153  ) {
155  $title,
156  $file,
157  $label,
158  $alt,
159  $align,
160  $params,
161  $framed,
162  $manualthumb
163  );
164  }
165 
166  public function makeThumbLink2(
167  Title $title,
168  $file,
169  $frameParams = [],
170  $handlerParams = [],
171  $time = false,
172  $query = ""
173  ) {
174  return Linker::makeThumbLink2(
175  $title,
176  $file,
177  $frameParams,
179  $time,
180  $query
181  );
182  }
183 
184  public function processResponsiveImages( $file, $thumb, $hp ) {
186  $file,
187  $thumb,
188  $hp
189  );
190  }
191 
192  public function makeBrokenImageLinkObj(
193  $title,
194  $label = '',
195  $query = '',
196  $unused1 = '',
197  $unused2 = '',
198  $time = false
199  ) {
201  $title,
202  $label,
203  $query,
204  $unused1,
205  $unused2,
206  $time
207  );
208  }
209 
210  public function makeMediaLinkObj( $title, $html = '', $time = false ) {
212  $title,
213  $html,
214  $time
215  );
216  }
217 
218  public function makeMediaLinkFile( Title $title, $file, $html = '' ) {
220  $title,
221  $file,
222  $html
223  );
224  }
225 
226  public function specialLink( $name, $key = '' ) {
227  return Linker::specialLink( $name, $key );
228  }
229 
230  public function makeExternalLink(
231  $url,
232  $text,
233  $escape = true,
234  $linktype = '',
235  $attribs = [],
236  $title = null
237  ) {
239  $url,
240  $text,
241  $escape,
242  $linktype,
243  $attribs,
244  $title
245  );
246  }
247 
248  public function userLink( $userId, $userName, $altUserName = false ) {
249  return Linker::userLink(
250  $userId,
251  $userName,
252  $altUserName
253  );
254  }
255 
256  public function userToolLinks(
257  $userId,
258  $userText,
259  $redContribsWhenNoEdits = false,
260  $flags = 0,
261  $edits = null
262  ) {
263  return Linker::userToolLinks(
264  $userId,
265  $userText,
266  $redContribsWhenNoEdits,
267  $flags,
268  $edits
269  );
270  }
271 
272  public function userToolLinksRedContribs( $userId, $userText, $edits = null ) {
274  $userId,
275  $userText,
276  $edits
277  );
278  }
279 
280  public function userTalkLink( $userId, $userText ) {
281  return Linker::userTalkLink( $userId, $userText );
282  }
283 
284  public function blockLink( $userId, $userText ) {
285  return Linker::blockLink( $userId, $userText );
286  }
287 
288  public function emailLink( $userId, $userText ) {
289  return Linker::emailLink( $userId, $userText );
290  }
291 
292  public function revUserLink( $rev, $isPublic = false ) {
293  return Linker::revUserLink( $rev, $isPublic );
294  }
295 
296  public function revUserTools( $rev, $isPublic = false ) {
297  return Linker::revUserTools( $rev, $isPublic );
298  }
299 
300  public function formatComment(
301  $comment,
302  $title = null,
303  $local = false,
304  $wikiId = null
305  ) {
306  return Linker::formatComment(
307  $comment,
308  $title,
309  $local,
310  $wikiId
311  );
312  }
313 
314  public function formatLinksInComment(
315  $comment,
316  $title = null,
317  $local = false,
318  $wikiId = null
319  ) {
321  $comment,
322  $title,
323  $local,
324  $wikiId
325  );
326  }
327 
328  public function makeCommentLink(
329  Title $title,
330  $text,
331  $wikiId = null,
332  $options = []
333  ) {
335  $title,
336  $text,
337  $wikiId,
338  $options
339  );
340  }
341 
342  public function normalizeSubpageLink( $contextTitle, $target, &$text ) {
344  $contextTitle,
345  $target,
346  $text
347  );
348  }
349 
350  public function commentBlock(
351  $comment,
352  $title = null,
353  $local = false,
354  $wikiId = null
355  ) {
356  return Linker::commentBlock(
357  $comment,
358  $title,
359  $local,
360  $wikiId
361  );
362  }
363 
364  public function revComment( Revision $rev, $local = false, $isPublic = false ) {
365  return Linker::revComment( $rev, $local, $isPublic );
366  }
367 
368  public function formatRevisionSize( $size ) {
369  return Linker::formatRevisionSize( $size );
370  }
371 
372  public function tocIndent() {
373  return Linker::tocIndent();
374  }
375 
376  public function tocUnindent( $level ) {
377  return Linker::tocUnindent( $level );
378  }
379 
380  public function tocLine( $anchor, $tocline, $tocnumber, $level, $sectionIndex = false ) {
381  return Linker::tocLine(
382  $anchor,
383  $tocline,
384  $tocnumber,
385  $level,
386  $sectionIndex
387  );
388  }
389 
390  public function tocLineEnd() {
391  return Linker::tocLineEnd();
392  }
393 
394  public function tocList( $toc, $lang = false ) {
395  return Linker::tocList( $toc, $lang );
396  }
397 
398  public function generateTOC( $tree, $lang = false ) {
399  return Linker::generateTOC( $tree, $lang );
400  }
401 
402  public function makeHeadline(
403  $level,
404  $attribs,
405  $anchor,
406  $html,
407  $link,
408  $legacyAnchor = false
409  ) {
410  return Linker::makeHeadline(
411  $level,
412  $attribs,
413  $anchor,
414  $html,
415  $link,
416  $legacyAnchor
417  );
418  }
419 
420  public function splitTrail( $trail ) {
421  return Linker::splitTrail( $trail );
422  }
423 
424  public function generateRollback(
425  $rev,
426  IContextSource $context = null,
427  $options = [ 'verify' ]
428  ) {
430  $rev,
431  $context,
432  $options
433  );
434  }
435 
436  public function getRollbackEditCount( $rev, $verify ) {
437  return Linker::getRollbackEditCount( $rev, $verify );
438  }
439 
440  public function buildRollbackLink(
441  $rev,
442  IContextSource $context = null,
443  $editCount = false
444  ) {
446  $rev,
447  $context,
448  $editCount
449  );
450  }
451 
452  public function formatTemplates(
453  $templates,
454  $preview = false,
455  $section = false,
456  $more = null
457  ) {
459  $templates,
460  $preview,
461  $section,
462  $more
463  );
464  }
465 
466  public function formatHiddenCategories( $hiddencats ) {
467  return Linker::formatHiddenCategories( $hiddencats );
468  }
469 
470  public function formatSize( $size ) {
471  return Linker::formatSize( $size );
472  }
473 
474  public function titleAttrib( $name, $options = null, array $msgParams = [] ) {
475  return Linker::titleAttrib(
476  $name,
477  $options,
478  $msgParams
479  );
480  }
481 
482  public function accesskey( $name ) {
483  return Linker::accesskey( $name );
484  }
485 
488  $user,
489  $rev,
490  $title
491  );
492  }
493 
494  public function revDeleteLink( $query = [], $restricted = false, $delete = true ) {
495  return Linker::revDeleteLink(
496  $query,
497  $restricted,
498  $delete
499  );
500  }
501 
502  public function revDeleteLinkDisabled( $delete = true ) {
503  return Linker::revDeleteLinkDisabled( $delete );
504  }
505 
506  public function tooltipAndAccesskeyAttribs( $name, array $msgParams = [] ) {
508  $name,
509  $msgParams
510  );
511  }
512 
513  public function tooltip( $name, $options = null ) {
514  return Linker::tooltip( $name, $options );
515  }
516 
517 }
static generateTOC($tree, $lang=false)
Generate a table of contents from a section tree.
Definition: Linker.php:1762
getRevDeleteLink(User $user, Revision $rev, Title $title)
blockLink($userId, $userText)
getInterwikiLinkAttributes($title, $unused=null, $class= 'external')
Definition: DummyLinker.php:11
static tocLineEnd()
End a Table Of Contents line.
Definition: Linker.php:1734
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses & $html
Definition: hooks.txt:1798
Interface for objects which can provide a MediaWiki context on request.
static revComment(Revision $rev, $local=false, $isPublic=false)
Wrap and format the given revision's comment block, if the current user is allowed to view it...
Definition: Linker.php:1656
static tocList($toc, $lang=false)
Wraps the TOC in a table and provides the hide/collapse javascript.
Definition: Linker.php:1745
static processResponsiveImages($file, $thumb, $hp)
Process responsive images: add 1.5x and 2x subimages to the thumbnail, where applicable.
Definition: Linker.php:878
the array() calling protocol came about after MediaWiki 1.4rc1.
null for the local wiki Added should default to null in handler for backwards compatibility add a value to it if you want to add a cookie that have to vary cache options can modify $query
Definition: hooks.txt:1418
userToolLinksRedContribs($userId, $userText, $edits=null)
emailLink($userId, $userText)
static linkKnown($target, $html=null, $customAttribs=[], $query=[], $options=[ 'known', 'noclasses'])
Identical to link(), except $options defaults to 'known'.
Definition: Linker.php:264
magic word the default is to use $key to get the and $key value or $key value text $key value html to format the value $key
Definition: hooks.txt:2321
$context
Definition: load.php:44
formatLinksInComment($comment, $title=null, $local=false, $wikiId=null)
static getRevDeleteLink(User $user, Revision $rev, Title $title)
Get a revision-deletion link, or disabled link, or nothing, depending on user permissions & the setti...
Definition: Linker.php:2256
tocLine($anchor, $tocline, $tocnumber, $level, $sectionIndex=false)
static buildRollbackLink($rev, IContextSource $context=null, $editCount=false)
Build a raw rollback link, useful for collections of "tool" links.
Definition: Linker.php:1955
normaliseSpecialPage(Title $title)
splitTrail($trail)
getInternalLinkAttributes($title, $unused=null, $class= '')
Definition: DummyLinker.php:23
formatHiddenCategories($hiddencats)
getInvalidTitleDescription(IContextSource $context, $namespace, $title)
commentBlock($comment, $title=null, $local=false, $wikiId=null)
if(!isset($args[0])) $lang
static formatRevisionSize($size)
Definition: Linker.php:1678
static normaliseSpecialPage(LinkTarget $target)
Definition: Linker.php:452
$comment
tooltipAndAccesskeyAttribs($name, array $msgParams=[])
makeImageLink(Parser $parser, Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="", $widthOption=null)
titleAttrib($name, $options=null, array $msgParams=[])
tocUnindent($level)
static makeSelfLinkObj($nt, $html= '', $query= '', $trail= '', $prefix= '')
Make appropriate markup for a link to the current article.
Definition: Linker.php:409
link($target, $html=null, $customAttribs=[], $query=[], $options=[])
Definition: DummyLinker.php:54
it s the revision text itself In either if gzip is the revision text is gzipped $flags
Definition: hooks.txt:2548
makeSelfLinkObj($nt, $html= '', $query= '', $trail= '', $prefix= '')
Definition: DummyLinker.php:86
makeMediaLinkObj($title, $html= '', $time=false)
makeThumbLink2(Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="")
formatComment($comment, $title=null, $local=false, $wikiId=null)
Represents a title within MediaWiki.
Definition: Title.php:34
specialLink($name, $key= '')
magic word & $parser
Definition: hooks.txt:2321
static blockLink($userId, $userText)
Definition: Linker.php:1208
static tooltipAndAccesskeyAttribs($name, array $msgParams=[])
Returns the attributes for the tooltip and access key.
Definition: Linker.php:2335
see documentation in includes Linker php for Linker::makeImageLink & $time
Definition: hooks.txt:1612
static formatTemplates($templates, $preview=false, $section=false, $more=null)
Returns HTML for the "templates used on this page" list.
Definition: Linker.php:2039
revDeleteLink($query=[], $restricted=false, $delete=true)
the value to return A Title object or null for latest to be modified or replaced by the hook handler or if authentication is not possible after cache objects are set for highlighting & $link
Definition: hooks.txt:2581
revDeleteLinkDisabled($delete=true)
static getRollbackEditCount($rev, $verify)
This function will return the number of revisions which a rollback would revert and, if $verify is set it will verify that a revision can be reverted (that the user isn't the only contributor and the revision we might rollback to isn't deleted).
Definition: Linker.php:1896
static splitTrail($trail)
Split a link trail, return the "inside" portion and the remainder of the trail as a two-element array...
Definition: Linker.php:1818
userLink($userId, $userName, $altUserName=false)
static makeMediaLinkObj($title, $html= '', $time=false)
Create a direct link to a given uploaded file.
Definition: Linker.php:978
static makeBrokenImageLinkObj($title, $label= '', $query= '', $unused1= '', $unused2= '', $time=false)
Make a "broken" link to an image.
Definition: Linker.php:912
null means default & $customAttribs
Definition: hooks.txt:1798
formatRevisionSize($size)
getLinkColour($t, $threshold)
Definition: DummyLinker.php:50
static normalizeSubpageLink($contextTitle, $target, &$text)
Definition: Linker.php:1547
makeCommentLink(Title $title, $text, $wikiId=null, $options=[])
static titleAttrib($name, $options=null, array $msgParams=[])
Given the id of an interface element, constructs the appropriate title attribute from the system mess...
Definition: Linker.php:2178
static formatLinksInComment($comment, $title=null, $local=false, $wikiId=null)
Formats wiki links and media links in text; all other wiki formatting is ignored. ...
Definition: Linker.php:1413
makeHeadline($level, $attribs, $anchor, $html, $link, $legacyAnchor=false)
this hook is for auditing only RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist e g Watchlist removed from all revisions and log entries to which it was applied This gives extensions a chance to take it off their books as the deletion has already been partly carried out by this point or something similar the user will be unable to create the tag set and then return false from the hook function Ensure you consume the ChangeTagAfterDelete hook to carry out custom deletion actions as context called by AbstractContent::getParserOutput May be used to override the normal model specific rendering of page content as context as context $options
Definition: hooks.txt:1004
getRollbackEditCount($rev, $verify)
static accesskey($name)
Given the id of an interface element, constructs the appropriate accesskey attribute from the system ...
Definition: Linker.php:2220
normalizeSubpageLink($contextTitle, $target, &$text)
static emailLink($userId, $userText)
Definition: Linker.php:1219
makeBrokenImageLinkObj($title, $label= '', $query= '', $unused1= '', $unused2= '', $time=false)
static revDeleteLinkDisabled($delete=true)
Creates a dead (show/hide) link for deleting revisions/log entries.
Definition: Linker.php:2318
$params
revUserLink($rev, $isPublic=false)
static makeHeadline($level, $attribs, $anchor, $html, $link, $legacyAnchor=false)
Create a headline for content.
Definition: Linker.php:1799
userTalkLink($userId, $userText)
wfDeprecated($function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
userToolLinks($userId, $userText, $redContribsWhenNoEdits=false, $flags=0, $edits=null)
buildRollbackLink($rev, IContextSource $context=null, $editCount=false)
namespace and then decline to actually register it file or subcat img or subcat $title
Definition: hooks.txt:912
processResponsiveImages($file, $thumb, $hp)
static tocUnindent($level)
Finish one or more sublevels on the Table of Contents.
Definition: Linker.php:1703
static tocLine($anchor, $tocline, $tocnumber, $level, $sectionIndex=false)
parameter level defines if we are on an indentation level
Definition: Linker.php:1717
static makeImageLink(Parser $parser, Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="", $widthOption=null)
Given parameters derived from [[Image:Foo|options...]], generate the HTML that that syntax inserts in...
Definition: Linker.php:545
presenting them properly to the user as errors is done by the caller return true use this to change the list i e etc $rev
Definition: hooks.txt:1584
static makeCommentLink(Title $title, $text, $wikiId=null, $options=[])
Generates a link to the given Title.
Definition: Linker.php:1521
static userToolLinksRedContribs($userId, $userText, $edits=null)
Alias for userToolLinks( $userId, $userText, true );.
Definition: Linker.php:1188
static revUserLink($rev, $isPublic=false)
Generate a user link if the current user is allowed to view it.
Definition: Linker.php:1231
static formatComment($comment, $title=null, $local=false, $wikiId=null)
This function is called by all recent changes variants, by the page history, and by the user contribu...
Definition: Linker.php:1290
usually copyright or history_copyright This message must be in HTML not wikitext if the section is included from a template $section
Definition: hooks.txt:2715
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a local account $user
Definition: hooks.txt:242
getInternalLinkAttributesObj($nt, $unused=null, $class= '', $title=false)
Definition: DummyLinker.php:35
static link($target, $html=null, $customAttribs=[], $query=[], $options=[])
This function returns an HTML link to the given target.
Definition: Linker.php:195
makeExternalImage($url, $alt= '')
revComment(Revision $rev, $local=false, $isPublic=false)
static tooltip($name, $options=null)
Returns raw bits of HTML, use titleAttrib()
Definition: Linker.php:2358
static userLink($userId, $userName, $altUserName=false)
Make user link (or user contributions for unregistered users)
Definition: Linker.php:1102
static makeExternalLink($url, $text, $escape=true, $linktype= '', $attribs=[], $title=null)
Make an external link.
Definition: Linker.php:1052
injection txt This is an overview of how MediaWiki makes use of dependency injection The design described here grew from the discussion of RFC T384 The term dependency this means that anything an object needs to operate should be injected from the the object itself should only know narrow no concrete implementation of the logic it relies on The requirement to inject everything typically results in an architecture that based on two main types of and essentially stateless service objects that use other service objects to operate on the value objects As of the beginning MediaWiki is only starting to use the DI approach Much of the code still relies on global state or direct resulting in a highly cyclical dependency which acts as the top level factory for services in MediaWiki which can be used to gain access to default instances of various services MediaWikiServices however also allows new services to be defined and default services to be redefined Services are defined or redefined by providing a callback the instantiator that will return a new instance of the service When it will create an instance of MediaWikiServices and populate it with the services defined in the files listed by thereby bootstrapping the DI framework Per $wgServiceWiringFiles lists includes ServiceWiring php
Definition: injection.txt:35
revUserTools($rev, $isPublic=false)
formatSize($size)
static getInternalLinkAttributesObj($nt, $unused=null, $class= '', $title=false)
Get the appropriate HTML attributes to add to the "a" element of an internal link, given the Title object for the page we want to link to.
Definition: Linker.php:98
static generateRollback($rev, IContextSource $context=null, $options=[ 'verify'])
Generate a rollback link for a given revision.
Definition: Linker.php:1857
static formatHiddenCategories($hiddencats)
Returns HTML for the "hidden categories on this page" list.
Definition: Linker.php:2132
static makeThumbLink2(Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="")
Definition: Linker.php:752
tocList($toc, $lang=false)
static userTalkLink($userId, $userText)
Definition: Linker.php:1197
generateTOC($tree, $lang=false)
generateRollback($rev, IContextSource $context=null, $options=[ 'verify'])
static makeMediaLinkFile(Title $title, $file, $html= '')
Create a direct link to a given uploaded file.
Definition: Linker.php:994
static userToolLinks($userId, $userText, $redContribsWhenNoEdits=false, $flags=0, $edits=null)
Generate standard user tool links (talk, contributions, block link, etc.)
Definition: Linker.php:1133
makeMediaLinkFile(Title $title, $file, $html= '')
makeExternalLink($url, $text, $escape=true, $linktype= '', $attribs=[], $title=null)
static formatSize($size)
Format a size in bytes for output, using an appropriate unit (B, KB, MB or GB) according to the magni...
Definition: Linker.php:2159
tooltip($name, $options=null)
see documentation in includes Linker php for Linker::makeImageLink & $handlerParams
Definition: hooks.txt:1610
static tocIndent()
Add another level to the Table of Contents.
Definition: Linker.php:1693
static getInterwikiLinkAttributes($title, $unused=null, $class= 'external')
Get the appropriate HTML attributes to add to the "a" element of an interwiki link.
Definition: Linker.php:52
static getInternalLinkAttributes($title, $unused=null, $class= '')
Get the appropriate HTML attributes to add to the "a" element of an internal link.
Definition: Linker.php:77
static getInvalidTitleDescription(IContextSource $context, $namespace, $title)
Get a message saying that an invalid title was encountered.
Definition: Linker.php:432
accesskey($name)
formatTemplates($templates, $preview=false, $section=false, $more=null)
linkKnown($target, $html=null, $customAttribs=[], $query=[], $options=[ 'known', 'noclasses'])
Definition: DummyLinker.php:70
static commentBlock($comment, $title=null, $local=false, $wikiId=null)
Wrap a comment in standard punctuation and formatting if it's non-empty, otherwise return empty strin...
Definition: Linker.php:1632
static makeThumbLinkObj(Title $title, $file, $label= '', $alt, $align= 'right', $params=[], $framed=false, $manualthumb="")
Make HTML for a thumbnail including image, border and caption.
Definition: Linker.php:726
static revUserTools($rev, $isPublic=false)
Generate a user tool link cluster if the current user is allowed to view it.
Definition: Linker.php:1252
static makeExternalImage($url, $alt= '')
Return the code for images which were added via external links, via Parser::maybeMakeExternalImage()...
Definition: Linker.php:492
static specialLink($name, $key= '')
Make a link to a special page given its name and, optionally, a message key from the link text...
Definition: Linker.php:1034
static revDeleteLink($query=[], $restricted=false, $delete=true)
Creates a (show/hide) link for deleting revisions/log entries.
Definition: Linker.php:2297
makeThumbLinkObj(Title $title, $file, $label= '', $alt, $align= 'right', $params=[], $framed=false, $manualthumb="")
static getLinkColour($t, $threshold)
Return the CSS colour of a known link.
Definition: Linker.php:139
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses after processing & $attribs
Definition: hooks.txt:1798
Allows to change the fields on the form that will be generated $name
Definition: hooks.txt:310