Jump to content

User talk:Alexis Jazz/Factotum

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


Can't undo pastes

[edit]

Hello! It's been a while since I've been here. After we finished turning Factotum into a gadget for SqWiki, I decided to take a wikibreak and then my laptop broke down and then I had problems with 2FA on the new device which were finally resolved today. I just noticed that I can't undo my pastes with Factotum. Given that a lot of time has passed I'm not sure if that is a known issue or not. They don't get detected at all because even the undo arrow stays grey.
Given that I have the option to get Javascript error notices on and that the kitty always invites me to report any new general error here, I'll continue to do so just to have a list for anyone interested or even you on a future time. I don't expect a fast answer/fix on them. I'm saying all this in regard to your user page notice about personal issues. Feel free to ignore these until you find time to deal with them. I must say that these cases are rather rare though. As I said, I returned to Wikipedia today after more than a month and I had forgotten how good Factotum really was. I was doing things thinking to myself "Imma try this but there is no way this button also works like this" and it always turned out it did! It felt as I was neurolinking it. I hope you're enjoying your time and have a good end of year! — Klein Muçi (talk) 12:23, 9 December 2022 (UTC)[reply]

@Klein Muçi, works for me. — Qwerfjkltalk 11:30, 10 December 2022 (UTC)[reply]
Qwerfjkl, I was wrong about the arrow staying grey. It doesn't and it works with it. But Ctrl+Z doesn't work. — Klein Muçi (talk) 12:57, 10 December 2022 (UTC)[reply]
Klein Muçi, thanks for the kind words. The whole undo/redo thing can be flaky at times, but I'm not spending much time here at all. Maybe some other developer will pick things up one day, maybe not.Alexis Jazz (talk or ping me) 01:30, 7 January 2023 (UTC)[reply]
Alexis Jazz, yes, no problem. Considering the Maybe some other developer will pick things up one day, maybe not. part, wouldn't notifying at WP:US be a good choice? Something like "setting it up for adoption" or asking for more help in dealing with requests such as ours given that you don't have enough time to solve them yourself currently? — Klein Muçi (talk) 12:07, 8 January 2023 (UTC)[reply]
Klein Muçi, it's WTFPL, anyone can fork if they want. You don't need my permission. If they want to keep the name they should probably ask to avoid the confusion of different scripts with the same name.
It's not reasonable to make such requests for scripts with only a handful of users. It's rare for anyone to adopt a project as the creator is always the most familiar with it. It's often easier to start from scratch.Alexis Jazz (talk or ping me) 23:34, 8 January 2023 (UTC)[reply]
Alexis Jazz, I understand you point of view. I was mostly hoping for any choice that wouldn't "introduce a lot of new chaos in the system". Multiple forks would make things a bit harder for projects such as SqWiki which ultimately stay reliant on you/EnWiki for its gadget. We only have one version currently and already they've become unsychronized, given that you just updated the script lately (which I will do now) and because I suppose you're yet to update the translations in here. Imagine having multiple versions simultaneously and maybe none of them caring for "others needs" (a rather dark depiction of Wikipedia). I suppose the problem per se is mostly related to the fact that interface admins aside, scripts can only be updated by 1 person only, their creator. As for It's not reasonable to make such requests for scripts with only a handful of users... I would think that asking for help and cooperation in dealing with Wiki-requests when you're experiencing personal issues is reasonable - at least I've asked for help in less related things and more often than not I've found a welcoming environment here - but I also understand that usually things aren't as simple in practice.
I hope things get better in the future. Take care! — Klein Muçi (talk) 00:42, 12 January 2023 (UTC)[reply]

Icons appear cut in half in SqWiki

[edit]
File:Factotum - icon problem.png
As the title says

Klein Muçi (talk) 13:10, 10 December 2022 (UTC)[reply]

@Klein Muçi, this was fixed here with this edit. — Qwerfjkltalk 14:39, 10 December 2022 (UTC)[reply]
@Qwerfjkl, I had forgotten that SqWiki is using its own version of code since we set it up as a gadget. Updated accordingly and it was fixed. Thank you!
PS:Factotum-Extra needs a little update in Albanian translations apparently. — Klein Muçi (talk) 17:24, 10 December 2022 (UTC)[reply]

Feature request

[edit]

When using mentions, links and tags, when the cursor is located at the limit of the mention/link/tag (beginning or end), hitting the up/down keys sends it to the beginning/ending of the mention or pairing bracket/tag instead of the usual behavior when it just goes to the absolute beginning/ending of the text box. - Klein Muçi (talk) 13:45, 10 December 2022 (UTC)[reply]

Klein Muçi, same as below, personal issues. No plans to look at this.Alexis Jazz (talk or ping me) 01:26, 7 January 2023 (UTC)[reply]
Klein Muçi, this would require parsing the code (at least to a degree) which is beyond the scope of this project. CodeMirror and CodeEditor highlight these things (not everything though), maybe you can file a feature request with those projects. MusikAnimal is working on bringing CM6 to MediaWiki, see Wikipedia:Village pump (technical)#Userscript to apply CodeMirror to textarea, maybe they have an idea. (or maybe CM6 already includes your idea, who knows?) Either way I don't believe I'll ever add it to Factotum. If anyone wants to write a module for it be my guest, but I won't.Alexis Jazz (talk or ping me) 13:37, 17 November 2023 (UTC)[reply]

Bug report

[edit]

When using the dropdown list of mentions or link insertions, the undo/redo, text formatting, mention and link insertion buttons get shown above the dropdown list. They should instead disappear (or "shown below it") like the magnifying glass, warning sign, arrows and cog buttons do. Also using the scroll wheel on such dropdown lists is pretty chaotic. Sometimes the command acts on the whole page itself, sometimes only on the dropdown list and most of the time it acts on both the page and the dropdown list simultaneously. — Klein Muçi (talk) 18:02, 10 December 2022 (UTC)[reply]

Klein Muçi, as personal issues remain, I have no plans to look at this. But it sounds like at least half of what you're complaining about is browser (or in some cases MediaWiki) behavior. I have limited control over MediaWiki dropdown lists and zero control over browser dropdown lists.Alexis Jazz (talk or ping me) 01:24, 7 January 2023 (UTC)[reply]

Major bug

[edit]

@Alexis Jazz, there is no urgent need to fix this bug. It's been around for a while and doesn't particularly bother me. That being said, it does prevent me editing references, which is a very useful feature.


When I try to edit references (using the edit symbol next to the reference), the selectRange() bug prevents me from doing so. — Qwerfjkltalk 09:36, 15 December 2022 (UTC)[reply]

Qwerfjkl, I wouldn't call that a "major" bug. No data loss, doesn't prevent you from reading any page. As I said below, personal issues remain. Working on this doesn't make me happy and this particular issue may or may not be an easy fix. I have no plans to work on this issue. Sorry.Alexis Jazz (talk or ping me) 01:20, 7 January 2023 (UTC)[reply]
Moderate bug? Anyway, that's no problem, just thought it should be recorded here. Do what you want. — Qwerfjkltalk 08:53, 8 January 2023 (UTC)[reply]
[edit]

I was trying to italicize a link by surrounding it in double singular quotes and the autoconversion magic stopped happening, switching the link back to its absolute URL form (instead of it being an internal wikilink). Can the said magic be upgraded to understand such formatting? - Klein Muçi (talk) 13:14, 3 January 2023 (UTC)[reply]

Klein Muçi, links that fail to convert are preferable over links that shouldn't have been converted but are converted anyway.
Could the magic be upgraded? Probably. Would that be safe? No idea. Am I going to try and do this? Nope! That personal issues thing remains ongoing.Alexis Jazz (talk or ping me) 01:07, 7 January 2023 (UTC)[reply]

Subscribe bell on Wikipedia namespace

[edit]

I get the subscribe bell on all (?) pages in WP-NS. Is that "normal"? You can try it on WP:PetScan as an example. — Klein Muçi (talk) 17:09, 6 January 2023 (UTC)[reply]

Klein Muçi, a common problem of MediaWiki/Wikipedia: page types aren't indicated anywhere. WP: is a signature namespace, so it COULD be a talk page. No way to know! Take phab:T249293 for example where a similar problem is caused by the fact that discussion archive pages can't automatically be identified as such. And in the past I had issues with {{Automatically generated}} not existing to indicate lists that are maintained by (semi-)automatic processes.
WP:PetScan might be a talk page - no way to know.Alexis Jazz (talk or ping me) 01:13, 7 January 2023 (UTC)[reply]

