MediaWiki  1.32.0
DummyLinker.php
Go to the documentation of this file.
1 <?php
2 
6 class DummyLinker {
7 
8  public function link(
9  $target,
10  $html = null,
11  $customAttribs = [],
12  $query = [],
13  $options = []
14  ) {
15  return Linker::link(
16  $target,
17  $html,
19  $query,
20  $options
21  );
22  }
23 
24  public function linkKnown(
25  $target,
26  $html = null,
27  $customAttribs = [],
28  $query = [],
29  $options = [ 'known' ]
30  ) {
31  return Linker::linkKnown(
32  $target,
33  $html,
35  $query,
36  $options
37  );
38  }
39 
40  public function makeSelfLinkObj(
41  $nt,
42  $html = '',
43  $query = '',
44  $trail = '',
45  $prefix = ''
46  ) {
48  $nt,
49  $html,
50  $query,
51  $trail,
52  $prefix
53  );
54  }
55 
56  public function getInvalidTitleDescription(
58  $namespace,
59  $title
60  ) {
62  $context,
63  $namespace,
64  $title
65  );
66  }
67 
68  public function normaliseSpecialPage( Title $title ) {
70  }
71 
72  public function makeExternalImage( $url, $alt = '' ) {
73  return Linker::makeExternalImage( $url, $alt );
74  }
75 
76  public function makeImageLink(
77  Parser $parser,
78  Title $title,
79  $file,
80  $frameParams = [],
81  $handlerParams = [],
82  $time = false,
83  $query = "",
84  $widthOption = null
85  ) {
86  return Linker::makeImageLink(
87  $parser,
88  $title,
89  $file,
90  $frameParams,
92  $time,
93  $query,
94  $widthOption
95  );
96  }
97 
98  public function makeThumbLinkObj(
99  Title $title,
100  $file,
101  $label = '',
102  $alt = '',
103  $align = 'right',
104  $params = [],
105  $framed = false,
106  $manualthumb = ""
107  ) {
109  $title,
110  $file,
111  $label,
112  $alt,
113  $align,
114  $params,
115  $framed,
116  $manualthumb
117  );
118  }
119 
120  public function makeThumbLink2(
121  Title $title,
122  $file,
123  $frameParams = [],
124  $handlerParams = [],
125  $time = false,
126  $query = ""
127  ) {
128  return Linker::makeThumbLink2(
129  $title,
130  $file,
131  $frameParams,
133  $time,
134  $query
135  );
136  }
137 
138  public function processResponsiveImages( $file, $thumb, $hp ) {
140  $file,
141  $thumb,
142  $hp
143  );
144  }
145 
146  public function makeBrokenImageLinkObj(
147  $title,
148  $label = '',
149  $query = '',
150  $unused1 = '',
151  $unused2 = '',
152  $time = false
153  ) {
155  $title,
156  $label,
157  $query,
158  $unused1,
159  $unused2,
160  $time
161  );
162  }
163 
164  public function makeMediaLinkObj( $title, $html = '', $time = false ) {
166  $title,
167  $html,
168  $time
169  );
170  }
171 
172  public function makeMediaLinkFile( Title $title, $file, $html = '' ) {
174  $title,
175  $file,
176  $html
177  );
178  }
179 
180  public function specialLink( $name, $key = '' ) {
181  return Linker::specialLink( $name, $key );
182  }
183 
184  public function makeExternalLink(
185  $url,
186  $text,
187  $escape = true,
188  $linktype = '',
189  $attribs = [],
190  $title = null
191  ) {
193  $url,
194  $text,
195  $escape,
196  $linktype,
197  $attribs,
198  $title
199  );
200  }
201 
202  public function userLink( $userId, $userName, $altUserName = false ) {
203  return Linker::userLink(
204  $userId,
205  $userName,
206  $altUserName
207  );
208  }
209 
210  public function userToolLinks(
211  $userId,
212  $userText,
213  $redContribsWhenNoEdits = false,
214  $flags = 0,
215  $edits = null
216  ) {
217  return Linker::userToolLinks(
218  $userId,
219  $userText,
220  $redContribsWhenNoEdits,
221  $flags,
222  $edits
223  );
224  }
225 
226  public function userToolLinksRedContribs( $userId, $userText, $edits = null ) {
228  $userId,
229  $userText,
230  $edits
231  );
232  }
233 
234  public function userTalkLink( $userId, $userText ) {
235  return Linker::userTalkLink( $userId, $userText );
236  }
237 
238  public function blockLink( $userId, $userText ) {
239  return Linker::blockLink( $userId, $userText );
240  }
241 
242  public function emailLink( $userId, $userText ) {
243  return Linker::emailLink( $userId, $userText );
244  }
245 
246  public function revUserLink( $rev, $isPublic = false ) {
247  return Linker::revUserLink( $rev, $isPublic );
248  }
249 
250  public function revUserTools( $rev, $isPublic = false ) {
251  return Linker::revUserTools( $rev, $isPublic );
252  }
253 
254  public function formatComment(
255  $comment,
256  $title = null,
257  $local = false,
258  $wikiId = null
259  ) {
260  return Linker::formatComment(
261  $comment,
262  $title,
263  $local,
264  $wikiId
265  );
266  }
267 
268  public function formatLinksInComment(
269  $comment,
270  $title = null,
271  $local = false,
272  $wikiId = null
273  ) {
275  $comment,
276  $title,
277  $local,
278  $wikiId
279  );
280  }
281 
282  public function makeCommentLink(
283  Title $title,
284  $text,
285  $wikiId = null,
286  $options = []
287  ) {
289  $title,
290  $text,
291  $wikiId,
292  $options
293  );
294  }
295 
296  public function normalizeSubpageLink( $contextTitle, $target, &$text ) {
298  $contextTitle,
299  $target,
300  $text
301  );
302  }
303 
304  public function commentBlock(
305  $comment,
306  $title = null,
307  $local = false,
308  $wikiId = null
309  ) {
310  return Linker::commentBlock(
311  $comment,
312  $title,
313  $local,
314  $wikiId
315  );
316  }
317 
318  public function revComment( Revision $rev, $local = false, $isPublic = false ) {
319  return Linker::revComment( $rev, $local, $isPublic );
320  }
321 
322  public function formatRevisionSize( $size ) {
323  return Linker::formatRevisionSize( $size );
324  }
325 
326  public function tocIndent() {
327  return Linker::tocIndent();
328  }
329 
330  public function tocUnindent( $level ) {
331  return Linker::tocUnindent( $level );
332  }
333 
334  public function tocLine( $anchor, $tocline, $tocnumber, $level, $sectionIndex = false ) {
335  return Linker::tocLine(
336  $anchor,
337  $tocline,
338  $tocnumber,
339  $level,
340  $sectionIndex
341  );
342  }
343 
344  public function tocLineEnd() {
345  return Linker::tocLineEnd();
346  }
347 
348  public function tocList( $toc, $lang = false ) {
349  return Linker::tocList( $toc, $lang );
350  }
351 
352  public function generateTOC( $tree, $lang = false ) {
353  return Linker::generateTOC( $tree, $lang );
354  }
355 
356  public function makeHeadline(
357  $level,
358  $attribs,
359  $anchor,
360  $html,
361  $link,
362  $legacyAnchor = false
363  ) {
364  return Linker::makeHeadline(
365  $level,
366  $attribs,
367  $anchor,
368  $html,
369  $link,
370  $legacyAnchor
371  );
372  }
373 
374  public function splitTrail( $trail ) {
375  return Linker::splitTrail( $trail );
376  }
377 
378  public function generateRollback(
379  $rev,
380  IContextSource $context = null,
381  $options = [ 'verify' ]
382  ) {
384  $rev,
385  $context,
386  $options
387  );
388  }
389 
390  public function getRollbackEditCount( $rev, $verify ) {
391  return Linker::getRollbackEditCount( $rev, $verify );
392  }
393 
394  public function buildRollbackLink(
395  $rev,
396  IContextSource $context = null,
397  $editCount = false
398  ) {
400  $rev,
401  $context,
402  $editCount
403  );
404  }
405 
409  public function formatTemplates(
410  $templates,
411  $preview = false,
412  $section = false,
413  $more = null
414  ) {
415  wfDeprecated( __METHOD__, '1.28' );
416 
418  $templates,
419  $preview,
420  $section,
421  $more
422  );
423  }
424 
425  public function formatHiddenCategories( $hiddencats ) {
426  return Linker::formatHiddenCategories( $hiddencats );
427  }
428 
432  public function formatSize( $size ) {
433  wfDeprecated( __METHOD__, '1.28' );
434 
435  return Linker::formatSize( $size );
436  }
437 
438  public function titleAttrib( $name, $options = null, array $msgParams = [] ) {
439  return Linker::titleAttrib(
440  $name,
441  $options,
442  $msgParams
443  );
444  }
445 
446  public function accesskey( $name ) {
447  return Linker::accesskey( $name );
448  }
449 
452  $user,
453  $rev,
454  $title
455  );
456  }
457 
458  public function revDeleteLink( $query = [], $restricted = false, $delete = true ) {
459  return Linker::revDeleteLink(
460  $query,
461  $restricted,
462  $delete
463  );
464  }
465 
466  public function revDeleteLinkDisabled( $delete = true ) {
467  return Linker::revDeleteLinkDisabled( $delete );
468  }
469 
470  public function tooltipAndAccesskeyAttribs( $name, array $msgParams = [] ) {
472  $name,
473  $msgParams
474  );
475  }
476 
477  public function tooltip( $name, $options = null ) {
478  return Linker::tooltip( $name, $options );
479  }
480 
481 }
DummyLinker\specialLink
specialLink( $name, $key='')
Definition: DummyLinker.php:180
DummyLinker\linkKnown
linkKnown( $target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
Definition: DummyLinker.php:24
$user
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 account $user
Definition: hooks.txt:244
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:1214
DummyLinker\tocLineEnd
tocLineEnd()
Definition: DummyLinker.php:344
Linker\userTalkLink
static userTalkLink( $userId, $userText)
Definition: Linker.php:986
Linker\userToolLinksRedContribs
static userToolLinksRedContribs( $userId, $userText, $edits=null)
Alias for userToolLinks( $userId, $userText, true );.
Definition: Linker.php:976
DummyLinker\makeHeadline
makeHeadline( $level, $attribs, $anchor, $html, $link, $legacyAnchor=false)
Definition: DummyLinker.php:356
DummyLinker\getRevDeleteLink
getRevDeleteLink(User $user, Revision $rev, Title $title)
Definition: DummyLinker.php:450
Linker\emailLink
static emailLink( $userId, $userText)
Definition: Linker.php:1015
$context
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on and they can depend only on the ResourceLoaderContext $context
Definition: hooks.txt:2675
Linker\revUserLink
static revUserLink( $rev, $isPublic=false)
Generate a user link if the current user is allowed to view it.
Definition: Linker.php:1031
DummyLinker\getInvalidTitleDescription
getInvalidTitleDescription(IContextSource $context, $namespace, $title)
Definition: DummyLinker.php:56
Linker\userLink
static userLink( $userId, $userName, $altUserName=false)
Make user link (or user contributions for unregistered users)
Definition: Linker.php:876
$lang
if(!isset( $args[0])) $lang
Definition: testCompression.php:33
Linker\makeSelfLinkObj
static makeSelfLinkObj( $nt, $html='', $query='', $trail='', $prefix='')
Make appropriate markup for a link to the current article.
Definition: Linker.php:163
Linker\generateTOC
static generateTOC( $tree, $lang=false)
Generate a table of contents from a section tree.
Definition: Linker.php:1603
Linker\tocIndent
static tocIndent()
Add another level to the Table of Contents.
Definition: Linker.php:1505
DummyLinker\splitTrail
splitTrail( $trail)
Definition: DummyLinker.php:374
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:807
DummyLinker\formatSize
formatSize( $size)
Definition: DummyLinker.php:432
$params
$params
Definition: styleTest.css.php:44
Linker\linkKnown
static linkKnown( $target, $html=null, $customAttribs=[], $query=[], $options=[ 'known'])
Identical to link(), except $options defaults to 'known'.
Definition: Linker.php:141
Linker\processResponsiveImages
static processResponsiveImages( $file, $thumb, $hp)
Process responsive images: add 1.5x and 2x subimages to the thumbnail, where applicable.
Definition: Linker.php:638
DummyLinker\formatTemplates
formatTemplates( $templates, $preview=false, $section=false, $more=null)
Definition: DummyLinker.php:409
DummyLinker\accesskey
accesskey( $name)
Definition: DummyLinker.php:446
DummyLinker\makeCommentLink
makeCommentLink(Title $title, $text, $wikiId=null, $options=[])
Definition: DummyLinker.php:282
Linker\getInvalidTitleDescription
static getInvalidTitleDescription(IContextSource $context, $namespace, $title)
Get a message saying that an invalid title was encountered.
Definition: Linker.php:186
DummyLinker\makeMediaLinkObj
makeMediaLinkObj( $title, $html='', $time=false)
Definition: DummyLinker.php:164
DummyLinker\makeThumbLink2
makeThumbLink2(Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="")
Definition: DummyLinker.php:120
DummyLinker\tocLine
tocLine( $anchor, $tocline, $tocnumber, $level, $sectionIndex=false)
Definition: DummyLinker.php:334
Linker\tocLine
static tocLine( $anchor, $tocline, $tocnumber, $level, $sectionIndex=false)
parameter level defines if we are on an indentation level
Definition: Linker.php:1531
php
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
Linker\formatHiddenCategories
static formatHiddenCategories( $hiddencats)
Returns HTML for the "hidden categories on this page" list.
Definition: Linker.php:1915
Linker\tooltipAndAccesskeyAttribs
static tooltipAndAccesskeyAttribs( $name, array $msgParams=[], $options=null)
Returns the attributes for the tooltip and access key.
Definition: Linker.php:2133
DummyLinker\tooltip
tooltip( $name, $options=null)
Definition: DummyLinker.php:477
Revision
Definition: Revision.php:41
DummyLinker\userToolLinks
userToolLinks( $userId, $userText, $redContribsWhenNoEdits=false, $flags=0, $edits=null)
Definition: DummyLinker.php:210
$customAttribs
null means default & $customAttribs
Definition: hooks.txt:2036
DummyLinker\makeImageLink
makeImageLink(Parser $parser, Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="", $widthOption=null)
Definition: DummyLinker.php:76
$query
null for the 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:1627
DummyLinker\tocUnindent
tocUnindent( $level)
Definition: DummyLinker.php:330
$html
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:2036
DummyLinker\normalizeSubpageLink
normalizeSubpageLink( $contextTitle, $target, &$text)
Definition: DummyLinker.php:296
$title
namespace and then decline to actually register it file or subcat img or subcat $title
Definition: hooks.txt:964
Linker\makeMediaLinkObj
static makeMediaLinkObj( $title, $html='', $time=false)
Create a direct link to a given uploaded file.
Definition: Linker.php:749
wfDeprecated
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
Definition: GlobalFunctions.php:1118
Linker\generateRollback
static generateRollback( $rev, IContextSource $context=null, $options=[ 'verify'])
Generate a rollback link for a given revision.
Definition: Linker.php:1704
DummyLinker\blockLink
blockLink( $userId, $userText)
Definition: DummyLinker.php:238
DummyLinker\link
link( $target, $html=null, $customAttribs=[], $query=[], $options=[])
Definition: DummyLinker.php:8
Linker\makeThumbLink2
static makeThumbLink2(Title $title, $file, $frameParams=[], $handlerParams=[], $time=false, $query="")
Definition: Linker.php:516
DummyLinker\processResponsiveImages
processResponsiveImages( $file, $thumb, $hp)
Definition: DummyLinker.php:138
DummyLinker\commentBlock
commentBlock( $comment, $title=null, $local=false, $wikiId=null)
Definition: DummyLinker.php:304
Linker\revUserTools
static revUserTools( $rev, $isPublic=false)
Generate a user tool link cluster if the current user is allowed to view it.
Definition: Linker.php:1053
Linker\tocList
static tocList( $toc, $lang=false)
Wraps the TOC in a table and provides the hide/collapse javascript.
Definition: Linker.php:1567
DummyLinker\makeThumbLinkObj
makeThumbLinkObj(Title $title, $file, $label='', $alt='', $align='right', $params=[], $framed=false, $manualthumb="")
Definition: DummyLinker.php:98
Linker\getRollbackEditCount
static getRollbackEditCount( $rev, $verify)
This function will return the number of revisions which a rollback would revert and,...
Definition: Linker.php:1743
DummyLinker\formatHiddenCategories
formatHiddenCategories( $hiddencats)
Definition: DummyLinker.php:425
$attribs
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:2036
Linker\makeHeadline
static makeHeadline( $level, $attribs, $anchor, $html, $link, $fallbackAnchor=false)
Create a headline for content.
Definition: Linker.php:1641
Linker\makeThumbLinkObj
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:490
Linker\tocLineEnd
static tocLineEnd()
End a Table Of Contents line.
Definition: Linker.php:1555
DummyLinker\revComment
revComment(Revision $rev, $local=false, $isPublic=false)
Definition: DummyLinker.php:318
Linker\revDeleteLinkDisabled
static revDeleteLinkDisabled( $delete=true)
Creates a dead (show/hide) link for deleting revisions/log entries.
Definition: Linker.php:2114
$parser
see documentation in includes Linker php for Linker::makeImageLink or false for current used if you return false $parser
Definition: hooks.txt:1841
Linker\makeExternalLink
static makeExternalLink( $url, $text, $escape=true, $linktype='', $attribs=[], $title=null)
Make an external link.
Definition: Linker.php:826
$time
see documentation in includes Linker php for Linker::makeImageLink & $time
Definition: hooks.txt:1841
Linker\makeCommentLink
static makeCommentLink(LinkTarget $linkTarget, $text, $wikiId=null, $options=[])
Generates a link to the given Title.
Definition: Linker.php:1326
array
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))
DummyLinker\titleAttrib
titleAttrib( $name, $options=null, array $msgParams=[])
Definition: DummyLinker.php:438
DummyLinker\formatLinksInComment
formatLinksInComment( $comment, $title=null, $local=false, $wikiId=null)
Definition: DummyLinker.php:268
DummyLinker\revUserLink
revUserLink( $rev, $isPublic=false)
Definition: DummyLinker.php:246
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:1664
DummyLinker\formatComment
formatComment( $comment, $title=null, $local=false, $wikiId=null)
Definition: DummyLinker.php:254
$name
Allows to change the fields on the form that will be generated $name
Definition: hooks.txt:302
Linker\revComment
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:1466
Linker\blockLink
static blockLink( $userId, $userText)
Definition: Linker.php:1001
Linker\normaliseSpecialPage
static normaliseSpecialPage(LinkTarget $target)
Definition: Linker.php:206
Linker\userToolLinks
static userToolLinks( $userId, $userText, $redContribsWhenNoEdits=false, $flags=0, $edits=null)
Generate standard user tool links (talk, contributions, block link, etc.)
Definition: Linker.php:914
DummyLinker\userTalkLink
userTalkLink( $userId, $userText)
Definition: DummyLinker.php:234
Linker\getRevDeleteLink
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:2051
DummyLinker\tocList
tocList( $toc, $lang=false)
Definition: DummyLinker.php:348
Linker\formatSize
static formatSize( $size)
Definition: Linker.php:1944
Linker\link
static link( $target, $html=null, $customAttribs=[], $query=[], $options=[])
This function returns an HTML link to the given target.
Definition: Linker.php:84
Linker\formatRevisionSize
static formatRevisionSize( $size)
Definition: Linker.php:1489
Linker\makeImageLink
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:301
Linker\formatTemplates
static formatTemplates( $templates, $preview=false, $section=false, $more=null)
Definition: Linker.php:1884
DummyLinker\userLink
userLink( $userId, $userName, $altUserName=false)
Definition: DummyLinker.php:202
DummyLinker\revDeleteLinkDisabled
revDeleteLinkDisabled( $delete=true)
Definition: DummyLinker.php:466
DummyLinker\emailLink
emailLink( $userId, $userText)
Definition: DummyLinker.php:242
DummyLinker
Definition: DummyLinker.php:6
DummyLinker\makeExternalImage
makeExternalImage( $url, $alt='')
Definition: DummyLinker.php:72
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:1967
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition: IContextSource.php:53
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:1088
$handlerParams
see documentation in includes Linker php for Linker::makeImageLink & $handlerParams
Definition: hooks.txt:1839
DummyLinker\getRollbackEditCount
getRollbackEditCount( $rev, $verify)
Definition: DummyLinker.php:390
Linker\tooltip
static tooltip( $name, $options=null)
Returns raw bits of HTML, use titleAttrib()
Definition: Linker.php:2161
Title
Represents a title within MediaWiki.
Definition: Title.php:39
DummyLinker\makeSelfLinkObj
makeSelfLinkObj( $nt, $html='', $query='', $trail='', $prefix='')
Definition: DummyLinker.php:40
DummyLinker\makeBrokenImageLinkObj
makeBrokenImageLinkObj( $title, $label='', $query='', $unused1='', $unused2='', $time=false)
Definition: DummyLinker.php:146
DummyLinker\tooltipAndAccesskeyAttribs
tooltipAndAccesskeyAttribs( $name, array $msgParams=[])
Definition: DummyLinker.php:470
$options
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 & $options
Definition: hooks.txt:2036
$section
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:3090
$rev
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:1808
Linker\tocUnindent
static tocUnindent( $level)
Finish one or more sublevels on the Table of Contents.
Definition: Linker.php:1516
DummyLinker\userToolLinksRedContribs
userToolLinksRedContribs( $userId, $userText, $edits=null)
Definition: DummyLinker.php:226
Linker\makeMediaLinkFile
static makeMediaLinkFile(Title $title, $file, $html='')
Create a direct link to a given uploaded file.
Definition: Linker.php:766
Linker\revDeleteLink
static revDeleteLink( $query=[], $restricted=false, $delete=true)
Creates a (show/hide) link for deleting revisions/log entries.
Definition: Linker.php:2092
Linker\commentBlock
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:1441
$link
usually copyright or history_copyright This message must be in HTML not wikitext & $link
Definition: hooks.txt:3090
DummyLinker\revUserTools
revUserTools( $rev, $isPublic=false)
Definition: DummyLinker.php:250
DummyLinker\makeExternalLink
makeExternalLink( $url, $text, $escape=true, $linktype='', $attribs=[], $title=null)
Definition: DummyLinker.php:184
Linker\normalizeSubpageLink
static normalizeSubpageLink( $contextTitle, $target, &$text)
Definition: Linker.php:1355
DummyLinker\makeMediaLinkFile
makeMediaLinkFile(Title $title, $file, $html='')
Definition: DummyLinker.php:172
DummyLinker\revDeleteLink
revDeleteLink( $query=[], $restricted=false, $delete=true)
Definition: DummyLinker.php:458
DummyLinker\generateRollback
generateRollback( $rev, IContextSource $context=null, $options=[ 'verify'])
Definition: DummyLinker.php:378
Linker\accesskey
static accesskey( $name)
Given the id of an interface element, constructs the appropriate accesskey attribute from the system ...
Definition: Linker.php:2015
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:47
Linker\buildRollbackLink
static buildRollbackLink( $rev, IContextSource $context=null, $editCount=false)
Build a raw rollback link, useful for collections of "tool" links.
Definition: Linker.php:1805
Linker\makeExternalImage
static makeExternalImage( $url, $alt='')
Return the code for images which were added via external links, via Parser::maybeMakeExternalImage().
Definition: Linker.php:248
DummyLinker\formatRevisionSize
formatRevisionSize( $size)
Definition: DummyLinker.php:322
Linker\makeBrokenImageLinkObj
static makeBrokenImageLinkObj( $title, $label='', $query='', $unused1='', $unused2='', $time=false)
Make a "broken" link to an image.
Definition: Linker.php:673
DummyLinker\normaliseSpecialPage
normaliseSpecialPage(Title $title)
Definition: DummyLinker.php:68
DummyLinker\buildRollbackLink
buildRollbackLink( $rev, IContextSource $context=null, $editCount=false)
Definition: DummyLinker.php:394
DummyLinker\tocIndent
tocIndent()
Definition: DummyLinker.php:326
DummyLinker\generateTOC
generateTOC( $tree, $lang=false)
Definition: DummyLinker.php:352