Page MenuHomePhabricator

Remove usages of deprecated Linker calls from core
Closed, ResolvedPublic

Description

Several of the deprecated functions of Linker.php are still in use by the mediawiki core.
These calls should probably be converted.

0 makeLink
0 makeKnownLink
1 makeBrokenLink (parser/LinkHolderArray)
0 makeStubLink
0 makeLinkObj
0 makeKnownLinkObj
1 makeBrokenLinkObj (parser/LinkHolderArray)
0 makeStubLinkObj
1 makeColouredLinkObj (parser/LinkHolderArray)
0 makeImageLinkObj
2 makeMediaLink (parser/Parser.php, specials/SpecialMIMEsearch)


Version: unspecified
Severity: enhancement

Details

Reference
bz23234

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:08 PM
bzimport set Reference to bz23234.
bzimport added a subscriber: Unknown Object (MLST).

Repurposed this bug slightly because these functions should be removed completely now.

Pushed in gerrit change 4536.

Change was abandoned, apparently those functions shouldn't be removed, just the calls to them fixed.

Linker::makeBrokenLink already removed
Linker::makeBrokenLinkObj already removed
Linker::makeColouredLinkObj already removed
Linker::makeMediaLink already removed

All callers in core are replaced, so this bug is fixed.