MediaWiki  master
DummyLinker.php
Go to the documentation of this file.
1 <?php
2 
4 
8 class DummyLinker {
9 
10  public function link(
11  $target,
12  $html = null,
13  $customAttribs = [],
14  $query = [],
15  $options = []
16  ) {
17  return Linker::link(
18  $target,
19  $html,
20  $customAttribs,
21  $query,
22  $options
23  );
24  }
25 
26  public function linkKnown(
27  $target,
28  $html = null,
29  $customAttribs = [],
30  $query = [],
31  $options = [ 'known' ]
32  ) {
33  return Linker::linkKnown(
34  $target,
35  $html,
36  $customAttribs,
37  $query,
38  $options
39  );
40  }
41 
42  public function makeSelfLinkObj(
43  $nt,
44  $html = '',
45  $query = '',
46  $trail = '',
47  $prefix = ''
48  ) {
50  $nt,
51  $html,
52  $query,
53  $trail,
54  $prefix
55  );
56  }
57 
58  public function getInvalidTitleDescription(
60  $namespace,
61  $title
62  ) {
64  $context,
65  $namespace,
66  $title
67  );
68  }
69 
70  public function normaliseSpecialPage( Title $title ) {
71  $linkRenderer = MediaWikiServices::getInstance()->getLinkRenderer();
72  return $linkRenderer->normalizeTarget( $title );
73  }
74 
75  public function makeExternalImage( $url, $alt = '' ) {
76  return Linker::makeExternalImage( $url, $alt );
77  }
78 
79  public function makeImageLink(
80  Parser $parser,
81  Title $title,
82  $file,
83  $frameParams = [],
84  $handlerParams = [],
85  $time = false,
86  $query = "",
87  $widthOption = null
88  ) {
89  return Linker::makeImageLink(
90  $parser,
91  $title,
92  $file,
93  $frameParams,
94  $handlerParams,
95  $time,
96  $query,
97  $widthOption
98  );
99  }
100 
101  public function makeThumbLinkObj(
102  Title $title,
103  $file,
104  $label = '',
105  $alt = '',
106  $align = 'right',
107  $params = [],
108  $framed = false,
109  $manualthumb = ""
110  ) {
112  $title,
113  $file,
114  $label,
115  $alt,
116  $align,
117  $params,
118  $framed,
119  $manualthumb
120  );
121  }
122 
123  public function makeThumbLink2(
124  Title $title,
125  $file,
126  $frameParams = [],
127  $handlerParams = [],
128  $time = false,
129  $query = ""
130  ) {
131  return Linker::makeThumbLink2(
132  $title,
133  $file,
134  $frameParams,
135  $handlerParams,
136  $time,
137  $query
138  );
139  }
140 
141  public function processResponsiveImages( $file, $thumb, $hp ) {
143  $file,
144  $thumb,
145  $hp
146  );
147  }
148 
149  public function makeBrokenImageLinkObj(
150  $title,
151  $label = '',
152  $query = '',
153  $unused1 = '',
154  $unused2 = '',
155  $time = false
156  ) {
158  $title,
159  $label,
160  $query,
161  $unused1,
162  $unused2,
163  $time
164  );
165  }
166 
167  public function makeMediaLinkObj( $title, $html = '', $time = false ) {
169  $title,
170  $html,
171  $time
172  );
173  }
174 
175  public function makeMediaLinkFile( Title $title, $file, $html = '' ) {
177  $title,
178  $file,
179  $html
180  );
181  }
182 
183  public function specialLink( $name, $key = '' ) {
184  return Linker::specialLink( $name, $key );
185  }
186 
187  public function makeExternalLink(
188  $url,
189  $text,
190  $escape = true,
191  $linktype = '',
192  $attribs = [],
193  $title = null
194  ) {
196  $url,
197  $text,
198  $escape,
199  $linktype,
200  $attribs,
201  $title
202  );
203  }
204 
205  public function userLink( $userId, $userName, $altUserName = false ) {
206  return Linker::userLink(
207  $userId,
208  $userName,
209  $altUserName
210  );
211  }
212 
213  public function userToolLinks(
214  $userId,
215  $userText,
216  $redContribsWhenNoEdits = false,
217  $flags = 0,
218  $edits = null
219  ) {
220  return Linker::userToolLinks(
221  $userId,
222  $userText,
223  $redContribsWhenNoEdits,
224  $flags,
225  $edits
226  );
227  }
228 
229  public function userToolLinksRedContribs( $userId, $userText, $edits = null ) {
231  $userId,
232  $userText,
233  $edits
234  );
235  }
236 
237  public function userTalkLink( $userId, $userText ) {
238  return Linker::userTalkLink( $userId, $userText );
239  }
240 
241  public function blockLink( $userId, $userText ) {
242  return Linker::blockLink( $userId, $userText );
243  }
244 
245  public function emailLink( $userId, $userText ) {
246  return Linker::emailLink( $userId, $userText );
247  }
248 
249  public function revUserLink( $rev, $isPublic = false ) {
250  return Linker::revUserLink( $rev, $isPublic );
251  }
252 
253  public function revUserTools( $rev, $isPublic = false ) {
254  return Linker::revUserTools( $rev, $isPublic );
255  }
256 
257  public function formatComment(
258  $comment,
259  $title = null,
260  $local = false,
261  $wikiId = null
262  ) {
263  return Linker::formatComment(
264  $comment,
265  $title,
266  $local,
267  $wikiId
268  );
269  }
270 
271  public function formatLinksInComment(
272  $comment,
273  $title = null,
274  $local = false,
275  $wikiId = null
276  ) {
278  $comment,
279  $title,
280  $local,
281  $wikiId
282  );
283  }
284 
285  public function makeCommentLink(
286  Title $title,
287  $text,
288  $wikiId = null,
289  $options = []
290  ) {
292  $title,
293  $text,
294  $wikiId,
295  $options
296  );
297  }
298 
299  public function normalizeSubpageLink( $contextTitle, $target, &$text ) {
301  $contextTitle,
302  $target,
303  $text
304  );
305  }
306 
307  public function commentBlock(
308  $comment,
309  $title = null,
310  $local = false,
311  $wikiId = null
312  ) {
313  return Linker::commentBlock(
314  $comment,
315  $title,
316  $local,
317  $wikiId
318  );
319  }
320 
321  public function revComment( $rev, $local = false, $isPublic = false ) {
322  return Linker::revComment( $rev, $local, $isPublic );
323  }
324 
325  public function formatRevisionSize( $size ) {
326  return Linker::formatRevisionSize( $size );
327  }
328 
329  public function tocIndent() {
330  return Linker::tocIndent();
331  }
332 
333  public function tocUnindent( $level ) {
334  return Linker::tocUnindent( $level );
335  }
336 
337  public function tocLine( $anchor, $tocline, $tocnumber, $level, $sectionIndex = false ) {
338  return Linker::tocLine(
339  $anchor,
340  $tocline,
341  $tocnumber,
342  $level,
343  $sectionIndex
344  );
345  }
346 
347  public function tocLineEnd() {
348  return Linker::tocLineEnd();
349  }
350 
351  public function tocList( $toc, Language $lang = null ) {
352  return Linker::tocList( $toc, $lang );
353  }
354 
355  public function generateTOC( $tree, Language $lang = null ) {
356  return Linker::generateTOC( $tree, $lang );
357  }
358 
359  public function makeHeadline(
360  $level,
361  $attribs,
362  $anchor,
363  $html,
364  $link,
365  $legacyAnchor = false
366  ) {
367  return Linker::makeHeadline(
368  $level,
369  $attribs,
370  $anchor,
371  $html,
372  $link,
373  $legacyAnchor
374  );
375  }
376 
377  public function splitTrail( $trail ) {
378  return Linker::splitTrail( $trail );
379  }
380 
381  public function generateRollback(
382  $rev,
383  IContextSource $context = null,
384  $options = [ 'verify' ]
385  ) {
387  $rev,
388  $context,
389  $options
390  );
391  }
392 
393  public function getRollbackEditCount( $rev, $verify ) {
394  return Linker::getRollbackEditCount( $rev, $verify );
395  }
396 
397  public function buildRollbackLink(
398  $rev,
399  IContextSource $context = null,
400  $editCount = false
401  ) {
403  $rev,
404  $context,
405  $editCount
406  );
407  }
408 
409  public function formatHiddenCategories( $hiddencats ) {
410  return Linker::formatHiddenCategories( $hiddencats );
411  }
412 
413  public function titleAttrib( $name, $options = null, array $msgParams = [] ) {
414  return Linker::titleAttrib(
415  $name,
416  $options,
417  $msgParams
418  );
419  }
420 
421  public function accesskey( $name ) {
422  return Linker::accesskey( $name );
423  }
424 
425  public function getRevDeleteLink( User $user, $rev, Title $title ) {
427  $user,
428  $rev,
429  $title
430  );
431  }
432 
433  public function revDeleteLink( $query = [], $restricted = false, $delete = true ) {
434  return Linker::revDeleteLink(
435  $query,
436  $restricted,
437  $delete
438  );
439  }
440 
441  public function revDeleteLinkDisabled( $delete = true ) {
442  return Linker::revDeleteLinkDisabled( $delete );
443  }
444 
445  public function tooltipAndAccesskeyAttribs( $name, array $msgParams = [] ) {
447  $name,
448  $msgParams
449  );
450  }
451 
452  public function tooltip( $name, $options = null ) {
453  return Linker::tooltip( $name, $options );
454  }
455 
456 }
DummyLinker\specialLink
specialLink( $name, $key='')
Definition: DummyLinker.php:183
DummyLinker\linkKnown
linkKnown( $target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
Definition: DummyLinker.php:26
Linker\formatLinksInComment
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:1330
DummyLinker\tocLineEnd
tocLineEnd()
Definition: DummyLinker.php:347
Linker\userTalkLink
static userTalkLink( $userId, $userText)
Definition: Linker.php:1035
DummyLinker\makeHeadline
makeHeadline( $level, $attribs, $anchor, $html, $link, $legacyAnchor=false)
Definition: DummyLinker.php:359
Linker\emailLink
static emailLink( $userId, $userText)
Definition: Linker.php:1078
Linker\generateTOC
static generateTOC( $tree, Language $lang=null)
Generate a table of contents from a section tree.
Definition: Linker.php:1765
DummyLinker\revComment
revComment( $rev, $local=false, $isPublic=false)
Definition: DummyLinker.php:321
Linker\revUserLink
static revUserLink( $rev, $isPublic=false)
Generate a user link if the current user is allowed to view it.
Definition: Linker.php:1101
DummyLinker\getInvalidTitleDescription
getInvalidTitleDescription(IContextSource $context, $namespace, $title)
Definition: DummyLinker.php:58
Linker\userLink
static userLink( $userId, $userName, $altUserName=false)
Make user link (or user contributions for unregistered users)
Definition: Linker.php:896
DummyLinker\getRevDeleteLink
getRevDeleteLink(User $user, $rev, Title $title)
Definition: DummyLinker.php:425
MediaWiki\MediaWikiServices
MediaWikiServices is the service locator for the application scope of MediaWiki.
Definition: MediaWikiServices.php:149
$lang
if(!isset( $args[0])) $lang
Definition: testCompression.php:37
Linker\makeSelfLinkObj
static makeSelfLinkObj( $nt, $html='', $query='', $trail='', $prefix='')
Make appropriate markup for a link to the current article.
Definition: Linker.php:164
Linker\tocIndent
static tocIndent()
Add another level to the Table of Contents.
Definition: Linker.php:1666
DummyLinker\splitTrail
splitTrail( $trail)
Definition: DummyLinker.php:377
Linker\userToolLinks
static userToolLinks( $userId, $userText, $redContribsWhenNoEdits=false, $flags=0, $edits=null, $useParentheses=true)
Generate standard user tool links (talk, contributions, block link, etc.)
Definition: Linker.php:941
Linker\specialLink
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:820
Linker\revComment
static revComment( $rev, $local=false, $isPublic=false, $useParentheses=true)
Wrap and format the given revision's comment block, if the current user is allowed to view it.
Definition: Linker.php:1606
Linker\getRevDeleteLink
static getRevDeleteLink(User $user, $rev, LinkTarget $title)
Get a revision-deletion link, or disabled link, or nothing, depending on user permissions & the setti...
Definition: Linker.php:2196
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition: router.php:42
Linker\linkKnown
static linkKnown( $target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
Identical to link(), except $options defaults to 'known'.
Definition: Linker.php:142
Linker\processResponsiveImages
static processResponsiveImages( $file, $thumb, $hp)
Process responsive images: add 1.5x and 2x subimages to the thumbnail, where applicable.
Definition: Linker.php:639
DummyLinker\accesskey
accesskey( $name)
Definition: DummyLinker.php:421
DummyLinker\makeCommentLink
makeCommentLink(Title $title, $text, $wikiId=null, $options=[])
Definition: DummyLinker.php:285
Linker\getInvalidTitleDescription
static getInvalidTitleDescription(IContextSource $context, $namespace, $title)
Get a message saying that an invalid title was encountered.
Definition: Linker.php:188
Linker\makeThumbLinkObj
static makeThumbLinkObj(LinkTarget $title, $file, $label='', $alt='', $align='right', $params=[], $framed=false, $manualthumb="")
Make HTML for a thumbnail including image, border and caption.
Definition: Linker.php:490
DummyLinker\makeMediaLinkObj
makeMediaLinkObj( $title, $html='', $time=false)
Definition: DummyLinker.php:167
DummyLinker\makeThumbLink2
makeThumbLink2(Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="")
Definition: DummyLinker.php:123
DummyLinker\tocLine
tocLine( $anchor, $tocline, $tocnumber, $level, $sectionIndex=false)
Definition: DummyLinker.php:337
Linker\tocLine
static tocLine( $anchor, $tocline, $tocnumber, $level, $sectionIndex=false)
parameter level defines if we are on an indentation level
Definition: Linker.php:1692
DummyLinker\generateTOC
generateTOC( $tree, Language $lang=null)
Definition: DummyLinker.php:355
Linker\tocList
static tocList( $toc, Language $lang=null)
Wraps the TOC in a div with ARIA navigation role and provides the hide/collapse JavaScript.
Definition: Linker.php:1728
Linker\formatHiddenCategories
static formatHiddenCategories( $hiddencats)
Returns HTML for the "hidden categories on this page" list.
Definition: Linker.php:2076
Linker\makeThumbLink2
static makeThumbLink2(LinkTarget $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="")
Definition: Linker.php:516
Linker\tooltipAndAccesskeyAttribs
static tooltipAndAccesskeyAttribs( $name, array $msgParams=[], $options=null)
Returns the attributes for the tooltip and access key.
Definition: Linker.php:2295
DummyLinker\tooltip
tooltip( $name, $options=null)
Definition: DummyLinker.php:452
DummyLinker\userToolLinks
userToolLinks( $userId, $userText, $redContribsWhenNoEdits=false, $flags=0, $edits=null)
Definition: DummyLinker.php:213
DummyLinker\makeImageLink
makeImageLink(Parser $parser, Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="", $widthOption=null)
Definition: DummyLinker.php:79
DummyLinker\tocUnindent
tocUnindent( $level)
Definition: DummyLinker.php:333
DummyLinker\normalizeSubpageLink
normalizeSubpageLink( $contextTitle, $target, &$text)
Definition: DummyLinker.php:299
Linker\makeMediaLinkObj
static makeMediaLinkObj( $title, $html='', $time=false)
Create a direct link to a given uploaded file.
Definition: Linker.php:759
Linker\generateRollback
static generateRollback( $rev, IContextSource $context=null, $options=[ 'verify'])
Generate a rollback link for a given revision.
Definition: Linker.php:1862
DummyLinker\blockLink
blockLink( $userId, $userText)
Definition: DummyLinker.php:241
DummyLinker\link
link( $target, $html=null, $customAttribs=[], $query=[], $options=[])
Definition: DummyLinker.php:10
DummyLinker\processResponsiveImages
processResponsiveImages( $file, $thumb, $hp)
Definition: DummyLinker.php:141
DummyLinker\commentBlock
commentBlock( $comment, $title=null, $local=false, $wikiId=null)
Definition: DummyLinker.php:307
DummyLinker\makeThumbLinkObj
makeThumbLinkObj(Title $title, $file, $label='', $alt='', $align='right', $params=[], $framed=false, $manualthumb="")
Definition: DummyLinker.php:101
Linker\getRollbackEditCount
static getRollbackEditCount( $rev, $verify)
This function will return the number of revisions which a rollback would revert and,...
Definition: Linker.php:1917
DummyLinker\formatHiddenCategories
formatHiddenCategories( $hiddencats)
Definition: DummyLinker.php:409
Linker\makeHeadline
static makeHeadline( $level, $attribs, $anchor, $html, $link, $fallbackAnchor=false)
Create a headline for content.
Definition: Linker.php:1803
DummyLinker\tocList
tocList( $toc, Language $lang=null)
Definition: DummyLinker.php:351
Linker\tocLineEnd
static tocLineEnd()
End a Table Of Contents line.
Definition: Linker.php:1716
Linker\revDeleteLinkDisabled
static revDeleteLinkDisabled( $delete=true)
Creates a dead (show/hide) link for deleting revisions/log entries.
Definition: Linker.php:2276
$title
$title
Definition: testCompression.php:38
Linker\makeExternalLink
static makeExternalLink( $url, $text, $escape=true, $linktype='', $attribs=[], $title=null)
Make an external link.
Definition: Linker.php:846
Linker\revUserTools
static revUserTools( $rev, $isPublic=false, $useParentheses=true)
Generate a user tool link cluster if the current user is allowed to view it.
Definition: Linker.php:1142
Linker\makeCommentLink
static makeCommentLink(LinkTarget $linkTarget, $text, $wikiId=null, $options=[])
Generates a link to the given LinkTarget.
Definition: Linker.php:1452
DummyLinker\titleAttrib
titleAttrib( $name, $options=null, array $msgParams=[])
Definition: DummyLinker.php:413
DummyLinker\formatLinksInComment
formatLinksInComment( $comment, $title=null, $local=false, $wikiId=null)
Definition: DummyLinker.php:271
DummyLinker\revUserLink
revUserLink( $rev, $isPublic=false)
Definition: DummyLinker.php:249
Linker\splitTrail
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:1824
DummyLinker\formatComment
formatComment( $comment, $title=null, $local=false, $wikiId=null)
Definition: DummyLinker.php:257
Linker\blockLink
static blockLink( $userId, $userText)
Definition: Linker.php:1057
Linker\commentBlock
static commentBlock( $comment, $title=null, $local=false, $wikiId=null, $useParentheses=true)
Wrap a comment in standard punctuation and formatting if it's non-empty, otherwise return empty strin...
Definition: Linker.php:1575
Linker\userToolLinksRedContribs
static userToolLinksRedContribs( $userId, $userText, $edits=null, $useParentheses=true)
Alias for userToolLinks( $userId, $userText, true );.
Definition: Linker.php:1023
DummyLinker\userTalkLink
userTalkLink( $userId, $userText)
Definition: DummyLinker.php:237
Linker\link
static link( $target, $html=null, $customAttribs=[], $query=[], $options=[])
This function returns an HTML link to the given target.
Definition: Linker.php:86
Linker\formatRevisionSize
static formatRevisionSize( $size)
Definition: Linker.php:1651
DummyLinker\userLink
userLink( $userId, $userName, $altUserName=false)
Definition: DummyLinker.php:205
DummyLinker\revDeleteLinkDisabled
revDeleteLinkDisabled( $delete=true)
Definition: DummyLinker.php:441
DummyLinker\emailLink
emailLink( $userId, $userText)
Definition: DummyLinker.php:245
Parser
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition: Parser.php:82
DummyLinker
Definition: DummyLinker.php:8
Linker\makeMediaLinkFile
static makeMediaLinkFile(LinkTarget $title, $file, $html='')
Create a direct link to a given uploaded file.
Definition: Linker.php:778
DummyLinker\makeExternalImage
makeExternalImage( $url, $alt='')
Definition: DummyLinker.php:75
Linker\titleAttrib
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:2111
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition: IContextSource.php:53
$context
$context
Definition: load.php:43
Linker\formatComment
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:1199
DummyLinker\getRollbackEditCount
getRollbackEditCount( $rev, $verify)
Definition: DummyLinker.php:393
Linker\tooltip
static tooltip( $name, $options=null)
Returns raw bits of HTML, use titleAttrib()
Definition: Linker.php:2323
Title
Represents a title within MediaWiki.
Definition: Title.php:42
DummyLinker\makeSelfLinkObj
makeSelfLinkObj( $nt, $html='', $query='', $trail='', $prefix='')
Definition: DummyLinker.php:42
DummyLinker\makeBrokenImageLinkObj
makeBrokenImageLinkObj( $title, $label='', $query='', $unused1='', $unused2='', $time=false)
Definition: DummyLinker.php:149
DummyLinker\tooltipAndAccesskeyAttribs
tooltipAndAccesskeyAttribs( $name, array $msgParams=[])
Definition: DummyLinker.php:445
Linker\tocUnindent
static tocUnindent( $level)
Finish one or more sublevels on the Table of Contents.
Definition: Linker.php:1677
Linker\makeImageLink
static makeImageLink(Parser $parser, LinkTarget $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:299
DummyLinker\userToolLinksRedContribs
userToolLinksRedContribs( $userId, $userText, $edits=null)
Definition: DummyLinker.php:229
Linker\revDeleteLink
static revDeleteLink( $query=[], $restricted=false, $delete=true)
Creates a (show/hide) link for deleting revisions/log entries.
Definition: Linker.php:2254
DummyLinker\revUserTools
revUserTools( $rev, $isPublic=false)
Definition: DummyLinker.php:253
DummyLinker\makeExternalLink
makeExternalLink( $url, $text, $escape=true, $linktype='', $attribs=[], $title=null)
Definition: DummyLinker.php:187
Linker\normalizeSubpageLink
static normalizeSubpageLink( $contextTitle, $target, &$text)
Definition: Linker.php:1482
DummyLinker\makeMediaLinkFile
makeMediaLinkFile(Title $title, $file, $html='')
Definition: DummyLinker.php:175
DummyLinker\revDeleteLink
revDeleteLink( $query=[], $restricted=false, $delete=true)
Definition: DummyLinker.php:433
DummyLinker\generateRollback
generateRollback( $rev, IContextSource $context=null, $options=[ 'verify'])
Definition: DummyLinker.php:381
Linker\accesskey
static accesskey( $name)
Given the id of an interface element, constructs the appropriate accesskey attribute from the system ...
Definition: Linker.php:2159
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:55
Linker\buildRollbackLink
static buildRollbackLink( $rev, IContextSource $context=null, $editCount=false)
Build a raw rollback link, useful for collections of "tool" links.
Definition: Linker.php:1994
Linker\makeExternalImage
static makeExternalImage( $url, $alt='')
Return the code for images which were added via external links, via Parser::maybeMakeExternalImage().
Definition: Linker.php:243
Language
Internationalisation code See https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation for more...
Definition: Language.php:41
DummyLinker\formatRevisionSize
formatRevisionSize( $size)
Definition: DummyLinker.php:325
Linker\makeBrokenImageLinkObj
static makeBrokenImageLinkObj( $title, $label='', $query='', $unused1='', $unused2='', $time=false)
Make a "broken" link to an image.
Definition: Linker.php:674
DummyLinker\normaliseSpecialPage
normaliseSpecialPage(Title $title)
Definition: DummyLinker.php:70
DummyLinker\buildRollbackLink
buildRollbackLink( $rev, IContextSource $context=null, $editCount=false)
Definition: DummyLinker.php:397
DummyLinker\tocIndent
tocIndent()
Definition: DummyLinker.php:329