Content deleted Content added
→Big ole whitelist request: can't see how the existing target_check() code in Module:Harvc could have used the whitelist? it says it doesn't work with wrapped templates |
|||
Line 67:
:::::::{{ping|Trappist the monk}} I'm not sure how {{tl|harvc}} could have used the whitelist? Take a look at target_check() at line 21 in [[Module:Harvc]] (which is called from {{tl|harvc}}). It is completely separate code from target_check() in [[Module:Footnotes]]: the comment in that function explicitly says that it does not work with wrapped templates. If I'm misunderstanding something, please let me know.
:::::::Fortunately, the two functions are similar enough where we can call the [[Module:Footnotes]] target_check() from [[Module:Harvc]]. I have a version of this working in [[Module:Harvc/sandbox]], but just puzzling out how to test it. Advice is welcome. — [[User:Hike395|hike395]] ([[User talk:Hike395|talk]]) 19:40, 25 January 2025 (UTC)
::::::::You may be correct; I would have expected that it looked in [[Module:Footnotes/whitelist]] but apparently it doesn't do that but only looks at locally constructed anchor ids. If you have a fix, apply it.
::::::::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 20:46, 25 January 2025 (UTC)
== Making whitelisting simpler and more efficient ==
|