As of September 2021, reply-link has been superseded by Discussion Tools, which you can install using the "Discussion tools" checkbox under Preferences → Beta features. Thanks for using the script over the years, everyone!
Doesn't work well when there's a mix of :: and *: etc (thanks bradv)
29 Apr 2020
Decent debug messages that indicate precisely which comment the user was replying to
5 May 2020
ptwiki busted
18 may 2020
Display editnotices
28 May 2020
Can't handle SineBot-signed posts
14 Sep 2020
Additional link to reply to the original post at the end of a section
21 Nov 2020
Custom edit summary
Apologies if this is a repeat request. Often I like to summarize my comments, knowing they will be seen via watchlists. Would it be possible to add a field to customize the summary (prefilled with "Replying to Example"). I envision this as either a link "Add edit summary" that exposes the text field, or we could always show it below the textarea. Either way I would force the "(reply-link)" advert to be appended, as this helps identify use of the script. — MusikAnimaltalk05:55, 6 September 2018 (UTC)[reply]
The other side of this is that snark and incivility (in edit summaries) would be back on the table again, but I think the benefits definitely outweigh the drawbacks in this case. I'm exploring adding a dropdown menu to the GUI with more options (such as adding a summary), but one of the possibilities for this option will definitely be a prefilled text field under the text area. Thanks for the suggestion! Enterprisey (talk!) 07:03, 9 September 2018 (UTC)[reply]
Enterprisey, would it be possible to add an option to make it only show on a button click/not show ever? Since my edit summaries are usually something like "re" or "cmt" I don't usually need to add something to the prefilled edit summary. Thanks!
This feature is intended for people who use custom edit summaries for most edits. I can have it pre-fill with the default, though, which would do basically the same thing you're proposing but using up some extra space on the screen. Enterprisey (talk!) 10:10, 19 October 2018 (UTC)[reply]
Lol, I saw the option to not show is already there. Prefilling the edit summary with "replying to example" as Musik Animal suggested would seem like a good idea. Galobtter (pingó mió) 07:14, 19 October 2018 (UTC)[reply]
SoWhy, I see what happened. I had the custom edit summary option turned on for everybody, but then I figured that was the wrong decision, so I made an option for it. You can say window.replyLinkCustomSummary = true; in your monobook.js file if you want to get custom summaries again. Enterprisey (talk!) 07:15, 3 February 2019 (UTC)[reply]
Howdy, got the below error trying to reply to myself on AN.
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:649 in doReply, header = Array(3)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:355 [getSectionWikitext] endIdx negative, setting to 69999
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:372 In sigIdxToStrIdx, sigIdx = 1
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:432 [sigIdxToStrIdx] out of matches
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:798 Uncaught Negative strIdx (signature not found in wikitext)
Below is the wikitext of the section I was replying to. Including my two replies.
== DS template needed ==
Will an admin please (re-)install {{tlx|American politics AE}} at [[Talk:Veracity of statements by Donald Trump]]? Thanks. ―[[User:Mandruss|<span style="color:#775C57;">'''''Mandruss'''''</span>]] [[User talk:Mandruss|
<span style="color:#888;">☎</span>]] 10:26, 23 October 2018 (UTC)
:{{u|Mandruss}}, out of curiosity, where is the policy that says only admins can add that template? Just for my own education. [[User:Zchrykng|zchrykng]] ([[User talk:Zchrykng|talk]]) 13:04, 23 October 2018 (UTC)
::Nevermind, found the information [[Wikipedia:Arbitration Committee/Discretionary sanctions#Page restrictions|here]] and read the template more carefully. [[User:Zchrykng|zchrykng]] ([[User talk:Zchrykng|talk]]) 13:13, 23 October 2018 (UTC)
I know what's broken at AN (and in this very talk page section, too!) and it shouldn't be a tough fix, just a bit tricky to get correct. Expect an update within a week or so, as I'm swamped IRL. Enterprisey (talk!) 04:19, 26 October 2018 (UTC)[reply]
So, this bug does indeed break replying on a number of important noticeboards; thus, it's a relatively high-priority bug. I haven't forgotten about it, but am still swamped IRL. Enterprisey (talk!) 05:05, 8 November 2018 (UTC)[reply]
A new insanity
It appears that reply-link doesn't like it when * and :: are mixed up, such as in this edit. Instead of finding the comment with ::, it skipped to the next * comment. Not sure that this would be easy to fix, but I thought I'd bring it up anyway. --AntiCompositeNumber (talk) 18:01, 10 December 2018 (UTC)[reply]
JQMIGRATE: Migrate is installed with logging active, version 3.0.1
VM403:241 This page is using the deprecated ResourceLoader module "jquery.ui.position".
(anonymous) @ VM403:241
VM403:201 This page is using the deprecated ResourceLoader module "jquery.ui.widget".
(anonymous) @ VM403:201
VM403:578 This page is using the deprecated ResourceLoader module "schema.UniversalLanguageSelector".
See https://phabricator.wikimedia.org/T205744 for migration info.
(anonymous) @ VM403:578
VM407:1 This page is using the deprecated ResourceLoader module "schema.ReadingDepth".
See https://phabricator.wikimedia.org/T205744 for migration info.
(anonymous) @ VM407:1
2load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:4 Use of "addOnloadHook" is deprecated. Use jQuery instead.
maybeLog @ load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:4
VM403:544 [Deprecation] chrome.loadTimes() is deprecated, instead use standardized API: Paint Timing. https://www.chromestatus.com/features/5637885046816768.
getFirstPaintTime @ VM403:544
VM403:544 [Deprecation] chrome.loadTimes() is deprecated, instead use standardized API: Navigation Timing 2. https://www.chromestatus.com/features/5637885046816768.
getFirstPaintTime @ VM403:544
load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:4 Use of "addPortletLink" is deprecated. Use mw.util.addPortletLink instead
maybeLog @ load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:4
VM403:286 This page is using the deprecated ResourceLoader module "jquery.tipsy".
mw.loader.implement.css @ VM403:286
VM406:1 This page is using the deprecated ResourceLoader module "mediawiki.ui".
Please use OOUI instead.
mw.loader.implement.css @ VM406:1
VM403:196 This page is using the deprecated ResourceLoader module "jquery.ui.core".
Please use OOUI instead.
mw.loader.implement.css @ VM403:196
/w/index.php?title=User:Evad37/XFDcloser/v3.js&action=raw&ctype=text/javascript:93 [XFDcloser] Current page is not an XfD page
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:661 in doReply, header = Array(3)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:384 In sigIdxToStrIdx, sigIdx = 114
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:810 Uncaught Sanity check on sig username failed! Found Lugnuts but expected FOARP (wikitext vs DOM)
Bug when using "Auto-number headings" preference
I just tried to use this at the help desk, and it didn't work. I turned off the preference, and it worked. I recreated this in my sandbox, and took a screenshot, which I will add momentarily. --DannyS712 (talk) 06:34, 5 January 2019 (UTC)[reply]
This edit failed to go through with reply-link. The browser console had the following error:
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:852
Uncaught Sanity check on sig username failed! Found Mz7 but expected Hummerrocket (wikitext vs DOM)
I know what happened; sort of related to how you can't reply to new discussions that have formed under hatted sections. I'm working on replying in transcluded pages right now, but will get to this afterwards. Enterprisey (talk!) 21:29, 6 January 2019 (UTC)[reply]
Enterprisey, FYI I encountered this error just now: Error: Sanity check on sig username failed! Found 99.42.89.21 but expected Tsumikiria (wikitext vs DOM) I was replying to the first comment under a hat. [1] I accidentally signed with four tildes in the reply box, not sure if that matters. Let me know if you need more info. And thank you for this awesome tool!! Levivich?!17:39, 25 January 2019 (UTC)[reply]
load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:48 Error: Failed to find a matching comment in the Parsoid DOM.
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:717)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:754)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1589)
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49)
mightThrow @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:48
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:182 Error: Error: Failed to find a matching comment in the Parsoid DOM.
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1601
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:182
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:187 Content request error: "Error: Failed to find a matching comment in the Parsoid DOM."
when replying to any comment with the comments in local time gadget enabled (and remember, I have a weird time zone of +5:30). This has been happening for some time, haven't bothered reporting till now. Galobtter (pingó mió) 07:51, 11 January 2019 (UTC)[reply]
Since maybe a few days ago, I have had frequent trouble with reply-link. I don't think it's working at all now. I created a sandbox discussion at User talk:MusikAnimal/sandbox to test it with no other content on the page, and still no dice :( So it seems the issue isn't related to oddities on the page.
Tested on Chromium 71 and Firefox 64 on Ubuntu, and also Chrome 71 on Android.
Error output:
load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:48
Error: Failed to find a matching comment in the Parsoid DOM.
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:724)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:761)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1596)
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49)
mightThrow @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:48
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:188
Error: Error: Failed to find a matching comment in the Parsoid DOM.
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1608
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49)
There must be something wrong with the script! I can't even remember the last time I used it smoothly, these days it's showing an error message - i.e. "There was an error while replying!"-- Flooded with them hundreds17:24, 16 January 2019 (UTC)[reply]
@Galobtter: Yes! That's it. If I disable comments in local time, reply-link works. But, comments in local time is pretty important to me. Reply-link worked just fine for a long time alongside this gadget. What changed? It would be great to make them work together, especially given the popularity of comments in local time. It would be a difficult decision if I had to choose just one of them! — MusikAnimaltalk18:49, 16 January 2019 (UTC)[reply]
Yup, I agree both are important; this issue of comments in local time has come up before (thus the "redux" in the heading), and reply-link is supposed to be compatible with it. Galobtter (pingó mió) 18:51, 16 January 2019 (UTC)[reply]
@Enterprisey: I just went to reply, and was told that while replying the edit failed. The console reports that its because of an edit conflict. Is there any hope of implementing a smart handler for this? In case you want the error codes and stuff, its still open in another tab. --DannyS712 (talk) 07:13, 17 January 2019 (UTC)[reply]
DannyS712, Well, at least it doesn't overwrite the other person's comment, which means that the edit conflict detection I added recently works. Yeah, it would be nice to have a nicer error message in that case. I've been meaning to add code that checks for other replies and offers to reload as soon as you click the "Reply" button for some time. I'll track that at the top. Enterprisey (talk!) 07:18, 17 January 2019 (UTC)[reply]
I also experience this error without unclutter or local time comments activated.
console output
liveTextContent Yo Ho Ho[edit | edit source] [archive]
Liz Read! Talk! is wishing you Seasons Greetings! Whether you celebrate your hemisphere's Solstice or Christmas, Diwali, Hogmanay, Hanukkah, Lenaia, Festivus or even the Saturnalia, this is a special time of year for almost everyone!
Spread the holiday cheer by adding {{subst:User:WereSpielChequers/Dec15b}} to your friends' talk pages.
the edit on tbl2018 page called the brandlaureate awards[edit | edit source] [archive]
i will like to reconfirm that im not directly or indirectly compensated to edit the page called the brandlaureate awards. If thats the issue, then i would request to bring up the page. We're working on creating a wikipedia page for some time. we have no fees/money/compensation related. Thank you.
awaiting your reply soon. Thanks — Preceding unsigned comment added by Tbl2018 (talk • contribs) 02:23, 16 January 2019 (UTC) index.php:664:9
( null ) div p a[href^='./User_talk:Serhatserhatserhat'] --> Array [ <a#mwiQ> ] index.php:679:9
Error: Failed to find a matching comment in the Parsoid DOM.
Stack trace:
getCorrCmt@https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:729:19
findSection@https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:766:24
startReply/findSectionResultPromise<@https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1601:40
mightThrow@https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2ClegacySupport%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.cx.campaigns.contributionsmenu%7Cext.cx.eventlogging%2Cmodel%7Cext.cx.widgets.callout%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.supportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Coojs-ui-core%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2Cspinner%2Csuggestions%2CtextSelection%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-alerts%2Cicons-content%2Cicons-interactions%2Cindicators%2Ctextures%7Cschema.UniversalLanguageSelector%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=0l9dyqu:221:848
resolve/</process<@https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2ClegacySupport%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.cx.campaigns.contributionsmenu%7Cext.cx.eventlogging%2Cmodel%7Cext.cx.widgets.callout%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.supportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Coojs-ui-core%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2Cspinner%2Csuggestions%2CtextSelection%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-alerts%2Cicons-content%2Cicons-interactions%2Cindicators%2Ctextures%7Cschema.UniversalLanguageSelector%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=0l9dyqu:222:516
load.php:221:848
mightThrow https://en.wikipedia.org/w/load.php:221:848
resolve/</process< https://en.wikipedia.org/w/load.php:222:516
Error: Error: Failed to find a matching comment in the Parsoid DOM.
Stack trace:
startReply/<@https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1613:54
mightThrow@https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2ClegacySupport%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.cx.campaigns.contributionsmenu%7Cext.cx.eventlogging%2Cmodel%7Cext.cx.widgets.callout%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.supportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Coojs-ui-core%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2Cspinner%2Csuggestions%2CtextSelection%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-alerts%2Cicons-content%2Cicons-interactions%2Cindicators%2Ctextures%7Cschema.UniversalLanguageSelector%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=0l9dyqu:221:848
resolve/</process<@https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2ClegacySupport%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.cx.campaigns.contributionsmenu%7Cext.cx.eventlogging%2Cmodel%7Cext.cx.widgets.callout%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.supportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Coojs-ui-core%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2Cspinner%2Csuggestions%2CtextSelection%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-alerts%2Cicons-content%2Cicons-interactions%2Cindicators%2Ctextures%7Cschema.UniversalLanguageSelector%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=0l9dyqu:222:516
index.php:183:9
setStatusError https://en.wikipedia.org/w/index.php:183:9
startReply/< https://en.wikipedia.org/w/index.php:1613:39
mightThrow https://en.wikipedia.org/w/load.php:221:848
resolve/</process< https://en.wikipedia.org/w/load.php:222:516
Content request error: "Error: Failed to find a matching comment in the Parsoid DOM." index.php:188:13
This on my talk page. Strangely enough, the script works on other pages but not all. I've yet to determine a pattern... Regards SoWhy18:12, 23 January 2019 (UTC)[reply]
SoWhy, hmm, that's interesting, since MusikAnimal's talk page seems to be working on my end. Apologies if you've done this already, but maybe shift-reloading could work? (Your followup was only two hours after my script update, so the old script could definitely still have been cached by your browser.) Enterprisey (talk!) 16:45, 25 April 2020 (UTC)[reply]
Hey Enterprisey, sorry to bug you during this most auspicious week! But I encountered a fun bug over at TfD. I hit the link to reply to a TfD section from the actual TfD page rather than the day's log, and it ended up replacing Wikipedia:Templates for discussion with the contents of the whole day's TfD page for the day that had the section I was trying to reply to. Figured I'd give you a heads up! cymru.lass (talk • contribs) 02:36, 23 January 2019 (UTC)[reply]
Error: Sanity check on header name failed! Found "Unblock request from User_talk:Rickyc123", expected "Bot proposal: automatically protect high-risk templates and modules" (wikitext vs DOM)
at getSectionWikitext (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:983)
at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1306)
at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1620)
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49)
Starting with the WP:AN#Lonely talk page section, I don't see any "reply" links at all. All the sections above it are fine. Nothing relevant in the console log. Tested on Chromium 71 on Ubuntu and Chrome on Android. As always, thank you so much for your work on reply-link! We know it's impossible to be perfect :) — MusikAnimaltalk01:13, 25 January 2019 (UTC)[reply]
User:MusikAnimal/responseHelper is a great script that allows admins to quickly select a response to requests at various noticeboards. The bad thing is that you have to edit the page and manually select the response and save. I think it would be great if reply-link could display an (admin-only) additional "response" link on certain noticeboards where you can then select an appropriate response from those that exist in responseHelper and add it just like a reply. Regards SoWhy08:17, 25 January 2019 (UTC)[reply]
Nice, thanks for the link. That is indeed useful for RFPP but as you say, it would be great to have something like this for all noticeboards (I don't even need the actual protect/block/etc. functionality, that's what Twinkle is for). Regards SoWhy10:14, 25 January 2019 (UTC)[reply]
I like this idea! Though I think it should go the other way around -- where responseHelper integrates with reply-link. Maybe Enterprisey could add a custom event for when the reply-link form has opened. responseHelper listens to that, and I suppose it'd reveal the responses as a dropdown below the reply-link form, rather than the sidebar. Lots of people use reply-link that aren't ever going to have a need for admin responses, so I think the admin-only code should live in responseHelper. All reply-link needs to do is provide events for other scripts to integrate with it. — MusikAnimaltalk17:00, 25 January 2019 (UTC)[reply]
+1, it'd help to keep out all the bloat from reply-link. Even the edit request mark-as-answered, IMO, is unnecessary, as there are dedicated scripts for that. SD0001 (talk) 21:10, 26 January 2019 (UTC)[reply]
Yes, it is to some extent. But there is some convenience in using the same interface for everything. Actually, the edit request stuff has a pretty bad interface, and it should include a dropdown. I can probably fix that at the same time as we do the responseHelper stuff, with a corresponding editProtectedHelper integration. Enterprisey (talk!) 22:18, 26 January 2019 (UTC)[reply]
Error when replying at talk page
Browser console
When replying at Talk:Florine_Stettheimer, preview works, but when I submit the reply I get an error " There was an error while replying!". The console shows:
liveTextContent >>>>>Very messed up, yes. I am restoring earlier version. I suggest you and Vexations work on this one section at a time. Start with, for example, legacy, and work on that section alone until you (and anyone who feels like getting involved) agree it's good enough, then start on another section. Bottom up is as good a way as any. Finally, see what you've got and then write a WP:LEAD. Gråbergs Gråa Sång (talk) 09:50, 28 January 2019 (UTC)<<<<< index.php:683:9
( null ) dd a[href^='./User_talk:Gr%C3%A5bergs_Gr%C3%A5a_S%C3%A5ng'] -->
Array []
index.php:698:9
Error: "Failed to find a matching comment in the Parsoid DOM."
getCorrCmt https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:748:19
findSection https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:785:24
findSectionResultPromise https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1675:40
mightThrow https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.supportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2CmakeCollapsible%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.button%2Cicon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Cschema.UniversalLanguageSelector%7Cskins.vector.js%7Cuser.defaults&skin=vector&version=1y3l6vf:205:848
process https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.supportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2CmakeCollapsible%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.button%2Cicon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Cschema.UniversalLanguageSelector%7Cskins.vector.js%7Cuser.defaults&skin=vector&version=1y3l6vf:206:516
load.php:205:848
Error: "Error: Failed to find a matching comment in the Parsoid DOM."
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1687:54
mightThrow https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.supportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2CmakeCollapsible%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.button%2Cicon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Cschema.UniversalLanguageSelector%7Cskins.vector.js%7Cuser.defaults&skin=vector&version=1y3l6vf:205:848
process https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.supportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2CmakeCollapsible%2Csuggestions%2CtabIndex%2CtextSelection%2Cthrottle-debounce%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.button%2Cicon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Cschema.UniversalLanguageSelector%7Cskins.vector.js%7Cuser.defaults&skin=vector&version=1y3l6vf:206:516
index.php:202:9
Content request error: "Error: Failed to find a matching comment in the Parsoid DOM." index.php:207:13
DEBUG INFORMATION: 'Talk:Florine_Stettheimer' @ 880604037 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Talk%3AFlorine_Stettheimer/880604037
Hi! Welcome to the new reply-link newsletter, which I made because the ol' list on the reply-link talk page was unwieldy. In case you haven't been following development recently, I've sent out some new updates that should let it reply basically anywhere, even in transcluded pages or under hatted discussions (two locations people have been wanting for a while). Reliability has also gone way up, as I've implemented a couple of sanity checks that help prevent the script from responding to the wrong message. Unfortunately, that means the script fails a bit more often. Anyway, try it out if you haven't done so in a while, and let me know what you think! I always appreciate feature requests or bug reports on the talk page. Happy replying! (Signup list/Unsubscribe) MediaWiki message delivery (talk) 02:23, 30 January 2019 (UTC)[reply]
/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 Error: Sanity check on sig username failed! Found Oakshade but expected Rhadow (wikitext vs DOM)
at doReply (/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1411)
at Array.<anonymous> (/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1688)
at mightThrow (/w/load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:48)
at process (/w/load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49)
Just letting you know. This is what will appear on common.js pages
// Ferramenta para resposta fácil em discussões
// Autor: Enterprisey. Tradução para o português: Bageense
mw.loader.load( '//pt.wikipedia.org/wiki/Usu%C3%A1rio:Bageense/Reply_link_em_portugu%C3%AAs.js&action=raw&ctype=text/javascript' );
Hi Ent. I got Content request error: "Sanity check on sig username failed! Found Yatzhek but expected Ealdgyth (wikitext vs DOM) trying to make this edit to this thread. Let me know if you need more info. Thanks! Levivich15:49, 8 February 2019 (UTC)[reply]
Hi Ent! Since installing your script, my talk page participation has increased dramatically and editors are complaining. Also, sometimes the bullet is off-target with multiple indents, like this (:::*: instead of ::::*). Thanks! Levivich06:37, 28 February 2019 (UTC)[reply]
I installed it locally/ globally, tried everywhere, it's not working at all,
Everything shows up, and when I press send button, what I see is flow of lines in text box and nothing else. i was really happy to see such script exists but now it's not working please fix it so that I can localize it and conversations can happen faster. this was the error message.
There was an error while replying! Please leave a note at the script's talk page with any errors in the browser console, if possible.QueerEcofeminist"cite! even if you fight"!!! [they/them/their] 11:42, 7 March 2019 (UTC)[reply]
When attempting to reply to this message I got this error:
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 TypeError: Cannot read property 'length' of null
at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1389)
at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1688)
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49)
Just tried to reply to Atsme on my talk page and got
Browser console
( null ) div p big a[href^='./User_talk:Atsme'] --> Array [ <a#mwAeU> ] index.php:700:9
Error: Failed to find a matching comment in the Parsoid DOM.
Stack-Trace:
getCorrCmt@https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:750:19
findSection@https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:787:24
startReply/findSectionResultPromise<@https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1678:40
mightThrow@https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.bannerHistoryLogger%2CchoiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2ClargeBannerLimit%2ClegacySupport%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.cite.ux-enhancements%7Cext.cx.campaigns.contributionsmenu%7Cext.cx.eventlogging%2Cmodel%7Cext.cx.widgets.callout%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.progressBarWidget%2CsupportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Coojs-ui-core%2Coojs-ui-widgets%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2Cspinner%2Csuggestions%2CtextSelection%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-alerts%2Cicons-content%2Cicons-editing-advanced%2Cicons-interactions%2Cicons-moderation%2Cicons-movement%2Cindicators%2Ctextures%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=00zgmkc:250:848
resolve/</process<@https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.bannerHistoryLogger%2CchoiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2ClargeBannerLimit%2ClegacySupport%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.cite.ux-enhancements%7Cext.cx.campaigns.contributionsmenu%7Cext.cx.eventlogging%2Cmodel%7Cext.cx.widgets.callout%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.progressBarWidget%2CsupportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Coojs-ui-core%2Coojs-ui-widgets%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2Cspinner%2Csuggestions%2CtextSelection%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-alerts%2Cicons-content%2Cicons-editing-advanced%2Cicons-interactions%2Cicons-moderation%2Cicons-movement%2Cindicators%2Ctextures%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=00zgmkc:251:516
load.php:250:848
Error: Error: Failed to find a matching comment in the Parsoid DOM.
Stack-Trace:
startReply/<@https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1690:54
mightThrow@https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.bannerHistoryLogger%2CchoiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2ClargeBannerLimit%2ClegacySupport%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.cite.ux-enhancements%7Cext.cx.campaigns.contributionsmenu%7Cext.cx.eventlogging%2Cmodel%7Cext.cx.widgets.callout%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.progressBarWidget%2CsupportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Coojs-ui-core%2Coojs-ui-widgets%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2Cspinner%2Csuggestions%2CtextSelection%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-alerts%2Cicons-content%2Cicons-editing-advanced%2Cicons-interactions%2Cicons-moderation%2Cicons-movement%2Cindicators%2Ctextures%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=00zgmkc:250:848
resolve/</process<@https://en.wikipedia.org/w/load.php?debug=false&lang=en&modules=ext.centralNotice.bannerHistoryLogger%2CchoiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CkvStoreMaintenance%2ClargeBannerLimit%2ClegacySupport%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.cite.ux-enhancements%7Cext.cx.campaigns.contributionsmenu%7Cext.cx.eventlogging%2Cmodel%7Cext.cx.widgets.callout%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2CwikimediaEvents%7Cext.eventLogging.subscriber%7Cext.uls.common%2Ccompactlinks%2Ceventlogger%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.progressBarWidget%2CsupportCheck%2CtargetLoader%2CtempWikitextEditorWidget%2Ctrack%2Cve%7Cext.wikimediaEvents.loggedin%7Cjquery%2Cmoment%2Coojs%2Coojs-ui-core%2Coojs-ui-widgets%2Csite%7Cjquery.accessKeyLabel%2CcheckboxShiftClick%2Cchosen%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2Cspinner%2Csuggestions%2CtextSelection%2Ctipsy%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CRegExp%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.legacy.wikibits%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.template.regexp%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.styles%7Coojs-ui.styles.icons-alerts%2Cicons-content%2Cicons-editing-advanced%2Cicons-interactions%2Cicons-moderation%2Cicons-movement%2Cindicators%2Ctextures%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=00zgmkc:251:516
index.php:202:9
Content request error: "Error: Failed to find a matching comment in the Parsoid DOM." index.php:207:13
DEBUG INFORMATION: 'User_talk:SoWhy' @ 887191656 parsoid "https://en.wikipedia.org/api/rest_v1/page/html/User_talk%3ASoWhy/887191656" index.php:209:9
Yes, in many cases the script will not work with div boxes around talk pages. This was a side effect of allowing it to work with transcluded talk pages, and I don't know enough about Parsoid at the moment to fix it. There are some things I could try, though. Enterprisey (talk!) 17:00, 11 March 2019 (UTC)[reply]
Tell user that signature appended automatically
Can you please add a default status telling the user that their signature will be appended to the comment automatically if they do not add it themselves?
Also, I submitted a pull request, and I'm about to create another that will automatically append the user's signature in the preview. Can you please take a look at them? Qzekrom💬theythem23:12, 13 March 2019 (UTC)[reply]
Doesn't work on my talk page (console errors included)
Uncaught ReferenceError: sajax_init_object is not defined load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:51
at index.php?title=User:Equazcion/userinfo.js&action=raw&ctype=text/javascript:60
at HTMLDocument.<anonymous> (<anonymous>:6:1008)
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49)
&
Could not find section named "Creating a Club Page" at section idx 31 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202
Probably just a little thing but previewing a comment using pipe tricks in the reply displays the code instead of the link, e.g. [[Wikipedia:Notability|]] will be displayed as the code instead of as Notability as would be correct. The actual reply will be correct though. Regards SoWhy16:28, 15 March 2019 (UTC)[reply]
at onlyFirstComment (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:597)
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:659)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:787)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1678)
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49)
Error: Error: [onlyFirstComment] No timestamp found
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1690
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49)
Unfortunately this is yet another case of reply-link hating it when people enclose their talk pages in boxes. I'm thinking of putting in a special hack well-crafted fix to handle those, but there's a very general solution I'd like to finish testing first that has a chance of working. Enterprisey (talk!) 01:09, 2 April 2019 (UTC)[reply]
[sigIdxToStrIdx] fails
Hey Enterprisey! The script isn't functional on simple.wiki. The console logs the following:
[sigIdxToStrIdx] out of matches
Negative strIdx (signature not found in wikitext)
I went through the script with my stupidly limited JavaScript knowledge and the regex seems to work fine... not sure why the match process doesn't work or what the issue is. Wish I could help more. Operator873talkconnect04:10, 26 March 2019 (UTC)[reply]
While the script is absolutely wonderful for many talk page edits (I like using it whenever I reply to the last comment in a thread), Fram made a valid point here: looking through the page history and especially using diffs, one is tempted to think that the "reply-link" leads to a page where you can reply. Instead it links to User:Enterprisey/reply-link. Would it be possible to change the edit summary so it says "(using reply-link)" instead and/or would it make sense to expand the explanation what reply-link is here? (reply-link is a user script that ... or similar?) —Kusma (t·c) 19:07, 6 April 2019 (UTC)[reply]
Could you please make it so that you can see your signiture when you click the preview button, like with twinkle. I ask becuase I just accidently signed a post twice.
Interestingly enough, that happened to me quite a lot and I thought the script recognizes a duplicate signature now? Regards SoWhy11:13, 11 April 2019 (UTC)[reply]
Yup, still works. I just replied with ~~~~ in the reply and it only signed once. So what did you do? Regards SoWhy11:14, 11 April 2019 (UTC)[reply]
Hi, when you reply to a comment which already has a reply I notice that the reply box adds the reply above the orignal reply of the comment you are repling to, rather than undeneath. Thanks, SSSB (talk) 11:22, 11 April 2019 (UTC)[reply]
@Enterprisey:(Reply to below comment as part of a demonstration) it hasn't happened, it's just when I tried to reply yesterday that's where it put the box. SSSB (talk) 08:01, 12 April 2019 (UTC) However I just tried it here now and it does put it at the bottom, it's just I assumed that because the box was there that is where it would put the comment, my bad. 08:03, 12 April 2019 (UTC)[reply]
Some observations
It seems the script can't work on pages that transclude discussions. So, to avoid a lot of confusion, wouldn't it be better to hide the reply links from AFD log pages, MFD, TFD, FFD, DRV, MRV main pages, and other places which transclude discussions?
I think what you were trying to achieve here:
/* Commented out because I could never get it to work // Autofill with a recommendation if we're replying to a nom if( rplyToXfdNom ) { replyDialogField.value = "'''Comment'''"; // Highlight the "Comment" part so the user can change it var range = document.createRange(); range.selectNodeContents( replyDialogField ); //range.setStart( replyDialogField, 3 ); // start of "Comment" //range.setEnd( replyDialogField, 10 ); // end of "Comment" var sel = window.getSelection(); sel.removeAllRanges(); sel.addRange( range ); }*/
When you have done that, it'd be better to say "comment in XfD" rather than "reply to XfD", and change the edit summary to "Commenting in XfD: <the bolded part of !vote>"
Regarding:
if(xfdType==="AfD"||xfdType==="MfD"){// If the comment is non-indented, we are replying to a nomrplyToXfdNom=!anyIndentation;}elseif(xfdType==="TfD"||xfdType==="FfD"){// If the sibling before the previous sibling of this node// is a h4, then this is a nomrplyToXfdNom=parent.previousElementSibling&&parent.previousElementSibling.previousElementSibling&&parent.previousElementSibling.previousElementSibling.nodeType===1&&parent.previousElementSibling.previousElementSibling.tagName.toLowerCase()==="h4";}
Why bother with that complicated condition for reply to tfd/ffd buttons? The "reply to XfD" doesn't show if the nomination text contains multiple paragraphs. I do see the minor advantage of doing this, once a discussion is closed, "reply to xfd" doesn't show up, but "reply" still shows so it's just a minor advantage. I think using the same condition as for afd/mfd is better, as it solves the issue of multiple-paragraph nomination text.
You can easily add support for the above in DRV/MRV pages. The same condition (as for afd/mfd) works here too.
A more accurate NOWIKI_RE (in function hasSig) would be /<nowiki>.*?<\/nowiki ?>/g;, since there could a space before the final >, and the tags remain valid. Very trivial/minor thing, of course.
Hi, I was replying to a thread called "Suggested updates template" at WT:WPPORT and the script failed with the error: Could not find section named "Suggested updates template" at section idx 45. WaggersTALK10:23, 8 May 2019 (UTC)[reply]
Gadget
Hello Enterprisey, Can i use the script source code as a gadget? I copy the source code and paste it into a mediawiki page on ours Wikipedia, but it didn't work. Thanks! --ئارام بکر (talk) 00:43, 13 May 2019 (UTC)[reply]
The Wikimedia Foundation has invited the various Wikimedia communities, including the English Wikipedia, to participate in a consultation on improving communication methods within the Wikimedia projects.
Does this script ever timeout? If so, how can I extend the time limit? I use a lot of userscripts and this one loads rather inconsistently. —pythoncoder (talk | contribs) 00:45, 21 May 2019 (UTC)please ping when replying[reply]
i encountered the "there was an error while replying" message, this i what i was trying to type
Hey nick just catching up, i had my first maths GCSE today, how have you been? - JJBullet (Talk) 09:21, 21 May 2019 (UTC) (reply)
Hi. Hope it went well, JJBullet
- my daughter also had her GCSE maths this morning and had geography this afternoon. It not an easy time for people of your age, is it? I'm busy doing major house renovation work right now. I will reply with some advice for you on helping to monitor recent changes and to correct any bad edits. But it may a few days until I can find some 'quality time' to sit down at a proper keyboard rather than this tiny iPhone screen. But I guess you need to be revising, not playing here, so I hope that's OK. Good luck with the rest of them. Regards, Nick Moyes (talk) 10:55, 21 May 2019 (UTC) (reply)
Please don't rush to correct somebody's typos. I accidentally saved it in error. Rushing to tell me I had not signed it just created an edit conflict just causes delays in giving you the full response. Nick Moyes (talk) 10:58, 21 May 2019 (UTC)
Nick Moyes, ok sorry nick, and yeah i need to be revising :)
i encountered the "there was an error while replying" message, this i what i was trying to type
Hey nick just catching up, i had my first maths GCSE today, how have you been? - JJBullet (Talk) 09:21, 21 May 2019 (UTC) (reply)
Hi. Hope it went well, JJBullet - my daughter also had her GCSE maths this morning and had geography this afternoon. It not an easy time for people of your age, is it? I'm busy doing major house renovation work right now. I will reply with some advice for you on helping to monitor recent changes and to correct any bad edits. But it may a few days until I can find some 'quality time' to sit down at a proper keyboard rather than this tiny iPhone screen. But I guess you need to be revising, not playing here, so I hope that's OK. Good luck with the rest of them. Regards, Nick Moyes (talk) 10:55, 21 May 2019 (UTC) (reply)
Please don't rush to correct somebody's typos. I accidentally saved it in error. Rushing to tell me I had not signed it just created an edit conflict just causes delays in giving you the full response. Nick Moyes (talk) 10:58, 21 May 2019 (UTC)
Nick Moyes, ok sorry nick, and yeah i need to be revising :)
here is the error code
load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:141 JQMIGRATE: Migrate is installed with logging active, version 3.0.1
VM225:7 This page is using the deprecated ResourceLoader module "jquery.throttle-debounce".
Please use OO.ui.throttle/debounce instead. See https://phabricator.wikimedia.org/T213426
(anonymous) @ VM225:7
VM225:173 This page is using the deprecated ResourceLoader module "jquery.ui.position".
(anonymous) @ VM225:173
VM225:133 This page is using the deprecated ResourceLoader module "jquery.ui.widget".
(anonymous) @ VM225:133
VM225:218 This page is using the deprecated ResourceLoader module "jquery.tipsy".
mw.loader.implement.css @ VM225:218
VM225:538 [Deprecation] chrome.loadTimes() is deprecated, instead use standardized API: Paint Timing. https://www.chromestatus.com/features/5637885046816768.
getFirstPaintTime @ VM225:538
VM225:538 [Deprecation] chrome.loadTimes() is deprecated, instead use standardized API: Navigation Timing 2. https://www.chromestatus.com/features/5637885046816768.
getFirstPaintTime @ VM225:538
VM225:128 This page is using the deprecated ResourceLoader module "jquery.ui.core".
Please use OOUI instead.
mw.loader.implement.css @ VM225:128
/w/index.php?title=User:%3Cyou!%3E/teahouseReminder.js&action=raw&ctype=text/javascript:1 Failed to load resource: the server responded with a status of 400 (Bad Request)
load.php?lang=en&modules=startup&only=scripts&skin=vector:4 Use of "wgNamespaceNumber" is deprecated. Use mw.config instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&skin=vector:4
index.php?title=User:DannyS712/short-tabs.js&action=raw&ctype=text/javascript:21 U-T:Nick Moyes
/w/index.php?title=User:Anchorvale/scripts/RecentChanges.js&action=raw&ctype=text/javascript:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
load.php?lang=en&modules=startup&only=scripts&skin=vector:4 Use of "wgTitle" is deprecated. Use mw.config instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&skin=vector:4
load.php?lang=en&modules=startup&only=scripts&skin=vector:4 Use of "importScriptURI" is deprecated. Use mw.loader instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&skin=vector:4
load.php?lang=en&modules=startup&only=scripts&skin=vector:4 Use of "addOnloadHook" is deprecated. Use jQuery instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&skin=vector:4
load.php?lang=en&modules=startup&only=scripts&skin=vector:4 Use of "wgUserName" is deprecated. Use mw.config instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&skin=vector:4
load.php?lang=en&modules=startup&only=scripts&skin=vector:4 Use of "addPortletLink" is deprecated. Use mw.util.addPortletLink instead
maybeLog @ load.php?lang=en&modules=startup&only=scripts&skin=vector:4
load.php?lang=en&modules=startup&only=scripts&skin=vector:4 Use of "wgServer" is deprecated. Use mw.config instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&skin=vector:4
load.php?lang=en&modules=startup&only=scripts&skin=vector:4 Use of "wgScript" is deprecated. Use mw.config instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&skin=vector:4
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:685 liveTextContent >>>>>Please don't rush to correct somebody's typos. I accidentally saved it in error. Rushing to tell me I had not signed it just created an edit conflict just causes delays in giving you the full response. Nick Moyes (talk) 10:58, 21 May 2019 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:700 ( null ) dd a[href^='./User_talk:Nick_Moyes#top'] --> Array(54)
load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:48 Error: Failed to find a matching comment in the Parsoid DOM.
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:750)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:787)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1678)
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:49)
mightThrow @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:48
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 Error: Error: Failed to find a matching comment in the Parsoid DOM.
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1690
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:49)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:207 Content request error: "Error: Failed to find a matching comment in the Parsoid DOM."
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:209 DEBUG INFORMATION: 'User_talk:Nick_Moyes' @ 898096897 parsoid https://en.wikipedia.org/api/rest_v1/page/html/User_talk%3ANick_Moyes/898096897
Browser is Google Chrome Version 74.0.3729.131 (Official Build) (64-bit)
Attempt to reply to the "liveTextContent" below. I'm not sure how much of the errors are with your script, and endlines don't seem to copy/paste properly.
Unchecked runtime.lastError: The message port closed before a response was received.
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:685
liveTextContent >>>>>Of course not, but there are design methodologies that target just those - in fact, that's how most product and UX design works - you target a future costumer by finding a present surrogate. Current and long-term users, who are accustomed to the existing, poorly-designed systems, aren't that. François Robere (talk) 09:45, 23 May 2019 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:700
( null ) dd a[href^='./User_talk:Fran%C3%A7ois_Robere'] --> Array(0)
load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:48 Error: Failed to find a matching comment in the Parsoid DOM.
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:750)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:787)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1678)
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:49)
mightThrow @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:48
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 Error: Error: Failed to find a matching comment in the Parsoid DOM.
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1690
at mightThrow (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:48)
at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0w5wrgy:49)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:207 Content request error: "Error: Failed to find a matching comment in the Parsoid DOM."
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:209 DEBUG INFORMATION: 'Wikipedia:Talk_pages_consultation_2019/Phase_2' @ 898407909 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3ATalk_pages_consultation_2019%2FPhase_2/898407909
I was attempting to leave a comment in WP:ANI#NYC Subway vandal. However, I also checked other sections, in which it also didn't work. I was able to hit reply and I got a reply window. I could preview it. However, when I hit submit, it reported an error. The console read:
liveTextContent >>>>>At the very least, the edit warring is disruptive so I have blocked the IP address for 31 hours. If the problem returns after the block expires, please feel free to let me know or report to WP:AIV. -- Ed (Edgar181) 18:53, 30 May 2019 (UTC)<<<<<16:39:35.765 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:700 ( null ) dd a[href^='./User_talk:Edgar181'] --> Array(0)16:39:35.769 load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=monobook&version=0pytpri:48Error:FailedtofindamatchingcommentintheParsoidDOM.
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:750) at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:787) at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1678) at mightThrow (load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=monobook&version=0pytpri:48) at process (load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=monobook&version=0pytpri:49)mightThrow @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=monobook&version=0pytpri:4816:39:35.769 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 Error: Error: Failed to find a matching comment in the Parsoid DOM. at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1690 at mightThrow (load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=monobook&version=0pytpri:48) at process (load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=monobook&version=0pytpri:49)setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:20216:39:35.769 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:207 Content request error: "Error: Failed to find a matching comment in the Parsoid DOM."16:39:35.769 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:209 DEBUG INFORMATION: 'Wikipedia:Administrators'_noticeboard/Incidents' @ 899552255 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AAdministrators%27_noticeboard%2FIncidents/899552255
I also forgot to mention that I am running the latest version of Chrome and I have cleared my cache, which did not solve the problem. StudiesWorld (talk) 20:46, 30 May 2019 (UTC)[reply]
Error: Sanity check on sig username failed! Found Tyw7 but expected Andrew Davidson (wikitext vs DOM) at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1411) at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1688) at mightThrow (load.php?lang=en&modules=jquery&skin=vector&version=0hmxo20:48) at process (load.php?lang=en&modules=jquery&skin=vector&version=0hmxo20:49)setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202
Hi Enterprisey, hope your summer is going well. When I used reply-link on User talk:Diannaa to reply to a comment by Diannaa, it posted the reply in the preceding section (in response to Diannaa's previous comment on that page) instead of the correct section. No error message, it posted fine, just in the wrong place. It happened twice; the first time I thought it might be my user error but the second time I'm sure I clicked the correct "reply to" link. Is it that the page uses a container? Also, do you have a "known issues" page (to avoid duplicate bug reports)? Thanks as always for all the great tools you make! Diffs: 1st post, fix; 2nd post, fix– Levivich00:11, 18 July 2019 (UTC)[reply]
liveTextContent >>>>>@SD0001: Well, thank you, SD0001, but it doesn't seem to be working for me yet. I copied your script to a new .js-page in my user space, but it doesn't seem to update automatically and neither are the numbers of changed pages displayed in the page title. Am I getting it wrong? Pinging @DannyS712: also. Jürgen Eissink (talk) 20:20, 18 July 2019 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:700 ( null ) dd a[href^='./User_talk:J%C3%BCrgen_Eissink'] --> Array(0)
load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1oe2inp:48
Error: Failed to find a matching comment in the Parsoid DOM.
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:750)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:787)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1678)
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1oe2inp:48)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1oe2inp:49)
mightThrow @ load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1oe2inp:48
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202
Error: Error: Failed to find a matching comment in the Parsoid DOM.
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1690
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1oe2inp:48)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1oe2inp:49)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:207 Content request error: "Error: Failed to find a matching comment in the Parsoid DOM."
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:209 DEBUG INFORMATION: 'Wikipedia:User_scripts/Requests' @ 906881053 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AUser_scripts%2FRequests/906881053
Felt like giving an update to everyone who may follow this page and people wondering when I'll get to stuff. My first priority is getting to the PRs that people have opened on GitHub. PR #3 (the xfd-related one) is great but assumes that the script can't edit pages that transclude other pages. I did add this ability, or at least I thought I did, a while ago, so I think it's better to go back and fix it first. Now, in order to properly do that, I think I need to switch the script over to a new design that should have a much better success rate. It will hopefully always have an exact answer to the question of "where does this HTML node on the page occur in the wikitext". Other priorities include the ability to have custom indentation, and fast section-based reloads (idea by Gryllida). Further down the road, I'm working on a way to reply directly from the Echo notification menu. And of course I will be looking at the bug reports on this page, which is why I turned off archiving for it. A big thank you to everyone who uses the script, and a special shout-out to people who report bugs on this page. With a script that's supposed to work in as many areas as this one, bug reports are really essential. Looking forward to a better script! Enterprisey (talk!) 20:38, 3 August 2019 (UTC)[reply]
Great to hear you are still actively working on it. I still maintain that this is one of the most useful scripts ever created and I use it daily multiple times. Speaking of using it, any update on the #Feature request: Integrate ResponseHelper functionality? I just worked through 15 requests at WP:REFUND and it would have been stellar if I could have just selected responses from a dropdown instead of having to manually add the required code for each request. Regards SoWhy16:27, 22 August 2019 (UTC)[reply]
@Enterprisey and SoWhy: If we could get the hook added to reply-link for when the form is open, I can integrate responseHelper into it. I don't think it makes any sense for reply-link to duplicate responseHelper functionality, and the same is true for editProtectedHelper (which you talked about above). Reasons include:
Most reply-link users would never use the responseHelper/editProtectedHelper functionality.
If responseHelper was also part of reply-link, we'd have to maintain the list of responses in two places.
responseHelper/editProtectedHelper both assume English Wikipedia, when reply-link should (or could) be wiki-agnostic.
I can create a PR for the hook, that's a pretty easy addition. However I'd much prefer if we could also supply an edit summary. I know reply-link had an input for an edit summary at some point, then it was removed. Maybe you could just have a hidden input, that way the user doesn't see it, but responseHelper can still inject the informative edit summary it creates. This means I could still inject the "(using responseHelper)" advert, otherwise no one would know responseHelper was being used, and I'd lose the free advertising :) "(using reply-link)" would of course still be added to the end, so it would be clear both scripts are being used. — MusikAnimaltalk16:17, 27 August 2019 (UTC)[reply]
Ah, I see you have to set window.replyLinkCustomSummary. So all we need to do here is make reply-link use a hidden input if the user doesn't have the custom summary option set. I'll work on a PR soon! PS -- reply-link didn't work when I tried to leave this comment :/ — MusikAnimaltalk16:26, 27 August 2019 (UTC)[reply]
MusikAnimal, which hooks would you like? I was thinking two: one when the form is ready (its payload would be the newly-opened div containing the form) and one when the user clicks "Reply" but before any reply-link code runs. Enterprisey (talk!) 05:38, 30 September 2019 (UTC)[reply]
@Enterprisey: That sounds perfect! Could you also add a hidden input for the edit summary (unless window.replyLinkCustomSummary is set)? For when the edit summary input is visible, we'd need to append (using responeHelper) to the summary on submission, which is where the second hook comes in. That will work for responseHelper, but in your documentation I'd note that the handler wouldn't be able to do any async operations if reply-link is set to reload after submission, since mw.hook isn't promise-based. Many thanks — MusikAnimaltalk14:36, 30 September 2019 (UTC)[reply]
Reply link and the Teahouse
@Enterprisey: When I try to use reply link at the Teahouse, I get the error message that is on the image to the right. I would like to reply to the message so that I can communicate with other editors. I wasn't able to reproduce the problem anywhere besides the Teahouse. I tried to see if I can reproduce the problem at the help desk, but I couldn't. I tried bypassing my browser cache and that doesn't work. I use the default skin, Firefox 69.0, and Windows 10 Home. Please ping me when you respond to this message even though I'm putting this on the watchlist. Thank you, Interstellarity (talk) 20:39, 11 September 2019 (UTC)[reply]
I noticed here that when I try to click the 'reply' link for the new user who forgot to sign their posts (which appears after the "—Preceding undated comment added 1:39 pm, Yesterday (UTC+12) " text) it doesn't open a box to write in like normal (although the 'reply' button does change to "cancel reply" as normal. Seems like a bug. — Preceding unsigned comment added by Insertcleverphrasehere (talk • contribs)
Hmm... the plot thickens. It seems like the new user manually added thier username and talk page links but because it was undated the sinebot added something afterwards <!--Template:Undated--><small class="autosigned">—Preceding [[Wikipedia:Signatures|undated]] comment added 01:39, 14 September 2019 (UTC)</small> <!--Autosigned by SineBot-->.
Insertcleverphrasehere, the script needs a userpage link and a timestamp to work correctly. No timestamp = no reply link. If a timestamp is present but there's no userpage link preceding it, the reply button shows up but it won't work as you describe. SD0001 (talk) 17:29, 16 September 2019 (UTC)[reply]
There's more! I'm unable to reply to a user after I added a {{Unsigned}} - the reply dialogue opens for me, but I get an error thrown whenever I try to actually post the reply. ItsPugle (please ping on reply) 10:33, 4 October 2020 (UTC)[reply]
Error when replying on ANI - maybe edit conflict?
Responding to a comment on ANI, but received an error when doing so. It looks like it might've been an edit conflict or something, because somebody edited (a different section) right around the same time I tried to save. This was the specific edit made around that time.
Parsoid has begun returning hrefs with normal Unicode characters instead of being encoded URI components (the links are to "User_talk:Þjarkur" instead of to "User_talk:%C3%9Ejarkur" like I'm guessing they previously were).
This appears to cause a flaw where it is no longer possible to reply to me since newHref uses encodeURIComponent(). (It causes this Parsoid DOM lookup error).
When trying to paste this reply, I kept getting an error, and was told to report it to you.
"Unforgettableid, Ah, thanks for pointing out the policies to me. So, it's not really the fact that they're a private college. That's actually good to hear. I will leave my Delete vote up then, since it seems to be the only vote in favour besides the proponent."
Cheers,
Doug
Persistent reply-to errors
index.php?title=User…text/javascript:202 Error: Sanity check on header name failed! Found "NewtonX, Inc.", expected "Companies deletion" (wikitext vs DOM)
at getSectionWikitext (index.php?title=User…ext/javascript:1050)
at doReply (index.php?title=User…ext/javascript:1381)
at Array.<anonymous> (index.php?title=User…ext/javascript:1700)
at mightThrow (load.php?lang=en&mod…or&version=1xgm5:48)
at process (load.php?lang=en&mod…or&version=1xgm5:49)
Enterprisey, I can't recall exactly, but it is not specific to any one page or discussion. It primarily happens in the Articles for Deletion discussion pages and User talk pages. Doug Mehus (talk) 14:45, 14 October 2019 (UTC)[reply]
I've been getting persistent errors whenever I try to use reply-link. Here is one that I got on RSN while trying to make this edit (which I did manually):
Error: "TypeError: iterableToList(...).any is not a function"
liveTextContent >>>>>At Wikipedia, one cannot support RS and Trump at the same time because, in the immortal words of MPants, "The president is possibly the single most unreliable source for any claim of fact ever to grace the pages of WP." -- MPants 04:57, 2 October 2018 (UTC) -- BullRangifer (talk) 15:33, 24 October 2019 (UTC)<<<<< index.php:685:17
( null ) dd a[href^='./User_talk:BullRangifer'] -->
Array(3) [ a#mwSA, a#mwaw, a#mwnw
]
index.php:700:17
TOP OF doReply
Array(3) [ "2", "RSN", 1 ]
Object { page: "User_talk:JzG", sectionIdx: 1, sectionName: "RSN", sectionLevel: "2" }
index.php:1301:17
In getSectionWikitext, sectionIdx = 1, sectionName = >RSN< index.php:984:17
In sigIdxToStrIdx, sigIdx = 10 index.php:1089:17
Error: "Sanity check on sig username failed! Found DGG but expected BullRangifer (wikitext vs DOM)"
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1419
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1700
jQuery 2
index.php:202:17
Content request error: "Sanity check on sig username failed! Found DGG but expected BullRangifer (wikitext vs DOM)" index.php:207:21
DEBUG INFORMATION: 'User_talk:JzG' @ 922826238 parsoid https://en.wikipedia.org/api/rest_v1/page/html/User_talk%3AJzG/922826238 index.php:209:17
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1149 [sigIdxToStrIdx] out of matches
sigIdxToStrIdx @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1149
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 Negative strIdx (signature not found in wikitext)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202
Howdy hello! For some reason, about 1/3 of the time I try to use ReplyLink, it just bugs out and I have to do it manually. It seems to happen more on long noticeboard pages, but the problem might happen one day on a page, and not the next. Today's error was at WP:TEAHOUSE, replying to UnblueBox at the thread WP:TEAHOUSE#what do I do if an IP is trying to reach out to an user but the user is not replying?. I got these two errors:
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48 Error: Failed to find a matching comment in the Parsoid DOM.
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:750)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:787)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1690)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:49)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 Error: Error: Failed to find a matching comment in the Parsoid DOM.
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1702
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:49)
I fixed some bugs to do with how the script handles subpages. I just tried it out a little on the AfD and TfD log pages, and it worked fine with my limited testing. Please let me know if this broke replying on other pages - I did check a lot of them after I made the change, but there's always a chance something slipped through. Enterprisey (talk!) 07:19, 1 November 2019 (UTC)[reply]
Someday I'm gonna have to revisit indentation. Maybe for the moment I can rip out the XfD handling, which seems like it could've been a mistake to add. Enterprisey (talk!) 05:06, 30 July 2021 (UTC)[reply]
Came across this error after trying to reply to a comment. Received the notice "There was an error while replying! Please leave a note at the script's talk page with any errors in the browser console, if possible." Below is the console error:
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48 Error: Failed to find a matching comment in the Parsoid DOM.
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:750)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:787)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1697)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:49)
mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 Error: Error: Failed to find a matching comment in the Parsoid DOM.
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1709
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:49)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:207 Content request error: "Error: Failed to find a matching comment in the Parsoid DOM."
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:209 DEBUG INFORMATION: 'Talk:Blue_Line_(Los_Angeles_Metro)' @ 924878137 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Talk%3ABlue_Line_(Los_Angeles_Metro)/924878137WMSR (talk) 18:41, 6 November 2019 (UTC)[reply]
Fixed! (With this.) Kud left an unclosed <small> tag in the previous section. The official parser is fine with this sort of thing, but Parsoid (the parser reply-link relies on) wasn't. Enterprisey (talk!) 03:18, 7 November 2019 (UTC)[reply]
WMSR, I assume you're talking about the "unsigned" comment left by Lars Smiley (please let me know if this isn't the case). This is an edge case in the MediaWiki internals, so I've filed a bug report at T211830 and fixed Lars's markup. You should be able to reply to it now. Enterprisey (talk!) 03:42, 7 November 2019 (UTC)[reply]
Update: still having issues (not sure whether or not it's the same issue):load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48 Error: Failed to find a matching comment in the Parsoid DOM.
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:762)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:801)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1717)
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:49)
mightThrow @ load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 Error: Error: Failed to find a matching comment in the Parsoid DOM.
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1729
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:49)WMSR (talk) 01:55, 11 November 2019 (UTC)[reply]
Enterprisey I'm beginning to think the problem may be me, as I have yet to be able to successfully use this script. Are there any other user scripts that this one conflicts with? WMSR (talk) 17:30, 14 November 2019 (UTC)[reply]
Most recent error: load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48 Error: [onlyFirstComment] No timestamp found
at onlyFirstComment (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:606)
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:672)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:813)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1728)
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:49)
mightThrow @ load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210 Error: Error: [onlyFirstComment] No timestamp found
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1740
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:49)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 Error: Sanity check on sig username failed! Found Northamerica1000 but expected JzG (wikitext vs DOM)
at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1441)
at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1727)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:49)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 Error: Sanity check on sig username failed! Found Dmehus but expected JzG (wikitext vs DOM)
at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1441)
at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1727)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:49)
liveTextContent >>>>>@Jimmy Wales: Truly sorry to disturb you (again). As I now feel forced to leave after 7 years, I think it would be beneficial for Wikipedia in the future, to use this case (preferably all of it) in a future education of Admins. This last matter was not my best day, but misunderstandings, deliberate wrongful interpretations, furious admins, topped with an untrue "ANI-prosecution" and slimy or scared youngsters - and proper lies (of which the worst one though was revealed thanks to Deacon Vorbis) made it far worse than necessary, I honestly feel. I am still very fond of your invention, Jimmy, take care of it. Could someone close down my account and delete it ? Boeing720 (talk) 10:30, 14 November 2019 (UTC)<<<<< index.php:709:17
( null ) dd a[href^='./User_talk:Boeing720#top'] -->
Array(19) [ a#mwKQ, a#mwPg, a#mwUQ, a#mwaw, a#mwlg, a#mwmg, a#mwwA, a#mw1Q, a#mwAQo, a#mwASw
, … ]
index.php:724:17
TOP OF doReply
Array(3) [ "2", "November 2019", 36 ]
Object { page: "User_talk:Boeing720", sectionIdx: 36, sectionName: "November 2019", sectionLevel: "2", nearbyMwId: "mwA9w" }
index.php:1334:17
In getSectionWikitext, sectionIdx = 36, sectionName = >November 2019< index.php:1017:17
In sigIdxToStrIdx, sigIdx = 10 index.php:1122:17
[sigIdxToStrIdx] out of matches index.php:1182:25
sigIdxToStrIdx https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1182
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1419
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1738
jQuery 2
Negative strIdx (signature not found in wikitext) index.php:210:17
setStatusError https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1564
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1738
jQuery 2
DEBUG INFORMATION: 'User_talk:Boeing720' @ 926120581 parsoid https://en.wikipedia.org/api/rest_v1/page/html/User_talk%3ABoeing720/926120581 index.php:217:17
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210 Error: Sanity check on sig username failed! Found Dmehus but expected MikkelJSmith2 (wikitext vs DOM)
at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1453)
at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1738)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:49)
I love this script, but it doesn't always work for me
I get errors (sorta) half the time. I haven't yet figured out the conditions (and neither which error msgs I'm meant to post here), but I thought let you know. I was hoping the errors were being automatically logged. Guarapiranga (talk) 00:38, 20 November 2019 (UTC)[reply]
Guarapiranga, I don't think the errors are logged, at least in a meaningful way Enterprisey can extrapolate. Your best bet is to use Ctrl + Shift + J (Google Chrome) and copy and paste the highlighted error text (as I did above) here in a new section. Be sure and let Enterprisey know on which page you encountered the problem. Doug MehusT·C03:04, 20 November 2019 (UTC)[reply]
Got it!
Content request error: "Sanity check on sig username failed! Found Guarapiranga but expected Evad37 (wikitext vs DOM)" index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:217 DEBUG INFORMATION: 'Wikipedia:Bot_requests' @ 927130110 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3ABot_requests/927130110
And as I was trying to reply here, the script failed me on its very talk page!
load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48 Error: Failed to find a matching comment in the Parsoid DOM.
:: at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:774)
:: at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:813)
:: at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1728)
:: at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48)
:: at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:49)
::mightThrow @ load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48
::index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210 Error: Error: Failed to find a matching comment in the Parsoid DOM.
:: at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1740
:: at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48)
:: at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:49)
::setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210
::index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:215 Content request error: "Error: Failed to find a matching comment in the Parsoid DOM."
::index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:217 DEBUG INFORMATION: 'User_talk:Enterprisey/reply-link' @ 927063431 parsoid https://en.wikipedia.org/api/rest_v1/page/html/User_talk%3AEnterprisey%2Freply-link/927063431Guarapiranga (talk) 15:27, 20 November 2019 (UTC)[reply]
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210 Error: Error: Failed to find a matching comment in the Parsoid DOM.
::: at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1740
::: at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:48)
::: at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1gjdz:49)
:::setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210
:::index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:215 Content request error: "Error: Failed to find a matching comment in the Parsoid DOM."
:::index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:217 DEBUG INFORMATION: 'Wikipedia:User_scripts/Requests' @ 927127058 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AUser_scripts%2FRequests/927127058Guarapiranga (talk) 22:55, 20 November 2019 (UTC)[reply]
When used on mobile, reply link appendages "undefined*:" to the front of the mention.
JQMIGRATE: Migrate is installed with logging active, version 3.0.1
18A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
VM1026:8 This page is using the deprecated ResourceLoader module "jquery.throttle-debounce".
Please use OO.ui.throttle/debounce instead. See https://phabricator.wikimedia.org/T213426
(anonymous) @ VM1026:8
VM1026:239 This page is using the deprecated ResourceLoader module "jquery.tipsy".
mw.loader.implement.css @ VM1026:239
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:152 This page is using the deprecated ResourceLoader module "jquery.ui".
Please use OOUI instead.
mw.loader.implement.css @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:152
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:141 JQMIGRATE: jQuery.fn.delegate() is deprecated
migrateWarn @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:141
load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4 Use of "addOnloadHook" is deprecated. Use jQuery instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4
2load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4 Use of "document.write" is deprecated. Use jQuery or mw.loader.load instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4
2load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4 Use of "addOnloadHook" is deprecated. Use jQuery instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:51 jQuery.Deferred exception: Cannot read property 'getElementsByTagName' of null TypeError: Cannot read property 'getElementsByTagName' of null
jQuery.Deferred.exceptionHook @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:51
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:51 jQuery.Deferred exception: addTab is not defined ReferenceError: addTab is not defined
at add_testn_tabs (index.php?title=User:Voice_of_All/nolupin/monobook.js&action=raw&ctype=text/javascript:120)
at HTMLDocument.<anonymous> (<anonymous>:6:787)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:49)
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:51 Uncaught ReferenceError: addTab is not defined
at index.php?title=User:Voice_of_All/nolupin/monobook.js&action=raw&ctype=text/javascript:203
at HTMLDocument.<anonymous> (<anonymous>:6:787)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:48)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1fmkj:49)
load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4 Use of "addOnloadHook" is deprecated. Use jQuery instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:709 liveTextContent >>>>>Yeah, I think we can keep strange existing ones like Middle Class Prosperity separate for now until there's legislation saying whatever they are (likely when Parliament is back). If it's just to be held concurrently with the other new post (Associate Minister of Finance) then I feel like the latter is a page worth having and the former would just redirect. ArmosNights (talk) 15:38, 29 November 2019 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:724 ( null ) dd a[href^='./User_talk:ArmosNights'] --> Array(4)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1334 TOP OF doReply Array(3) Object
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1017 In getSectionWikitext, sectionIdx = 38, sectionName = >Merging vs. separating minister portfolios<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210 Could not find section named "Merging vs. separating minister portfolios" at section idx 38
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:217 DEBUG INFORMATION: 'Wikipedia_talk:Canadian_Wikipedians'_notice_board' @ 928488545 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia_talk%3ACanadian_Wikipedians%27_notice_board/928488545 — Preceding unsigned comment added by Dmehus (talk • contribs) 16:43, 29 November 2019 (UTC)[reply]
When replying to a comment with an comment that starts with a bullet point (:::*) the script will start the reply with (:::*:), meaning the bullet point won't show on the reply. The script should detect the asterisks and add a option to remove it beside Automatically indent? with the text Start with bullet point that is checked off by default. If the options to reply with the bullet point is enabled, it should append a * rather than a :.– BrandonXLF (talk)21:08, 4 December 2019 (UTC)[reply]
Interesting idea, and I definitely agree with the idea that the script should give users more indentation options. Probably the thing to do would be adding a new "Indentation" menu that has both the existing checkbox and a new "start with bullet point" option. Thanks for the suggestion! Enterprisey (talk!) 07:24, 5 December 2019 (UTC)[reply]
Error
I experienced this error: "There was an error while replying!" when trying to save a reply. I did not add four tildes for my signature because my signature appeared automatically in the preview. The preview worked perfectly.
I tried it a second time with the four tildes, with a similar result.
Error console:
error console
liveTextContent >>>>>Whether that's worth telling the reader that is a separate question. All I'm looking for at this point: someone who can hold both these facts in their head at the same time. Come on lads and lassies, you can do it. I'm feeling lonesome. Herostratus (talk) 07:57, 7 December 2019 (UTC)<<<<<
07:42:16.116 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1334 TOP OF doReply Array(3) Object
07:42:16.117 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1017 In getSectionWikitext, sectionIdx = 18, sectionName = >Unproven remarks from a story at NBC News<
07:42:16.118 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1122 In sigIdxToStrIdx, sigIdx = 5
07:42:16.120 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1182 [sigIdxToStrIdx] out of matches
sigIdxToStrIdx @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1182
07:42:16.120 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210 Negative strIdx (signature not found in wikitext)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210
07:47:53.023 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:709 liveTextContent >>>>>Whether that's worth telling the reader that is a separate question. All I'm looking for at this point: someone who can hold both these facts in their head at the same time. Come on lads and lassies, you can do it. I'm feeling lonesome. Herostratus (talk) 07:57, 7 December 2019 (UTC)<<<<<
07:47:53.226 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1334 TOP OF doReply Array(3) Object
07:47:53.227 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1017 In getSectionWikitext, sectionIdx = 18, sectionName = >Unproven remarks from a story at NBC News<
07:47:53.229 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1122 In sigIdxToStrIdx, sigIdx = 5
07:47:53.231 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1182 [sigIdxToStrIdx] out of matches
sigIdxToStrIdx @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1182
07:47:53.231 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210 Negative strIdx (signature not found in wikitext)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210
Fixed for all but one of the comments on that page. It'll be a bit harder to make it work for the !votes in the "Summary/Consensus" section, but I'll keep working on that. Enterprisey (talk!) 07:12, 13 December 2019 (UTC)[reply]
It gave me an error
I tried to reply to the comment at the bottom of this, and it gave me an error. Also, The first section had no reply link.
Infomation:
Default skin, Chrome Version 78.0.3904.108 (Official Build) (64-bit), Windows 10 Home v. 2004
Console output
load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1ccob:144 JQMIGRATE: Migrate is installed with logging active, version 3.1.0
content.min.js:2 [Deprecation] Element.createShadowRoot is deprecated and will be removed in M80, around February 2020. Please use Element.attachShadow instead. See https://www.chromestatus.com/features/4507242028072960 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.
(anonymous) @ content.min.js:2
VM1426:307 This page is using the deprecated ResourceLoader module "jquery.tipsy".
mw.loader.implement.css @ VM1426:307
load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1ccob:328 This page is using the deprecated ResourceLoader module "jquery.ui".
Please use OOUI instead.
mw.loader.implement.css @ load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1ccob:328
load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1ccob:144 JQMIGRATE: jQuery.fn.delegate() is deprecated
migrateWarn @ load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1ccob:144
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
[Report Only] Refused to connect to '<URL>' because it violates the following Content Security Policy directive: "connect-src 'self' data: blob: upload.wikimedia.org <URL> meta.wikimedia.org *.wikimedia.org *.wikipedia.org *.wikinews.org *.wiktionary.org *.wikibooks.org *.wikiversity.org *.wikisource.org wikisource.org *.wikiquote.org *.wikidata.org *.wikivoyage.org *.mediawiki.org wikimedia.org <URL> <URL>".
[Report Only] Refused to connect to '<URL>' because it violates the following Content Security Policy directive: "connect-src 'self' data: blob: upload.wikimedia.org <URL> meta.wikimedia.org *.wikimedia.org *.wikipedia.org *.wikinews.org *.wiktionary.org *.wikibooks.org *.wikiversity.org *.wikisource.org wikisource.org *.wikiquote.org *.wikidata.org *.wikivoyage.org *.mediawiki.org wikimedia.org <URL> <URL>".
[Report Only] Refused to connect to '<URL>' because it violates the following Content Security Policy directive: "connect-src 'self' data: blob: upload.wikimedia.org <URL> meta.wikimedia.org *.wikimedia.org *.wikipedia.org *.wikinews.org *.wiktionary.org *.wikibooks.org *.wikiversity.org *.wikisource.org wikisource.org *.wikiquote.org *.wikidata.org *.wikivoyage.org *.mediawiki.org wikimedia.org <URL> <URL>".
[Report Only] Refused to connect to '<URL>' because it violates the following Content Security Policy directive: "connect-src 'self' data: blob: upload.wikimedia.org <URL> meta.wikimedia.org *.wikimedia.org *.wikipedia.org *.wikinews.org *.wiktionary.org *.wikibooks.org *.wikiversity.org *.wikisource.org wikisource.org *.wikiquote.org *.wikidata.org *.wikivoyage.org *.mediawiki.org wikimedia.org <URL> <URL>".
[Report Only] Refused to connect to '<URL>' because it violates the following Content Security Policy directive: "connect-src 'self' data: blob: upload.wikimedia.org <URL> meta.wikimedia.org *.wikimedia.org *.wikipedia.org *.wikinews.org *.wiktionary.org *.wikibooks.org *.wikiversity.org *.wikisource.org wikisource.org *.wikiquote.org *.wikidata.org *.wikivoyage.org *.mediawiki.org wikimedia.org <URL> <URL>".
tab-break.png:1 Failed to load resource: the server responded with a status of 404 ()
arrow-expanded.svg:1 Failed to load resource: the server responded with a status of 404 ()
arrow-collapsed-ltr.svg:1 Failed to load resource: the server responded with a status of 404 ()
arrow-collapsed-rtl.svg:1 Failed to load resource: the server responded with a status of 404 ()
load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4 Use of "wgPageName" is deprecated. Use mw.config instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4
index.php?title=User:Writ_Keeper/Scripts/userHistory.js&action=raw&ctype=text/javascript:316 Uncaught ReferenceError: hookEvent is not defined
at index.php?title=User:Writ_Keeper/Scripts/userHistory.js&action=raw&ctype=text/javascript:316
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:517 ascendToCommentContainer reached root
ascendToCommentContainer @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:517
load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1ccob:49 Error: [onlyFirstComment] No timestamp found
at onlyFirstComment (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:606)
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:672)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:813)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1728)
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1ccob:49)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1ccob:49)
mightThrow @ load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1ccob:49
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210 Error: Error: [onlyFirstComment] No timestamp found
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1740
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1ccob:49)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1ccob:49)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:215 Content request error: "Error: [onlyFirstComment] No timestamp found"
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:217 DEBUG INFORMATION: 'User_talk:BEANS_X2/sandbox/ArchiveTest' @ 930855139 parsoid https://en.wikipedia.org/api/rest_v1/page/html/User_talk%3ABEANS_X2%2Fsandbox%2FArchiveTest/930855139
This edit using reply link decided to add the word "undefined" at the beginning of my reply, so that the beginning read as undefined**: instead of the intended **:. Not sure why it happened, but though I'd let ya know. This script is great btw, by far my fav. Captain EekEdits Ho Cap'n!⚓20:13, 29 December 2019 (UTC)[reply]
First-time use
@Enterprisey:, I used this for the first time and was unable to use it at all. Here are the logs:
Extended content
[Log] liveTextContent >>>>>@Beeblebrox: Please be aware of WP:NPA. All the best: Rich Farmbrough, 04:02, 12 January 2020 (UTC).<<<<< (index.php, line 709)
[Log] ( – null – ")" – "p i a[href^='./User:Rich_Farmbrough']" – " --> " (index.php, line 724)
Array (1)
0
<a rel="mw:WikiLink" href="./User:Rich_Farmbrough" title="User:Rich Farmbrough" id="mwA5E">Rich</a>
Array Prototype
[Log] TOP OF doReply (2) (index.php, line 1334)
["3", "Formal proposal", 7] (3)
{page: "Wikipedia:Administrators'_noticeboard/Incidents", sectionIdx: 6, sectionName: "possible violation of editing restrictions", sectionLevel: "2", nearbyMwId: "mwA4s"}
[Log] In getSectionWikitext, sectionIdx = 6, sectionName = >possible violation of editing restrictions< (index.php, line 1017)
[Log] In sigIdxToStrIdx, sigIdx = 24 (index.php, line 1122)
[Error] Error: Sanity check on sig username failed! Found Dmehus but expected Rich Farmbrough (wikitext vs DOM)
doReply — index.php:1453
(anonymous function) — index.php:1738
mightThrow — load.php:49:155
(anonymous function) — load.php:49:819
setStatusError (index.php:210)
doReply (index.php:1564)
(anonymous function) (index.php:1738)
mightThrow (load.php:49:155)
(anonymous function) (load.php:49:819)
[Log] Content request error: "Sanity check on sig username failed! Found Dmehus but expected Rich Farmbrough (wikitext vs DOM)" (index.php, line 215)
[Log] DEBUG INFORMATION: 'Wikipedia:Administrators'_noticeboard/Incidents' @ 935637318 – "parsoid" – "https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AAdministrators%27_noticeboard%2FIncidents/935637318" (index.php, line 217)
@Enterprisey: I noticed that this link does not work on subpages of Template:Did you know nominations (or probably any template-space page), even if I am using reply-link directly on the template page, as opposed to using reply-link through a transclusion. For instance, I tried to reply to a comment at Template:Did you know nominations/Q26 (New York City bus). The error message is "There was an error while replying! Please leave a note at the script's talk page with any errors in the browser console, if possible." I did not see any JS errors. epicgenius (talk) 00:32, 14 January 2020 (UTC)[reply]
Loading a "Jumping to the new content..." dialog on pages in other namespaces that I haven't edited
@Enterprisey: Since attempting to submit a reply in the DYK template mentioned in the previous section, I also had an issue with this dialog highlighting new content on pages in other namespaces, even those I haven't edited. For example, it highlighted the most recent addition in Wikipedia:WikiCup/History/2020. Purging the page did not resolve this issue.
When I input the line of code into Editing User:Zvikorn/common.js I get the following error: label 'subst' on iusc statement. Missing ";" before statement. Expected '}' to match '{' from line two and instead saw ":". Unrecoverable syntax error. (100& scanned) Would appreciate all of the help thx Idan (talk) 20:22, 16 January 2020 (UTC)[reply]
I've been trying to reply to a message (text of my reply in the collapse box below). This fails with the following in the browser console:
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210 Error: Sanity check on sig username failed! Found Robert McClenon but expected HumOutcomes (wikitext vs DOM)
at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1453)
at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1738)
at mightThrow (load.php?lang=en&modules=ext.centralNotice.choiceData|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1uo4s:54)
at process (load.php?lang=en&modules=ext.centralNotice.choiceData|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1uo4s:54)
DEBUG INFORMATION: 'Wikipedia:Teahouse' @ 937366631 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3ATeahouse/937366631
text of message
HumOutcomes, You have a fundamental misunderstandings of how Wikipedia works. Please take a look at Wikipedia:Five pillars, especially the first two points. The people (like myself) who are reviewing your article are here because we want to build an encyclopedia. You are here because you want to promote your project. When you start from the premise that Wikipedia is a tool you can use to promote something, everything goes in the wrong direction from there. The fact that some other article may exist has zero bearing on the review of your article.
I see you wrote something about your COI on your user talk page, but for all that you wrote, you still never managed to make a simple statement that explains your conflict of interest. It's really very simple. My interest in being here is to write an encyclopedia. The project's interest is also to write an encyclopedia. Thus, my interests and the project's interests are aligned. Your interest is to promote the AWSD. That's in conflict with the wikipedia project's interest. The whole point of the COI declaration is to explain how your interest in being here differs from the project's interests. I assume it is something along the lines of, "I am an employee of ...", or, "I am the founder of ...", or "I am the owner of ...", or "I have been paid by ... to write this article", or something along those lines. You'll also want to read m:Terms_of_Use/en#4. Refraining from Certain Activities, especially the section headed, Paid contributions without disclosure. -- RoySmith(talk)16:22, 24 January 2020 (UTC)[reply]
liveTextContent >>>>>RoySmith Yup, that was my problem, thanks. What about the second problem? Tacogamer20 (talk) 18:33, 2 February 2020 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:724 ( null ) dd a[href^='./User_talk:Tacogamer20'] --> Array(1)
load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=9yunh:49 Error: Failed to find a matching comment in the Parsoid DOM.
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:774)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:813)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1728)
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=9yunh:49)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=9yunh:49)
mightThrow @ load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=9yunh:49
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210 Error: Error: Failed to find a matching comment in the Parsoid DOM.
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1740
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=9yunh:49)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=9yunh:49)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:215 Content request error: "Error: Failed to find a matching comment in the Parsoid DOM."
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:217 DEBUG INFORMATION: 'User_talk:RoySmith' @ 938843412 parsoid
https://en.wikipedia.org/api/rest_v1/page/html/User_talk%3ARoySmith/938843412
First and foremost, I added this to User:Amaury/common.js, and it's not working. I don't see any reply to links. What am I missing?
Past that, I just have a couple of customization questions:
These days I like to add a space after my indention for better organization. So instead of ::This is my reply I'll have :: This is my reply Is it possible to customize this script to do that? I notice that it doesn't and does the first example.
Next, my understanding is that this script only replies to the most latest response at the bottom of that section and indents it accordingly? So if the person you're responding to has three indentation points, it will automatically do four indentation points for your reply? Is that correct or am I wrong?
There are plenty of cases where the last message isn't the one you need to reply to and it's the one that's further up wherever. So is it possible to reply to somebody mid-section and have it indent accordingly? Like if I wanted to respond to DisneyMetalHead here using your script, it would theoretically place my comment directly below their comment with one indentation point, since their OP does not have any indentation. Or would it place my comment at the very bottom, but still use one indentation point? Thanks in advance! Amaury • 17:43, 27 February 2020 (UTC)[reply]
Hey, this is a really useful tool, thanks for making it.
I have a small suggestion. Right now replies look like this:
Joe90, here's my reply
I think this would be improved if the comma were replaced with a colon, like this:
Joe90: here's my reply
The difference is that a colon more clearly indicates "this reply is addressed to you" in a neutral way, like a forum. With the comma, the inclusion of the username might be interpreted as a sort of rhetorical effect, possibly to negative effect, like you're saying "Joe90, for the last time..." or "Joe90, listen..."
This is subtle but I think it makes a difference. The colon makes it clearer that including the username is a sort of functional thing instead of something the user has chosen to include to stress a point.
Yeah, I like the suggestion. Either way works; I chose the comma because it fits the way I personally use the script more. I'd be happy to switch to a colon if people generally preferred that, although I'm not sure how I'd measure that. Maybe I should send out another edition of the reply-link newsletter once I've accumulated a few more of these straw polls to do. Enterprisey (talk!) 08:37, 30 November 2020 (UTC)[reply]
How often does it work?
I was updating Wikipedia:Talk pages project today (semi-secret testing link), and I'm curious how often reply-link fails (i.e., just can't post). Two editors here and one at WT:TEA estimate fairly large failure rates (33% to 50%). I think all of them are involved in the Teahouse, and I'm assuming this is an unusual experience. Does anyone feel like they can predict when it will fail (e.g., on large pages)?
Whatamidoing (WMF), 33-50% failure rate seems about right to me as well. I have a vague impression that it fails more on large pages? When it does fail, it always gives me an error message and an opportunity to send the message manually.
It seems like it'd be fairly simple to extend the error reporting code to automatically (with user consent, of course) leave a report at some talk page, which may help us get better data on failures. Gaelan💬✏️20:10, 16 April 2020 (UTC)[reply]
Yeah, that's a pretty good idea and I've been thinking about that for a while. Haven't really had the motivation, but I totally ought to. Enterprisey (talk!) 20:16, 16 April 2020 (UTC)[reply]
Generally, pages with other talk pages transcluded at the top are more dicey, as are pages that are "wrapped" in a template (for style). Parsoid sometimes "gives up" on such pages (by blobbing together a ton of templates and markup into one <section>), and it's sort of difficult to make sense of that. However, there is substantial room for improvement from the current codebase even given that restriction - I just haven't had the time lately to do some deep dives into the code. I hope to return to it Soon™. Apologies for all the inconvenience caused by failed replies. Enterprisey (talk!) 20:19, 16 April 2020 (UTC)[reply]
I just made a decently large change to how the script handles templates, which should reduce the failure rates quite a bit, by the way. Enterprisey (talk!) 08:57, 25 April 2020 (UTC)[reply]
Reflinks: Loading messages from cache @ 1584952537576 index.php:62:12
Promoting reFill 2 index.php:180:12
liveTextContent >>>>>English Wikipedia has a disproportionately high number of Americans among its community of editors, with the inevitable biases of that cohort. HiLo48 (talk) 23:31, 19 March 2020 (UTC)<<<<< index.php:710:17
( null ) dd a[href^='./User_talk:HiLo48'] -->
Array(12) [ a#mwAWs, a#mwAXw, a#mwAZU, a#mwAac, a#mwCd0, a#mwCe0, a#mwD6o, a#mwD_E, a#mwD_o, a#mwEAI
, … ]
index.php:725:17
TOP OF doReply
Array(3) [ "2", "this article is not neutral, but just a support for the USA's thesis of accuse", 53 ]
Object { page: "Talk:Julian_Assange", sectionIdx: 49, sectionName: "this article is not neutral, but just a support for the USA's thesis of accuse", sectionLevel: "2", nearbyMwId: "mwGBc" }
In getSectionWikitext, sectionIdx = 49, sectionName = >this article is not neutral, but just a support for the USA's thesis of accuse< index.php:1018:17
Error: "Sanity check on header name failed! Found "Request for help to the Queen", expected "this article is not neutral, but just a support for the USA's thesis of accuse" (wikitext vs DOM)"
getSectionWikitext https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1084
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1420
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1743
jQuery 2
index.php:211:17
setStatusError https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:211
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1569
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1743
jQuery 2
Content request error: "Sanity check on header name failed! Found \"Request for help to the Queen\", expected \"this article is not neutral, but just a support for the USA's thesis of accuse\" (wikitext vs DOM)" index.php:216:21
DEBUG INFORMATION: 'Talk:Julian_Assange' @ 947096810 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Talk%3AJulian_Assange/947096810
liveTextContent >>>>>Thank you, Sal at PV (talk) 16:12, 24 March 2020 (UTC)<<<<< index.php:710:17
( null ) dd a[href^='./User_talk:Sal_at_PV'] -->
Array [ a#mwASc, a#mwAUo
]
index.php:725:17
TOP OF doReply
Array(3) [ "2", "Paragraph on \"massive voter registration drives\"", 10 ]
Object { page: "Talk:Project_Veritas", sectionIdx: 9, sectionName: "Paragraph on \"massive voter registration drives\"", sectionLevel: "2", nearbyMwId: "mwAUg" }
index.php:1339:17
In getSectionWikitext, sectionIdx = 9, sectionName = >Paragraph on "massive voter registration drives"< index.php:1018:17
Error: "Sanity check on header name failed! Found "David Wright (journalist)", expected "Paragraph on "massive voter registration drives"" (wikitext vs DOM)"
getSectionWikitext https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1084
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1420
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1743
jQuery 2
index.php:211:17
setStatusError https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:211
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1569
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1743
jQuery 2
Content request error: "Sanity check on header name failed! Found \"David Wright (journalist)\", expected \"Paragraph on \"massive voter registration drives\"\" (wikitext vs DOM)" index.php:216:21
DEBUG INFORMATION: 'Talk:Project_Veritas' @ 947150539 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Talk%3AProject_Veritas/947150539
Another:
Reflinks: Loading messages from cache @ 1585211872114 index.php:62:12
Promoting reFill 2 index.php:180:12
liveTextContent >>>>>It seems like it would be a good idea to think about why you think you had this sudden change in behavior after years of gnomish work, but I have no desire to have you post it here; I just think you'd find it a useful exercise. Finally, while this is not a requirement for an unblock, could you please get rid of the at the beginning of your signature? Since almost everyone else puts their sig at the end of their paragraph, it makes it marginally more difficult to figure out who typed yours, when the sig is on a different line. There's a decent chance that's in the sig policy, but I have no desire to look it up, and I'm not asking because it's A Rule, but because it would be helpful. Anyway, let me know if you'll agree to these 3 additional conditions. --Floquenbeam (talk) 01:57, 26 March 2020 (UTC)<<<<< index.php:710:17
( null ) dd a[href^='./User_talk:Floquenbeam'] -->
Array [ a#mwrA, a#mwAWc
]
index.php:725:17
TOP OF doReply
Array(3) [ "2", "New unblock request", 4 ]
Object { page: "User_talk:StrangeloveFan101", sectionIdx: 4, sectionName: "New unblock request", sectionLevel: "2", nearbyMwId: "mwAWM" }
index.php:1339:17
In getSectionWikitext, sectionIdx = 4, sectionName = >New unblock request< index.php:1018:17
In sigIdxToStrIdx, sigIdx = 4 index.php:1123:17
[sigIdxToStrIdx] out of matches index.php:1187:25
I'm getting a presumably userscript-caused error that says "Uncaught reference error, addPortletlink is not defined." Around the same time, I had added userscripts, and reply link started failing. I suspect this is not a coincidence. --I dream of horses(talk)(contribs)Remember to {{ping}} me after replying off my talk page06:44, 18 April 2020 (UTC)[reply]
Reply Link AutoIndentation and PingPreload
I've been trying to get this to work. Making it the only code in my common.js and then here is what I want. Autoindentation = always, pingpreload = button. Without those, this userscript is not for me. I've cleared my cache, nope. I don't want a button telling me to indent or not. I don't want to remove the pingpreload if I don't need it. HELP! {{replyto}} Can I Log In's(talk) page19:46, 19 April 2020 (UTC)[reply]
Can I Log In, I thought about that, but I wasn't sure if de-selecting the checkbox should make the ping go away. What if they typed in a ping manually, or had a ping typed in to another person? Also, what if either of those two situations happened and then the checkbox was selected? So instead of dealing with these problems I just made a button. Enterprisey (talk!) 22:40, 25 April 2020 (UTC)[reply]
Errors on my talk page
The script doesn't work and this is a list of errors from the console:
A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144 JQMIGRATE: Migrate is installed with logging active, version 3.1.0
VM184:149 DNT is on, logging disabled
(anonymous) @ VM184:149
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:62 Reflinks: Loading messages from cache @ 1587262644577
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:180 Promoting reFill 2
VM184:503 This page is using the deprecated ResourceLoader module "jquery.tipsy".
mw.loader.implement.css @ VM184:503
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155 This page is using the deprecated ResourceLoader module "jquery.ui".
Please use OOUI instead.
mw.loader.implement.css @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144 JQMIGRATE: jQuery.fn.delegate() is deprecated
migrateWarn @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144
VM540:6 This page is using the deprecated ResourceLoader module "mediawiki.notify".
This dependency is no longer needed, mw.notify() is available by default.
(anonymous) @ VM540:6
5Unchecked runtime.lastError: The message port closed before a response was received.
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:518 ascendToCommentContainer reached root
ascendToCommentContainer @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:518
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 Error: [onlyFirstComment] No timestamp found
at onlyFirstComment (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:607)
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:673)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:814)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1733)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:211 Error: Error: [onlyFirstComment] No timestamp found
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1745
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
Hmm, I still get the " There was an error while replying! Please leave a note at the script's talk page with any errors in the browser console, if possible." This is the relevant part (I think) from the error console:
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:528 ascendToCommentContainer reached root
ascendToCommentContainer @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:528
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 Error: [onlyFirstComment] No timestamp found
at onlyFirstComment (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:617)
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:688)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:829)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1783)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:213 Error: Error: [onlyFirstComment] No timestamp found
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1796
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:213
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:218 Content request error: "Error: [onlyFirstComment] No timestamp found"
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:220 DEBUG INFORMATION: 'User_talk:Piotrus' @ 953442306 parsoid https://en.wikipedia.org/api/rest_v1/page/html/User_talk%3APiotrus/953442306
User_talk:Piotrus:1 Unchecked runtime.lastError: The message port closed before a response was received.
... but the script still runs on old revisions of pages. It then updates the latest revision of the page (if the comment is still there). >>BEANS X2t09:01, 27 April 2020 (UTC)[reply]
Doesn't should add colons to material inside syntaxhighlight
When entering text wrapped in <syntaxhighlight>, the lines inside the box shouldn't get the same indentation marker (example). ~ Amory(u • t • c)20:42, 3 May 2020 (UTC)[reply]
Is there any chance of customizing how many tildes the signature should be? I use a three tilde signature as I have the datestamp included within my sig. If not could fork and change the var LITERAL_SIGNATURE = "~~" + "~~"; line to use three instead of four (I think?). nableezy - 19:31, 16 May 2020 (UTC)[reply]
Error report 2020-05-23
While trying to post this reply to Galendalia I got an error message. Here's a big copy-paste from console:
Console output
findSection( Wikipedia:Requested_templates , ...) index.php:878:17
liveTextContent >>>>>You are awesome and fast! Thanks Andrybak! Can documentation be created on the template page to match other templates? Galendalia (talk) 16:21, 23 May 2020 (UTC)<<<<< index.php:781:17
( null ) dd a[href^='./User_talk:Galendalia'] -->
Array [ a#mwARA
]
index.php:796:17
tsclnId === null index.php:956:21
findSectionResult
Object { page: "Wikipedia:Requested_templates", sectionName: "Template:Infobox French constituency", sectionDupeIdx: 0, sectionLevel: "2", nearbyMwId: "mwAQ4" }
index.php:1843:33
TOP OF doReply
Array(3) [ "2", "Template:Infobox French constituency", 12 ]
Object { page: "Wikipedia:Requested_templates", sectionName: "Template:Infobox French constituency", sectionDupeIdx: 0, sectionLevel: "2", nearbyMwId: "mwAQ4" }
index.php:1445:17
in doReply, header =
Array(3) [ "2", "Template:Infobox French constituency", 0 ]
index.php:1505:21
In getSectionWikitext, sectionName = >Template:Infobox French constituency< (wikitext.length = 15698) index.php:1119:17
In sigIdxToStrIdx, sigIdx = 2 index.php:1229:17
[sigIdxToStrIdx] out of matches index.php:1293:25
sigIdxToStrIdx https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1293
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1530
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1850
jQuery 2
Negative strIdx (signature not found in wikitext) index.php:255:17
setStatusError https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:255
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1675
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1850
jQuery 2
mightThrow
process
DEBUG INFORMATION: 'Wikipedia:Requested_templates' @ 958404330 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3ARequested_templates/958404330
My guess is that it has something to do with <sub><small>'''TeaHouse Host'''</small></sub> at the end of the signature. While the input textarea was open, the TeaHouse Host was separated from the message and moved down under the "Automatically indent?" checkbox. —andrybak (talk) 16:36, 23 May 2020 (UTC)[reply]
It's me again :)
Good news is the script works, except when I try to reply to one of my students, User:Chunyoungryun(2016014102). Maybe there is something weird with his signature? At my talk page (perm diff) on Sunday I couldn't even reply to his post (the script wouldn't load; it worked fine for other sections). And in today's message from him I got again the error 'please post console stuff here'. So... --Piotr Konieczny aka Prokonsul Piotrus| reply here01:22, 26 May 2020 (UTC)[reply]
10A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144 JQMIGRATE: Migrate is installed with logging active, version 3.1.0
VM115:142 DNT is on, logging disabled
(anonymous) @ VM115:142
VM115:509 This page is using the deprecated ResourceLoader module "jquery.tipsy".
mw.loader.implement.css @ VM115:509
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155 This page is using the deprecated ResourceLoader module "jquery.ui".
Please use OOUI instead.
mw.loader.implement.css @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144 JQMIGRATE: jQuery.fn.delegate() is deprecated
migrateWarn @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:62 Reflinks: Loading messages from cache @ 1590199559324
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:180 Promoting reFill 2
VM135:6 This page is using the deprecated ResourceLoader module "mediawiki.notify".
This dependency is no longer needed, mw.notify() is available by default.
(anonymous) @ VM135:6
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:878 findSection( User_talk:Piotrus , ...)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:781 liveTextContent >>>>>Hello professor.
Yesterday, I omitted to review it with my colleague.
This is the link. https://en.wikipedia.org/wiki/User_talk:Juhee_Cha/Part-time_jobs_of_South_Korea
Thank you.
Chunyoungryun(2016014102) (talk)Chunyoungryun(2016014102) (talk) 16:33, 25 May 2020 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:796 ( 1 ) p a[href^='./User_talk:Chunyoungryun(2016014102)'] --> Array(3)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:834 0 ">>>Chunyoungryun(2016014102) (talk) —Preceding undated comment added 14:26, 24 May 2020 (UTC)<<<"
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:834 1 ">>>Hello professor.
Yesterday, I omitted to review it with my colleague.
This is the link. https://en.wikipedia.org/wiki/User_talk:Juhee_Cha/Part-time_jobs_of_South_Korea
Thank you.
Chunyoungryun(2016014102) (talk)Chunyoungryun(2016014102) (talk) 16:33, 25 May 2020 (UTC)<<<"
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:878 findSection( User:Piotrus/Talkheader , ...)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:781 liveTextContent >>>>>Hello professor.
Yesterday, I omitted to review it with my colleague.
This is the link. https://en.wikipedia.org/wiki/User_talk:Juhee_Cha/Part-time_jobs_of_South_Korea
Thank you.
Chunyoungryun(2016014102) (talk)Chunyoungryun(2016014102) (talk) 16:33, 25 May 2020 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:796 ( 1 ) p a[href^='./User_talk:Chunyoungryun(2016014102)'] --> Array(0)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:846 Failed to find a matching comment in the Parsoid DOM.
getCorrCmt @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:846
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 Error: pageNames.length !== results2.length: 1 0
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1040
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1852
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
I created a similar script that allows for the adding of new sections from the same page, but it only runs on talk pages that are editable. Enterprisey can the following line of code be added to the very top of the script? It detects whether the page is a talk page or forum:
if(document.getElementById("ca-addsection")&&mw.config.get("wgAction")=="view"){//run the script}
On Portuguese Wikipedia, we have two "village pump"s where each topic is create in a new page (example), and the script would useful there, even if the comments are in namespace Project instead of a talk page. However, currently the script shows the error "No main content element found; exiting." in the console for pages like that (probably because they don't have/need sections?). Helder11:14, 7 June 2020 (UTC)[reply]
Noting here that I filed a pull request at [2] to fix a compatibility issue with my new-to-enwiki markAdmins script (it adds <b class='adminMark'> elements in a way that trips up reply-link). Cc: @1989. Cheers, --Mdaniels5757 (talk) 18:16, 30 May 2020 (UTC)[reply]
JQMIGRATE: Migrate is installed with logging active, version 3.1.0
VM1070:153 DNT is on, logging disabled
(anonymous) @ VM1070:153
VM1070:520 This page is using the deprecated ResourceLoader module "jquery.tipsy".
mw.loader.implement.css @ VM1070:520
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155 This page is using the deprecated ResourceLoader module "jquery.ui".
Please use OOUI instead.
mw.loader.implement.css @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144 JQMIGRATE: jQuery.fn.delegate() is deprecated
migrateWarn @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:62 Reflinks: Loading messages from cache @ 1590758085200
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:180 Promoting reFill 2
VM1089:6 This page is using the deprecated ResourceLoader module "mediawiki.notify".
This dependency is no longer needed, mw.notify() is available by default.
(anonymous) @ VM1089:6
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:878 findSection( User_talk:Piotrus , ...)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:781 liveTextContent >>>>>Hello Piotrus! Just wanted to get some feedback, if that's fine with you. Niënor Níniel has now been redirected. Were you still unconvinced about the notability after my my changes? (Volumewise they surely exceed the 2-3 sentences you mentioned, but maybe it was a content thing?) Or was it just bad timing that the deletion discussion was closed premature for a final decision? Or...? I was going to add something from the two border-line reliable sources next, and had one more point from "Tolkien Sidelined" which I could not figure out how to present, but well, that's not going to happen then. Thanks for letting me know! Daranios (talk) 09:25, 31 May 2020 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:796 ( null ) p a[href^='./User_talk:Daranios'] --> Array(1)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:878 findSection( User:Piotrus/Talkheader , ...)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:781 liveTextContent >>>>>Hello Piotrus! Just wanted to get some feedback, if that's fine with you. Niënor Níniel has now been redirected. Were you still unconvinced about the notability after my my changes? (Volumewise they surely exceed the 2-3 sentences you mentioned, but maybe it was a content thing?) Or was it just bad timing that the deletion discussion was closed premature for a final decision? Or...? I was going to add something from the two border-line reliable sources next, and had one more point from "Tolkien Sidelined" which I could not figure out how to present, but well, that's not going to happen then. Thanks for letting me know! Daranios (talk) 09:25, 31 May 2020 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:796 ( null ) p a[href^='./User_talk:Daranios'] --> Array(0)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:846 Failed to find a matching comment in the Parsoid DOM.
getCorrCmt @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:846
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:878 findSection( Wikipedia:Wikipedia_Signpost/2020-05-31 , ...)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:781 liveTextContent >>>>>Hello Piotrus! Just wanted to get some feedback, if that's fine with you. Niënor Níniel has now been redirected. Were you still unconvinced about the notability after my my changes? (Volumewise they surely exceed the 2-3 sentences you mentioned, but maybe it was a content thing?) Or was it just bad timing that the deletion discussion was closed premature for a final decision? Or...? I was going to add something from the two border-line reliable sources next, and had one more point from "Tolkien Sidelined" which I could not figure out how to present, but well, that's not going to happen then. Thanks for letting me know! Daranios (talk) 09:25, 31 May 2020 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:796 ( null ) p a[href^='./User_talk:Daranios'] --> Array(0)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:846 Failed to find a matching comment in the Parsoid DOM.
getCorrCmt @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:846
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1843 findSectionResult Object
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1445 TOP OF doReply Array(3) Object
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1505 in doReply, header = Array(3)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1119 In getSectionWikitext, sectionName = >Niënor Níniel< (wikitext.length = 13223)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1229 In sigIdxToStrIdx, sigIdx = 0
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1293 [sigIdxToStrIdx] out of matches
sigIdxToStrIdx @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1293
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:255 Negative strIdx (signature not found in wikitext)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:255
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:260 DEBUG INFORMATION: 'User_talk:Piotrus' @ 960079610 parsoid https://en.wikipedia.org/api/rest_v1/page/html/User_talk%3APiotrus/960079610
Script error in certain pages, primarily Teahouse
I've had this problem for months now but finally decided to get off my butt and ask about this issue. On pages like the Teahouse, using reply-link results in an error that prevents my reply from going through. Some users suggested it has to do with page size. I'm seeing two errors in my browser console that may be relevant:
Failed to find a matching comment in the Parsoid DOM.
getCorrCmt @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:846
and
Error: TypeError: Cannot read property 'page' of undefined
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1852
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
findSection(利用者‐会話:Can_I_Log_In,...)index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:781liveTextContent>>>>>nonsenseCanILogIn(会話)2020年6月23日(火)01:49(UTC)<<<<<index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:796(null)pa[href^='./利用者‐会話:Can_I_Log_In']-->Array(1)index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:956tsclnId===nullfindSection@index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:956index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1843findSectionResultObjectindex.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1445TOPOFdoReplyArray(3)Objectindex.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1505indoReply,header=Array(3)index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1119IngetSectionWikitext,sectionName=>Willrevertlater<(wikitext.length=138)index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1229InsigIdxToStrIdx,sigIdx=0index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:255Error:Error!Idon't know the native date format used by the server '//ja.wikipedia.org'!atsigIdxToStrIdx(index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1261)atdoReply(index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1530)atArray.<anonymous>(index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1850)atmightThrow(load.php?lang=en&modules=jquery|mediawiki.action.view.postEdit|mediawiki.notification%2CvisibleTimeout&skin=vector&version=1ccxh:49)atprocess(load.php?lang=en&modules=jquery|mediawiki.action.view.postEdit|mediawiki.notification%2CvisibleTimeout&skin=vector&version=1ccxh:49)setStatusError@index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:255index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:258Contentrequesterror:"Error! I don't know the native date format used by the server '//ja.wikipedia.org'!"index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:260DEBUGINFORMATION:'利用者‐会話:Can_I_Log_In'@78137972parsoidhttps://ja.wikipedia.org/api/rest_v1/page/html/%E5%88%A9%E7%94%A8%E8%80%85%E2%80%90%E4%BC%9A%E8%A9%B1%3ACan_I_Log_In/78137972DevToolsfailedtoloadSourceMap:Couldnotloadcontentforchrome-extension://enfolipbjmnmleonhhebhalojdpcpdoo/THSSRContent.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEMEVM100:142POSThttps://ja.wikipedia.org/beacon/event?%7B%22event%22%3A%7B%22mediaWikiVersion%22%3A%221.35.0-wmf.37%22%2C%22saveTiming%22%3A1162%7D%2C%22schema%22%3A%22SaveTiming%22%2C%22webHost%22%3A%22ja.wikipedia.org%22%2C%22wiki%22%3A%22jawiki%22%2C%22revision%22%3A15396492%7D; net::ERR_BLOCKED_BY_CLIENT
However, it will work on other wikis. You can import the following line to your global.js.
I have tried both Chrome and FF; to no avail. I am trying to post a reply on any page and I get the following: "There was an error while replying! Please leave a note at the script's talk page with any errors in the browser console, if possible." There seem to be a lot of issues in my console and I am not a programmer so I am not sure what to look for. Thanks, Galendalia Talk to meCVU Graduate17:41, 5 June 2020 (UTC)[reply]
Mixed Content: The page at 'https://en.wikipedia.org/wiki/User_talk:Sandstein' was loaded over HTTPS, but requested an insecure stylesheet 'http://en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=User:Lupin/navpopdev.css'. This request has been blocked; the content must be served over HTTPS.
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144 JQMIGRATE: Migrate is installed with logging active, version 3.1.0
VM91:462 This page is using the deprecated ResourceLoader module "jquery.tipsy".
mw.loader.implement.css @ VM91:462
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155 This page is using the deprecated ResourceLoader module "jquery.ui".
Please use OOUI instead.
mw.loader.implement.css @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144 JQMIGRATE: jQuery.fn.delegate() is deprecated
migrateWarn @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144
9A cookie associated with a cross-site resource at <URL> was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <URL> and <URL>.
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:62 Reflinks: Loading messages from cache @ 1591201874160
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:180 Promoting reFill 2
load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4 Use of "addOnloadHook" is deprecated. Use jQuery instead.
maybeLog @ load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4
/w/index.php?title=User:Smith609/toolbox.js&action=raw&ctype=text/javascript:2 You installed the userscript User:Smith609/toolbox.js
It is no longer working and you should uninstall it.
(anonymous) @ /w/index.php?title=User:Smith609/toolbox.js&action=raw&ctype=text/javascript:2
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:878 findSection( User_talk:Sandstein , ...)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:781 liveTextContent >>>>>Charmk (talk) 03:35, 6 June 2020 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:796 ( null ) dd a[href^='./User_talk:Charmk'] --> Array(5)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:849 Found multiple matching comments in the Parsoid DOM.
getCorrCmt @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:849
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1843 findSectionResult undefined
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:51 jQuery.Deferred exception: Cannot read property 'page' of undefined TypeError: Cannot read property 'page' of undefined
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1852
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
Reply plonked at the end rather than in the right place
Hello, me again! Another bug report - sorry :)
Take a look at this diff, which I used reply-link to create. After ticking the outdent option and replying, the comment ended up at the bottom of the current discussion section, rather than underneath the comment I was actually replying to. You can see I later moved it to the right place.
I see; reply-link should consider indentation characters (colons, in this case) to "count" as indentation as it figures out where to put the comment. That shouldn't be too difficult to add in. Thanks for the bug report! Enterprisey (talk!) 22:39, 9 June 2020 (UTC)[reply]
Really? Just 1 wiki? We really have to make a request for use on another wiki everytime? Oh dear. There's another request for jawiki.
It seems like you have to rubber stamp every request for cross-wiki support. There are 765 wikis (I'm pretty sure from looking at a random steward's CA), and oh dear that is a lot of lines of javascript, even when you only count large wikis. {{reply to|Can I Log In}}'s talk page! 04:22, 28 June 2020 (UTC)[reply]
There's definitely a much, much smarter way to deal with every wiki's date format at once. I can't seem to find it, though. For now, the current method works fine for some wikis, but it'll probably be much harder with CJK and non-Latin scripts. I really ought to ask the foundation one day... I recall reading the DiscussionTools source code and coming across their solution, but it was a bit too irritating to port over at the time. I'll probably have to get around to it at some point, though. Enterprisey (talk!) 04:48, 28 June 2020 (UTC)[reply]
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:709)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:899)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1853)
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=xlfy5:49)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=xlfy5:49)
Browser - Chrome Version 81.0.4044.138 (Official Build)
Sadly, the script doesn't work that well with unsigned/undated/etc templates at the moment, but I do hope to get around to fixing it for those soon. Enterprisey (talk!) 02:14, 1 July 2020 (UTC)[reply]
@Enterprisey and Psiĥedelisto: I am guessing it does not work on pages that are not formally talk pages, for example DYK pages are formally templates, and FAC pages (such as this) are formally Wikipedia pages. Can the scope be extended to cover all non mainspace pages? This feature will come in handy for those long FAC discussions :) HaEr48 (talk) 02:26, 23 July 2020 (UTC)[reply]
BEGINS
{{u|Vsp.manu}}, {{accepted}} I saw your request. I disagree with the prior reviewer, which is absolutely fine. I chose to submit for re-review on your behalf.
Reviewers are human beings with different opinions. That is quite reasonable. Our role as reviewers is to seek to ensure that an article will not immediately be subject to one of our deletion processes when it is accepted. That is why we push it back to the author. We want to accept articles. I decided to accept yours.
ENDS
Failure stated as
BEGINS
There was an error while replying! Please leave a note at the script's talk page with any errors in the browser console, if possible.
ENDS
I've gotten a few bug reports on reply-link's incompatibility with unclutter over the past year or so. I'm working on it right now, and I can remember now why it took so long: it requires quite a bit more effort than the average reply-link change. Don't worry, though, I'll get it real soon now (TM). Enterprisey (talk!) 05:06, 4 August 2020 (UTC)[reply]
Enterprisey On AfDs, it would be great if this script would automatically wikilink WP abbreviations. That is, if I write WP:GNG, the script should turn it into [[WP:GNG]].
That's a pretty cool idea. Might put it in as an option, along with the long-awaited autocomplete for usernames earlier in a thread. The PR is good, although I'd rather fix the issue with working with transclusions rather than turn off the script on those pages. Actually, I'll leave a comment for the author now to that effect. Enterprisey (talk!) 16:48, 14 September 2020 (UTC)[reply]
They're independent in the sense that different people are working on them, although I think they could've gotten the idea in the first place from reply-link. They went with substantially different algorithms for everything, though, I think. Fun fact, I was on a video call with the team working on it at one point to talk about the script. Enterprisey (talk!) 16:45, 14 September 2020 (UTC)[reply]
Script having trouble in threads with posts signed by a SieBot
Berrely, I imagine the script copied all the content from the diff. Weird part is, I thought I made the script stop showing up on diff or oldid pages. Which page was it that still had the reply links? Enterprisey (talk!) 16:38, 14 September 2020 (UTC)[reply]
It says that "There was an error while replying! Please leave a note at the script's talk page with any errors in the browser console, if possible." What do I do now? ─ The Aafī (talk) 15:47, 14 September 2020 (UTC)[reply]
liveTextContent >>>>>@Dreamy Jazz:
yes we made mistake and i apologise for that and i was understand all rules and if you want to delete both account you can do it but unblock my ip address block.<<<<< index.php:835:17
( null ) p small a[href^='./Special:Contributions/Dhrumil1111'] -->
Array [ a#mw3A
]
index.php:855:17
Failed to find a matching comment in the Parsoid DOM. index.php:905:21
corrLink === null index.php:946:21
findSectionResult undefined index.php:1903:33
jQuery.Deferred exception: findSectionResult is undefined
startReply/revObjPromise<@https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1904:25
mightThrow@https://en.wikipedia.org/w/load.php?lang=en-gb&modules=ext.centralNotice.bannerHistoryLogger%2CchoiceData%2Cdisplay%2CgeoIP%2CimpressionDiet%2CkvStore%2CstartUp%7Cext.centralauth.ForeignApi%7Cext.centralauth.centralautologin.clearcookie%7Cext.cx.entrypoints.contributionsmenu%7Cext.cx.eventlogging.campaigns%7Cext.cx.widgets.callout%7Cext.echo.api%2Cinit%7Cext.eventLogging%2CnavigationTiming%2Cpopups%2CwikimediaEvents%7Cext.uls.common%2Ccompactlinks%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.wikiLove.init%2Cstartup%7Cjquery%2Coojs%2Coojs-router%2Coojs-ui-core%2Csite%7Cjquery.chosen%2Cclient%2Ccookie%2CmakeCollapsible%2Cspinner%2CtextSelection%2Cui%7Cjquery.spinner.styles%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cstorage%2Ctoc%2Cuser%2Cutil%7Cm…
undefined load.php:321:970
Error: TypeError: findSectionResult is undefined
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1912
index.php:269:17
Content request error: "TypeError: findSectionResult is undefined" index.php:272:21
Hi. Reply link has consistently failed for me, every time I try to use it, on every page I try to use it on. Is the problem my signature, perhaps? When I opened the Javascript console, it says:
Details
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:905 Failed to find a matching comment in the Parsoid DOM.
getCorrCmt @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:905
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:946 corrLink === null
findSection @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:946
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1903 findSectionResult undefined
load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1spou:51 jQuery.Deferred exception: Cannot read property 'page' of undefined TypeError: Cannot read property 'page' of undefined
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1912
at mightThrow (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1spou:49)
at process (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1spou:49)
I have 50+ students (new editors) leaving me often badly formatted messages, plus various bots and so on editing my talk page. And sadly, the reply-link works maybe 25% of the time. Today I am replying to 40 students and it doesn't work at all, I guess some random edit somewhere must have broken something on the entire page that messes the script. Could be SineBot, I also use Template:Xsign among others. Console output below. --Piotr Konieczny aka Prokonsul Piotrus| reply here05:18, 5 October 2020 (UTC)[reply]
JQMIGRATE: Migrate is installed with logging active, version 3.1.0
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:67 Reflinks: Loading messages from cache @ 1601708188873
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:185 Promoting reFill 2
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155 This page is using the deprecated ResourceLoader module "jquery.ui".
Please use OOUI instead.
mw.loader.implement.css @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144 JQMIGRATE: jQuery.fn.delegate() is deprecated
migrateWarn @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:937 findSection( User_talk:Piotrus , ...)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:835 liveTextContent >>>>>Thank you, and hope you have a great weekend. --Keebs100<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:855 ( null ) p small a[href^='./Special:Contributions/Keebs100'] --> Array(1)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:905 Failed to find a matching comment in the Parsoid DOM.
getCorrCmt @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:905
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:946 corrLink === null
findSection @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:946
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1903 findSectionResult undefined
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:51 jQuery.Deferred exception: Cannot read property 'page' of undefined TypeError: Cannot read property 'page' of undefined
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1912
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
The Features section says Automatically pings the user who wrote the comment to which you're replying (can be turned off)
However, the edit summary is not changed when the ping is turned off. This is a problem since it can mean you see an edit summary such as
"Replying to CapnZapp (using reply-link)"
making you go "but I didn't get a notification? Did I miss something?"
In this case the script user (Trialpears) isn't actually replying to me. He's just posting a discussion contribution that happens to be just below mine. He's not addressing me specifically in any way, and I did not get a ping.
Suggestion: change the edit summary text when the ping is turned off.
Note how this avoids implying that the post was directed to any specific user, and also avoids making us editors wonder "where did the notification go?" CapnZapp (talk) 12:42, 9 October 2020 (UTC)[reply]
Emir of Wikipedia and CapnZapp, great bug report and good observation. I still would like it to say "Replying to X" when it's actually replying, though. Would either of you have ideas for detecting that? Should I have a checkbox or other element in the user interface for switching between the two, or would that be tedious? I guess I could just not be as attached to "replying to X", but I feel like it's sort of useful for scanning histories. Enterprisey (talk!) 08:43, 30 November 2020 (UTC)[reply]
A checkbox could be a good way of doing it. I do think it can be useful for scanning histories, but only if it actually a reply. Otherwise it can be more confusing that helpful. Emir of Wikipedia (talk) 21:17, 30 November 2020 (UTC)[reply]
Tried replying directly to a WP:CFD proposal (yes I'm sure I have it right this time) and got "an error while replying!". I was trying to make this edit and it would not let me. Judging from the error I got in my Firefox browser's console, ProveIt was the source of the conflict, even though as you can see on my talk page I was able to run the script there multiple times in a row no problem. Zeke, the Mad Horrorist(Speak quickly)(Follow my trail)03:45, 19 October 2020 (UTC)[reply]
ITN nominations place the author's rationale inside a template, so when I reply using reply-link the reply gets put inside the template instead of at the bottom of the section (diff). NixinovaTC02:17, 27 October 2020 (UTC)[reply]
JQMIGRATE:Migrateisinstalledwithloggingactive,version3.1.0load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155ThispageisusingthedeprecatedResourceLoadermodule"jquery.ui".PleaseuseOOUIinstead.mw.loader.implement.css@load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144JQMIGRATE:jQuery.fn.delegate()isdeprecatedmigrateWarn@load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4Useof"wgPageName"isdeprecated.Usemw.configinstead.maybeLog@load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector:4index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:67Reflinks:Loadingmessagesfromcache@1604308514290index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:185PromotingreFill2index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:937findSection(Wikipedia:Administrators'_noticeboard , ...)index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:835liveTextContent>>>>>Closethis-it's clear that nothing productive will come from keeping this open any longer. Reyk YO! 00:42, 3 November 2020 (UTC)<<<<<index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:855(null)lisuba[href^='./User_talk:Reyk']-->Array(4)index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1016tsclnId===nullfindSection@index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1016index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1903findSectionResultObjectindex.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1505TOPOFdoReplyArray(3)Objectindex.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1565indoReply,header=Array(3)index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1179IngetSectionWikitext,sectionName=>ProposalforAdamant1<(wikitext.length=437868)index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1289InsigIdxToStrIdx,sigIdx=78index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:269Error:Sanitycheckonsigusernamefailed!FoundAdamant1butexpectedReyk(wikitextvsDOM)atdoReply(index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1624)atArray.<anonymous>(index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1910)atmightThrow(load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)atprocess(load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)setStatusError@index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:269index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:272Contentrequesterror:"Sanity check on sig username failed! Found Adamant1 but expected Reyk (wikitext vs DOM)"index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:274DEBUGINFORMATION:'Wikipedia:Administrators'_noticeboard' @ 986841741 parsoid https://en.wikipedia.org/api/rest_v1/page/html/Wikipedia%3AAdministrators%27_noticeboard/986841741
@Enterprisey: I don't know if this helps, but the underlying HTML is
<li><b>Close this</b>- it's clear that nothing productive will come from keeping this open any longer. <ahref="/wiki/User:Reyk"title="User:Reyk"><bstyle="color: Maroon;">Reyk</b></a><sub><ahref="/wiki/User_talk:Reyk"title="User talk:Reyk"><bstyle="color: Blue;">YO!</b></a></sub><spanclass="before-localcomments"></span><spanclass="localcomments"timestamp="1604364122044"title="00:42, 3 November 2020 (UTC)"style="font-size: 95%; white-space: nowrap;">12:42 am, Today (UTC+0)</span><spanclass="reply-link-wrapper"> (<ahref="#"id="reply-link-395"data-original-label="reply">reply</a>)</span><spanclass="after-localcomments"></span></li>
What is significant here is that other posts have <a href="User talk:Example" title="User talk:Example">Example</a> as a direct child of the node containing the post. However, this one doesn't as it is at one level deeper inside a <sub> node because of the signature. I would speculate the code trying to identify the poster needs to recursively search child nodes instead of assuming it exists at the top level. Ritchie333(talk)(cont)10:17, 3 November 2020 (UTC)[reply]
Fixed! Took long enough. My regular expression for signatures was accepting newlines inside the signature, so it combined the final wikilink in the table in the collapsed section and the subsequent Andrew D signature to make an extra signature. Enterprisey (talk!) 09:54, 19 January 2021 (UTC)[reply]
Bug report: answer added above selected post
To generate this diff, I've clicked on Headbomb's message, which was posted on 18:20, 8 November 2020 (UTC). However, the response was added above their message, instead of below. I have fixed the placement of my post. Please note that the script has chosen a correct indentation in my first diff. Headbomb's message of 18:20, 8 November 2020 (UTC) has a single colon, and my message has two colons. —andrybak (talk) 22:21, 8 November 2020 (UTC)[reply]
I see all the bug reports piling up, and while I don't have the time to get to them as quickly as I'd like, I do have some good news. I'm working on an update that removes Parsoid and just looks at "edit" links in the section headers to figure out what section a comment is in (the way that section-watchlist does it). That should resolve all of the "Failed to find a matching comment in the Parsoid DOM" errors, and will also handle edit conflicts much better (I'm thinking an additional notice, like "Someone else has edited this page in the meantime, press Save again to save anyway"). Next up after that is the troubling instances of replies going in the wrong location. Thank you all for using reply-link and being great about reporting bugs. (And yeah, I'm following Extension:DiscussionTools as well - looks awesome so far.) Enterprisey (talk!) 09:43, 19 November 2020 (UTC)[reply]
Very often, if there is some unexpected formatting in an AFD or other discussion, my comment will fail to be added to the bottom. For example, in this edit my comment was added just below the first comment because the person after that did not use an asterisk indent, so I had to manually move it to the end of the page after it saved. I would suggest that any comment using the "reply to AfD" at the top rather than a regular "reply" button should automatically go to the end of the page rather than looking for certain formatting to precede. Thank you for the program! Reywas92Talk19:05, 26 November 2020 (UTC)[reply]
escapeForRegex appears to work the same as mw.util.escapeRegExp, might be worth using that instead
[nitpick] unlike the other functions, setStatus has a space before the opening (
[nitpick] unlike the other string concatenation I saw, in setStatusError the DEBUG INFORMATION line is missing spaces before and after the plus signs
you have a number of places where you use $.getJSON to the api - why not use mw.Api?
Since everything is wrapped in a nowiki, in doReply there is no need to split up "{" + "{od|"
In doReply, if the api call fails, you have setStatus( "While replying, the edit failed." ); - it might be useful to convert the result variable into a user-facing error via the getErrorMessage in mw.Api - see [6]
In handleWrapperClick, you manually check if messages are loaded, and either proceed immediately or load them first - the loadMessagesIfMissing method in mw.Api might be useful, see [7]
In a number of places, most notably within handleWrapperClick, you manually write HTML - can I ask why not use jQuery? It should always be loaded - [8]
Thanks; I generally believe in having good code style, but some of this code was written quite some time ago or in a hurry. I'll certainly make those changes. Using mw.Api would also allow me to set a user agent, which is probably a good idea. I didn't use jQuery probably out of some misguided notion of performance; jQuery would of course be light-years more maintainable. Enterprisey (talk!) 08:23, 27 November 2020 (UTC)[reply]
Problems
Thanks for your work, which I have seen referenced by others! I already had the script installer, installed, I think. I attempted to follow your instructions for "Reply Link" and I thought it worked, because I can see it at the bottom of my common.js page, as follows: importScript('User:Enterprisey/reply-link.js'); //Linkback: User:Enterprisey/reply-link.js Added by Script installer.
However, when I went to an article talkpage, Nicholas Galanin and opened a conversation to edit, (edit source) I don't see anything different. According to your description, I think I should see something "different" after another editor's signature. But, perhaps this only works on big discussion pages, like ANI, and not on article talkpages. If so, perhaps the differences should be made clear?!?
I am not sure what you mean, when you say: "When you use this script, please verify that no other comments have been touched and your reply has been added properly." What do you mean by "no other comments have been touched"?
Glad it's working! In the future, you may need to follow the instructions at Wikipedia:Bypass your cache (although I'm not sure how they'll apply to an iPad); it looks like it took about an hour for your cache to be automatically cleared. I should probably add a screenshot of the script working to the documentation.As for the warning, that means this script may occasionally add your comment in the wrong place in the talk page. So, you probably want to check, after replying, that your new comment went in the right place, and that it didn't go in the middle of someone else's comment, for example (which is one case of "touching/modifying someone else's comment"). Enterprisey (talk!) 09:16, 1 December 2020 (UTC)[reply]
Script error
Error: Timestamp assert failed! HTML had '18:21, 14 December 2020' but wikitext had '04:06, 27 November 2020'
at doReply (index.php?title=User…ext/javascript:1272)
at Array.<anonymous> (index.php?title=User…ext/javascript:1632)
at mightThrow (load.php?lang=en&mod…or&version=11ak3:49)
at process (load.php?lang=en&mod…or&version=11ak3:49)
Enterprisey, I'm getting this now pretty much all the time (including to this). I also use comments in local time, on modern, and it's clear from the offsets it's a UTC->timezone issue (for example, HTML had '05:47, 25 January 2021' but wikitext had '01:19, 17 December 2020' on this post). doReply@1293, startReply@1651. ~ Amory(u • t • c)13:15, 4 February 2021 (UTC)[reply]
Another error :>
From the console:
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:279 Error: Timestamp assert failed! HTML had '18:00, 15 December 2020' but wikitext had '11:14, 14 December 2020'
at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1272)
at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1632)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at getTimestampGivenAuthorLink (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:448)
at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1267)
at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1632)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
Uncaught Sanity check on header name failed! Found "Semi-protection of {{Q|Q936394}}", expected "Semi-protection of Pornhub (Q936394)" (wikitext vs DOM)
I am seeing the following errors while using the script on Chrome for MAC. I did try bypassing the cache, it did not help.
JQMIGRATE: Migrate is installed with logging active, version 3.1.0
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155 This page is using the deprecated ResourceLoader module "jquery.ui".
Please use OOUI instead.
mw.loader.implement.css @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144 JQMIGRATE: jQuery.fn.delegate() is deprecated
migrateWarn @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:144
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:979 [sigIdxToStrIdx] out of matches, matchIdx was 1 sigIdx was 1
sigIdxToStrIdx @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:979
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:279 Negative strIdx (signature not found in wikitext)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:279
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:284 DEBUG INFORMATION: 'User_talk:LeoFrank' @ 1000228451
The edit summary reads Replying to AfD nomination by every time someone makes a reply to anyone in an AFD, making it look like the person they are replying to was the nominator. You can look at this guy's contributions: Special:Contributions/Piotrus and just search for "Replying to AfD nomination by" to see how many times it appears, he the one nominating these articles, not the people he is responding to. DreamFocus10:47, 25 January 2021 (UTC)[reply]
Error while replying
Don't know what happened, tried to reply the text {{re|Elizium23}} Hi there, thanks for letting us know! We'll add this as soon as possible. on WT:RW, logs:
[sigIdxToStrIdx] out of matches, matchIdx was 1 sigIdx was 1 index.php:984:25
sigIdxToStrIdx https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:984
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1245
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1651
jQuery 2
Null sigEndStrIdx (signature not found in wikitext) index.php:279:17
setStatusError https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:279
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1419
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1651
jQuery 2
DEBUG INFORMATION: 'Wikipedia_talk:RedWarn' @ 1004953652 ―sportzpikachumy talkcontribs06:41, 5 February 2021 (UTC)[reply]
at findSectionInPageWikitext (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:844)
at index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:901
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49)
Ritchie333, Hey Ritchie did you ever find out what was causing this problem? I'm starting to have this exact issue now when I try to use reply-link at the AfC help desk. Ironically I'm using reply-link here so I wonder what the issue might be. Curbon7 (talk) 17:39, 28 June 2021 (UTC)[reply]
Don't mention the user when responding on their talk page
This is a pretty neat gadget. I hope it'll eventually become a gadget that can be enabled through preferences. Anyway, I have a minor request: when responding on the talk page of a user (like User talk:Example) to that user, the default intro of "{{U|Example}}, " should be either omitted or not linked imho. There's no need to ping a user on their own talk page. It's a minor nitpick, I know. Keep up the good work! — Alexis Jazz (talk or ping me) 12:32, 22 April 2021 (UTC)[reply]
They probably reinvented the wheel, but it looks similar. It has a live preview and can switch between visual and source editing. It also overrides reply-link if you have that enabled as well. I'll give it a a try. — Alexis Jazz (talk or ping me) 10:18, 29 April 2021 (UTC)[reply]
Guess they reinvented the wheel and mostly made it worse. Live preview tends to be distracting (for me anyway, others may like it), the button to publish the reply is all the way over to the right, the input box if full width (which makes editing more difficult), VE is the plague anyways, whoever you reply to doesn't get pinged automatically and the name of whoever you reply to doesn't get included in the edit summary. On the other hand, there is the option to customize edit summaries. That could be hacked into reply-link easily though if it's really needed. — Alexis Jazz (talk or ping me) 17:32, 29 April 2021 (UTC)[reply]
I quite like the live preview, so I can check real time what my wikicode will render to (and quite often I use it to generate links I want to quickly go to). The other ideas I hadn't thought about, but, yeah, it'd be great to ping addressees by default. In fact, why WP still uses wiki pages for discussion forums when bulletin boards have been around for decades is beyond me. — 𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚☎02:38, 2 June 2021 (UTC)[reply]
See this. In the past, I could reply to multiple comments without reloading the page in between (or so I seem to remember). But now the second reply removed the first? Regards SoWhy09:02, 30 April 2021 (UTC)[reply]
Sig username assert failed!
Error: "Sig username assert failed! Found Sawol but expected 162 etc. (wikitext vs DOM)"
doReply https://en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/reply-link.js&action=raw&ctype=text/javascript:1283
startReply https://en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/reply-link.js&action=raw&ctype=text/javascript:1653
Error: "Sig username assert failed! Found Alexis Jazz but expected 162 etc. (wikitext vs DOM)"
doReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1282
startReply https://en.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1651
Presumably the username that is found is different because I inserted my reply manually since the last attempt. — Alexis Jazz (talk or ping me) 18:25, 16 May 2021 (UTC)[reply]
Hello. I've been making use of this script for a little while now, and I noticed that when it is used to reply to an XfD discussion, it uses the summary "replying to XfD nomination by", which in my mind implies that the user being replied to is the nominator, which isn't always the case. I was wondering if perhaps it could be changed so that it reads something along the lines of "nomination/comment" or just "comment"? (Or anything better, I'm hitting a block thinking of alternatives right now). The part to change would be the string on line 1343: (rplyToXfdNom?xfdType+" nomination by ":"")+ Either way, thanks for this script, it's very useful. A S U K I T E 16:29, 14 July 2021 (UTC)[reply]
Thinking of deprecating this script in favor of DiscussionTools
I've been using mw:DiscussionTools recently and it's very good - better than reply-link, I'd argue. So it doesn't seem to me like continuing to develop reply-link is a good use of time. If there's anything in reply-link that DiscussionTools is completely missing, or if there are any reasons you absolutely have to use reply-link instead of DiscussionTools, please let me know. Enterprisey (talk!) 22:43, 8 August 2021 (UTC)[reply]
I think it would make sense to work this way. Perhaps devote your dev skills to working on that extension? However there is a concern with various namespaces. Reply-link however would be good to keep this until feature was standard and out of beta, after then it can be deprecated. ~Gwennie🐈⦅💬📋⦆ 00:23, 9 August 2021 (UTC)[reply]
@Enterprisey I think that's a good plan; reply-link was a great effort, and you deserve thanks for doing it. On the other hand, I've been using DiscussionTools since it was first announced and I'm generally happy with it. -- RoySmith(talk)00:32, 9 August 2021 (UTC)[reply]
Yeah... I don't really see myself fixing any more bugs in it at this time, so I think it would be for the best if I officially marked it as unmaintained and told everyone to switch to DiscussionTools. Thanks for weighing in. Enterprisey (talk!) 05:31, 6 September 2021 (UTC)[reply]
Error
Trying to reply to a comment, and I get an error message after clicking Reply. Browser console (Chrome 92.0.4515.131 on Windows 10) error is as follows:
TypeError: Cannot read property 'length' of null
at getTimestampGivenAuthorLink (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:449)
at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1306)
at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1670)
at mightThrow (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1asm6:49)
at process (load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=1asm6:50)
Reply-link officially superseded by DiscussionTools
Hi! Reply-link has officially been superseded by mw:DiscussionTools, which you can install using the "Discussion tools" checkbox under Preferences → Beta features. DiscussionTools, developed by the WMF's Editing Team, is faster and has more features than reply-link, and it wouldn't make sense for me to keep developing reply-link. I think the Editing Team is doing amazing work, and look forward to what they can do in the future. Thank you for using reply-link over the years! Enterprisey (talk!) 06:11, 6 September 2021 (UTC)[reply]
Enterprisey, in my experience it's slower and it doesn't ping the recipient, but I get your point. Thanks for giving us reply-link for all these years. I'll consider actively debugging/supporting my fork. — Alexis Jazz (talk or ping me) 11:33, 6 September 2021 (UTC)[reply]
@Alexis Jazz: Discussion Tools can still ping the recipient; you just have to do it manually. Typing an @ should bring up a dropdown menu of users who have contributed in a section. —Tenryuu 🐲 ( 💬 • 📝 ) 23:24, 6 September 2021 (UTC)[reply]
Yeah, it's noticeably slower sometimes, but the Editing Team has the advantage that they can walk down the hall (well, virtually ) and talk to everyone involved with MediaWiki performance. I definitely predict it'll get faster. Enterprisey (talk!) 00:10, 7 September 2021 (UTC)[reply]
@Alexis Jazz: While change is inevitable, thank you for considering maintaining this project. I encourage you to do so; let me know if you do and I'll change over to your fork. (By the way—your user page alludes to WMF office actions against you? Are you at risk of being indef blocked?) Psiĥedelisto (talk • contribs) please alwaysping!10:05, 10 September 2021 (UTC)[reply]
Psiĥedelisto, no, the userbox is about WP:FRAMBAN, the text is unrelated to the userbox and is about my (technically recently lifted) indef block on Commons which was able to last for one and a half year because of, to borrow Vermont's words, fabricated death threats. I'll let you know if I fork reply-link. Hopefully I'll be able to fix the bug that causes replying to fail in some instances. (I suspect it's due to custom signatures from some users but I'm not sure atm) — Alexis Jazz (talk or ping me) 13:04, 10 September 2021 (UTC)[reply]
Enterprisey, I don't understand the technical aspects of this sort of thing, way, way over my head. So, if I click on "reply" the new tool Will Not ping the person I am replying to? I must copy the name "the old way"? If what Alexis Jazz says (and if I understand aright), this is a distinct disadvantage for a minor user, like me. Do I have to sign the old way too? This causes much inconvenience!! What advantages are there, with the new tool, that are helpful to a non-power user? I am so sad, your reply link has been so helpful...I edit on a tablet, so any tool that saves me from typing all of our weird/wonderful usernames, is a blessing. Why would anyone remove this useful feature? Distressed, Tribe of TigerLet's Purrfect!21:08, 6 September 2021 (UTC)[reply]
@Tribe of Tiger, you can type "@" and it will bring up a list of users (and then press the Enter key to insert a ping), so you usually won't have to type the full username, just the first letter. I also just filed a task at T290460 to see if the list can be sorted so that the user you're replying to appears at the top. More broadly, sending a ping by default should really have been decidable by the user getting the ping, not the user sending the ping. Moreover, the current testing of a feature to "subscribe" to sections means that pings will hopefully only be necessary from time to time, not on by default, which is exactly the use-case that DiscussionTools currently supports. Even more broadly, the new tool is more reliable. For a while before I switched, I would frequently encounter an error with reply-link and then switch to DiscussionTools, which would be able to reply to the same comment. Yes, change sucks, and I'm sympathetic for that reason, but this had to happen at some point. Enterprisey (talk!) 00:08, 7 September 2021 (UTC)[reply]
@Enterprisey Okay, I installed this, and the "@" worked, if I had wanted to reply to Alexis Jazz, vs you. I will read more, via the links provided under the beta feature installation. Thank you for explaining...I am down in the valley, editing in flat fields, while you and others are on the mountaintops, with the broader view of what's needed to accommodate various editors and situations! One odd thing...While I'm typing here, the box keeps jumping up and down in a jerky and disconcerting manner. Really makes my eyes hurt! It stays still when I'm not typing, but otherwise, I can't see my text, and have to scroll up between sentences to see my text. I edit on an iPad, and this didn't happen before I installed. Thanks for being kind and helpful to this old grouchy codger. You are very kind! (The jerky movement is a true problem, though.) Best wishes, Tribe of TigerLet's Purrfect!02:20, 7 September 2021 (UTC)[reply]
@Tribe of Tiger, well, that's no good! What sort of iPad are you on, and what browser are you using to edit? I can file a bug report for the developers once I know, and I also have a friend with an iPad who can test things out. Enterprisey (talk!) 04:46, 7 September 2021 (UTC)[reply]
I am using iPad 6th Generation, Software 14.7.1, browser Safari. Today, I am still experiencing the jerky jumps. The screen jumps up and down each time I press any "key", and hides parts of my text. This makes me a bit seasick.(Not exaggerating). I experimented with this reply, & have to look away, to rest my eyes & regain equilibrium. I hope this longish reply will help developers to resolve the problem! Thanks for caring, much appreciated! After this, I am going to uncheck this as a beta selection in my preferences, until the jerky problem is, hopefully, resolved. Best wishes, Tribe of TigerLet's Purrfect!22:02, 7 September 2021 (UTC)[reply]
Well, that's too bad, @Tribe of Tiger, because the last two people with a similar problem found that it was solved by disabling that gadget, and I was hoping that you'd get the easy answer.
Okay, I reloaded, and no jerky seasickness has occurred! Hooray! By replying here, am I now "subscribed"? I merely pressed "reply" under your post...so if I post on another talkpage (elsewhere on WP) will I be automatically subscribed and receive notifications? I clicked on "Advanced" under this box, and think this might be true, and if I unclick "watch this page", I can opt out of this one page. Now, I will go to my Preferences and enable this new Beta feature, yes? I think I'm a happy sailor now. Thanks for your assistance. Tribe of TigerLet's Purrfect!20:02, 9 September 2021 (UTC)[reply]
By replying here, am I now "subscribed"? I merely pressed "reply" under your post...so if I post on another talkpage (elsewhere on WP) will I be automatically subscribed and receive notifications? I clicked on "Advanced" under this box, and think this might be true, and if I unclick "watch this page", I can opt out of this one page.
@Tribe of Tiger I'm just dropping by to say: thank you for sharing the above (and to ask you a follow up question below). You doing so was the insight that is causing us to realize we need to decide how – if at all – the Watch this page checkbox (or something like it) ought to relate to/control topic subscriptions. This is Phabricator task where we will be thinking this through.
A resulting question for you: would it be accurate for us to think that you intuitively expected unchecking the Watch this page checkbox to mean that you would opted out of receiving notifications about new comments in the conversations you were posted a reply within? PPelberg (WMF) (talk) 06:23, 10 September 2021 (UTC)[reply]
PPelberg (WMF) Honestly, that was my first thought. A bit later, it occurred to me that this would effect my watchlist. Someone might want to Watch a page, but not receive notifications. Based on that one experience, I don't know know if I am subscribed automatically, when I make a TP comment. Automatic subscription reminds me of the way YouTube seems to work? WP is more complex, as we may merely want to watch a page, or both watch and receive notifications. My thought/suggestion would be to leave "watch page" as is, by pressing the little star, which we are all accustomed to doing. Then something else, that makes it clear that we are subscribed or "opting out". I would prefer auto subscribed with an opt out option. My apologies if I am misunderstanding your question, etc. Obviously, you want this to work for the lowest (technological)common denominator of editors, like me! I really like some portions of this concept and thank everyone who is working on it! Best, Tribe of TigerLet's Purrfect!19:43, 10 September 2021 (UTC)[reply]
@Tribe of Tiger: thank you for following up with this additional context. It is helping to clarify, what I'm sensing is, the emerging tension between the Watch this page checkbox, Watchlists, and Topic Subscriptions.
With the above can in mind, can you please let me know if any of the "Conclusions" I've documented below do not align with your experience?
Although, before getting into those "Conclusions" I wanted to follow up with the comment you made about automatically being subscribed: ...something...that makes it clear that we are subscribed or "opting out". I would prefer auto subscribed with an opt out option.
We agree with you in thinking it is important for people to be made explicitly aware when they've automatically been subscribed to a conversation.
In fact, we are designing what this experience will look like at this moment. You can find more information about this in phab:T262103. Note: we would value hearing what you, and others here, think about this experience when we have a prototype ready for you to try in the next couple of weeks.
Conclusions
1. The way the Reply Tool and Topic Subscriptions are currently designed led me (@Tribe of Tiger) to wonder what the Watch this page checkbox controls (e.g. Just the Watchlist? Just Topic Subscriptions? Both?).
2. It is reasonable to assume there will be groups of people who would like to do a minimum of one of these three things after replying in a conversation and/or starting a new conversation: A) Add the talk page to their Watchlist, B) Subscribe to the particular conversation they are starting or commenting in, or C) Adding the talk page to their Watchlist and Subscribing to the particular conversation they are starting or commenting in. PPelberg (WMF) (talk) 20:10, 14 September 2021 (UTC)[reply]
Whatamidoing (WMF) After the above msg, I restored the gadget in Preferences. Then posted a msg on a user's talkpage, and had the same jerky experience. Why was it okay here, and not there? (Rhetoric question) Sorry to trouble you, but thought you should know. Best, Tribe of TigerLet's Purrfect!21:25, 9 September 2021 (UTC)[reply]
@Tribe of Tiger hmm... as my friend with an iPad and I were testing, it looks a little bit like reply-link was causing another visual bug (not jumping, flashing of the preview, but hey...). Could you try disabling or uninstalling reply-link from your common.js page and seeing if that removes the jumping? Enterprisey (talk!) 05:24, 10 September 2021 (UTC)[reply]
I had you testing on this page in mw:safemode. The results tell us where the problem is, but not what it is. It's somewhere in User:Tribe of Tiger/common.js or some other user script (including gadgets that are listed in Special:Preferences). If you click the link to the "safemode" page, it has some suggestions on how to figure out which script has the problem. Enterprisey's guess about the reply-link script is a good place to start, though, since both of them touch the same part of the page. Whatamidoing (WMF) (talk) 14:54, 10 September 2021 (UTC)[reply]
Ok, it just now showed a triple reply link at the end of a comment in this section: User_talk:Huggums537#Userbox_user_categories, but I have to note that when it does a double or triple link, it appears to borrow the previous users comment (as opposed to borrowing directly from your own previous comment) to add the extra links. This is verified by both the facts that the previous users comment lacks a reply link and the double reply links are addressed to different users in the reply box when you click on the reply links. Huggums537 (talk) 22:00, 13 September 2021 (UTC)[reply]
More forcibly retire?
@Enterprisey: with this no longer being maintained what do you think about forcibly retiring? (e.g. start with a popup warning perhaps - then blank it out except for the popup). — xaosfluxTalk14:33, 10 January 2024 (UTC)[reply]
How about something like this for the popup?
constscriptLink=document.createElement('a');scriptLink.href='https://en.wikipedia.org/wiki/User:Enterprisey/reply-link';scriptLink.innerText="User:Enterprisey/reply-link";constmessage=document.createElement('span');message.append("Script ");message.append(scriptLink);message.append(" is not maintained and shouldn't be used.");mw.notify(message,{title:"User:Enterprisey/reply-link"});