MediaWiki talk:Gadget-find-archived-section.js

Interface-protected edit request on 27 April 2020
On line 101, please change

to

Now that the script has moved, to avoid linking to the redirect left behind. Thanks, --DannyS712 (talk) 06:38, 27 April 2020 (UTC)
 * ✅ — xaosflux  Talk 11:25, 27 April 2020 (UTC)

Interface-protected edit request on 26 July 2020
Please apply this update (diff). This allows the script to find sections with quotation marks in its title such as this one. – Thjarkur (talk) 11:47, 26 July 2020 (UTC)
 * any comments on this? — xaosflux  Talk 14:14, 26 July 2020 (UTC)
 * ✅ — xaosflux  Talk 15:05, 2 August 2020 (UTC)

Update
Please sync with contents of User:SD0001/find-archived-section2.js (compare). Changes: – SD0001  (talk) 16:37, 28 March 2021 (UTC)
 * better i18n setup – define the messages properly and use  instead of manual string replaces.
 * don't trigger on anchors used by convenientDiscussions gadget for linking to user comments – since they aren't actually archived sections.
 * ✅ ping me if you see any problems needing reversion. —  xaosflux  Talk 13:46, 20 April 2021 (UTC)

Update
An unannounced breaking change occurred in MediaWiki API recently that has essentially broken this gadget. Please apply this fix that resolves the issue. – SD0001  (talk) 14:53, 2 August 2021 (UTC)
 * Hey, sorry, SD0001, but could you describe a little bit about what's broken, so that I'd know what I'm changing? Testing the gadget out, it seems to work all right for me, but I might jsut be missing what the expected outcome for the script is. Writ Keeper &#9863;&#9812; 13:56, 3 August 2021 (UTC)
 * Hi Writ Keeper. Follow one of the links in user:SD0001/find-archived-section/testcases - the gadget currently fallbacks to the behaviour of simply saying the section is archived and linking the search result. Ideally, it should locate the archived section and link to it directly. – SD0001  (talk) 14:27, 3 August 2021 (UTC)
 * Ah, got it; looks good, then. ✅, thanks! Writ Keeper &#9863;&#9812; 15:03, 3 August 2021 (UTC)

Interface-protected edit request on 22 January 2022
Please sync from User:SD0001/find-archived-section2.js (diff).

This suppresses the script from being triggered on URL hashes used by DiscussionTools and RedWarn. See Wikipedia talk:RedWarn/2020/July for documentation on conflict with RedWarn. – SD0001  (talk) 06:20, 22 January 2022 (UTC)
 * ✅. Seems weird that Redwarn works that way but...*shrug* Writ Keeper &#9863;&#9812; 15:31, 22 January 2022 (UTC)

Support Reference desk
Add  after line 35 to support WP:Reference desk. Tested links in User:SD0001/find-archived-section/testcases and all are working except one that seems to stem from a bug in CirrusSearch. Nardog (talk) 09:16, 11 June 2022 (UTC)
 * ✅ — xaosflux  Talk 20:16, 11 June 2022 (UTC)

Support Teahouse
Similar to Reference desk above, please add a special case for Teahouse: to find archive subpages of "Wikipedia:Teahouse/Questions". Two new tests were added to the bottom of the testcases page. —⁠andrybak (talk) 00:32, 6 May 2024 (UTC)
 * ✅ — xaosflux  Talk 10:31, 7 May 2024 (UTC)
 * I just realized that it won't work, because Teahouse doesn't use __NEWSECTIONLINK__ (big blue custom button is used instead). The script checks presence of the "Add topic" link/button, see . Would it make sense to add the ID to the Teahouse's custom button to trick the script? —⁠andrybak (talk) 16:57, 7 May 2024 (UTC)
 * Possibly? Let me know if you want this backed out in the meantime. — xaosflux  Talk 18:04, 7 May 2024 (UTC)
 * It works: Special:Diff/1222763688. Thank you. —⁠andrybak (talk) 19:38, 7 May 2024 (UTC)