Content deleted Content added
→A link with a question mark does not get delinked: new section |
→Performance enhancement?: new section |
||
Line 134:
* See simple example: {{tlx|Delink|<nowiki>[[Name?]]</nowiki>}} -> {{Delink|[[Name?]]}}
* Real use case: {{tlx|Delink|<nowiki>[[What If...? (TV series)|What If...?]]</nowiki>}} -> {{Delink|[[What If...? (TV series)|What If...?]]}} [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 10:10, 29 September 2021 (UTC)
== Performance enhancement? ==
I have made a few changes to the /sandbox version
# delinkLinkClass now searches forward for the next '[' rather than one char at a time
# a check in _delink is made for the existence of '[' as Module:Delink is called often without any links to delink (eg 2018–19_UEFA_Europa_League_qualifying_phase_and_play-off_round_(Main_Path))
# in function getDelinkedLabel a check is made for the 'colon trick' - it will be the third byte or not at all
I believe this to be a helpful improvement
[[User:Desb42|Desb42]] ([[User talk:Desb42|talk]]) 07:01, 30 April 2022 (UTC)
|