Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 240 |
|
0.00% |
0 / 48 |
CRAP | |
0.00% |
0 / 1 |
DummyLinker | |
0.00% |
0 / 239 |
|
0.00% |
0 / 48 |
2450 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
6 | |||
link | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |||
linkKnown | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |||
makeSelfLinkObj | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |||
getInvalidTitleDescription | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
makeExternalImage | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
makeImageLink | |
0.00% |
0 / 11 |
|
0.00% |
0 / 1 |
2 | |||
makeThumbLinkObj | |
0.00% |
0 / 11 |
|
0.00% |
0 / 1 |
2 | |||
makeThumbLink2 | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 | |||
processResponsiveImages | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
makeBrokenImageLinkObj | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 | |||
makeMediaLinkObj | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
makeMediaLinkFile | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
specialLink | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
makeExternalLink | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 | |||
userLink | |
0.00% |
0 / 7 |
|
0.00% |
0 / 1 |
2 | |||
userToolLinks | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |||
userToolLinksRedContribs | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
userTalkLink | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
blockLink | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
emailLink | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
revUserLink | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
revUserTools | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
formatComment | |
0.00% |
0 / 7 |
|
0.00% |
0 / 1 |
2 | |||
formatLinksInComment | |
0.00% |
0 / 7 |
|
0.00% |
0 / 1 |
2 | |||
normalizeSubpageLink | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
commentBlock | |
0.00% |
0 / 7 |
|
0.00% |
0 / 1 |
2 | |||
revComment | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
formatRevisionSize | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
tocIndent | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
tocUnindent | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
tocLine | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |||
tocLineEnd | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
tocList | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
generateTOC | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
makeHeadline | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 | |||
splitTrail | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
generateRollback | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
getRollbackEditCount | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
buildRollbackLink | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
formatHiddenCategories | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
titleAttrib | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
accesskey | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
getRevDeleteLink | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
revDeleteLink | |
0.00% |
0 / 6 |
|
0.00% |
0 / 1 |
2 | |||
revDeleteLinkDisabled | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
tooltipAndAccesskeyAttribs | |
0.00% |
0 / 5 |
|
0.00% |
0 / 1 |
2 | |||
tooltip | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Linker; |
4 | |
5 | use Language; |
6 | use MediaWiki\Context\IContextSource; |
7 | use MediaWiki\Parser\Parser; |
8 | use MediaWiki\Revision\RevisionRecord; |
9 | use MediaWiki\Title\Title; |
10 | use MediaWiki\User\User; |
11 | |
12 | /** |
13 | * @since 1.18 |
14 | * @deprecated since 1.42 |
15 | */ |
16 | class DummyLinker { |
17 | |
18 | public function __construct() { |
19 | // Avoid deprecation warning when calling the 'ImageBeforeProduceHTML' hook. |
20 | // Warnings will be emitted instead if any method is accessed by a hook handler. |
21 | if ( wfGetCaller() !== Linker::class . '::makeImageLink' ) { |
22 | wfDeprecated( __METHOD__, '1.42' ); |
23 | } |
24 | } |
25 | |
26 | /** |
27 | * @deprecated since 1.42 |
28 | */ |
29 | public function link( |
30 | $target, |
31 | $html = null, |
32 | $customAttribs = [], |
33 | $query = [], |
34 | $options = [] |
35 | ) { |
36 | wfDeprecated( __METHOD__, '1.42' ); |
37 | return Linker::link( |
38 | $target, |
39 | $html, |
40 | $customAttribs, |
41 | $query, |
42 | $options |
43 | ); |
44 | } |
45 | |
46 | /** |
47 | * @deprecated since 1.42 |
48 | */ |
49 | public function linkKnown( |
50 | $target, |
51 | $html = null, |
52 | $customAttribs = [], |
53 | $query = [], |
54 | $options = [ 'known' ] |
55 | ) { |
56 | wfDeprecated( __METHOD__, '1.42' ); |
57 | return Linker::linkKnown( |
58 | $target, |
59 | $html, |
60 | $customAttribs, |
61 | $query, |
62 | $options |
63 | ); |
64 | } |
65 | |
66 | /** |
67 | * @deprecated since 1.42 |
68 | */ |
69 | public function makeSelfLinkObj( |
70 | $nt, |
71 | $html = '', |
72 | $query = '', |
73 | $trail = '', |
74 | $prefix = '' |
75 | ) { |
76 | wfDeprecated( __METHOD__, '1.42' ); |
77 | return Linker::makeSelfLinkObj( |
78 | $nt, |
79 | $html, |
80 | $query, |
81 | $trail, |
82 | $prefix |
83 | ); |
84 | } |
85 | |
86 | /** |
87 | * @deprecated since 1.42 |
88 | */ |
89 | public function getInvalidTitleDescription( |
90 | IContextSource $context, |
91 | $namespace, |
92 | $title |
93 | ) { |
94 | wfDeprecated( __METHOD__, '1.42' ); |
95 | return Linker::getInvalidTitleDescription( |
96 | $context, |
97 | $namespace, |
98 | $title |
99 | ); |
100 | } |
101 | |
102 | /** |
103 | * @deprecated since 1.42 |
104 | */ |
105 | public function makeExternalImage( $url, $alt = '' ) { |
106 | wfDeprecated( __METHOD__, '1.42' ); |
107 | return Linker::makeExternalImage( $url, $alt ); |
108 | } |
109 | |
110 | /** |
111 | * @deprecated since 1.42 |
112 | */ |
113 | public function makeImageLink( |
114 | Parser $parser, |
115 | Title $title, |
116 | $file, |
117 | $frameParams = [], |
118 | $handlerParams = [], |
119 | $time = false, |
120 | $query = "", |
121 | $widthOption = null |
122 | ) { |
123 | wfDeprecated( __METHOD__, '1.42' ); |
124 | return Linker::makeImageLink( |
125 | $parser, |
126 | $title, |
127 | $file, |
128 | $frameParams, |
129 | $handlerParams, |
130 | $time, |
131 | $query, |
132 | $widthOption |
133 | ); |
134 | } |
135 | |
136 | /** |
137 | * @deprecated since 1.42 |
138 | */ |
139 | public function makeThumbLinkObj( |
140 | Title $title, |
141 | $file, |
142 | $label = '', |
143 | $alt = '', |
144 | $align = 'right', |
145 | $params = [], |
146 | $framed = false, |
147 | $manualthumb = "" |
148 | ) { |
149 | wfDeprecated( __METHOD__, '1.42' ); |
150 | return Linker::makeThumbLinkObj( |
151 | $title, |
152 | $file, |
153 | $label, |
154 | $alt, |
155 | $align, |
156 | $params, |
157 | $framed, |
158 | $manualthumb |
159 | ); |
160 | } |
161 | |
162 | /** |
163 | * @deprecated since 1.42 |
164 | */ |
165 | public function makeThumbLink2( |
166 | Title $title, |
167 | $file, |
168 | $frameParams = [], |
169 | $handlerParams = [], |
170 | $time = false, |
171 | $query = "" |
172 | ) { |
173 | wfDeprecated( __METHOD__, '1.42' ); |
174 | return Linker::makeThumbLink2( |
175 | $title, |
176 | $file, |
177 | $frameParams, |
178 | $handlerParams, |
179 | $time, |
180 | $query |
181 | ); |
182 | } |
183 | |
184 | /** |
185 | * @deprecated since 1.42 |
186 | */ |
187 | public function processResponsiveImages( $file, $thumb, $hp ) { |
188 | wfDeprecated( __METHOD__, '1.42' ); |
189 | Linker::processResponsiveImages( |
190 | $file, |
191 | $thumb, |
192 | $hp |
193 | ); |
194 | } |
195 | |
196 | /** |
197 | * @deprecated since 1.42 |
198 | */ |
199 | public function makeBrokenImageLinkObj( |
200 | $title, |
201 | $label = '', |
202 | $query = '', |
203 | $unused1 = '', |
204 | $unused2 = '', |
205 | $time = false |
206 | ) { |
207 | wfDeprecated( __METHOD__, '1.42' ); |
208 | return Linker::makeBrokenImageLinkObj( |
209 | $title, |
210 | $label, |
211 | $query, |
212 | $unused1, |
213 | $unused2, |
214 | $time |
215 | ); |
216 | } |
217 | |
218 | /** |
219 | * @deprecated since 1.42 |
220 | */ |
221 | public function makeMediaLinkObj( $title, $html = '', $time = false ) { |
222 | wfDeprecated( __METHOD__, '1.42' ); |
223 | return Linker::makeMediaLinkObj( |
224 | $title, |
225 | $html, |
226 | $time |
227 | ); |
228 | } |
229 | |
230 | /** |
231 | * @deprecated since 1.42 |
232 | */ |
233 | public function makeMediaLinkFile( Title $title, $file, $html = '' ) { |
234 | wfDeprecated( __METHOD__, '1.42' ); |
235 | return Linker::makeMediaLinkFile( |
236 | $title, |
237 | $file, |
238 | $html |
239 | ); |
240 | } |
241 | |
242 | /** |
243 | * @deprecated since 1.42 |
244 | */ |
245 | public function specialLink( $name, $key = '' ) { |
246 | wfDeprecated( __METHOD__, '1.42' ); |
247 | return Linker::specialLink( $name, $key ); |
248 | } |
249 | |
250 | /** |
251 | * @deprecated since 1.42 |
252 | */ |
253 | public function makeExternalLink( |
254 | $url, |
255 | $text, |
256 | $escape = true, |
257 | $linktype = '', |
258 | $attribs = [], |
259 | $title = null |
260 | ) { |
261 | wfDeprecated( __METHOD__, '1.42' ); |
262 | return Linker::makeExternalLink( |
263 | $url, |
264 | $text, |
265 | $escape, |
266 | $linktype, |
267 | $attribs, |
268 | $title |
269 | ); |
270 | } |
271 | |
272 | /** |
273 | * @deprecated since 1.42 |
274 | */ |
275 | public function userLink( $userId, $userName, $altUserName = false, $attributes = [] ) { |
276 | wfDeprecated( __METHOD__, '1.42' ); |
277 | return Linker::userLink( |
278 | $userId, |
279 | $userName, |
280 | $altUserName, |
281 | $attributes |
282 | ); |
283 | } |
284 | |
285 | /** |
286 | * @deprecated since 1.42 |
287 | */ |
288 | public function userToolLinks( |
289 | $userId, |
290 | $userText, |
291 | $redContribsWhenNoEdits = false, |
292 | $flags = 0, |
293 | $edits = null |
294 | ) { |
295 | wfDeprecated( __METHOD__, '1.42' ); |
296 | return Linker::userToolLinks( |
297 | $userId, |
298 | $userText, |
299 | $redContribsWhenNoEdits, |
300 | $flags, |
301 | $edits |
302 | ); |
303 | } |
304 | |
305 | /** |
306 | * @deprecated since 1.42 |
307 | */ |
308 | public function userToolLinksRedContribs( $userId, $userText, $edits = null ) { |
309 | wfDeprecated( __METHOD__, '1.42' ); |
310 | return Linker::userToolLinksRedContribs( |
311 | $userId, |
312 | $userText, |
313 | $edits |
314 | ); |
315 | } |
316 | |
317 | /** |
318 | * @deprecated since 1.42 |
319 | */ |
320 | public function userTalkLink( $userId, $userText ) { |
321 | wfDeprecated( __METHOD__, '1.42' ); |
322 | return Linker::userTalkLink( $userId, $userText ); |
323 | } |
324 | |
325 | /** |
326 | * @deprecated since 1.42 |
327 | */ |
328 | public function blockLink( $userId, $userText ) { |
329 | wfDeprecated( __METHOD__, '1.42' ); |
330 | return Linker::blockLink( $userId, $userText ); |
331 | } |
332 | |
333 | /** |
334 | * @deprecated since 1.42 |
335 | */ |
336 | public function emailLink( $userId, $userText ) { |
337 | wfDeprecated( __METHOD__, '1.42' ); |
338 | return Linker::emailLink( $userId, $userText ); |
339 | } |
340 | |
341 | /** |
342 | * @deprecated since 1.42 |
343 | */ |
344 | public function revUserLink( RevisionRecord $revRecord, $isPublic = false ) { |
345 | wfDeprecated( __METHOD__, '1.42' ); |
346 | return Linker::revUserLink( $revRecord, $isPublic ); |
347 | } |
348 | |
349 | /** |
350 | * @deprecated since 1.42 |
351 | */ |
352 | public function revUserTools( RevisionRecord $revRecord, $isPublic = false ) { |
353 | wfDeprecated( __METHOD__, '1.42' ); |
354 | return Linker::revUserTools( $revRecord, $isPublic ); |
355 | } |
356 | |
357 | /** |
358 | * @deprecated since 1.42 |
359 | */ |
360 | public function formatComment( |
361 | $comment, |
362 | $title = null, |
363 | $local = false, |
364 | $wikiId = null |
365 | ) { |
366 | wfDeprecated( __METHOD__, '1.42' ); |
367 | return Linker::formatComment( |
368 | $comment, |
369 | $title, |
370 | $local, |
371 | $wikiId |
372 | ); |
373 | } |
374 | |
375 | /** |
376 | * @deprecated since 1.42 |
377 | */ |
378 | public function formatLinksInComment( |
379 | $comment, |
380 | $title = null, |
381 | $local = false, |
382 | $wikiId = null |
383 | ) { |
384 | wfDeprecated( __METHOD__, '1.42' ); |
385 | return Linker::formatLinksInComment( |
386 | $comment, |
387 | $title, |
388 | $local, |
389 | $wikiId |
390 | ); |
391 | } |
392 | |
393 | /** |
394 | * @deprecated since 1.42 |
395 | */ |
396 | public function normalizeSubpageLink( $contextTitle, $target, &$text ) { |
397 | wfDeprecated( __METHOD__, '1.42' ); |
398 | return Linker::normalizeSubpageLink( |
399 | $contextTitle, |
400 | $target, |
401 | $text |
402 | ); |
403 | } |
404 | |
405 | /** |
406 | * @deprecated since 1.42 |
407 | */ |
408 | public function commentBlock( |
409 | $comment, |
410 | $title = null, |
411 | $local = false, |
412 | $wikiId = null |
413 | ) { |
414 | wfDeprecated( __METHOD__, '1.42' ); |
415 | return Linker::commentBlock( |
416 | $comment, |
417 | $title, |
418 | $local, |
419 | $wikiId |
420 | ); |
421 | } |
422 | |
423 | /** |
424 | * @deprecated since 1.42 |
425 | */ |
426 | public function revComment( RevisionRecord $revRecord, $local = false, $isPublic = false ) { |
427 | wfDeprecated( __METHOD__, '1.42' ); |
428 | return Linker::revComment( $revRecord, $local, $isPublic ); |
429 | } |
430 | |
431 | /** |
432 | * @deprecated since 1.42 |
433 | */ |
434 | public function formatRevisionSize( $size ) { |
435 | wfDeprecated( __METHOD__, '1.42' ); |
436 | return Linker::formatRevisionSize( $size ); |
437 | } |
438 | |
439 | /** |
440 | * @deprecated since 1.42 |
441 | */ |
442 | public function tocIndent() { |
443 | wfDeprecated( __METHOD__, '1.42' ); |
444 | return Linker::tocIndent(); |
445 | } |
446 | |
447 | /** |
448 | * @deprecated since 1.42 |
449 | */ |
450 | public function tocUnindent( $level ) { |
451 | wfDeprecated( __METHOD__, '1.42' ); |
452 | return Linker::tocUnindent( $level ); |
453 | } |
454 | |
455 | /** |
456 | * @deprecated since 1.42 |
457 | */ |
458 | public function tocLine( $anchor, $tocline, $tocnumber, $level, $sectionIndex = false ) { |
459 | wfDeprecated( __METHOD__, '1.42' ); |
460 | return Linker::tocLine( |
461 | $anchor, |
462 | $tocline, |
463 | $tocnumber, |
464 | $level, |
465 | $sectionIndex |
466 | ); |
467 | } |
468 | |
469 | /** |
470 | * @deprecated since 1.42 |
471 | */ |
472 | public function tocLineEnd() { |
473 | wfDeprecated( __METHOD__, '1.42' ); |
474 | return Linker::tocLineEnd(); |
475 | } |
476 | |
477 | /** |
478 | * @deprecated since 1.42 |
479 | */ |
480 | public function tocList( $toc, Language $lang = null ) { |
481 | wfDeprecated( __METHOD__, '1.42' ); |
482 | return Linker::tocList( $toc, $lang ); |
483 | } |
484 | |
485 | /** |
486 | * @deprecated since 1.42 |
487 | */ |
488 | public function generateTOC( $tree, Language $lang = null ) { |
489 | wfDeprecated( __METHOD__, '1.42' ); |
490 | return Linker::generateTOC( $tree, $lang ); |
491 | } |
492 | |
493 | /** |
494 | * @deprecated since 1.42 |
495 | */ |
496 | public function makeHeadline( |
497 | $level, |
498 | $attribs, |
499 | $anchor, |
500 | $html, |
501 | $link, |
502 | $legacyAnchor = false |
503 | ) { |
504 | wfDeprecated( __METHOD__, '1.42' ); |
505 | return Linker::makeHeadline( |
506 | $level, |
507 | $attribs, |
508 | $anchor, |
509 | $html, |
510 | $link, |
511 | $legacyAnchor |
512 | ); |
513 | } |
514 | |
515 | /** |
516 | * @deprecated since 1.42 |
517 | */ |
518 | public function splitTrail( $trail ) { |
519 | wfDeprecated( __METHOD__, '1.42' ); |
520 | return Linker::splitTrail( $trail ); |
521 | } |
522 | |
523 | /** |
524 | * @deprecated since 1.42 |
525 | */ |
526 | public function generateRollback( |
527 | RevisionRecord $revRecord, |
528 | IContextSource $context = null, |
529 | $options = [] |
530 | ) { |
531 | wfDeprecated( __METHOD__, '1.42' ); |
532 | return Linker::generateRollback( |
533 | $revRecord, |
534 | $context, |
535 | $options |
536 | ); |
537 | } |
538 | |
539 | /** |
540 | * @deprecated since 1.42 |
541 | */ |
542 | public function getRollbackEditCount( RevisionRecord $revRecord, $verify ) { |
543 | wfDeprecated( __METHOD__, '1.42' ); |
544 | return Linker::getRollbackEditCount( $revRecord, $verify ); |
545 | } |
546 | |
547 | /** |
548 | * @deprecated since 1.42 |
549 | */ |
550 | public function buildRollbackLink( |
551 | RevisionRecord $revRecord, |
552 | IContextSource $context = null, |
553 | $editCount = false |
554 | ) { |
555 | wfDeprecated( __METHOD__, '1.42' ); |
556 | return Linker::buildRollbackLink( |
557 | $revRecord, |
558 | $context, |
559 | $editCount |
560 | ); |
561 | } |
562 | |
563 | /** |
564 | * @deprecated since 1.42 |
565 | */ |
566 | public function formatHiddenCategories( $hiddencats ) { |
567 | wfDeprecated( __METHOD__, '1.42' ); |
568 | return Linker::formatHiddenCategories( $hiddencats ); |
569 | } |
570 | |
571 | /** |
572 | * @deprecated since 1.42 |
573 | */ |
574 | public function titleAttrib( $name, $options = null, array $msgParams = [] ) { |
575 | wfDeprecated( __METHOD__, '1.42' ); |
576 | return Linker::titleAttrib( |
577 | $name, |
578 | $options, |
579 | $msgParams |
580 | ); |
581 | } |
582 | |
583 | /** |
584 | * @deprecated since 1.42 |
585 | */ |
586 | public function accesskey( $name ) { |
587 | wfDeprecated( __METHOD__, '1.42' ); |
588 | return Linker::accesskey( $name ); |
589 | } |
590 | |
591 | /** |
592 | * @deprecated since 1.42 |
593 | */ |
594 | public function getRevDeleteLink( User $user, RevisionRecord $revRecord, Title $title ) { |
595 | wfDeprecated( __METHOD__, '1.42' ); |
596 | return Linker::getRevDeleteLink( |
597 | $user, |
598 | $revRecord, |
599 | $title |
600 | ); |
601 | } |
602 | |
603 | /** |
604 | * @deprecated since 1.42 |
605 | */ |
606 | public function revDeleteLink( $query = [], $restricted = false, $delete = true ) { |
607 | wfDeprecated( __METHOD__, '1.42' ); |
608 | return Linker::revDeleteLink( |
609 | $query, |
610 | $restricted, |
611 | $delete |
612 | ); |
613 | } |
614 | |
615 | /** |
616 | * @deprecated since 1.42 |
617 | */ |
618 | public function revDeleteLinkDisabled( $delete = true ) { |
619 | wfDeprecated( __METHOD__, '1.42' ); |
620 | return Linker::revDeleteLinkDisabled( $delete ); |
621 | } |
622 | |
623 | /** |
624 | * @deprecated since 1.42 |
625 | */ |
626 | public function tooltipAndAccesskeyAttribs( $name, array $msgParams = [] ) { |
627 | wfDeprecated( __METHOD__, '1.42' ); |
628 | return Linker::tooltipAndAccesskeyAttribs( |
629 | $name, |
630 | $msgParams |
631 | ); |
632 | } |
633 | |
634 | /** |
635 | * @deprecated since 1.42 |
636 | */ |
637 | public function tooltip( $name, $options = null ) { |
638 | wfDeprecated( __METHOD__, '1.42' ); |
639 | return Linker::tooltip( $name, $options ); |
640 | } |
641 | |
642 | } |
643 | |
644 | /** @deprecated class alias since 1.40 */ |
645 | class_alias( DummyLinker::class, 'DummyLinker' ); |