aboutsummaryrefslogtreecommitdiffstats
path: root/includes/linker/DummyLinker.php
Commit message (Collapse)AuthorAgeFilesLines
* Remove DummyLinkerBartosz Dziewoński2024-05-131-645/+0
| | | | | | | | | | DummyLinker existed for backwards-compatibility with a few hooks that have since been removed, e.g. 'LinkBegin'. The last hook using it is 'ImageBeforeProduceHTML', and it looks like it can be harmlessly replaced there with `null` (none of the extensions implementing the hook use this parameter). Change-Id: I69689b2037269af3320b6203fc44755f93713489
* Standardise all our class alias deprecation comments for ease of greppingJames D. Forrester2024-03-191-3/+1
| | | | Change-Id: I7f85d931d3b79da23e87b4e5692b2e14be8fcaa0
* Move Parser to Mediawiki\Parser namespaceSubramanya Sastry2024-02-161-1/+1
| | | | | | | | Bug: T166010 Co-Authored-By: Daimona Eaytoy <daimona.wiki@gmail.com> Co-Authored-By: James Forrester <jforrester@wikimedia.org> Co-Authored-By: Subramanya Sastry <ssastry@wikimedia.org> Change-Id: I79b4e732c45095eedbaa80afa5eb7479b387ed8a
* Deprecate DummyLinkerBartosz Dziewoński2024-02-091-0/+197
| | | | | | | | | | DummyLinker existed for backwards-compatibility with a few hooks that have since been removed, e.g. 'LinkBegin'. The last hook using it is 'ImageBeforeProduceHTML', and it looks like it can be harmlessly replaced there with `null` (none of the extensions implementing the hook use this parameter). Let's try deprecating it. Change-Id: I73549afdafd681fc238e825f03bff329a65a3f47
* Namespace includes/contextJames D. Forrester2024-02-081-1/+1
| | | | | Bug: T353458 Change-Id: I4dbef138fd0110c14c70214282519189d70c94fb
* Namespace User under \MediaWiki\UserJames D. Forrester2023-09-191-1/+1
| | | | | Bug: T166010 Change-Id: I7257302b485588af31384d4f7fc8e30551f161f1
* Follow-up 2d60ba0: Add in-code comment on alias for when it was addedJames D. Forrester2023-08-281-0/+3
| | | | Change-Id: I707fb18ec095ac5f743cc6ca7e50e68b34d769ad
* Update DummyLinker::userLink to match Linker::userLinkThalia2023-03-171-2/+3
| | | | Change-Id: Id941014789c06cfe6f06b4dd6a4e1f28cbed7297
* Reorg: Namespace the Title classJames D. Forrester2023-03-021-1/+1
| | | | | | | | | | | | | | | | | | | This is moderately messy. Process was principally: * xargs rg --files-with-matches '^use Title;' | grep 'php$' | \ xargs -P 1 -n 1 sed -i -z 's/use Title;/use MediaWiki\\Title\\Title;/1' * rg --files-without-match 'MediaWiki\\Title\\Title;' . | grep 'php$' | \ xargs rg --files-with-matches 'Title\b' | \ xargs -P 1 -n 1 sed -i -z 's/\nuse /\nuse MediaWiki\\Title\\Title;\nuse /1' * composer fix Then manual fix-ups for a few files that don't have any use statements. Bug: T166010 Follows-Up: Ia5d8cb759dc3bc9e9bbe217d0fb109e2f8c4101a Change-Id: If8fc9d0d95fc1a114021e282a706fc3e7da3524b
* Remove 'verify' option of Linker::generateRollback()Gergő Tisza2023-01-031-1/+1
| | | | | | | Hard-deprecated and ignore 'verify', which doesn't do anything useful: there isn't any reason not to verify rollback links. Change-Id: I36a66250bd986bf26f534c7336d6a0a20ad3ca02
* Reorg: Move DummyLinker and Linker to linker/Amir Sarabadani2022-12-081-0/+446
This feels like a no-brainer unless I'm missing something obvious Bug: T321882 Change-Id: Id49c3d0dd6ea4593211048850856b5b8e05a8fb3