User talk:Alexis Jazz/Factotum/Archives/2022
{{Archive|1=User talk:Alexis Jazz/Factotum}}
Bawl
You can bawl at the creator here. — Preceding unsigned comment added by Alexis Jazz (talk • contribs) 21:35, 5 January 2022 (UTC)
:{{re|Alexis Jazz}}
::{{u|Jeff G.}}, way ahead of you. Currently Bawl auto-adds {{tl|u}} (for enwiki, for other wikis the fallback is
) but I suppose I could make it customizable anyway. — Alexis Jazz (talk or ping me) 02:46, 6 January 2022 (UTC)
:::There's a test version at User:Alexis Jazz/Bawl-test.js, I'm using it to write this message. — Alexis Jazz (talk or ping me) 03:12, 6 January 2022 (UTC)
::{{u|Jeff G.}}, it's customizable now. Let me know if you use or test Bawl anywhere so I can search your contributions for any anomalies. I fully understand if you'd rather wait until it has been tested more thoroughly. — Alexis Jazz (talk or ping me) 19:08, 6 January 2022 (UTC)
Hmmm...
Not sure why but your script seems to only work on this page. 1989 (talk) 03:09, 8 January 2022 (UTC)
:...and it's gone. 1989 (talk) 03:09, 8 January 2022 (UTC)
:{{u|1989}}, I moved some pages around and forgot to update the loader. Stupid mistake, should be fixed now. Sorry. Reply-link and DiscussionTools took years to develop, Bawl was created in about a month. It'd be weird if nothing went wrong. It's already good (when I'm not moving pages around like an idiot), but I call it early access for a reason. That being said, I'm using it right now, reply-link was unfixable and DiscussionTools.. well, also unfixable. — Alexis Jazz (talk or ping me) 18:44, 8 January 2022 (UTC)
:: That was not what was the cause. For some reason, when the section header was added, the icon next to the signature stopped showing up. I checked to see if it's conflicting with other scripts I have, it isn't. 1989 (talk) 19:00, 8 January 2022 (UTC)
:::{{u|1989}}, on which page? This page? Now still? What do you mean with "when the section header was added"? — Alexis Jazz (talk or ping me) 19:36, 8 January 2022 (UTC)
:::: Yep. == Hmmm... ==
1989 (talk) 19:42, 8 January 2022 (UTC)
:::::{{u|1989}}, can you open the settings? I've just added the version after "Bawl! 📢". If you don't see the version, you need to refresh your browser cache. (do a hard refresh on [https://en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/Bawl-test.js&action=raw&ctype=text/javascript]) If you see the version but still have the issue, can you enable debug mode in the settings, open the browser console, refresh the page and copy/paste the last few messages? — Alexis Jazz (talk or ping me) 19:52, 8 January 2022 (UTC)
::::::{{u|Alexis Jazz}}, there's no need for that. I found the culprit. Under Appearances in the Gadget section, there's a toggle for "Add an [edit] link for the lead section of a page" that's causing it. 1989 (talk) 20:02, 8 January 2022 (UTC)
:::::::{{u|1989}}, thanks, I doubt I would have figured that out myself as that gadget isn't enabled by default. I fixed it, having "Add an [edit] link for the lead section of a page" enabled no longer crashes Bawl. — Alexis Jazz (talk or ping me) 20:32, 8 January 2022 (UTC)
::::::::No problem, by the way, the "save publicly to common.js" button doesn't work. 1989 (talk) 21:09, 8 January 2022 (UTC)
:::::::::{{u|1989}}, I haven't implemented that bit yet. Should have probably hidden the button instead of disabling it. Settings must be saved to a cookie for now. — Alexis Jazz (talk or ping me) 22:48, 8 January 2022 (UTC)
::::::::::By the way, after saving it took me to User talk:Alexis Jazz/User talk:Alexis Jazz/Bawl. 1989 (talk) 03:42, 9 January 2022 (UTC)
:::::::::::I did make changes to that but I think it works again. Or kind of. You regularly post multiple comments within the same minute and this triggers some new bugs. (comments are identified by section + previous username + username + timestamp but that's not unique when you post in rapid succession on the same indentation level) Welp. I have to think about how to fix this. — Alexis Jazz (talk or ping me) 04:04, 9 January 2022 (UTC)
=Unclutter gadget compatibility=
{{re|Alexis Jazz}} Any chance this script could be compatible with User:Kephir/gadgets/unclutter? If you go on any other page besides this, your script will not work. 1989 (talk) 03:42, 9 January 2022 (UTC)
:{{u|1989}}, I see, I can probably fix that. For a quick fix, if you load unclutter with a delay it's fine. (
Btw {{u|Kephir}}: I got a notification of some unreachable code after a return statement, probably nothing major. It also doesn't seem to do everything it's advertised to be capable of (anymore?): the {{tl|Calm}} notice was still visible when I tried it on Talk:Roald Dahl and Talk:Austrian School. — Alexis Jazz (talk or ping me) 12:44, 9 January 2022 (UTC)
::{{re|Alexis Jazz}} Do you have a code version that works globally? 1989 (talk) 14:21, 9 January 2022 (UTC)
:::{{u|1989}}, what do you mean? If you're asking about projects besides enwiki, Bawl isn't designed for enwiki specifically. Unlike reply-link (which flat out refuses to load on any project it doesn't recognize) you should be able to load Bawl on any project. It benefits from per-wiki configuration though and you could run into unexpected behavior on wikis that are very different from enwiki. In particular right to left wikis are untested and wikis with a timezone other than UTC won't work. (requires a per-wiki config, feel free to request) You can add
to m:Special:MyPage/global.js to load Bawl globally. — Alexis Jazz (talk or ping me) 15:43, 9 January 2022 (UTC)
::::{{re|Alexis Jazz}} I meant the Unclutter code you provided. 1989 (talk) 16:30, 9 January 2022 (UTC)
:::::{{u|1989}}, that's just a basic delay. Try running
from the browser console or insert it into the