Small bug

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

{"int":1419,"type":"comment","subtype":"legacy","id":"Moops:20:44, 6 January 2023 (UTC):1419","pageTitleInt":1401,"origReplyTo":"Moops","origTimestamp":"20:44, 6 January 2023 (UTC)","origTimestampTextNode":"20:44, 6 January 2023 (UTC)","seq":0,"origReplyToUnderscore":"Moops","pageTitle":"User talk:Moops","sectionTitle":"Your talk page","sectionseq":0}

Page: [1]

Active editor: source

Page loaded at: 10/01/2023, 17:02:16

Error occured at: 10/01/2023, 17:12:30 UTC

My settings:

{"replySecLink":true,"nSecLink":false,"inputBoxTO":false,"editFullPage":false,"editRefs":false,"thankLink":true,"dateLinksLocalTime":true,"dateLinksLocalTimeRelative":true,"dateLinksLocalTime12H":true,"dateLinksLocalTimeWeekday":true,"tosNag":false,"markup":false,"redoBtn":true,"pingDropDownAt":false,"onetimetoolsBlock":false,"noticeNeverPopup":true,"previewBtns":"pbDisabled","UIfontSize":"medium","customSummary":true,"livePreviewCmt":false,"aggressiveLivePreview":true,"AWBtypos":true,"cI":[""],"cIThatRun":["%2F---%2F%E2%80%94%2Fg"],"cIThatRunCmt":[""],"pingText":"{{ping|PINGUSER}} ","pingTextInSection":"{{ping|PINGUSER}} ","markNewCmtsSubbed":false,"showUnpopular":true,"showRisky":true,"showSuperRisky":true,"hideDTSub":false,"extendedSigDetect":true,"autoDash":false,"RLmasq":true,"blacklistMain":true,"livePreview":true}

Skin: vector

# of .BawlLinks: 146

# of elements processed: 1566

Element types processed: H1, TD, P, LI, SPAN, DD, SMALL, I, S

Additional information: Tiny thing: the "m" checkbox for minor edits is not on the topmost layer. I was at User talk:Moops (which has a teacup in the bottom right corner) and only the m was being covered by the teacup.

HouseBlastertalk 17:17, 10 January 2023 (UTC)[reply]

HouseBlaster, m should be above the tea cup now.Alexis Jazz (talk or ping me) 23:21, 10 January 2023 (UTC)[reply]
@Alexis Jazz: Tysm! Alexis, I sincerely hope things get better for you soon. Best,
Cats always make me feel better.
HouseBlastertalk 00:49, 11 January 2023 (UTC)[reply]

Factotum doesn't understand unsigned-botsigned comments

[edit]

I was trying to reply to a comment on Meta and I didn't get the reply button from Factotum. The comment had been left unsigned by the user and was later "signed" by a bot with the traditional The preceding unsigned comment was added by... Any hope for Factotum to understand such comments as comments? - Klein Muçi (talk) 11:17, 20 February 2023 (UTC)[reply]

