Wikipedia talk:AutoEd

JS content type
I use SD0001's system for making user scripts load faster. This is fine for all of my other scripts, but AutoEd will not load. After some burrowing about in the loader code, I see that AutoEd/complete.js has a Page content model of, but the component JS pages have a Page content model of. Could the ( 13 14) component JS pages modules be set to  as well? — GhostInTheMachine talk to me 10:49, 25 January 2024 (UTC)
 * I’ve turned this into an edit request. Note that components are  named "modules".  Aaron Liu  (talk) 12:07, 25 January 2024 (UTC)
 * Thanks — GhostInTheMachine talk to me 12:15, 25 January 2024 (UTC)
 * Also, it’s only basic, complete, and unicodehex that have it corrected ( because I’ve submitted unrelated edit requests for these). All 15 other pages need the correction.  Aaron Liu  (talk) 16:06, 25 January 2024 (UTC)
 * Apparently template editors can do this. (Not sure if that will work on fully-protected pages, though.) — Qwerfjkl  talk  16:11, 25 January 2024 (UTC)
 * So any admin would also be able to edit. On a related note, do all these pages really need to be protected? Aaron Liu  (talk) 16:19, 25 January 2024 (UTC)
 * Yes, they do need to be fully protected. In fact they should be locked down further to interface admins. The ability to run JavaScript on others' browsers should not be taken lightly. I am declining this edit request as it misdiagnoses the problem - 's code linked, by design, refuses to load scripts from outside of user and MediaWiki namespace so changing the content model won't do anything. * Pppery * it has begun...  16:52, 25 January 2024 (UTC)
 * I have separately requested that SD0001's loader code be changed to also allow scripts from the Wikipedia namespace. This is a different issue — the JavaScript pages for the modules should be typed as JavaScript — GhostInTheMachine talk to me 17:23, 25 January 2024 (UTC)
 * Fine. ✅ * Pppery * it has begun... 20:38, 25 January 2024 (UTC)
 * Sorry, but you missed one — AutoEd/templates.js — GhostInTheMachine talk to me 09:35, 26 January 2024 (UTC)
 * ✅ That too. * Pppery * it has begun... 14:37, 26 January 2024 (UTC)
 * Many thanks — GhostInTheMachine talk to me 13:32, 28 January 2024 (UTC)

Don't repalce em and strong tags with wikitext
Replace with This stops AutoEd from replacing strong and em tags with bold/italics, as the former are quite semantically different and the latter is only visual. Aaron Liu (talk) 19:32, 25 January 2024 (UTC)
 * ✅ * Pppery * it has begun... 20:38, 25 January 2024 (UTC)

Removes links in transcluded content using lsth
I’m not sure the extent of the behavior, but with #lsth AutoEd seems to remove links, at least to self.

I’m using this on a private wiki, but the following behavior was observed on many attempts:

on the page “Cleric”:

changed to and this no longer transcludes using lsth, since the page it’s transcluding links back to Cleric. Ryandward (talk) 19:22, 30 January 2024 (UTC)
 * Maybe it’s because section names aren’t supposed to have links in them on enwiki. I’ll see if I can reproduce and patch thisAlso, thanks IP for formatting help Aaron Liu  (talk) 19:29, 30 January 2024 (UTC)
 * My bad. I made the post on my phone and could not figure out how to fix it, so I went on my desktop where I apparently forgot to log in :) Ryandward (talk) 01:47, 31 January 2024 (UTC)
 * I missed the detail where it's a self link. That makes this a lot more plausible, though I still heavily recommend against including links in headings. Anyways, to remove that simply follow the instructions under the Configuration section to remove the Wikipedia:AutoEd/wikilinks.js module. Aaron Liu  (talk) 02:25, 31 January 2024 (UTC)
 * Thank you. I wasn't sure where the behavior was coming from. I can easily implement this on my own. Ryandward (talk) 02:34, 31 January 2024 (UTC)
 * I know the linking in the headings is a bad idea, and I've been trying to figure out a way around it -- especially since #lsth is quite unstable to changes. Do you have any suggestions or further reading as to how to make this more compliant? Ryandward (talk) 02:46, 31 January 2024 (UTC)
 * More compliant, in what way? Why would you need to have a link in the heading? Aaron Liu  (talk) 02:55, 31 January 2024 (UTC)

Three things
I'm coming here from, where I expressed concern about this edit, which I suspect may have been made using AutoEd. If so, and if the bugs are replicable, then there appear to be three issues: I might be diagnosing what's happening here incorrectly (in which case just lmk), but if not, these are significant issues and should be resolved before this script is used further. Best,  Sdkb  talk 22:22, 15 May 2024 (UTC)
 * 1) Non-breaking spaces specified with  are being removed and converted to normal spaces.
 * 2) Substituted anchors in section headings are being removed.
 * 3) There is no tag or autosummary for edits made using AutoEd, which makes it hard to trace errors and report bugs like the two above.
 * I have a config that's even completer than complete, and I do not replicate any of these issues. Plus, the editor is an IP, so I doubt that they are running userscripts. Aaron Liu  (talk) 01:41, 16 May 2024 (UTC)
 * The editor who made the edit is Paulinefowler666, not an IP.  Sdkb  talk 01:44, 16 May 2024 (UTC)
 * Okay, I got confused while navigating diffs, sorry. I'll take a look at the other scripts they have and see if there's anything that can cause this. Aaron Liu  (talk) 01:45, 16 May 2024 (UTC)
 * The culprit for removing the nbsp seems to be de:Benutzer:TMg/autoFormatter.js. Aaron Liu  (talk) 01:53, 16 May 2024 (UTC)
 * After loading up the appropriate revisions, the German invader caused the exact erroneous changes. It seems like the invader prosecutes anchor tags that aren't self-closed (which were recently fixed into being self-closed in the university article as a linter error. So, the anchor template may be rapidly generating linter errors?) Aaron Liu  (talk) 02:00, 16 May 2024 (UTC)