User talk:Anomie/unsignedhelper
Not working for me
[edit]This tool has never worked for me. It searches, and when it finds the correct revision (the same revision that WikiBlame came up with) it disappears without anything changing in the edit area. I saved it and no changes were made. Help me! I am using Vector skin and Microsoft Edge browser. — Mr. Guye (talk) (contribs) 19:34, 31 March 2020 (UTC)
- It works fine for me when using Vector and the "2003" or "2010" wikitext editor, in both Firefox and Chromium. I don't have Edge to test with. It probably does not work with VisualEditor, or the VE-based 2017 wikitext editor, or wikEd. Anomie⚔ 12:38, 5 April 2020 (UTC)
- It also seems to not work when wikitext editor syntax highlighting is enabled. Anomie⚔ 12:44, 5 April 2020 (UTC)
Thanks (and now also available in fi-wiki)
[edit]Thanks for this helpful script! FYI: I made a quick localized version of this in fi-wiki (and it works nicely). I hope that's ok. --JAAqqO (talk) 23:26, 23 November 2021 (UTC)
- Cool! Yes, it's ok, especially since at a glance it seems like you maintained attribution as required by CC BY-SA. Anomie⚔ 13:24, 24 November 2021 (UTC)
Fork
[edit]Users of User:Anomie/unsignedhelper.js are invited to try out User:Andrybak/Scripts/Unsigned helper.js, which is an actively maintained fork with faster search and automatic edit summary. —andrybak (talk) 21:55, 20 July 2024 (UTC)
- Because I didn't pay attention to your feature request, you decide this is "unmaintained"? 🤷 As for the "faster search", it appears you're using more bandwidth by fetching 50 revisions of the page at a time. Sure, faster, but I think I'll keep the resource usage (particularly for very large talk pages) down. Anomie⚔ 01:05, 21 July 2024 (UTC)
you decide this is "unmaintained"?
– I only commented on the status of my fork of the script.As for the "faster search"
– my fork uses binary search on content instead of a linear search, which is indeed much faster.it appears you're using more bandwidth by fetching 50 revisions of the page at a time
– no, because these requests don't fetch content, only metadata.- The fork also:
- automatically generates an edit summary
- supports template {{undated}} in addition to {{unsigned}} and {{unsigned IP}}
- uses mw.Api instead of $.ajax
- uses formatversion=2 instead of the default formatversion=1
- At some point during development for the feature request I've realized that User:AnomieBOT/header is at the top of User talk:Anomie, quote
Anomie is not engaging in technical work on MediaWiki
, so I've decided to switch from just suggesting a patch to forking the script. —andrybak (talk) 14:11, 23 July 2024 (UTC)- Ah, I overlooked that the 50-revision query wasn't fetching content. OTOH, I'm not sure that a binary search versus a linear search makes much difference, how often does the linear search need to go very many revisions back?Note "technical work on MediaWiki" refers to MediaWiki, not user scripts here on the English Wikipedia. Anomie⚔ 02:03, 24 July 2024 (UTC)