Klein Muçi, no link, nothing to do.. If there was no timestamp, I feel the bot operator or the template that was substituted should be changed instead. If the bot operator doesn't want to figure out the timestamp they could make it like "The preceding unsigned comment was added by $USER and bot-signed on ~~~~~". The alternative is creating a hack that searches for that exact "preceding unsigned comment was added by" wording but that's too complicated to maintain.Alexis Jazz (talk or ping me) 13:12, 15 May 2023 (UTC)[reply]
@Klein Muçi, can you link to the comment? — Qwerfjkltalk 15:46, 15 May 2023 (UTC)[reply]
Qwerfjkl, well, 3 months later I can't link the exact comment I was talking about but I strongly believe this happens with every "bot-signed" comment on Meta so it should be easy to see it in action following the contributions of whatever bot is being used to sign unsigned comments there. — Klein Muçi (talk) 19:10, 15 May 2023 (UTC)[reply]
Klein Muçi, and this is why you should provide links.
I just stumbled upon m:Wikimedia Forum which is possibly what you were referring to as this page is linked from the sidebar. (so you're likely to be at least familiar with it) It has a question from 82.132.217.186 that was signed using m:Template:Unsigned2 by human user Pigsonthewing. They didn't add the timezone ("(UTC)") part of the timestamp, so Factotum doesn't recognize it. No signbot appears to be active on metawiki, but Factotum seems to handle proper instances of a substituted Template:Unsigned2 just fine. But as there's no signbot and metawiki relies on humans to enter the date, fuckups can and will happen.
Handling correctly formatted signatures is already difficult, trying to handle improperly formatted signatures is a fool's errand.Alexis Jazz (talk or ping me) 02:45, 29 August 2023 (UTC)[reply]
Alexis Jazz: No signbot appears to be active on metawiki - That's strange. I was sure Meta had a bot for that... Weird... — Klein Muçi (talk) 11:44, 29 August 2023 (UTC)[reply]

You messed up! (username+timestamp 185.173.207.143+2 korrik 2023 16:30 (CEST) not found, seq: 1)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

{"int":64,"type":"comment","subtype":"legacy","id":"185.173.207.143:2 korrik 2023 16:30 (CEST):64_1","pageTitleInt":33,"origReplyTo":"185.173.207.143","origTimestamp":"2 korrik 2023 16:30 (CEST)","origTimestampTextNode":" 2 korrik 2023 16:30 (CEST)","seq":1,"origReplyToUnderscore":"185.173.207.143","pageTitle":"Wikipedia:Vërejtje e Ankesa","sectionTitle":"Ardita Mehmeti","sectionseq":0}

Page: [2]

Active editor: 2010wikitext

Page loaded at: 03/07/2023, 11:45:25

Error occured at: 03/07/2023, 11:46:41 UTC

My settings:

{"replySecLink":true,"firstHeadingAdd":false,"secLinks":true,"editFullSection":true,"editFullSHref":true,"dateLinksIconSection":true,"dateLinksIconSectExtra":true,"dateLinksIcon":true,"thankLink":true,"scrollTop":true,"scrollPrev":true,"scrollNext":true,"collapsible":true,"autoCollapse":true,"collapArticle":true,"collapArticleDefaultMF":true,"collapIcons":true,"dateLinksLocalTime":true,"dateLinksLocalTimeRelative":true,"cureDTBlueStreak":true,"tosNag":false,"redoBtn":true,"markupAbove":false,"refList":true,"previewAboveFull":true,"previewAboveOther":true,"previewBtns":"pbBarCenterF","customSummary":true,"livePreviewOther":true,"aggressiveLivePreview":true,"bracketToForm":true,"bracketToFormT":true,"quoteSelect":true,"AWBtypos":true,"cI":["%7B%7BU%20b%C3%AB%7D%7D","%7B%7BResolved%7D%7D","%20-%20correction","%20-%20addition","%7B%7Btq%7C1%3DFTTCRT%7D%7D%3A%3C%3C%7B%7BTq%7D%7D%3E%3E","%C3%AB"],"cIThatRun":["%2F(%5E%7C%5Cs)(http%5Bs%5D%3F%3A%5C%2F%5C%2F%5B%5E%5Cs%5C%7C%5D%2B)%5C%7C(%5B%5E%5Cs%5D%2B)%2F%241%242%20TAILPIPETRICK%243%2Fg","%2F(%5E%7C%5Cs)(%5C%5B%5C%5B%5B%5E%5C%5D%5C%7C%5D%2B)(%5C%7C%5B%5E%5C%5D%5D*)%3F%5C%5D%5C%5D%20TAILPIPETRICK(%5B%5E%5Cs%5D%2B)%2F%241%242%7C%244%5D%5D%2Fg"],"cIThatRunCmt":["%2F(%5Cn%5B%5C*%23%5D.*%5Cn)%5Cn%2F%241%2Fg%20%3C%3CRemove%20lines%20after%20lists%3E%3E"],"runCIAgain":true,"markdown":true,"bbcode":true,"runRewritunAgain":true,"stalkAddSubLinks":true,"stalkAutoSub":true,"stalkStoreInPrefs":true,"markNewCmts":true,"stalkMarkReadScroll":true,"stalkTackOnMail":true,"overlayPad":true,"MFmarkupAbove":false,"MFAdj":true,"MFAdjeditFS":true,"MFAdjCI":true,"MFAdjPing":true,"MFAdjundoBtn":true,"MFAdjredoBtn":true,"MFAdjAdv":true,"MFAdjSwitch":true,"MFAdjEditNotice":true,"MFAdjDiff":true,"MFAdjReflist":true,"MFAdjscrollTop":true,"MFAdjscrollPrev":true,"MFAdjscrollNext":true,"MFAdjcustomBackground":true,"MFAdjAWBtypos":true,"mobileMWCollapsible":false,"showUnpopular":true,"showRisky":true,"showSuperRisky":true,"submitShortcut":true,"HLreply":true,"HLCmtClick":true,"editCmtDblClick":true,"replyDblClick":true,"hideDT":false,"hideDTSub":false,"hideNewSec":false,"extendedSigDetect":true,"ninjaLoader":true,"recombineNowiki":true,"afterPost":"parsecmtonly","watchlistexpiry":"+14 days","watchlistexpirynew":"indefinite","editor":"2010wikitext","editorSwitch":true,"editorSwitchSkip2010":false,"2010wikitextDefault":true,"2010codeMirror":true,"grayscale":true,"blacklist":"Trappist the monk","saveTo":"globalprefs","livePreview":true,"MFAdjBG":true}

Skin: vector

# of .BawlLinks: 5

# of elements processed: 77

Element types processed: H1, P, INPUT, LI, SPAN, FORM, I, DD

Additional information: Username/timestamp combination not found.

Klein Muçi (talk) 11:46, 3 July 2023 (UTC)[reply]

Klein Muçi, didn't look too deep into it but I guess User:Alexis Jazz/Factotum.js (Diff ~1163307613) fixed itAlexis Jazz (talk or ping me) 03:53, 4 July 2023 (UTC)[reply]
Alexis Jazz, apparently it had been a while from my part without updating the code (last update was on October 15th). Updated to latest version now anyway. I'm taking the opportunity to remind you that there have been some changes in the Albanian version you have here on Factotum-extra which you can import and update accordingly. Cheers! — Klein Muçi (talk) 23:46, 4 July 2023 (UTC)[reply]

Bug report

[edit]
File:Factotum - Bug report on SqWiki Main page.jpg

If you check SqWiki's homepage with a mobile device and you have Factotum activated as a gadget, this is most likely what you get: The 2 Factotum's icons squeeze themselves in on the right side of the page creating an extra whitespace padding column that goes on up until the very end of the page. If I'm not wrong those icons are part of the basic configuration but I can also share my configuration if you need that. - Klein Muçi (talk) 04:02, 24 July 2023 (UTC)[reply]

Klein Muçi, I wouldn't say "most likely": most users can't edit the main page of sqwiki so they wouldn't see any Factotum buttons by default. I've enabled the pencil (edit page) to be displayed but I still don't get the new section speech bubble as I can't edit w:sq:Faqja kryesore. I can't seem to reproduce this with Firefox in responsive mode, I don't know if the lack of the new section speech bubble is the reason. On betacommons I do have the new section speech bubble on the main page as I can actually edit it there, but I still can't reproduce this issue.
The problem could be sqwiki specific. Maybe the whole main page is wrapped in a floating div or whatever. Or maybe it really only happens on mobile devices. I don't know. As I can't reproduce the issue and it would affect very few people I don't plan to look into this unless I get more information.
Here is a CSS rule as a workaround: body.skin-minerva.page-Main_Page #FTTFirstHeadingLinks{display:none} This just hides the buttons, I wouldn't recommend editing the main page on a mobile device anyway.Alexis Jazz (talk or ping me) 23:01, 19 August 2023 (UTC)[reply]
Alexis Jazz, well, good enough for me. Thank you! — Klein Muçi (talk) 16:26, 20 August 2023 (UTC)[reply]

[Feature request] - Detect bot notices on talk pages

[edit]

It would be nice if we could have an option to leave all the bot notices in talk pages closed (uncollapsed). Maybe there could be a premade list with known global bots (like MediaWiki message delivery, Internet Archive Bot, etc.) which can be updated sporadically as needed. These types of notices of course aren't spam per se but they don't require any response back, unlike most human notices.

Just an idea I had and thought I'd share. No need for any fast action on it. - Klein Muçi (talk) 20:47, 2 September 2023 (UTC)[reply]

Klein Muçi, sounds like something to put into a module as it's Wikimedia-specific. Which means anyone could write it. Not sure if I will, who knows.Alexis Jazz (talk or ping me) 02:38, 10 September 2023 (UTC)[reply]
Alexis Jazz, yes. Also, just for future reference, I believe the list could already exist somewhere. — Klein Muçi (talk) 11:43, 10 September 2023 (UTC)[reply]

You messed up! (openReplyForm: open form failed)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

n/a

Page: [3]

Active editor: undefined

Page loaded at: 09/09/2023, 22:45:57

Error occured at: 09/09/2023, 22:46:41 UTC

My settings:

{"secLinks":true,"hideArchived":false,"editFullSection":true,"dateLinksIconSection":true,"dateLinksIconSectExtra":true,"dateLinksIcon":true,"thankLink":true,"dateLinksLocalTime":true,"dateLinksLocalTimeLongMonth":true,"tosNag":false,"redoBtn":true,"refList":true,"onetimetoolsArchive":true,"onetimetoolsMove":true,"onetimetoolsList":true,"editNotice":false,"previewAboveFull":true,"previewAboveOther":true,"overlayThreshold":"0","customSummary":true,"livePreviewCmt":false,"quoteSelect":true,"cI":["%3Csyntaxhighlight%20lang%3D%22FTTCRT%22%3E%3C%2Fsyntaxhighlight%3E%3A%3C%3Csyntaxhighlight%3E%3E","%3Ccode%3E%3Cnowiki%3EFTTCRT%3C%2Fnowiki%3E%3C%2Fcode%3E%3A%3C%3Ccodenowiki%3E%3E","%7B%7Blnc%7CQwerfjkl%20(bot)%7CFTTCRT%7C%7B%7BSubst%3ATIMESTAMP%7D%7D%7D%7D%3A%3C%3Clnc%3E%3E","%3Csyntaxhighlight%20lang%3D%22%22%3EFTTCRT%3C%2Fsyntaxhighlight%3E%3A%3C%3CsyntaxhighlightNOLANG%3E%3E","%2F%5E(%3F%3A%40%5C%5B%5C%5B.%2B%3F%5C%5D%5C%5D%2C%20)%3F%2FUNREPLY%2F%3A%3C%3CUNREPLY%3E%3E"],"cIThatRun":["%2F%5E%5Cs*%5C%5B%5C%5B%3A(.%2B)%5C%5D%5C%5D%5Cs*%24%2F%241%2F"],"cIThatRunCmt":["%2F(%5Cs%5B%5Cw'%2C%5D%2B)%5C.(%5B%5Cw'%2C%5D%2B%5Cs)%2F%241%20%242%2Fg"],"monospace":true,"pingText":"@[[User:PINGUSER|]], ","rewritunOther":"#wpSummary,.morebits-dialog textarea,.morebits-dialog input,#cat_a_lot_comment,#mw-movepage-table #wpReason input","runCIOther":"#wpSummary,.morebits-dialog textarea,.morebits-dialog input,#cat_a_lot_comment,#mw-movepage-table #wpReason input","stalkAddSubLinks":true,"stalkMaxSubsSize":"127","stalkAutoSub":true,"stalkStoreInPrefs":true,"markNewCmts":true,"stalkAddCycleBtn":true,"markNewCmtsSubbed":false,"stalkMarkReadScroll":true,"mobileMWCollapsible":false,"showUnpopular":true,"showRisky":true,"showSuperRisky":true,"submitShortcut":true,"editTheUneditable":true,"theStranger":true,"killswitch":false,"recombineNowiki":true,"watchlistexpiry":"+7 days","editorSwitch":true,"2010wikitextDefault":true,"2010codeMirror":true,"saveTo":"accountprefs","markNewCmtsBorder":true}

Skin: vector-2022

# of .BawlLinks: 88

# of elements processed: 112

Element types processed: H1, P, INPUT, SPAN, I, DD, LI, SMALL, S

Additional information: Could not open form. This happens every time I try to reply to a comment (any comment) for the first time in a page. The error resolves itself after a few seconds. Qwerfjkltalk 22:48, 9 September 2023 (UTC)[reply]

You messed up! (I AM ERROR)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

{"int":1589,"type":"comment","subtype":"legacy","id":"JonathanDP81:17:35, 2 October 2023 (UTC):1589","pageTitleInt":574,"origReplyTo":"JonathanDP81","origTimestamp":"17:35, 2 October 2023 (UTC)","origTimestampTextNode":"17:35, 2 October 2023 (UTC)","seq":0,"origReplyToUnderscore":"JonathanDP81","pageTitle":"Wikipedia:Categories for discussion/Log/2023 October 1","sectionTitle":"Category:WikiProject Foo members","sectionseq":0}

Page: [4]

Active editor: source

Page loaded at: 12/10/2023, 11:42:25

Error occured at: 12/10/2023, 11:42:33 UTC

My settings:

{"replySecLink":true,"nSecLink":false,"inputBoxTO":false,"editFullPage":false,"editRefs":false,"dateLinksIcon":true,"thankLink":true,"dateLinksLocalTime":true,"dateLinksLocalTimeRelative":true,"dateLinksLocalTime12H":true,"dateLinksLocalTimeWeekday":true,"tosNag":false,"markup":false,"redoBtn":true,"pingDropDownAt":false,"onetimetoolsBlock":false,"noticeNeverPopup":true,"previewBtns":"pbDisabled","UIfontSize":"medium","customSummary":true,"livePreviewCmt":false,"aggressiveLivePreview":true,"AWBtypos":true,"cI":[""],"cIThatRun":["%2F---%2F%E2%80%94%2Fg"],"cIThatRunCmt":[""],"pingText":"{{ping|PINGUSER}} ","pingTextInSection":"{{ping|PINGUSER}} ","markNewCmtsSubbed":false,"showUnpopular":true,"showRisky":true,"showSuperRisky":true,"hideDTSub":false,"extendedSigDetect":true,"autoDash":false,"RLmasq":true,"blacklistMain":true,"livePreview":true}

Skin: vector

# of .FTTLinks: 291

# of elements processed: 3659

Element types processed: H1, LI, SPAN, DD, P, I, SMALL, S

Additional information: Hello again! It has been a little while. I realize that this is a hard bug to fix, but I did want to report it. For some reason, Factotum is interfering with WP:XFDC at WP:CFD (but all other XfD venues work just fine). Most of the time it does not load; when it does load, it usually displays the yellow "opening XfD closer" message for an indefinite period of time. It does occasionally let me use XFDC, but I cannot find any rhyme nor reason for *why* it works when it does (sorry!). I know it is Factotum because disabling the script fixes the problem entirely. Thank you for all your work on Factotum, HouseBlastertalk 11:48, 12 October 2023 (UTC)[reply]

HouseBlaster, I'd guess that when XfD closer loads before Factotum it works but if it loads after it doesn't. Perhaps XfD closer gets confused by the extra buttons Factotum adds somehow on that particular page. I'd need to know how XfD closer adds its buttons to figure out why it breaks and I'm not sure I'll find the time.
I suspect that as a workaround you could add another condition at the bottom of User:HouseBlaster/common.js to load Factotum with a delay so it's more likely to load after XfD closer, like
} else if (mw.config.get('wgPageName').substring(0, 35) === "Wikipedia:Categories_for_discussion") { //load Factotum with a delay
var LoadFactotumDelay = setInterval(function () {
clearInterval(LoadFactotumDelay);
importScript('User:Alexis Jazz/Factotum.js');
},3000);
Alexis Jazz (talk or ping me) 17:30, 12 October 2023 (UTC)[reply]

You messed up! (username+timestamp Mn1548+16:11 20 October 2023 (UTC) not found, seq: 2)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

{"int":24,"type":"comment","subtype":"legacy","id":"Mn1548:16:11 20 October 2023 (UTC):24_2","pageTitleInt":17,"origReplyTo":"Mn1548","origTimestamp":"16:11 20 October 2023 (UTC)","origTimestampTextNode":") 16:11, 20 October 2023 (UTC)","seq":2,"origReplyToUnderscore":"Mn1548","pageTitle":"Wikipedia:Requested moves/Technical requests","sectionTitle":"Uncontroversial technical requests","sectionseq":0}

Page: [5]

Active editor: source

Page loaded at: 21/10/2023, 02:59:02

Error occured at: 21/10/2023, 03:00:46 UTC

My settings:

{"dateLinksLocalTime":true,"UIfontSize":"medium","livePreviewOther":true,"aggressiveLivePreview":true,"AWBtypos":true,"cI":[""],"cIThatRun":[""],"cIThatRunCmt":[""],"saveTo":"accountprefs"}

Skin: vector-2022

# of .FTTLinks: 14

# of elements processed: 64

Element types processed: H1, LI, P, SPAN, SMALL, DD, I

Additional information: Username/timestamp combination not found.

Frostly (talk) 03:01, 21 October 2023 (UTC)[reply]

Frostly, the problem is that the signature is wrapped in a template: * {{RMassist/core | 1 = 2023 RFL League 1 results | 2 = 2023 RFL League One results | discuss = | reason = Offical Name Starting 2023 | sig = [[User:Mn1548|Mn1548]] ([[User talk:Mn1548|talk]]) 16:11, 20 October 2023 (UTC) | requester = Mn1548}}[reply]
I'm unsure if I even should solve this. A signature shouldn't be a template parameter.Alexis Jazz (talk or ping me) 11:20, 21 October 2023 (UTC)[reply]
Frostly, I added a hack to fix it. When more than 2 moves are listed with the exact same signature and you try to reply to the third/fourth/etc request it inserts the comment below the second request, I'm not quite sure why right now.Alexis Jazz (talk or ping me) 12:55, 21 October 2023 (UTC)[reply]
Alexis Jazz, thanks so much! Your point about the template is very valid, I'll try to get it changed. — Frostly (talk) 16:58, 21 October 2023 (UTC)[reply]

Factotum not working on category talk pages?

[edit]

Hello Alexis!

I'm having a weird problem lately. It's been 2 or 3 cases when I try to reply to some talk page messages on category talk pages with Factotum and after I press the publish button Factotum just stays forever "loading", greyed out, trying to post the message but it never does. In all occasions, after waiting for some minutes, I've refreshed the page and went on with the discussion tools to publish the message. Of course, maybe something else is at play, not the category talk pages themselves but that's what all these occasions have had in common (also the person I have been replying too but I can reply to them in other namespaces). - Klein Muçi (talk) 10:23, 22 October 2023 (UTC)[reply]

Klein Muçi, no link, no investigationAlexis Jazz (talk or ping me) 03:55, 12 November 2023 (UTC)[reply]
Alexis Jazz: w:sq:Kategoria diskutim:Faqe të ngrira
This is one of the category pages that I mentioned back then. Given that it is a real discussion, I didn't want to retry it now but I thought I'd tell anyway. — Klein Muçi (talk) 04:20, 16 November 2023 (UTC)[reply]

Minor bug: Selection disappears when trying to format the text

[edit]

Steps to reproduce:

Write something with Factotum. Select a part of it and try to make it underlined using the Factotum's formatting tools. As soon as you click the symbol for that (B) the selection disappears. You try to re-select it but then you see that it was actually selected and you just needed to go on with your process. Now you've deselected it for real. Can we have the selection visible during the whole formatting process? - Klein Muçi (talk) 10:28, 22 October 2023 (UTC)[reply]

Klein Muçi, I don't see the problem. Selection is supposed to go away: you do the format thing and continue typing.Alexis Jazz (talk or ping me) 03:58, 12 November 2023 (UTC)[reply]

Factotum inserted reply in weird place

[edit]

Hi, check out this diff: [6]. Bit weird where it placed it (otherwise, as always, thanks for Factotum) — AdrianHObradors (talk) 16:48, 25 October 2023 (UTC)[reply]

AdrianHObradors, Irtapil signed, put a list below that signature, then signed again. If you replied to the first signature what happened is correct as Factotum would have assumed the items in that bulleted list were unsigned comments. (and there's no way to detect they weren't)
If you replied to the second signature it's a bug. Multiple identical signatures (with identical timestamps) still go wrong sometimes, difficult to debug..Alexis Jazz (talk or ping me) 04:03, 12 November 2023 (UTC)[reply]
True, didn't realize they had the same timestamp even — AdrianHObradors (talk) 10:37, 12 November 2023 (UTC)[reply]

Pipe trick

[edit]

@Alexis Jazz, hope you're doing well! Some users have parentheses in their usernames; when replying, as Factotum uses the pipe trick, the parenthesized part is omitted (e.g. "Example (123) would display as just "Example"). The relevant code (FTT.pingText = '[[' + FTT.NS[2] + ':PINGUSER|]], ';, but also some other parts, I'm sure) should be changed to just use a regular piped link (e.g. [[User:Example|Example]] instead of [[User:Example|]]. Cheers, — Frostly (talk) 23:32, 2 November 2023 (UTC)[reply]

Frostly, I made it that way because it looks cleaner while composing the comment without depending on local templates like {{u}}. Parenthesis are no longer allowed in usernames for new users. But whether or not this should be changed.. In many/most cases it probably looks better? Has this caused problems/confusion?
Edit: oh doh, just remembered: this is already configurable. "Mention text" on the "Editing" tab in settings.Alexis Jazz (talk or ping me) 04:14, 12 November 2023 (UTC)[reply]

You messed up! (I AM ERROR)

[edit]

Alexis Jazz, you messed up! (possibly) Please watch the following video:

Replylinkparams:

{"int":84,"type":"comment","subtype":"locator","id":"Alexis_Jazz:1699646595504:TalkFTTCLNAlia_Shelesh","pageTitle":"Talk:Alia_Shelesh","pageTitleInt":75,"origReplyTo":"Alexis_Jazz","origTimestamp":1699646595504,"origTimestampTextNode":1699646595504,"seq":0,"origReplyToUnderscore":"Alexis_Jazz","sectionTitle":"Image from shorts channel","sectionseq":0}

Page: [7]

Active editor: source

Page loaded at: 13/11/2023, 21:26:00

Error occured at: 13/11/2023, 21:26:13 UTC

My settings:

{}

Skin: vector

# of .FTTLinks: 49

# of elements processed: 235

Element types processed: H1, LI, P, I, SPAN, DD, S, SMALL

Additional information: Error triggered by user.

Davest3r08 (^_^) (talk) 21:29, 13 November 2023 (UTC)[reply]

Davest3r08, this appears to happen because my comment there was made before I moved the page and Factotum couldn't find the correct page title. (there's a fallback for this, but the fallback failed) The fix isn't very pretty but it should work now: User:Alexis Jazz/Factotum.js (Diff ~1185049810)
Btw, I looked at User:Davest3r08/common.js in case it would have been a userscript conflict and noticed you're manually loading Factotum-extra.js. Factotum loads that file if it needs it, loading it manually has no advantages and might result in unexpected side effects. (it didn't cause any issues here though)Alexis Jazz (talk or ping me) 06:55, 14 November 2023 (UTC)[reply]

You messed up! (JS error, line 13144:9: TypeError: FTT.autonumArr[int].attributes.href is undefined)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

n/a

Page: [8]

Active editor: undefined

Page loaded at: 17/11/2023, 13:42:57

Error occured at: 17/11/2023, 13:42:57 UTC

My settings:

{"replySecLink":true,"firstHeadingAdd":false,"secLinks":true,"hideArchivedAll":true,"editFullSection":true,"dateLinksIconSection":true,"dateLinksIconSectExtra":true,"dateLinksIcon":true,"thankLink":true,"scrollPrev":true,"scrollNext":true,"autonum":true,"autonumScroll":true,"tosNag":false,"redoBtn":true,"onetimetoolsArchive":true,"onetimetoolsMove":true,"onetimetoolsList":true,"wrongUI":true,"quoteSelect":true,"cI":[],"cIThatRun":[],"cIThatRunCmt":[],"runCIAgain":true,"saveDraft":false,"stalkAddSubLinks":true,"stalkAutoSub":true,"stalkStoreInPrefs":true,"markNewCmts":true,"stalkAddCycleBtn":true,"stalkAddCycleBtnSubbed":true,"stalkInterval":"4","showUnpopular":true,"showRisky":true,"showSuperRisky":true,"previewDblClick":false,"enableOnDiffOldId":true,"editTheUneditable":true,"theStranger":true,"dryRun":true,"editorSwitch":true,"editorSwitchSkip2010":false,"2010wikitextDefault":true,"2010codeMirror":true,"saveTo":"accountprefs","reminder":true,"debug":true,"dbgLimit":"200"}

Skin: vector

# of .FTTLinks: 11

# of elements processed: 12

Element types processed: H1, SPAN

Additional information: FTT.run/FTT.autonum@https://wiki.riteme.site/w/index.php?title=User:Alexis_Jazz/Factotum.js&action=raw&ctype=text/javascript:13144:9

Alexis Jazz (talk or ping me) 13:46, 17 November 2023 (UTC)[reply]

This happens specifically on Meanings of minor planet names: 10001–11000, just making a note before I forget. — Alexis Jazz (talk or ping me) 13:49, 17 November 2023 (UTC)[reply]

CodeMirror broken

[edit]

Vaguely works again in User:Alexis Jazz/Factotum-test.js. Can't say if/when it'll be available again. See Wikipedia:Village pump (technical)#Userscript to apply CodeMirror to textareaAlexis Jazz (talk or ping me) 13:51, 17 November 2023 (UTC)[reply]

JS error

[edit]

I keep getting this error every time I try to use Factotum lately:

Uncaught TypeError: Cannot read properties of undefined (reading 'doc')

This makes it indirectly almost impossible to use Factotum because my screen gets overflowed with that error messages, not allowing me to click the publish button. - Klein Muçi (talk) 06:39, 5 January 2024 (UTC)[reply]

Klein Muçi, you could turn off error messages? — Qwerfjkltalk 12:15, 5 January 2024 (UTC)[reply]
Yes, ultimately that's what I'll do. I thought maybe a quick solution could be found for the error though. - Klein Muçi (talk) 14:29, 5 January 2024 (UTC)[reply]
Klein Muçi, disable CodeMirror. CM is being worked on, see e.g. phab:T259059 and it's practically a waste of my time to look at it before that work is finished and things settle down.
I currently have off-wiki business that deeply matters to me and consumes most of my time.Alexis Jazz (talk or ping me) 03:04, 6 January 2024 (UTC)[reply]
Hello! I'm a bit confused with your suggestion:
You mean to disable this option, right?
Always try to enable CodeMirror in the 2010 wikitext editor on wikitext pages (not working properly atm)
But I don't have that option enabled at all. Or have I misunderstood you? - Klein Muçi (talk) 13:45, 26 January 2024 (UTC)[reply]

You messed up! (I AM ERROR)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

{"int":30,"type":"edit","subtype":"legacy","id":"Fayenatic_london:19:34 24 August 2022 (UTC):30","pageTitleInt":25,"origReplyTo":"Fayenatic_london","origTimestamp":"19:34 24 August 2022 (UTC)","origTimestampTextNode":" 19:34, 24 August 2022 (UTC)","seq":0,"origReplyToUnderscore":"Fayenatic_london","pageTitle":"User talk:Qwerfjkl/Archive 17","sectionTitle":"Categories award","sectionseq":0,"multiline":true}

Page: [9]

Active editor: source

Page loaded at: 05/01/2024, 12:10:45

Error occured at: 05/01/2024, 12:12:15 UTC

My settings:

{"secLinks":true,"hideArchived":false,"editFullSection":true,"dateLinksIconSection":true,"dateLinksIconSectExtra":true,"dateLinksIcon":true,"thankLink":true,"dateLinksLocalTime":true,"dateLinksLocalTimeLongMonth":true,"tosNag":false,"redoBtn":true,"refList":true,"onetimetoolsArchive":true,"onetimetoolsMove":true,"onetimetoolsList":true,"editNotice":false,"previewAboveFull":true,"previewAboveOther":true,"overlayThreshold":"0","customSummary":true,"livePreviewCmt":false,"quoteSelect":true,"cI":["%3Csyntaxhighlight%20lang%3D%22FTTCRT%22%3E%3C%2Fsyntaxhighlight%3E%3A%3C%3Csyntaxhighlight%3E%3E","%3Ccode%3E%3Cnowiki%3EFTTCRT%3C%2Fnowiki%3E%3C%2Fcode%3E%3A%3C%3Ccodenowiki%3E%3E","%7B%7Blnc%7CQwerfjkl%20(bot)%7CFTTCRT%7C%7B%7BSubst%3ATIMESTAMP%7D%7D%7D%7D%3A%3C%3Clnc%3E%3E","%3Csyntaxhighlight%20lang%3D%22%22%3EFTTCRT%3C%2Fsyntaxhighlight%3E%3A%3C%3CsyntaxhighlightNOLANG%3E%3E","%2F%5E(%3F%3A%40%5C%5B%5C%5B.%2B%3F%5C%5D%5C%5D%2C%20)%3F%2FUNREPLY%2F%3A%3C%3CUNREPLY%3E%3E"],"cIThatRun":["%2F%5E%5Cs*%5C%5B%5C%5B%3A(.%2B)%5C%5D%5C%5D%5Cs*%24%2F%241%2F"],"cIThatRunCmt":["%2F(%5Cs%5B%5Cw'%2C%5D%2B)%5C.(%5B%5Cw'%2C%5D%2B%5Cs)%2F%241%20%242%2Fg"],"monospace":true,"rewriteOnBlur":true,"rewritunOther":"#wpSummary,.morebits-dialog textarea,.morebits-dialog input,#cat_a_lot_comment,#mw-movepage-table #wpReason input","runCIOther":"#wpSummary,.morebits-dialog textarea,.morebits-dialog input,#cat_a_lot_comment,#mw-movepage-table #wpReason input","stalkAddSubLinks":true,"stalkMaxSubsSize":"127","stalkAutoSub":true,"stalkStoreInPrefs":true,"markNewCmts":true,"stalkAddCycleBtn":true,"markNewCmtsSubbed":false,"stalkMarkReadScroll":true,"mobileMWCollapsible":false,"showUnpopular":true,"showRisky":true,"showSuperRisky":true,"submitShortcut":true,"editTheUneditable":true,"theStranger":true,"killswitch":false,"recombineNowiki":true,"watchlistexpiry":"+7 days","editorSwitch":true,"2010wikitextDefault":true,"saveTo":"accountprefs","2010codeMirror":true,"markNewCmtsBorder":true}

Skin: vector-2022

# of .FTTLinks: 116

# of elements processed: 394

Element types processed: H1, TD, SPAN, P, LI, I, DD

Additional information: Error triggered by user. I'm fairly sure FTT shouldn't show edit links on archives, that's probably related to the problem. The console has:

jQuery.Deferred exception: Cannot read properties of null (reading '0') TypeError: Cannot read properties of null (reading '0')
    at FTT.postReply2 (<anonymous>:11394:85)

Qwerfjkltalk 12:14, 5 January 2024 (UTC)[reply]

Qwerfjkl, probably the result of User:Alexis Jazz/Factotum.js (Diff ~1184983013). MediaWiki talk:Spam-whitelist has no new section button, so it fails to be recognized as a talk page. So that diff forces every talk page to get the talk page treatment. Adverse side effect which I didn't really think about: archived talk pages are now considered talk pages as well.
It would probably be better to remove __NONEWSECTIONLINK__ from Template:Spam-whitelist header and Template:Spam-blacklist header. Added in Template:Spam-blacklist header (Diff ~322939426) for no reason.Alexis Jazz (talk or ping me) 03:24, 6 January 2024 (UTC)[reply]
Alexis Jazz, okay, after some digging I've found out why it was added. It's beccause of the format of the page - there are 4 sections, and so the new section button adds the new section to the wrong place. (See Special:Permalink/322971857#"new subsection" within a section.) — Qwerfjkltalk 10:19, 7 January 2024 (UTC)[reply]
Qwerfjkl, bummer. Factotum can add subsections, but that doesn't help unless Factotum becomes a gadget, which is extremely unlikely. Easiest solution: merge the addition/removal sections and move the new merged section to the bottom. That way new sections would be in the right place. Otherwise it's difficult to distinguish talk from non-talk pages.Alexis Jazz (talk or ping me) 21:41, 7 January 2024 (UTC)[reply]
Alexis Jazz, perhaps, not sure you'd have an easy time convincing the regulars there of it. — Qwerfjkltalk 21:50, 7 January 2024 (UTC)[reply]
Qwerfjkl, solved by excluding subpages. (which archived talkpages usually are)Alexis Jazz (talk or ping me) 21:56, 7 January 2024 (UTC)[reply]

Display issues on mobile

[edit]

Since December 2023 I have had display issues on talk pages on mobile devices. Screenshots could be found here. --Donald Trung (talk) 16:57, 28 January 2024 (UTC)[reply]

You messed up! (username+timestamp Z1720+18:25 10 February 2024 (UTC) not found, seq: 0)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

{"int":1351,"type":"comment","subtype":"legacy","id":"Z1720:18:25 10 February 2024 (UTC):1351","pageTitleInt":1225,"origReplyTo":"Z1720","origTimestamp":"18:25 10 February 2024 (UTC)","origTimestampTextNode":") 18:25, 10 February 2024 (UTC)","seq":0,"pageTitle":"Template talk:Did you know","sectionTitle":"Articles created/expanded on December 29","sectionseq":0,"origReplyToUnderscore":"Z1720"}

Page: [10]

Active editor: source

Page loaded at: 10/02/2024, 20:38:46

Error occured at: 10/02/2024, 21:29:15 UTC

My settings:

{}

Skin: vector

# of .FTTLinks: 521

# of elements processed: 4357

Element types processed: H1, P, LI, SPAN, I, INPUT, DD, S, SMALL, DEL

Additional information: Username/timestamp combination not found.

Davest3r08 >:) (talk) 21:29, 10 February 2024 (UTC)[reply]

Davest3r08, this is an example of sectionless transclusion. The actual comment is located at Template:Did you know nominations/Andrew Carnegie Mansion (Factotum will work there) while you're trying to comment on the transclusion of that page on Template talk:Did you know#Articles created/expanded on January 29.
This only works when there is a section edit link (which is not available here, hence the "sectionless") or when you reply to a comment that includes a locator. This is a technical restriction, other reply tools (including DiscussionTools) don't work in this situation either.Alexis Jazz (talk or ping me) 16:04, 11 February 2024 (UTC)[reply]

You messed up! (I AM ERROR)

[edit]

Alexis Jazz, you messed up! (possibly.) This is reproducible at any page.

Replylinkparams:

{"int":586,"type":"comment","subtype":"legacy","id":"Isaacl:01:40, 18 February 2024 (UTC):586","pageTitleInt":242,"origReplyTo":"Isaacl","origTimestamp":"01:40, 18 February 2024 (UTC)","origTimestampTextNode":"01:40, 18 February 2024 (UTC)","seq":0,"origReplyToUnderscore":"Isaacl","pageTitle":"Wikipedia talk:Banning policy","sectionTitle":"Semantic markup","sectionseq":0}

Page: [11]

Active editor: source

Page loaded at: 18/02/2024, 21:56:00

Error occured at: 18/02/2024, 21:56:07 UTC

My settings:

{"replySecLink":true,"nSecLink":false,"inputBoxTO":false,"editFullPage":false,"editRefs":false,"dateLinksIcon":true,"thankLink":true,"dateLinksLocalTime":true,"dateLinksLocalTimeRelative":true,"dateLinksLocalTime12H":true,"dateLinksLocalTimeWeekday":true,"tosNag":false,"markup":false,"redoBtn":true,"pingDropDownAt":false,"onetimetoolsBlock":false,"noticeNeverPopup":true,"previewBtns":"pbDisabled","UIfontSize":"medium","customSummary":true,"livePreviewCmt":false,"aggressiveLivePreview":true,"AWBtypos":true,"cI":[""],"cIThatRun":["%2F---%2F%E2%80%94%2Fg","%2F--%2F%E2%80%93%2Fg","%2F%E2%80%93-%2F%E2%80%94%2Fg"],"cIThatRunCmt":[""],"pingText":"{{ping|PINGUSER}} ","pingTextInSection":"{{ping|PINGUSER}} ","markNewCmtsSubbed":false,"showUnpopular":true,"showRisky":true,"showSuperRisky":true,"hideDTSub":false,"extendedSigDetect":true,"autoDash":false,"RLmasq":true,"blacklistMain":true,"livePreview":true}

Skin: vector

# of .FTTLinks: 94

# of elements processed: 589

Element types processed: H1, LI, SPAN, P, INPUT, DD, I, S, SMALL

Additional information: Error triggered by user. When I end my message with a template, Factotum does not include a space between the end of the template and the signature. As a wordaround, including {{subst:text| }} at the end of the comment fixes the error. Thanks!

HouseBlaster (talk · he/him) 21:59, 18 February 2024 (UTC)[reply]

HouseBlaster, it's not a bug, it's a feature, line 3825:
		if ( text.trim().match(/(&nbsp;|<\/([Pp]re|PRE|[Ss]yntax[Hh]igh[Ll]ight|SYNTAXHIGHLIGHT)>|\}\})$/) || text.match(/\n$/) ) {
			FTT.addSigSeparator = '';
		}
It was added it in User:Alexis Jazz/Factotum-test.js (Diff ~1088079448) with the edit comment "make multiline syntaxhighlight/pre work properly". But I'm unsure why it was needed, I'm guessing it resulted in the signature rendering as code in some particular instance. I can't reproduce that now though. Maybe I could just comment it out and see what happens, but if that does cause problems it could take a long time to find out.Alexis Jazz (talk or ping me) 01:15, 19 February 2024 (UTC)[reply]

Watchlist overload

[edit]

Why are pages being added to my watchlist when I comment on a tp? How can I prevent this script from adding pages to my watchlist automatically?Saqib (talk I contribs) 11:46, 10 May 2024 (UTC)[reply]

@Alexis Jazz:Saqib (talk I contribs) 12:22, 11 May 2024 (UTC)[reply]
Saqib, open settings (gear wheel), advanced tab. Enable "Show many more settings" (first checkbox) and now "Show expert settings" (second checkbox after enabling the first). Scroll down to pick your preferred watchlist setting. (watch, unwatch, preference, no change) The "no change" setting will probably suit you best. Scroll down further and save.Alexis Jazz (talk or ping me) 13:40, 12 May 2024 (UTC)[reply]
Alexis Jazz, What do you mean by settings? Preference?Saqib (talk I contribs) 14:35, 12 May 2024 (UTC)[reply]
Yes. The terms "preferences" and "settings" can often be used interchangeably. Just click the gear wheel below the text input, near the magnifying glass .Alexis Jazz (talk or ping me) 17:47, 12 May 2024 (UTC)[reply]
Alexis Jazz, Thanks!Saqib (talk I contribs) 17:52, 12 May 2024 (UTC)[reply]
When I make a mobile edit, page adds to watchlist.Saqib (talk I contribs) 18:39, 12 May 2024 (UTC)[reply]
Saqib, by default Factotum saves your preferences in the browser. So when you use another browser or device, it has its own settings. Near the bottom of the "Advanced" tab there's a setting "Save/erase settings to/from" that can be adjusted to save your preferences in your account instead.
It's also possible you're not using Factotum on your mobile device. For example for Wikipedia:Articles for deletion/Qudsia Ali (Diff ~1223666514) you used DiscussionTools.Alexis Jazz (talk or ping me) 17:43, 13 May 2024 (UTC)[reply]
Alexis Jazz, But DiscussionTools is not enabled. The new issue is when I comment on a talk page, including my own talk page that's already in my watchlist, the page becomes unwatched.Saqib (talk I contribs) 18:03, 13 May 2024 (UTC)[reply]
Saqib, did you change the setting to "unwatch"? You probably want to set it to "no change".Alexis Jazz (talk or ping me) 19:58, 13 May 2024 (UTC)[reply]
Alexis Jazz, It's already "no change" but when I comment on a talk page, that's already in my watchlist, the page become watchlist settings changes (gets expiry period).Saqib (talk I contribs) 10:38, 14 May 2024 (UTC)[reply]
┌───────────────────────────┘
Saqib, that shouldn't happen so I adjusted it: User:Alexis Jazz/Factotum.js (Diff ~1223800509).Alexis Jazz (talk or ping me) 13:05, 14 May 2024 (UTC)[reply]

You messed up! (username+timestamp SheriffIsInTown+15:31 16 May 2024 (UTC) not found, seq: 0)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

{"int":12,"type":"comment","subtype":"legacy","id":"SheriffIsInTown:15:31 16 May 2024 (UTC):12","pageTitleInt":3,"origReplyTo":"SheriffIsInTown","origTimestamp":"15:31 16 May 2024 (UTC)","origTimestampTextNode":" | 15:31, 16 May 2024 (UTC)","seq":0,"origReplyToUnderscore":"SheriffIsInTown","pageTitle":"Talk:Syeda Shehrbano Naqvi","sectionTitle":"Tags","sectionseq":0}

Page: [12]

Active editor: source

Page loaded at: 16/05/2024, 16:12:09

Error occured at: 16/05/2024, 16:12:54 UTC

My settings:

{"cI":[""],"cIThatRun":[""],"cIThatRunCmt":[""],"showUnpopular":true,"showRisky":true,"watchlist":"nochange"}

Skin: vector-2022

# of .FTTLinks: 18

# of elements processed: 17

Element types processed: H1, LI, SPAN, P, DD

Additional information: Username/timestamp combination not found.

Saqib (talk I contribs) 16:13, 16 May 2024 (UTC)[reply]

Saqib, should work now: User:Alexis Jazz/Factotum.js (Diff ~1224229480)Alexis Jazz (talk or ping me) 01:35, 17 May 2024 (UTC)[reply]

A few things

[edit]
  1. Is there a way to disable this on certain namespace? This keeps coming up during XFDs when I want the normal discussion stuff by default.
  2. Anyway I can configure it to not add a user ping when I reply?
  3. Take the following example of comments:
    1
    2
    1
    2
    Where 2 are replies to 1. If I reply to the first 2, for example, it looks like it's replying to the second 2.

If you reply, please ping me. — thetechie@enwiki: ~/talk/ $ 14:36, 26 May 2024 (UTC)[reply]

Please ignore complaint 3. It fixed itself. — thetechie@enwiki: ~/talk/ $ 14:38, 26 May 2024 (UTC)[reply]
TheTechie,
1. Settings, Advanced, enable "many more settings" and "expert settings", scroll down, "Never load Factotum when page title matches: (one per line, /[Rr]egEx.*/ allowed)"
2. Settings, Editing, "Auto-mention"Alexis Jazz (talk or ping me) 07:16, 16 June 2024 (UTC)[reply]

Inflation

[edit]

Alexis Jazz, something causes Factotum to duplicate the "Written works" section when I hit section editing on the Plea bargain paragraph for as many times as the number of fingers I am holding. I think it's hacking into my eyes.

Replylinkparams:

{"int":34,"id":"heading-34","type":"heading","subtype":"edit","pageTitleInt":34,"origReplyTo":"","pageTitle":"Julian Assange","sectionTitle":"Plea bargain and release","sectionseq":0}

Page: Julian Assange#Plea bargain and release

Active editor: source

Page loaded at: 25/06/2024, 17:25:29

Error occured at: 25/06/2024, 17:26:21 UTC

My settings:

{"firstHeadingAdd":false,"nSecBottomLink":false,"editFullSection":true,"collapsible":true,"discussionActivity":false,"tosNag":false,"barRightAbove":true,"refList":true,"onetimetoolsArchive":true,"onetimetoolsMove":true,"onetimetoolsList":true,"clearEditFullPage":false,"UIfontSize":"medium","customSummary":true,"bracketToForm":true,"bracketToFormT":true,"cI":[""],"cIThatRun":[""],"cIThatRunCmt":[""],"markNewCmtsSubbed":false,"stalkTackOnEcho":false,"hideAdvFE":false,"showUnpopular":true,"showRisky":true,"showSuperRisky":true,"submitShortcut":true,"hideDT":false,"hideDTStats":false,"hideDTSub":false,"hideNewSec":false,"autoDash":false,"recombineNowiki":true,"editorSwitch":true,"grayscale":true}

Skin: vector-2022

# of .FTTLinks: 47

# of elements processed: 48

Element types processed: H1, SPAN

Additional information: Error triggered by user.

Aaron Liu (talk) 17:25, 25 June 2024 (UTC)[reply]

Aaron Liu, this was caused by a superfluous tab character at the end of the "written works" header. I've removed the tab character, way too busy right now to write for a permanent fix for this case.Alexis Jazz (talk or ping me) 18:21, 25 June 2024 (UTC)[reply]

You messed up! (openReplyForm: open form failed)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

{"int":2458,"type":"comment","subtype":"legacy","id":"Shirt58:11:13, 6 August 2024 (UTC):2458","pageTitleInt":2431,"origReplyTo":"Shirt58","origTimestamp":"11:13, 6 August 2024 (UTC)","origTimestampTextNode":"11:13, 6 August 2024 (UTC)","seq":0,"origReplyToUnderscore":"Shirt58"}

Page: [13]

Active editor: source

Page loaded at: 06/08/2024, 18:07:06

Error occured at: 06/08/2024, 18:07:14 UTC

My settings:

{"dateLinksLocalTimeUserOptTZ":false,"cI":[""],"cIThatRun":[""],"cIThatRunCmt":[""],"showUnpopular":true,"showRisky":true,"autoDash":false,"watchlist":"nochange"}

Skin: vector-2022

# of .FTTLinks: 548

# of elements processed: 2461

Element types processed: H1, TD, P, A, SPAN, I, LI, DD, SMALL

Additional information: Could not open form.

Saqib (talk I contribs) 18:07, 6 August 2024 (UTC)[reply]

You had an unsubstituted {{AN-notice}} on your talk page, I substituted it. Did that make any difference?Alexis Jazz (talk or ping me) 19:21, 6 August 2024 (UTC)[reply]
Alexis Jazz, I came here to ask a question and just saw your reply. Please make sure to ping me in future. I have a Emergency-user-slap template on my TP, but when I click on it, it generates #REDIRECT Template:Trout me/preload {R from move}}. Ideally, it should generate {trout}} You have been trouted for: YOUR REASON HERE I wanted to ask if your script is causing some issue?Saqib (talk I contribs) 14:52, 12 August 2024 (UTC)[reply]
Saqib, dunno but Template:Emergency-user-slap (Diff ~1239959868) should fix that. IIRC Factotum doesn't follow redirects on purpose in that case.
I've noticed some issues with Factotum, like your initial reports here not having reply buttons. But I'm still on vacation and really don't have the time to dive into that.Alexis Jazz (talk or ping me) 18:00, 12 August 2024 (UTC)[reply]
Alexis Jazz, The issue seems fixed now. Thanks and enjoy your holidays!Saqib (talk I contribs) 18:41, 12 August 2024 (UTC)[reply]

Can't see conversations in mobile

[edit]

I cannot see any conversations at all in mobile, when I try to expand a section it doesn't show anything. I've had this issue for a number of months now. -- — Donald Trung (talk) 22:32, 13 August 2024 (UTC)[reply]

Donald Trung, and this also goes for other reports below, I can't keep up with mobile. Too many variables and MediaWiki changes too often. I've partially disabled Factotum on mobile.Alexis Jazz (talk or ping me) 09:12, 26 September 2024 (UTC)[reply]

You messed up! (openReplyForm: open form failed)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

{"int":66,"type":"comment","subtype":"legacy","id":"Bbb23:13:20 15 August 2024 (UTC):66","pageTitleInt":61,"origReplyTo":"Bbb23","origTimestamp":"13:20 15 August 2024 (UTC)","origTimestampTextNode":"13:20, 15 August 2024 (UTC)","seq":0,"origReplyToUnderscore":"Bbb23"}

Page: [14]

Active editor: source

Page loaded at: 15/08/2024, 13:24:54

Error occured at: 15/08/2024, 13:25:50 UTC

My settings:

{"dateLinksLocalTimeUserOptTZ":false,"cI":[""],"cIThatRun":[""],"cIThatRunCmt":[""],"showUnpopular":true,"showRisky":true,"autoDash":false,"watchlist":"nochange"}

Skin: vector-2022

# of .FTTLinks: 3

# of elements processed: 69

Element types processed: H1, A, DD, SPAN, P, LI, SMALL, I

Additional information: Could not open form.

Saqib (talk I contribs) 13:26, 15 August 2024 (UTC)[reply]

It appears that we can't edit our comments on SPI pages.Saqib (talk I contribs) 13:28, 15 August 2024 (UTC)[reply]

You messed up! (openReplyForm: open form failed)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

{"int":185,"type":"comment","subtype":"legacy","id":"AboutMoiB:05:30 18 August 2024 (UTC):185","pageTitleInt":137,"origReplyTo":"AboutMoiB","origTimestamp":"05:30 18 August 2024 (UTC)","origTimestampTextNode":"05:30, 18 August 2024 (UTC)","seq":0,"origReplyToUnderscore":"AboutMoiB"}

Page: [15]

Active editor: source

Page loaded at: 18/08/2024, 07:39:16

Error occured at: 18/08/2024, 07:39:32 UTC

My settings:

{"dateLinksLocalTimeUserOptTZ":false,"cI":[""],"cIThatRun":[""],"cIThatRunCmt":[""],"showUnpopular":true,"showRisky":true,"autoDash":false,"watchlist":"nochange"}

Skin: vector-2022

# of .FTTLinks: 8

# of elements processed: 195

Element types processed: H1, A, DD, SPAN, P, LI, SMALL, I

Additional information: Could not open form.

Saqib (talk I contribs) 07:39, 18 August 2024 (UTC)[reply]

You messed up! (no_response)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

n/a

Page: [16]

Active editor: undefined

Page loaded at: 26/08/2024, 07:20:04

Error occured at: 26/08/2024, 07:20:29 UTC

My settings:

{}

Skin: vector

# of .FTTLinks: 0

# of elements processed: -1

Element types processed: none

Additional information: Received no response from API. Is your internet plugged in? Possible cross-origin configuration error.

ImamAnik (talk) 07:22, 26 August 2024 (UTC)[reply]

Can't reproduce now it seems, might have been a MediaWiki/ISP outage, no way to tell. — Alexis Jazz (talk or ping me) 12:56, 23 September 2024 (UTC)[reply]

Replying to user with a comma in their name

[edit]

I have spent more time than is healthy at this RM discussion, and when I have replied to a user with a comma in their name, the user wikilink is correct but it displays only the part of the name before the comma. Is this some unaccounted-for edge case in Factotum or is it the way the pipe trick works? I don't think I've met anyone other than this user who has a comma in their username.
I have set Mention text to [[User:PINGUSER|]]: . — ClaudineChionh (she/her · talk · contribs · email) 03:50, 1 September 2024 (UTC)[reply]

ClaudineChionh, it's how the pipe trick works. If there's a comma or anything in parenthesis it disappears. For example: Moreno Valley where ", California" disappears or Las Vegas where "(TV series)" disappears.
You could set mention text to [[User:PINGUSER|PINGUSER]]: if this annoys you.Alexis Jazz (talk or ping me) 12:44, 23 September 2024 (UTC)[reply]
Alexis Jazz: thanks – I must've never noticed it before. — ClaudineChionh (she/her · talk · contribs · email) 12:49, 23 September 2024 (UTC)[reply]

Not sure if it's broken on mobile

[edit]

When I use "Advanced mode" in "Mobile view" I can't see or use Factotum at all, nor can I even see any discussions on any talk page. Does anyone else also experience this on mobile? --Donald Trung (talk) 19:56, 14 September 2024 (UTC)[reply]

You messed up! (no_response)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

n/a

Page: [17]

Active editor: undefined

Page loaded at: 15/09/2024, 18:39:32

Error occured at: 15/09/2024, 18:40:02 UTC

My settings:

{}

Skin: minerva

# of .FTTLinks: 0

# of elements processed: 201

Element types processed: H1, A, TD, P, LI, SMALL, I, SPAN, DD

Additional information: Received no response from API. Is your internet plugged in?

Donald Trung (talk) 18:40, 15 September 2024 (UTC)[reply]

You messed up! (openReplyForm: open form failed)

[edit]

Alexis Jazz, you messed up! (possibly)

Replylinkparams:

{"int":74,"type":"comment","subtype":"legacy","id":"Timtrent:12:37, 1 November 2024 (UTC):74","pageTitleInt":31,"origReplyTo":"Timtrent","origTimestamp":"12:37, 1 November 2024 (UTC)","origTimestampTextNode":"12:37, 1 November 2024 (UTC)","seq":0,"origReplyToUnderscore":"Timtrent"}

Page: [18]

Active editor: source

Page loaded at: 01/11/2024, 12:46:37

Error occured at: 01/11/2024, 12:46:46 UTC

My settings:

{"cI":[""],"cIThatRun":[""],"cIThatRunCmt":[""],"showUnpopular":true,"showRisky":true,"watchlist":"nochange","saveTo":"accountprefs"}

Skin: vector-2022

# of .FTTLinks: 3

# of elements processed: 93

Element types processed: H1, A, DD, SPAN, P, I, LI, SMALL

Additional information: Could not open form.

Saqib (talk I contribs) 12:46, 1 November 2024 (UTC)[reply]

How to enable/disable features?

[edit]

Hey, in Alexis Jazz/Factotum, it says I can enable/disable features in the advanced tab which I can't find. I want to disable the replying feature, but I'm unsure how to do it. Can you help? thanks —  ImamAnik (talk) 13:00, 23 November 2024 (UTC)[reply]