User talk:Enterprisey/reply-link
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! |
For tips on reporting bugs, see WP:Reporting JavaScript errors. |
Navigation: difference between standard and dev versions |
Index
|
||
Feature | Date requested |
---|---|
Also take over the interface for adding a new section to a talk page | 11 Sept 2018 |
Option to wrap entire comment in tag (like <small>) | 31 Oct 2018 |
Reply to a talk page message directly from the notifications menu | 28 Nov 2018 |
Check for newer replies, and offer to reload first | 17 Jan 2019 |
Signpost comments | 31 Jan 2019 |
Markdown | 7 Oct 2019 |
Clicking on another reply link for another comment loses the current in-progress comment | 18 Oct 2019 |
Can't handle {{subst:spa}} after a comment | 27 Apr 2020 |
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
[edit]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. — MusikAnimal talk 05:55, 6 September 2018 (UTC)
- Second this, would appreciate it as well! ~ Amory (u • t • c) 10:30, 6 September 2018 (UTC)
- 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)
- Done. Enterprisey (talk!) 06:52, 19 October 2018 (UTC)
- 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! - Also, as with regular previewing, previewing with the script should I think also preview the edit summary along with the reply Galobtter (pingó mió) 07:09, 19 October 2018 (UTC)
- 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)
- 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)
- Done. Enterprisey (talk!) 10:14, 19 October 2018 (UTC)
- Did you remove the custom edit summary option again because it does not appear anymore for me? Regards SoWhy 08:58, 2 November 2018 (UTC)
- SoWhy, is this still broken? Enterprisey (talk!) 04:44, 30 January 2019 (UTC)
- Yes, all I have is "Reply", "Preview", "Ping" and "Cancel". Regards SoWhy 07:58, 30 January 2019 (UTC)
- 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)- That explains it. Thanks for the info! Regards SoWhy 12:15, 3 February 2019 (UTC)
- 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
- Yes, all I have is "Reply", "Preview", "Ping" and "Cancel". Regards SoWhy 07:58, 30 January 2019 (UTC)
- SoWhy, is this still broken? Enterprisey (talk!) 04:44, 30 January 2019 (UTC)
- Did you remove the custom edit summary option again because it does not appear anymore for me? Regards SoWhy 08:58, 2 November 2018 (UTC)
- Done. Enterprisey (talk!) 10:14, 19 October 2018 (UTC)
- Enterprisey, would it be possible to add an option to make it only show on a button click/
Something broken on AN
[edit]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)
Thanks! zchrykng (talk) 13:19, 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)
- Should be fixed, by the way. Enterprisey (talk!) 04:40, 30 January 2019 (UTC)
- The root cause was fixed, for posterity. Enterprisey (talk!) 23:36, 24 February 2019 (UTC)
- Great, let me know if there is anyway I can help. zchrykng (talk) 04:25, 26 October 2018 (UTC)
- 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)
A new insanity
[edit]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)
- Yeah; I would like that fixed too...... ∯WBGconverse 12:57, 31 January 2019 (UTC)
Console log
|
---|
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
[edit]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)
- Added to the queue at the top. Enterprisey (talk!) 21:29, 6 January 2019 (UTC)
- DannyS712, is this still an issue? I went back and checked and it doesn't seem to be causing a conflict on my end. Might be just me, of course. Enterprisey (talk!) 07:56, 18 January 2019 (UTC)
- @Enterprisey: I haven't turned it back on (yet), but I'll test it when I get the chance --DannyS712 (talk) 07:57, 18 January 2019 (UTC)
Yet Another™ bug report
[edit]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)
Mz7 (talk) 06:18, 6 January 2019 (UTC)
- 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)
- The hatted issue has now been fixed, and it looks like that edit can now be made as well. Enterprisey (talk!) 00:02, 10 January 2019 (UTC)
- 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)- Just tried it again without the tildes in the box, and got the same error. Levivich? ! 17:41, 25 January 2019 (UTC)
- Should be fixed now. Enterprisey (talk!) 18:16, 25 January 2019 (UTC)
- Enterprisey, Sorry to bother but I got this issue as well a few minutes ago. LucasA04 (talk) 03:42, 22 April 2020 (UTC)
- Enterprisey, And it now seems to have started working. LucasA04 (talk) 03:43, 22 April 2020 (UTC)
- Enterprisey, Nope, for some odd reason it's just not working on wiki teahouse talk page. LucasA04 (talk) 04:02, 22 April 2020 (UTC)
- Enterprisey,
- Works for me at the moment with the latest update; please let me know if it's still broken. Enterprisey (talk!) 08:47, 25 April 2020 (UTC)
- Should be fixed now. Enterprisey (talk!) 18:16, 25 January 2019 (UTC)
- Just tried it again without the tildes in the box, and got the same error. Levivich? ! 17:41, 25 January 2019 (UTC)
- Enterprisey, FYI I encountered this error just now:
- The hatted issue has now been fixed, and it looks like that edit can now be made as well. Enterprisey (talk!) 00:02, 10 January 2019 (UTC)
Comments in local time (redux)
[edit]Getting
Error messages
|
---|
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)
- Should be solved; see next section. Enterprisey (talk!) 07:08, 17 January 2019 (UTC)
No matching comment in Parsoid DOM
[edit]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)
Thanks! — MusikAnimal talk 06:01, 16 January 2019 (UTC)
- MusikAnimal, Are you using comments in local time? See #Comments in local time (redux) - I'm getting the same error with all replies. Galobtter (pingó mió) 08:33, 16 January 2019 (UTC)
- @Galobtter: I'm getting the same error, and I don't use local time comments --DannyS712 (talk) 16:11, 16 January 2019 (UTC)
- You must have something else messing things up; the script works for me when I disable that gadget. Galobtter (pingó mió) 16:16, 16 January 2019 (UTC)
- 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 hundreds 17:24, 16 January 2019 (UTC)
- @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! — MusikAnimal talk 18:49, 16 January 2019 (UTC)
- 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)
- @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! — MusikAnimal talk 18:49, 16 January 2019 (UTC)
- 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 hundreds 17:24, 16 January 2019 (UTC)
- You must have something else messing things up; the script works for me when I disable that gadget. Galobtter (pingó mió) 16:16, 16 January 2019 (UTC)
- @Galobtter: I'm getting the same error, and I don't use local time comments --DannyS712 (talk) 16:11, 16 January 2019 (UTC)
Getting same error --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 19:43, 16 January 2019 (UTC)
JS Console log
|
---|
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 process @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 process @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 done @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:126 (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:129 load (async) send @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:130 ajax @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:125 jQuery.ajax @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:144 jQuery.(anonymous function) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:127 startReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1594 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) setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:188 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1608 mightThrow @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:48 process @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 deferred.(anonymous function) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:50 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 process @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:49 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:47 done @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:126 (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:129 load (async) send @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:130 ajax @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:125 jQuery.ajax @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:144 jQuery.(anonymous function) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=00rdyep:127 startReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1594 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:193 |
- Investigating... Enterprisey (talk!) 06:58, 17 January 2019 (UTC)
- Alright, should be fixed, everyone: MusikAnimal, Galobtter, Flooded with them hundreds. And to Flooded & DannyS712, if my latest update doesn't fix things, see JSERROR for instructions on pasting browser logs in here. I'm hoping to put together a new logging solution soonish, but that should work in the meantime. Enterprisey (talk!) 07:10, 17 January 2019 (UTC)
- Extra pings: Tyw7 and DannyS712. Enterprisey (talk!) 07:10, 17 January 2019 (UTC)
- @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)
- 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)
- Enterprisey, test 123 --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 12:58, 17 January 2019 (UTC)
- @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)
- Let's see if this works.... Galobtter (pingó mió) 07:11, 17 January 2019 (UTC)
- Wooooooooo! Galobtter (pingó mió) 07:12, 17 January 2019 (UTC)
- Yay! Thanks Enterprisey :) — MusikAnimal talk 19:02, 17 January 2019 (UTC)
- Wooooooooo! Galobtter (pingó mió) 07:12, 17 January 2019 (UTC)
- It's working! -- Flooded with them hundreds 08:27, 17 January 2019 (UTC)
- Flooded with them hundreds,test --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 12:58, 17 January 2019 (UTC)
- It's not working again.-- Flooded. Treated like dirt by many admins since 2016 (sig inspired by Hullaballoo) (talk) 13:04, 18 January 2019 (UTC)
- Flooded with them hundreds,test --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 12:58, 17 January 2019 (UTC)
- Extra pings: Tyw7 and DannyS712. Enterprisey (talk!) 07:10, 17 January 2019 (UTC)
- Alright, should be fixed, everyone: MusikAnimal, Galobtter, Flooded with them hundreds. And to Flooded & DannyS712, if my latest update doesn't fix things, see JSERROR for instructions on pasting browser logs in here. I'm hoping to put together a new logging solution soonish, but that should work in the meantime. Enterprisey (talk!) 07:10, 17 January 2019 (UTC)
Extended content
|
---|
load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is: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:727) at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:764) at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1599) at mightThrow (load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:48) at process (load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:49) mightThrow @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:48 process @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:49 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:45 fireWith @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:45 fireWith @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 process @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:49 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:45 fireWith @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:45 fireWith @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 done @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:126 (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:129 load (async) send @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:130 ajax @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:125 jQuery.ajax @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:144 jQuery.(anonymous function) @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:127 startReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1597 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:1611 at mightThrow (load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:48) at process (load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:49) setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:182 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1611 mightThrow @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:48 process @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:49 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:45 fireWith @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:45 fireWith @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 deferred.(anonymous function) @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:50 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:45 fireWith @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 process @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:49 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:45 fireWith @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 fire @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:45 fireWith @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:47 done @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:126 (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:129 load (async) send @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:130 ajax @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:125 jQuery.ajax @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:144 jQuery.(anonymous function) @ load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core&skin=vector&version=1v054is:127 startReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1597 |
@Enterprisey: I am experiencing this issue as well, and the latest changes didn't effect me. -- 1989 (talk) 03:55, 18 January 2019 (UTC)
- 1989, is it broken even after you have the "unclutter" gadget turned off? I haven't gotten around to making it work with that yet, sorry. Enterprisey (talk!) 07:57, 18 January 2019 (UTC)
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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:729:19 findSection@https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:766:24 startReply/findSectionResultPromise<@https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1601:40 mightThrow@https://wiki.riteme.site/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://wiki.riteme.site/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://wiki.riteme.site/w/load.php:221:848 resolve/</process< https://wiki.riteme.site/w/load.php:222:516 Error: Error: Failed to find a matching comment in the Parsoid DOM. Stack trace: startReply/<@https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1613:54 mightThrow@https://wiki.riteme.site/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://wiki.riteme.site/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://wiki.riteme.site/w/index.php:183:9 startReply/< https://wiki.riteme.site/w/index.php:1613:39 mightThrow https://wiki.riteme.site/w/load.php:221:848 resolve/</process< https://wiki.riteme.site/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 SoWhy 18:12, 23 January 2019 (UTC)
- SoWhy, over a year later, looks like it's working on your talk page again. Would it be possible to check again and see if I finally managed to fix it? Enterprisey (talk!) 08:48, 25 April 2020 (UTC)
- @Enterprisey: I think the problem was an open div that I wanted to use to create a container around the talk page. Once I disabled that, it worked again. You can see it still failing on talk pages of people who use a container like that (e.g. User talk:MusikAnimal). Regards SoWhy 11:10, 25 April 2020 (UTC)
- 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)
- Ahhh. That seems to have been it. Yes, seems to work now. Great job! Regards SoWhy 19:56, 25 April 2020 (UTC)
- 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)
- @Enterprisey: I think the problem was an open div that I wanted to use to create a container around the talk page. Once I disabled that, it worked again. You can see it still failing on talk pages of people who use a container like that (e.g. User talk:MusikAnimal). Regards SoWhy 11:10, 25 April 2020 (UTC)
Bug at TfD
[edit]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)
- Oh yeah, the same thing happened to me at EF/FP but I forgot to report it. Galobtter (pingó mió) 15:00, 23 January 2019 (UTC)
- Should be fixed now. Silly bug on my part. Enterprisey (talk!) 22:42, 24 January 2019 (UTC)
Reply-link doesn't walk on my talk page
[edit]As subject. I don't see the "reply" option on threads on my talk page. Any idea what breaks it? --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 21:28, 24 January 2019 (UTC)
- Fixed - the user used a level-1 header for some reason. Enterprisey (talk!) 22:09, 24 January 2019 (UTC)
- Enterprisey, ah right. So in theory it should work on other threads? --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 22:36, 24 January 2019 (UTC)
- Yeah, it should work. Enterprisey (talk!) 22:38, 24 January 2019 (UTC)
- Enterprisey, ah right. So in theory it should work on other threads? --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 22:36, 24 January 2019 (UTC)
Error when replying at AN
[edit]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)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:183
I get the above when trying to reply to https://wiki.riteme.site/wiki/Wikipedia:Administrators%27_noticeboard#Bot_proposal:_automatically_protect_high-risk_templates_and_modules SQLQuery me! 23:59, 24 January 2019 (UTC)
- 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 :) — MusikAnimal talk 01:13, 25 January 2019 (UTC)
- Currently investigating. Something funky is going on in the "RfC: Bannination" section. Enterprisey (talk!) 01:42, 25 January 2019 (UTC)
- Should be fixed. Enterprisey (talk!) 23:28, 28 January 2019 (UTC)
- Enterprisey, Thank you! SQLQuery me! 23:40, 28 January 2019 (UTC)
- Should be fixed. Enterprisey (talk!) 23:28, 28 January 2019 (UTC)
Feature request: Integrate ResponseHelper functionality
[edit]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 SoWhy 08:17, 25 January 2019 (UTC)
- User:Amorymeltzer/scripts#qrfpp.js allows you do about that for RFPP requests though I agree integration of reply-link with responseHelper would be nice. Hopefully Wikipedia:Requests for adminship/Enterprisey 2 does mean more "cool tools for admins" as Natureium put it :) Galobtter (pingó mió) 09:53, 25 January 2019 (UTC)
- You pinged me to tell me that my fear is coming true? Not very nice... Natureium (talk) 14:26, 25 January 2019 (UTC)
- 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 SoWhy 10:14, 25 January 2019 (UTC)
- 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. — MusikAnimal talk 17:00, 25 January 2019 (UTC)
- Heh, I'm fine with that too. It might really be easier that way. Regards SoWhy 18:23, 25 January 2019 (UTC)
- +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)
- 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)
- 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. — MusikAnimal talk 17:00, 25 January 2019 (UTC)
Error when replying at talk page
[edit]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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:748:19 findSection https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:785:24 findSectionResultPromise https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1675:40 mightThrow https://wiki.riteme.site/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://wiki.riteme.site/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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1687:54 mightThrow https://wiki.riteme.site/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://wiki.riteme.site/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://wiki.riteme.site/api/rest_v1/page/html/Talk%3AFlorine_Stettheimer/880604037 |
Thanks, Vexations (talk) 14:42, 28 January 2019 (UTC)
- Quick note: works for me at the moment. Enterprisey (talk!) 08:49, 25 April 2020 (UTC)
The reply-link newsletter, issue 1
[edit]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)
Teahouse
[edit]I keep getting an error using reply-link on WP:Teahouse RhinosF1(chat)(status)(contribs) 18:17, 30 January 2019 (UTC)
- Just worked here RhinosF1(chat)(status)(contribs) 18:17, 30 January 2019 (UTC)
- By that, I mean it works everywhere else RhinosF1(chat)(status)(contribs) 19:44, 30 January 2019 (UTC)
- Looks fine to me, except in the first section where it's having some issues with the diacritics in a username. Will look into a fix. Enterprisey (talk!) 09:24, 1 February 2019 (UTC)
- By that, I mean it works everywhere else RhinosF1(chat)(status)(contribs) 19:44, 30 January 2019 (UTC)
Got error when trying to reply at Wikipedia_talk:Criteria_for_speedy_deletion#G7
[edit]/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)
This was the edit I was trying to make https://wiki.riteme.site/w/index.php?title=Wikipedia_talk%3ACriteria_for_speedy_deletion&type=revision&diff=881632176&oldid=881632147 --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 20:44, 3 February 2019 (UTC)
Translated reply link to portuguese
[edit]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' );
Thanks! Bageense (talk) 12:14, 4 February 2019 (UTC)
- @Enterprisey: This was fixed locally at ptwiki, but I've submitted a pull request to incorporate Bageense's changes to your script. Best regards, Helder 17:41, 5 May 2020 (UTC)
Sanity check error
[edit]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! Levivich 15:49, 8 February 2019 (UTC)
Breaking in mobile interface
[edit]When visiting https://en.m.wikipedia.org/w/index.php?title=User:Enterprisey/reply-link.js I get a client side error in my developer console. It is making some invalid assumptions about the HTML structure of the mobile site.
Please stop this from running on mobile or update the code to check for this! Thanks in advance!
- Thank you for reporting this issue! Jdlrobson, which errors appear in the console? Enterprisey (talk!) 23:38, 22 February 2019 (UTC)
IT seems to be hitting the error console.error( currHeaderEl ); Couldn't parse a header element! when headerName == null
Apologies the link I shared was wrong. I'm seeing it consistently on mobile talk pages. Jdlrobson (talk) 03:03, 26 February 2019 (UTC)
$ in text
[edit]Hi. When I used reply link, I got this edit and had to manually correct it so that I got the intended edit. Any ideas? --DannyS712 (talk) 20:12, 24 February 2019 (UTC)
- That is very, very weird. I probably did something funny with regexes somewhere. Will investigate. Enterprisey (talk!) 23:25, 24 February 2019 (UTC)
Bullet off-target
[edit]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! Leviv ich 06:37, 28 February 2019 (UTC)
Does not work at User talk:MusikAnimal
[edit]reply-link doesn't seem to ever work on my talk page. Elsewhere it has been fairly reliable as of late (thank you!). I see this error:
Content request error: "Error: [onlyFirstComment] No timestamp found" index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:209 DEBUG INFORMATION: 'User_talk:MusikAnimal' @ 886031037 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3AMusikAnimal/886031037
The first message on my talk is {{TAFI weekly selection notice}}. This has a timestamp, but it's not at the end of the message as it would normally be from humans. Maybe that's the culprit? Thanks for all you do, — MusikAnimal talk 21:48, 3 March 2019 (UTC)
Watchlist?
[edit]I always add a page to a watchlist when I comment—would it be possible to add an option to do that? Gaelan 💬✏️ 05:02, 4 March 2019 (UTC)
It's not working at all anywhere
[edit]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)
- 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)
- Chris M. (talk) 15:26, 7 March 2019 (UTC)
- At least that didn't require a code change :) Enterprisey (talk!) 20:23, 8 March 2019 (UTC)
Still experiencing Parsoid DOM errors
[edit]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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:750:19 findSection@https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:787:24 startReply/findSectionResultPromise<@https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1678:40 mightThrow@https://wiki.riteme.site/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://wiki.riteme.site/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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1690:54 mightThrow@https://wiki.riteme.site/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://wiki.riteme.site/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://wiki.riteme.site/api/rest_v1/page/html/User_talk%3ASoWhy/887191656" index.php:209:9 |
Regards SoWhy 08:12, 11 March 2019 (UTC)
- I removed the open div-box around my talk page, suspecting it might interfere with the script and now got this error:
- Regards SoWhy 08:17, 11 March 2019 (UTC)
- Hmmm...the last attempt worked. Maybe it really was the div-box? Regards SoWhy 16:30, 11 March 2019 (UTC)
- 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)
- Hmmm...the last attempt worked. Maybe it really was the div-box? Regards SoWhy 16:30, 11 March 2019 (UTC)
Tell user that signature appended automatically
[edit]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 💬 theythem 23:12, 13 March 2019 (UTC)
Doesn't work on my talk page (console errors included)
[edit]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
~ Tom.Reding (talk ⋅dgaf) 23:27, 14 March 2019 (UTC)
Not working on my talk page (Errors included)
[edit]liveTextContent >>>>>Peter coxhead (talk) 16:04, 15 March 2019 (UTC)<<<<< index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:700 ( null ) p a[href^='./User_talk:Peter_coxhead'] --> [a#mw5w] load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj: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=0hjaxwj:48) at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49) mightThrow @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:48 process @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 process @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 done @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:126 (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:129 load (async) send @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:130 ajax @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:125 jQuery.ajax @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:144 jQuery.(anonymous function) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:127 startReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1676 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=0hjaxwj:48) at process (load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49) setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1690 mightThrow @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:48 process @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 deferred.(anonymous function) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:50 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 process @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49 setTimeout (async) (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:49 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 fire @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:45 fireWith @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:47 done @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:126 (anonymous) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:129 load (async) send @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:130 ajax @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:125 jQuery.ajax @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:144 jQuery.(anonymous function) @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:127 startReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1676 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:Zackmann08' @ 887904508 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3AZackmann08/887904508
--Zackmann (Talk to me/What I been doing) 16:07, 15 March 2019 (UTC)
Pipe tricks don't work in preview
[edit]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 SoWhy 16:28, 15 March 2019 (UTC)
- @SoWhy: Fixed with this patch I submitted many months ago which Enterprisey merged recently. Signatures, substituted templates and pipe tricks will all render correctly in preview now. SD0001 (talk) 17:08, 30 September 2019 (UTC)
Failed on Wikipedia:Miscellany for deletion
[edit]... possibly because the edit goes to a subpage. — Arthur Rubin (talk) 06:43, 17 March 2019 (UTC)
Error when replying
[edit]When attempting to reply at User_talk:MusikAnimal#Proxy_check, I get the following errors:
Error: [onlyFirstComment] No timestamp found
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)
mightThrow @ load.php?debug=false&lang=en&modules=jquery&skin=vector&version=0hjaxwj:48
And:
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)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:2021
Not sure what's up there. SQLQuery me! 04:05, 24 March 2019 (UTC)
- 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
hackwell-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)
[sigIdxToStrIdx] fails
[edit]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. Operator873talkconnect 04:10, 26 March 2019 (UTC)
- Same failure happens on talk pages and project pages (ex: ANI) Operator873talkconnect 04:12, 26 March 2019 (UTC)
Improving the description and edit summary
[edit]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)
- Edit summary changed; thanks for reporting this! Enterprisey (talk!) 20:19, 9 April 2019 (UTC)
Show signature in preview
[edit]Hi Enterprisey,
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.
Thanks, SSSB (talk) 11:03, 11 April 2019 (UTC) edit: almost accidently, small typo on my part. SSSB (talk) 11:16, 11 April 2019 (UTC)
- Interestingly enough, that happened to me quite a lot and I thought the script recognizes a duplicate signature now? Regards SoWhy 11:13, 11 April 2019 (UTC)
- Yup, still works. I just replied with ~~~~ in the reply and it only signed once. So what did you do? Regards SoWhy 11:14, 11 April 2019 (UTC)
- SoWhy, SSSB (talk) SSSB (talk) 11:17, 11 April 2019 (UTC)
- Error with three tilde signature as demonstrated above. SSSB (talk) 11:18, 11 April 2019 (UTC)
- Should be fixed now; shout-out to siddarthvp on GitHub for the patch. Enterprisey (talk!) 05:26, 9 October 2019 (UTC)
- Error with three tilde signature as demonstrated above. SSSB (talk) 11:18, 11 April 2019 (UTC)
- SoWhy, SSSB (talk) SSSB (talk) 11:17, 11 April 2019 (UTC)
- Yup, still works. I just replied with ~~~~ in the reply and it only signed once. So what did you do? Regards SoWhy 11:14, 11 April 2019 (UTC)
Repling to a comment which already has a reply
[edit]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)
- SSSB, thanks for letting me know! Can you link to one instance of this happening? Enterprisey (talk!) 05:44, 12 April 2019 (UTC)
- @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)
Some observations
[edit]- 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 ); }*/
- is done this way:
if (rplyToXfdNom) { replyDialogField.value = "'''Comment''' "; replyDialogField.setSelectionRange(3,10); replyDialogField.focus(); }
- 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 nom rplyToXfdNom = !anyIndentation; } else if( xfdType === "TfD" || xfdType === "FfD" ) { // If the sibling before the previous sibling of this node // is a h4, then this is a nom rplyToXfdNom = 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.
- Reply links don't appear in discussion closed using {{atop}}/{{abottom}}, as should be the case. But they do appear in the ones closed with {{discussion top}}/{{discussion bottom}} and {{closed rfc top}}/{{closed rfc bottom}}. I didn't investigate why though...
- 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.
And thank you for creating this wonderful script. SD0001 (talk) 07:12, 19 April 2019 (UTC)
- I have made a PR on the script's github page incorporating some of the changes mentioned above. Cheers, SD0001 (talk) 14:13, 15 May 2019 (UTC)
Error while replying
[edit]When replying the following comes up: 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 was trying to send a reply to my own comment at Talk:Forum for Democracy. I tried bypassing my browser's cache. I use the standard Vector skin, my browser is Microsoft Edge (Microsoft EdgeHTML 17.17134
) and I use Windows 10 Home (version: 1803
& build: 17134.706
). The following 3 JS errors showed up: Error: Sanity check on sig username failed! Found Freerka but expected MrClog (wikitext vs DOM)
(2 times) and [object Error]: {description: "Sanity check on sig username failed! Found Freerka but expected MrClog (wikitext vs DOM)", message: "Sanity check on sig username failed! Found Freerka but expected MrClog (wikitext vs DOM)", stack: "Error: Sanity check on sig username failed! Found Freerka but expected MrClog (wikitext vs DOM) at doReply (https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1411:17) at Anonymous function (https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1688:25) at mightThrow (https://wiki.riteme.site/w/load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Coojs-ui.styles.icons-editing-advanced&skin=vector&version=0rq5ikv:48:839) at Anonymous function (https://wiki.riteme.site/w/load.php?debug=false&lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Coojs-ui.styles.icons-editing-advanced&skin=vector&version=0rq5ikv:49:516)"}
. --MrClog (talk) 12:10, 29 April 2019 (UTC)
Could not find section
[edit]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. WaggersTALK 10:23, 8 May 2019 (UTC)
Gadget
[edit]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)
Note
[edit]@Enterprisey: This script doesn't work on WP:RfD subpages for specific days, such as WP:Redirects for discussion/Log/2019 May 20. Coming soon? Or unnecessary? Regards, Guywan (talk) 16:14, 20 May 2019 (UTC)
- It really ought to work on subpages. That seems to have broken recently, as per my August 2019 update. I will take a look soon (TM). Enterprisey (talk!) 05:26, 9 October 2019 (UTC)
Talk pages consultation 2019 – phase 2
[edit]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.
Phase 2 of the consultation has now begun; as such, a request for comment has been created at Wikipedia:Talk pages consultation 2019/Phase 2. All users are invited to express their views. Individual WikiProjects, user groups and other communities may also consider creating their own requests for comment; instructions are at mw:Talk pages consultation 2019/Participant group sign-up. (To keep discussion in one place, please don't reply to this comment.) Jc86035 (talk) 17:13, 20 May 2019 (UTC)
Timeouts?
[edit]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
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 :)
Not working on Nick Moyes' User Talk
[edit]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://wiki.riteme.site/api/rest_v1/page/html/User_talk%3ANick_Moyes/898096897
- JJBullet (Talk) 12:45, 21 May 2019 (UTC)
Not working on Wikipedia:Talk pages consultation 2019/Phase 2
[edit]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://wiki.riteme.site/api/rest_v1/page/html/Wikipedia%3ATalk_pages_consultation_2019%2FPhase_2/898407909
— Arthur Rubin (talk) 12:25, 23 May 2019 (UTC)
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: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%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:48
16: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:202
16: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://wiki.riteme.site/api/rest_v1/page/html/Wikipedia%3AAdministrators%27_noticeboard%2FIncidents/899552255
Thanks, StudiesWorld (talk) 20:45, 30 May 2019 (UTC)
- 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)
Far out, dude!
[edit]@Enterprisey: See WP:WikiProject_Portals/Newsletter archive#Until next issue.... Here's an excerpt:
Until next issue... — The Transhumanist 01:47, 2 May 2019 (UTC) (reply) (reply) (reply) (reply) (reply) (reply)
Yep, that's six reply links (X_X). Regards, GUYWAN ( t · c ) 19:13, 6 June 2019 (UTC)
Script
[edit]is overwriting others, when resolving edit conflicts. ∯WBGconverse 09:05, 12 June 2019 (UTC)
Error when replying to User:Andrew Davidson at Wikipedia:Articles for deletion/Tembleque
[edit]Got a Java error:
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
--Tyw7 (🗣️ Talk) — If (reply) then (ping me) 18:49, 17 July 2019 (UTC)
Reply posted in wrong subsection
[edit]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 – Levivich 00:11, 18 July 2019 (UTC)
Failed when trying to do this 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://wiki.riteme.site/api/rest_v1/page/html/Wikipedia%3AUser_scripts%2FRequests/906881053
Possibly because the username contains diaterics? SD0001 (talk) 03:27, 19 July 2019 (UTC)
Reply link not loading
[edit]I tried using this script on Talk:Carlos the Jackal to answer an edit request, but it did not load. - ZLEA T\C 18:37, 24 July 2019 (UTC)
The state of reply-link, August 2019
[edit]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)
- 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 SoWhy 16:27, 22 August 2019 (UTC)
- @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. — MusikAnimal talk 16:17, 27 August 2019 (UTC)
- @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:
- @MusikAnimal: Actually, the edit summary field is back. Regards SoWhy 16:20, 27 August 2019 (UTC)
- 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 :/ — MusikAnimal talk 16:26, 27 August 2019 (UTC)
- Ah, I see you have to set
- @MusikAnimal: Actually, the edit summary field is back. Regards SoWhy 16:20, 27 August 2019 (UTC)
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)
- @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 — MusikAnimal talk 14:36, 30 September 2019 (UTC)
Reply link and the Teahouse
[edit]@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)
- Update I have reproduced the same error message on my talk page. Interstellarity (talk) 14:18, 12 September 2019 (UTC)
- Interstellarity, the error requested the output from the browser console, what was shown there? ~ Amory (u • t • c) 15:25, 12 September 2019 (UTC)
- Amorymeltzer, Please see the second screenshot that I have posted. Interstellarity (talk) 15:42, 12 September 2019 (UTC)
- Interstellarity, this should be fixed now. Enterprisey (talk!) 05:11, 9 November 2019 (UTC)
- Amorymeltzer, Please see the second screenshot that I have posted. Interstellarity (talk) 15:42, 12 September 2019 (UTC)
- Interstellarity, the error requested the output from the browser console, what was shown there? ~ Amory (u • t • c) 15:25, 12 September 2019 (UTC)
unsigned template and reply link
[edit]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-->
. - The normal
{{unsigned|username}}
template doesn't trigger the reply script (but probably should), as can be seen in my 'unsigned' comment above. — Insertcleverphrasehere (or here)(click me!) 21:15, 14 September 2019 (UTC)- 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)
- 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)
- 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)
Error when replying on ANI - maybe edit conflict?
[edit]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.
13:22:43.751 liveTextContent >>>>>Oppose Too much for the first violation week is more then enough. --Shrike (talk) 13:48, 6 October 2019 (UTC)<<<<< index.php:685:17 13:22:43.752 ( null ) li a[href^='./User_talk:Shrike'] --> Array [] index.php:700:17 13:22:43.753 Error: "Failed to find a matching comment in the Parsoid DOM." getCorrCmt https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:750 findSection https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:787 findSectionResultPromise https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1690 jQuery 2 mightThrow process load.php:195:916 13:22:43.753 Error: "Error: Failed to find a matching comment in the Parsoid DOM." startReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1702 jQuery 2 mightThrow process index.php:202:17 setStatusError https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:202 startReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1702 jQuery 2 mightThrow process 13:22:43.756 Content request error: "Error: Failed to find a matching comment in the Parsoid DOM." index.php:207:21 13:22:43.756 DEBUG INFORMATION: 'Wikipedia:Administrators'_noticeboard/Incidents' @ 919928971 parsoid https://wiki.riteme.site/api/rest_v1/page/html/Wikipedia%3AAdministrators%27_noticeboard%2FIncidents/919928971
— Frood (talk!) 18:30, 6 October 2019 (UTC)
Can't reply to Unicode usernames anymore
[edit]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).
Might this diff fix it?
– Thjarkur (talk) 17:01, 8 October 2019 (UTC)
- Looking good! Thank you very much for the fix. Enterprisey (talk!) 05:23, 9 October 2019 (UTC)
Error when trying to reply
[edit]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
[edit]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)
- Dmehus, which page was this on? Which edit were you trying to make, and which comment were you trying to reply to? Enterprisey (talk!) 05:17, 14 October 2019 (UTC)
- 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)
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"
startReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1702 jQuery 2 mightThrow process
index.php:202:17 Content request error: "TypeError: iterableToList(...).any is not a function" index.php:207:21 DEBUG INFORMATION: 'Wikipedia:Reliable_sources/Noticeboard' @ 921821056 parsoid https://wiki.riteme.site/api/rest_v1/page/html/Wikipedia%3AReliable_sources%2FNoticeboard/921821056
Thanks for creating this usually very helpful tool! Fiamh (talk, contribs) 05:32, 18 October 2019 (UTC)
- I have no idea how I missed that. Thanks for the bug report! Enterprisey (talk!) 07:21, 1 November 2019 (UTC)
Reply-to errors
[edit]This applies to one of my two PCs at present.
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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1419 startReply https://wiki.riteme.site/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://wiki.riteme.site/api/rest_v1/page/html/User_talk%3AJzG/922826238 index.php:209:17
Any ideas, please? Am I blocking something through security settings somewhere? Guy (help!) 18:53, 24 October 2019 (UTC)
Getting error at Wikipedia:Articles for deletion/SALt lamp
[edit]Error:
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
--Tyw7 (🗣️ Talk) — If (reply) then (ping me) 17:42, 26 October 2019 (UTC)
- Should be fixed. Enterprisey (talk!) 07:19, 1 November 2019 (UTC)
Errors
[edit]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)
Hopefully that helps. If you need more info, just let me know! Captain Eek Edits Ho Cap'n!⚓ 20:47, 27 October 2019 (UTC)
Announcement: should work better on subpages now
[edit]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)
- @Enterprisey: any idea why the reply links on AfD subpages say "Reply to AfD" after individual users' comments and in the resulting edit summary? Seems slightly confusing. Thanks. --Sangdeboeuf (talk) 22:36, 25 July 2021 (UTC)
- 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)
undefined?
[edit]See https://wiki.riteme.site/w/index.php?title=Wikipedia_talk:Requests_for_comment/2019_Resysop_Criteria_(2)&diff=924630501&oldid=924629817&diffmode=source by Cyberpower678 --DannyS712 (talk) 05:50, 5 November 2019 (UTC)
- Now that's weird. I've reviewed the relevant sections of the code and can't find anything that would do that. I'll keep an eye out, though. Enterprisey (talk!) 03:46, 7 November 2019 (UTC)
Error report
[edit]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://wiki.riteme.site/api/rest_v1/page/html/Talk%3ABlue_Line_(Los_Angeles_Metro)/924878137
WMSR (talk) 18:41, 6 November 2019 (UTC)
- WMSR, I'm getting the same error in this section: Wikipedia_talk:New_pages_patrol/Reviewers#6th_November_Backlog_Update, not sure how to do the error bug report but I wonder if anyone else has issues in that section as well? — Insertcleverphrasehere (or here)(click me!) 21:15, 6 November 2019 (UTC)
- 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)
- 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)
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)
- WMSR, same page or a different page? Enterprisey (talk!) 01:28, 13 November 2019 (UTC)
- Enterprisey, different page. WMSR (talk) 02:17, 13 November 2019 (UTC)
- Which page? Enterprisey (talk!) 02:21, 13 November 2019 (UTC)
- Enterprisey, different page. WMSR (talk) 02:17, 13 November 2019 (UTC)
- 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)
- 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)
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: 'Talk:2020_Democratic_Party_presidential_primaries' @ 926169671 parsoid https://wiki.riteme.site/api/rest_v1/page/html/Talk%3A2020_Democratic_Party_presidential_primaries/926169671
WMSR (talk) 17:34, 14 November 2019 (UTC)
Error replying at Wikipedia:Administrators'_noticeboard/Incidents#Portals
[edit]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)
--Doug Mehus T·C 17:41, 10 November 2019 (UTC)
JavaScript errors replying at Talk:Mark Levin#Survey to Guy (JzG)
[edit]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)
--Doug Mehus T·C 01:08, 13 November 2019 (UTC)
- Both issues should be fixed now. Enterprisey (talk!) 01:27, 13 November 2019 (UTC)
Error
[edit]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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1182 doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1419 startReply https://wiki.riteme.site/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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:210 doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1564 startReply https://wiki.riteme.site/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://wiki.riteme.site/api/rest_v1/page/html/User_talk%3ABoeing720/926120581 index.php:217:17
Error replying at Talk:Progressive Senate Group
[edit]More sanity check errors:
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
[edit]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)
- 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 Mehus T·C 03:04, 20 November 2019 (UTC)
- 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://wiki.riteme.site/api/rest_v1/page/html/Wikipedia%3ABot_requests/927130110
Thanks, Dmehus. Guarapiranga (talk) 15:22, 20 November 2019 (UTC)- 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://wiki.riteme.site/api/rest_v1/page/html/User_talk%3AEnterprisey%2Freply-link/927063431
Guarapiranga (talk) 15:27, 20 November 2019 (UTC)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://wiki.riteme.site/api/rest_v1/page/html/Wikipedia%3AUser_scripts%2FRequests/927127058
Guarapiranga (talk) 22:55, 20 November 2019 (UTC)
When used on mobile, reply link appendages "undefined*:" to the front of the mention.
[edit]An example of the above error could be seen here https://wiki.riteme.site/w/index.php?title=Wikipedia%3AArticles_for_deletion%2FEva_Bella&type=revision&diff=927709923&oldid=927680721 --Tyw7 (🗣️ Talk) — If (reply) then (ping me) 08:13, 24 November 2019 (UTC)
- I've had that once (not always, though, Tyw7). Guarapiranga (talk) 10:35, 24 November 2019 (UTC)
JS errors at Wikipedia talk:Canadian Wikipedians' notice board#Merging vs. separating minister portfolios
[edit]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
at add_testn_tabs (https://wiki.riteme.site/w/index.php?title=User:Voice_of_All/nolupin/monobook.js&action=raw&ctype=text/javascript:120:15) at HTMLDocument.<anonymous> (<anonymous>:6:787) at mightThrow (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%7Cjquery.ui&skin=vector&version=1fmkj:48:916) at process (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%7Cjquery.ui&skin=vector&version=1fmkj:49:589) undefined
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 https://wiki.riteme.site/w/index.php?title=User:Voice_of_All/nolupin/monobook.js&action=raw&ctype=text/javascript:203:3 at HTMLDocument.<anonymous> (<anonymous>:6:787) at mightThrow (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%7Cjquery.ui&skin=vector&version=1fmkj:48:916) at process (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%7Cjquery.ui&skin=vector&version=1fmkj:49:589) undefined
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 Uncaught TypeError: Cannot read property 'getElementsByTagName' of null
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://wiki.riteme.site/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)
- Thanks SineBot. So glad I opted back in to your being my secretary. ;-) Doug Mehus T·C 16:48, 29 November 2019 (UTC)
Asterisks
[edit]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)
- 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)
Error
[edit]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:15.871 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:724 ( null ) dd a[href^='./User_talk:Herostratus'] --> Array(5) 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:42:16.120 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:217 DEBUG INFORMATION: 'Talk:Hunter_Biden' @ 929652816 parsoid https://wiki.riteme.site/api/rest_v1/page/html/Talk%3AHunter_Biden/929652816 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.023 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:724 ( null ) dd a[href^='./User_talk:Herostratus'] --> Array(5) 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 07:47:53.232 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:217 DEBUG INFORMATION: 'Talk:Hunter_Biden' @ 929652816 parsoid https://wiki.riteme.site/api/rest_v1/page/html/Talk%3AHunter_Biden/929652816 |
- MrX 🖋 12:54, 7 December 2019 (UTC)
- 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)
It gave me an error
[edit]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://wiki.riteme.site/api/rest_v1/page/html/User_talk%3ABEANS_X2%2Fsandbox%2FArchiveTest/930855139 |
Thanks. --BEANS X2 (talk) 11:34, 15 December 2019 (UTC)
"Undefined" and trouble with bullets
[edit]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 Eek Edits Ho Cap'n!⚓ 20:13, 29 December 2019 (UTC)
First-time use
[edit]@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://wiki.riteme.site/api/rest_v1/page/html/Wikipedia%3AAdministrators%27_noticeboard%2FIncidents/935637318" (index.php, line 217) |
It was reproducible on purging the cache as well. I am using Safari 13.0.4 (Catalina 10.15.2). --qedk (t 桜 c) 20:20, 13 January 2020 (UTC)
Using reply-link on sub-pages of Template:Did you know nominations
[edit]@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)
Loading a "Jumping to the new content..." dialog on pages in other namespaces that I haven't edited
[edit]@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.
By the way, I am using Windows 10. My browser is Google Chrome, Version 79.0.3945.88 (Official Build) (64-bit) epicgenius (talk) 00:38, 14 January 2020 (UTC)
- I logged in and out, and tested this on other pages. It did not appear in article space. epicgenius (talk) 00:42, 14 January 2020 (UTC)
Installation problems
[edit]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)
- Zvikorn, it seems to have been installed fine, from what I can see, despite the error. Does the script work normally? Enterprisey (talk!) 02:17, 23 January 2020 (UTC)
Problems with reply
[edit]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://wiki.riteme.site/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) |
-- RoySmith (talk) 16:22, 24 January 2020 (UTC)
Another reply error
[edit]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://wiki.riteme.site/api/rest_v1/page/html/User_talk%3ARoySmith/938843412
Feature request
[edit]Would it be possible for the script to not place indentation marks where nowiki is used over multiple lines. See for example, Special:Diff/940766398, which gives several unnecessary colons in the text. ~~ Alex Noble - talk 14:02, 14 February 2020 (UTC)
A few questions
[edit]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)
- As for the very first part of this message, it does appear to be working at locations like Talk:The Casagrandes, but not all talk pages. Amaury • 20:55, 27 February 2020 (UTC)
Small suggestion
[edit]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.
I hope that makes any sense... Popcornfud (talk) 15:53, 11 March 2020 (UTC)
- 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)
How often does it work?
[edit]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)?
Also, User:Enterprisey, mw:New requirements for user signatures should (eventually) make your script simpler. Whatamidoing (WMF) (talk) 20:36, 12 March 2020 (UTC)
- Whatamidoing (WMF), around 50% for me at the moment. Guy (help!) 08:33, 24 March 2020 (UTC)
- I'm sorry to hear that, Guy. (I'd been hoping that it was much better for most people.) Do you have any way to predict whether it will work in a given instance? Whatamidoing (WMF) (talk) 16:25, 24 March 2020 (UTC)
- Whatamidoing (WMF), not really, no. Just that the messier the page the more it fails, and most pages I see are a mess Guy (help!) 18:02, 24 March 2020 (UTC)
- Guy, does "not work" mean that it doesn't appear, or that it fails after you start typing a reply (e.g., sticks it in the wrong spot)? Whatamidoing (WMF) (talk) 17:08, 27 March 2020 (UTC)
- Pops up, you type the reply, you hit save, and you get the errors below. Guy (help!) 17:15, 27 March 2020 (UTC)
- Ouch. Can you at least still copy the text of your comment, or do you lose everything and have to start over? Whatamidoing (WMF) (talk) 17:23, 27 March 2020 (UTC)
- @Whatamidoing (WMF): You can copy the text of your comment (when it fails for me) DannyS712 (talk) 00:24, 4 April 2020 (UTC)
- That's a relief to hear, DannyS712. Can you tell me approximately how often it works/fails for you? Whatamidoing (WMF) (talk) 18:57, 6 April 2020 (UTC)
- @Whatamidoing (WMF): Around 1/3 of the time DannyS712 (talk) 19:06, 6 April 2020 (UTC)
- That's a relief to hear, DannyS712. Can you tell me approximately how often it works/fails for you? Whatamidoing (WMF) (talk) 18:57, 6 April 2020 (UTC)
- @Whatamidoing (WMF): You can copy the text of your comment (when it fails for me) DannyS712 (talk) 00:24, 4 April 2020 (UTC)
- Ouch. Can you at least still copy the text of your comment, or do you lose everything and have to start over? Whatamidoing (WMF) (talk) 17:23, 27 March 2020 (UTC)
- Pops up, you type the reply, you hit save, and you get the errors below. Guy (help!) 17:15, 27 March 2020 (UTC)
- Guy, does "not work" mean that it doesn't appear, or that it fails after you start typing a reply (e.g., sticks it in the wrong spot)? Whatamidoing (WMF) (talk) 17:08, 27 March 2020 (UTC)
- Whatamidoing (WMF), not really, no. Just that the messier the page the more it fails, and most pages I see are a mess Guy (help!) 18:02, 24 March 2020 (UTC)
- I'm sorry to hear that, Guy. (I'd been hoping that it was much better for most people.) Do you have any way to predict whether it will work in a given instance? Whatamidoing (WMF) (talk) 16:25, 24 March 2020 (UTC)
- 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)
- 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)
- 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)
- One of the questions that the Editing team is looking at is illustrated in the barnstar towards the end of w:hu:Szerkesztővita:Pasztilla#Válaszbéta. Should you be able to reply inside the barnstar? (But if you can't, then what if someone uses that formatting put a decorative border around their whole page?) If you go to http://hu.wikipedia.org/wiki/Speciális:Beáll%C3%ADtásaim?uselang=en#mw-prefsection-betafeatures and opt-in to "Discussion Tools" in the Beta Features there, and look at that item, you can see that the Reply box is shown inside the table. But it's still a surprise when the page puts your reply inside the barnstar, because we know that it shouldn't. Whatamidoing (WMF) (talk) 16:34, 18 April 2020 (UTC)
- 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)
- User:DannyS712, User:Gaelan, User:JzG: I hope that this script is working better for you now. And I have a little request: if you use this tool, and it unexpectedly screws up some other part of the page, would you please ping me or leave a diff on my talk page? I'm looking for mw:Parsoid problems. Whatamidoing (WMF) (talk) 16:59, 1 May 2020 (UTC)
- @Whatamidoing (WMF): will do. DannyS712 (talk) 17:01, 1 May 2020 (UTC)
- User:DannyS712, User:Gaelan, User:JzG: I hope that this script is working better for you now. And I have a little request: if you use this tool, and it unexpectedly screws up some other part of the page, would you please ping me or leave a diff on my talk page? I'm looking for mw:Parsoid problems. Whatamidoing (WMF) (talk) 16:59, 1 May 2020 (UTC)
Error
[edit]Pretty much all sections of talk:Julian Assange.
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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1084 doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1420 startReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1743 jQuery 2 index.php:211:17 setStatusError https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:211 doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1569 startReply https://wiki.riteme.site/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://wiki.riteme.site/api/rest_v1/page/html/Talk%3AJulian_Assange/947096810
Guy (help!) 08:33, 24 March 2020 (UTC)
Another:
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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1084 doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1420 startReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1743 jQuery 2 index.php:211:17 setStatusError https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:211 doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1569 startReply https://wiki.riteme.site/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://wiki.riteme.site/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
sigIdxToStrIdx https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1187 doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1424 startReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1743 jQuery 2 mightThrow process
Negative strIdx (signature not found in wikitext) index.php:211:17
setStatusError https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:211 doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1569 startReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1743 jQuery 2 mightThrow process
DEBUG INFORMATION: 'User_talk:StrangeloveFan101' @ 947399347 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3AStrangeloveFan101/947399347 index.php:218:17
Error parsing odd username
[edit]Hi, I got an error responding to a comment from the user "X1\", which appears to have broken something.
Error message from console log (lightly formatted):
> liveTextContent >>>>>X1\ (talk) 01:02, 4 April 2020 (UTC)<<<<< (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:710) > ( null ) p a[href^='./User_talk:X1\'] --> [] (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:725) > Error: Failed to find a matching comment in the Parsoid DOM. (load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=127pn:49) > 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:211) > 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:216) > DEBUG INFORMATION: 'Talk:2020_coronavirus_pandemic_in_the_United_States' @ 948979064 parsoid [[https://wiki.riteme.site/api/rest_v1/page/html/Talk%3A2020_coronavirus_pandemic_in_the_United_States/948979064]] (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:218)
Cheers, Mdaniels5757 (talk) 01:33, 4 April 2020 (UTC)
- Fixed Enterprisey (talk!) 04:56, 11 April 2020 (UTC)
- Same with Slugger O'Toole and The Drover's Wife - I assume some conflict between the apostrophe and its HTML equivalent? Guy (help!) 16:48, 19 April 2020 (UTC)
- I have been having trouble more often than not with it as well, particularly when replying to JzG. -- Slugger O'Toole (talk) 20:10, 19 April 2020 (UTC)
- Slugger O'Toole and JzG, should be fixed now. Enterprisey (talk!) 08:56, 25 April 2020 (UTC)
- Enterprisey, Thanks. Also noticed that previewing it first seems to cause problems. -- Slugger O'Toole (talk) 17:32, 25 April 2020 (UTC)
- Same with Slugger O'Toole and The Drover's Wife - I assume some conflict between the apostrophe and its HTML equivalent? Guy (help!) 16:48, 19 April 2020 (UTC)
Other userscripts interfering with replylinks
[edit]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 page 06:44, 18 April 2020 (UTC)
Reply Link AutoIndentation and PingPreload
[edit]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) page 19:46, 19 April 2020 (UTC)
- Can I Log In, you need to pass the settings as strings, for example
window.replyLinkAutoIndentation = "always";
. Enterprisey (talk!) 21:09, 25 April 2020 (UTC)- Derp derp derp derp derp. ResolvedOh also, you should make pingpreload it a checkbox instead of an insert button. {{replyto}} Can I Log In
's(talk) page 21:15, 25 April 2020 (UTC); edited 21:19, 25 April 2020 (UTC)- 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)
- Derp derp derp derp derp.
Errors on my talk page
[edit]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)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:211 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:216 Content request error: "Error: [onlyFirstComment] No timestamp found" index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:218 DEBUG INFORMATION: 'User_talk:Piotrus' @ 951908069 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3APiotrus/951908069
Any ides what's wrong? --Piotr Konieczny aka Prokonsul Piotrus| reply here 02:43, 20 April 2020 (UTC)
- Piotrus, fixed! (To watchers: this also fixes it for most talk pages that have been enclosed in a decorative box, I think.) Enterprisey (talk!) 08:40, 25 April 2020 (UTC)
- Thank you! PS. Should I reintall the script? --Piotr Konieczny aka Prokonsul Piotrus| reply here 00:57, 26 April 2020 (UTC)
- Piotrus, nah, everything looks set up correctly on your end. If you find that it's still not working, there might be caching issues, I guess? Enterprisey (talk!) 05:27, 26 April 2020 (UTC)
- 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:
- Piotrus, nah, everything looks set up correctly on your end. If you find that it's still not working, there might be caching issues, I guess? Enterprisey (talk!) 05:27, 26 April 2020 (UTC)
- Thank you! PS. Should I reintall the script? --Piotr Konieczny aka Prokonsul Piotrus| reply here 00:57, 26 April 2020 (UTC)
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://wiki.riteme.site/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.
- Hope it helps. --Piotr Konieczny aka Prokonsul Piotrus| reply here 05:08, 28 April 2020 (UTC)
- Piotrus, try it now? Enterprisey (talk!) 07:29, 29 April 2020 (UTC)
- @Enterprisey: It works now, thank you! --Piotr Konieczny aka Prokonsul Piotrus| reply here 09:32, 29 April 2020 (UTC)
- Piotrus, try it now? Enterprisey (talk!) 07:29, 29 April 2020 (UTC)
- Hope it helps. --Piotr Konieczny aka Prokonsul Piotrus| reply here 05:08, 28 April 2020 (UTC)
This is more of something illogical than a bug...
[edit]... 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 X2t
09:01, 27 April 2020 (UTC)
- Should be fixed. Enterprisey (talk!) 08:39, 30 November 2020 (UTC)
Misplaced reply
[edit]In this reply it indented correctly for the post I was replying to but then placed it under the wrong reply. Best, Barkeep49 (talk) 15:43, 27 April 2020 (UTC)
"Signature not found in wikitext"
[edit]Hi, I got an error trying to reply on someone's talk page. Here's the (too-lengthy) chrome log:
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:836 findSection( User_talk:Primefac , ...) index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:739 liveTextContent >>>>>Always happy to help ;-) Primefac (talk) 20:13, 1 May 2020 (UTC)<<<<< index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:754 ( null ) dd a[href^='./User_talk:Primefac#top'] --> (32) [a#mwHA, a#mwMg, a#mwRA, a#mwbw, a#mwgg, a#mwjQ, a#mwkQ, a#mwoQ, a#mwrw, a#mwuA, a#mwwA, a#mwyg, a#mw0g, a#mw6A, a#mw9A, a#mw_Q, a#mwAQ0, a#mwARQ, a#mwAS8, a#mwATk, a#mwAUM, a#mwAVc, a#mwAWA, a#mwAXQ, a#mwAYs, a#mwAZc, a#mwAao, a#mwAbM, a#mwAcc, a#mwAcs, a#mwAd0, a#mwAes] index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:914 tsclnId === null findSection @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:914 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1797 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 done @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:253 load (async) send @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:253 ajax @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:248 jQuery.ajax @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:268 jQuery.<computed> @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 startReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1795 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1801 findSectionResult {page: "User_talk:Primefac", sectionName: "You're too quick :)", sectionDupeIdx: 0, sectionLevel: "2", nearbyMwId: "mwAek"} index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1403 TOP OF doReply (3) ["2", "You're too quick :)", 23] {page: "User_talk:Primefac", sectionName: "You're too quick :)", sectionDupeIdx: 0, sectionLevel: "2", nearbyMwId: "mwAek"} index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1463 in doReply, header = (3) ["2", "You're too quick :)", 0] index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1077 In getSectionWikitext, sectionName = >You're too quick :)< (wikitext.length = 27595) index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1187 In sigIdxToStrIdx, sigIdx = 1 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1251 [sigIdxToStrIdx] out of matches sigIdxToStrIdx @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1251 doReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1488 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1808 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:172 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 done @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:253 load (async) send @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:253 ajax @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:248 jQuery.ajax @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:268 jQuery.<computed> @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 getJSON @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 getWikitext @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:285 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1802 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 add @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 jQuery.Deferred @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:276 then @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 findSection @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1024 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1797 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 done @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:253 load (async) send @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:253 ajax @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:248 jQuery.ajax @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:268 jQuery.<computed> @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 startReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1795 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:213 Negative strIdx (signature not found in wikitext) setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:213 doReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1633 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1808 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:172 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 done @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:253 load (async) send @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:253 ajax @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:248 jQuery.ajax @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:268 jQuery.<computed> @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 getJSON @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 getWikitext @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:285 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1802 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 add @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 jQuery.Deferred @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:276 then @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 findSection @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1024 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1797 mightThrow @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 process @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:170 setTimeout (async) (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:171 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 fire @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:167 fireWith @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:168 done @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 (anonymous) @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:253 load (async) send @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:253 ajax @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:248 jQuery.ajax @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:268 jQuery.<computed> @ load.php?lang=en&modules=ext.wikiLove.init%2Cstartup|jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=5x7tu:250 startReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1795 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:220 DEBUG INFORMATION: 'User_talk:Primefac' @ 954317978 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3APrimefac/954317978
Please let me know if there's anything I can do to help. Thanks, Mdaniels5757 (talk) 00:08, 2 May 2020 (UTC)
Doesn't should add colons to material inside syntaxhighlight
[edit]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)
Wrong placement around tables
[edit]I had to fix incorrect placement of this reply to Jonteemil, where the only obvious possible reason for the bug is the presence of a table in that subsection. —andrybak (talk) 12:14, 9 May 2020 (UTC)
sig of 3 tildes
[edit]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)
Error report 2020-05-23
[edit]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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1293 doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1530 startReply https://wiki.riteme.site/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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:255 doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1675 startReply https://wiki.riteme.site/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://wiki.riteme.site/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)
It's me again :)
[edit]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 here 01:22, 26 May 2020 (UTC)
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://wiki.riteme.site/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://wiki.riteme.site/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://wiki.riteme.site/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)
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:255 Error: Error: pageNames.length !== results2.length: 1 0
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)
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:258 Content request error: "Error: pageNames.length !== results2.length: 1 0"
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:260 DEBUG INFORMATION: 'User_talk:Piotrus' @ 958840729 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3APiotrus/958840729
Can you only run this script on talk pages?
[edit]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
}
Cheers. Aasim 11:42, 26 May 2020 (UTC)
- Nvm, but maybe you can add
: if (mw.config.get("wgContentLanguage") == "en" && mw.config.get("wgSiteName") == "Wikipedia") { : //Wikipedia editnotice : $(document).ready(function() { : if (mw.config.get("wgNamespaceNumber") == 3) { : $.get(mw.config.get("wgScriptPath") + "/api.php", { : "action": "parse", : "format": "json", : "prop": "wikitext", : "page": mw.config.get("wgPageName") + "/Editnotice" : }).done(function(wikitext) { : if (!wikitext.error) { : $.get(mw.config.get("wgScriptPath") + "/api.php", { : "action": "parse", : "format": "json", : "prop": "text", : "title": mw.config.get("wgPageName"), : "pst": true, : "text": wikitext.parse.wikitext["*"] : }).done(function(text) { : if (!text.error && wikitext.parse.wikitext["*"] != "") { : $(text.parse.text["*"]).prependTo("#newsection"); : } : }); : } : }); : } : $.get(mw.config.get("wgScriptPath") + "/api.php", { : "action": "parse", : "format": "json", : "prop": "wikitext", : "page": "Template:Editnotices/Page/" + mw.config.get("wgPageName") : }).done(function(wikitext) { : if (!wikitext.error) { : $.get(mw.config.get("wgScriptPath") + "/api.php", { : "action": "parse", : "format": "json", : "prop": "text", : "title": mw.config.get("wgPageName"), : "pst": true, : "text": wikitext.parse.wikitext["*"] : }).done(function(text) { : if (!text.error && wikitext.parse.wikitext["*"] != "") { : $(text.parse.text["*"]).prependTo("#newsection"); : } : }); : } : }); : $.get(mw.config.get("wgScriptPath") + "/api.php", { : "action": "parse", : "format": "json", : "prop": "wikitext", : "page": "Template:Editnotices/Group/" + mw.config.get("wgPageName").split("/")[0] : }).done(function(wikitext) { : if (!wikitext.error) { : $.get(mw.config.get("wgScriptPath") + "/api.php", { : "action": "parse", : "format": "json", : "prop": "text", : "title": mw.config.get("wgPageName"), : "pst": true, : "text": wikitext.parse.wikitext["*"] : }).done(function(text) { : if (!text.error && wikitext.parse.wikitext["*"] != "") { : $(text.parse.text["*"]).prependTo("#newsection"); : } : }); : } : }); : }) : } :
- to the page so editnotices render before each reply? Aasim 10:32, 28 May 2020 (UTC)
- Editnotices are a wonderful idea, and not running it on oldids is also a great idea. Added both to the list at the top. Enterprisey (talk!) 19:01, 28 May 2020 (UTC)
- 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?). Helder 11:14, 7 June 2020 (UTC)
Pull request 6: add markAdmins compatibility
[edit]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)
- Merged! Thanks. Enterprisey (talk!) 02:33, 1 July 2020 (UTC)
Another error
[edit]Perm diff: [3] --Piotr Konieczny aka Prokonsul Piotrus| reply here 01:20, 1 June 2020 (UTC)
Code:
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://wiki.riteme.site/api/rest_v1/page/html/User_talk%3APiotrus/960079610
Script error in certain pages, primarily Teahouse
[edit]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)
It looks like the skin might be an issue? Help is greatly appreciated. (please mention me on reply) —Tenryuu 🐲 ( 💬 • 📝 ) 06:21, 2 June 2020 (UTC)
Bug time
[edit]This issue occured when trying to reply to an IP. See: https://wiki.riteme.site/w/index.php?title=User_talk:Ed6767&oldid=960440144 - where the error occured.
findSection( User_talk:Ed6767 , ...)
load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 Error: Malformed href
at getCorrCmt (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:695)
at findSection (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:885)
at Object.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1839)
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)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:255 Error: Error: Malformed href
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)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:255
(anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1852
mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49
process @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49
setTimeout (async)
(anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50
fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46
fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47
fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47
fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46
fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47
deferred.<computed> @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50
fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46
fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47
process @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50
setTimeout (async)
(anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50
fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46
fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47
fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47
fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46
fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47
done @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:129
(anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:132
load (async)
send @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:132
ajax @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:127
jQuery.ajax @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:147
jQuery.<computed> @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:129
startReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1837
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:258 Content request error: "Error: Malformed href"
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:260 DEBUG INFORMATION: 'User_talk:Ed6767' @ 960440144 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3AEd6767/960440144
jawiki
[edit]Does this extension work with jawiki?--Sleepingfate (talk) 13:47, 4 June 2020 (UTC)
- Sleepingfate Unfortunately, no. I've tried to reply to my own test comment; instead, it will come up with this error message.
Javascript line 258
|
---|
findSection( 利用者‐会話:Can_I_Log_In , ...)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:781 liveTextContent >>>>>nonsense Can I Log In(会話) 2020年6月23日 (火) 01:49 (UTC)<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:796 ( null ) p a[href^='./利用者‐会話:Can_I_Log_In'] --> Array(1)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:956 tsclnId === null
findSection @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:956
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 = >Will revert later< (wikitext.length = 138)
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:255 Error: Error! I don't know the native date format used by the server '//ja.wikipedia.org'!
at sigIdxToStrIdx (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1261)
at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1530)
at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1850)
at mightThrow (load.php?lang=en&modules=jquery|mediawiki.action.view.postEdit|mediawiki.notification%2CvisibleTimeout&skin=vector&version=1ccxh:49)
at process (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:255
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:258 Content request error: "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:260 DEBUG INFORMATION: '利用者‐会話:Can_I_Log_In' @ 78137972 parsoid https://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/78137972
DevTools failed to load SourceMap: Could not load content for chrome-extension://enfolipbjmnmleonhhebhalojdpcpdoo/THSSRContent.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
VM100:142 POST https://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. {{reply to|Can I Log In}}'s talk page! 02:29, 23 June 2020 (UTC)
mw.loader.load('//wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript');
- Can I Log In, Thank you for verifying. I'll do it manually on jawiki. SleepingFate 03:52, 23 June 2020 (UTC)
Reply Issue
[edit]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 me CVU Graduate 17:41, 5 June 2020 (UTC)
Bug report: Error while replying
[edit]The following is from the Chrome Java console. Thanks for the script! Sandstein 07:07, 6 June 2020 (UTC)
Mixed Content: The page at 'https://wiki.riteme.site/wiki/User_talk:Sandstein' was loaded over HTTPS, but requested an insecure stylesheet 'http://wiki.riteme.site/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 https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1844:63 at mightThrow (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%7Cjquery.ui&skin=vector&version=11ak3:49:149) at process (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%7Cjquery.ui&skin=vector&version=11ak3:49:808) undefined
jQuery.Deferred.exceptionHook @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:51 index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:255 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)
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:258 Content request error: "TypeError: Cannot read property 'page' of undefined" index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:260 DEBUG INFORMATION: 'User_talk:Sandstein' @ 961024502 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3ASandstein/961024502 User_talk:Sandstein:1 Mixed Content: The page at 'https://wiki.riteme.site/wiki/User_talk:Sandstein' was loaded over HTTPS, but requested an insecure stylesheet 'http://wiki.riteme.site/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.
Bug report: replying
[edit]Heyo, thanks for the great script! Just had this in the JS console when attempting a reply:
Failed to find a matching comment in the Parsoid DOM. index.php:846:21 Error: "pageNames.length !== results2.length: 1 0" recursiveCalls https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1040 jQuery 2 mightThrow process load.php:201:149 Error: "Error: pageNames.length !== results2.length: 1 0" startReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1852 jQuery 2 mightThrow process index.php:255:17 Content request error: "Error: pageNames.length !== results2.length: 1 0" index.php:258:21 DEBUG INFORMATION: 'Wikipedia_talk:Help_Project' @ 961313149 parsoid https://wiki.riteme.site/api/rest_v1/page/html/Wikipedia_talk%3AHelp_Project/961313149
Hopefully it's an easy-ish bug to squash! Cheers :) Naypta ☺ | ✉ talk page | 19:49, 7 June 2020 (UTC)
- Got the same bug:
console output
|
---|
Failed to find a matching comment in the Parsoid DOM. index.php:846:13 Error: pageNames.length !== results2.length: 1 0 Stack trace: findSection/recursiveCalls</<@https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1040:35 mightThrow@https://wiki.riteme.site/w/load.php?lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%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%2CwikimediaEvents%7Cext.uls.common%2Ccompactlinks%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.loggedin%7Cjquery%2Coojs%2Coojs-router%2Coojs-ui-core%2Csite%7Cjquery.chosen%2Cclient%2Ccookie%2Cspinner%2CtextSelection%2Ctipsy%2Cui%7Cjquery.spinner.styles%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cstorage%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=xz5m5:200:141 resolve/</process<@https://wiki.riteme.site/w/load.php?lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%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%2CwikimediaEvents%7Cext.uls.common%2Ccompactlinks%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.loggedin%7Cjquery%2Coojs%2Coojs-router%2Coojs-ui-core%2Csite%7Cjquery.chosen%2Cclient%2Ccookie%2Cspinner%2CtextSelection%2Ctipsy%2Cui%7Cjquery.spinner.styles%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cstorage%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=xz5m5:200:808 load.php:200:141 Error: Error: pageNames.length !== results2.length: 1 0 Stack trace: startReply/<@https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1852:54 mightThrow@https://wiki.riteme.site/w/load.php?lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%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%2CwikimediaEvents%7Cext.uls.common%2Ccompactlinks%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.loggedin%7Cjquery%2Coojs%2Coojs-router%2Coojs-ui-core%2Csite%7Cjquery.chosen%2Cclient%2Ccookie%2Cspinner%2CtextSelection%2Ctipsy%2Cui%7Cjquery.spinner.styles%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cstorage%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=xz5m5:200:141 resolve/</process<@https://wiki.riteme.site/w/load.php?lang=en&modules=ext.centralNotice.choiceData%2Cdisplay%2CgeoIP%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%2CwikimediaEvents%7Cext.uls.common%2Ccompactlinks%2Cinit%2Cinterface%2Cpreferences%2Cwebfonts%7Cext.wikimediaEvents.loggedin%7Cjquery%2Coojs%2Coojs-router%2Coojs-ui-core%2Csite%7Cjquery.chosen%2Cclient%2Ccookie%2Cspinner%2CtextSelection%2Ctipsy%2Cui%7Cjquery.spinner.styles%7Cjquery.uls.data%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2Cexperiments%2CjqueryMsg%2Clanguage%2Cstorage%2Ctoc%2Cuser%2Cutil%7Cmediawiki.ForeignApi.core%7Cmediawiki.editfont.styles%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Cmediawiki.ui.icon%7Cmmv.bootstrap%2Chead%7Cmmv.bootstrap.autostart%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=xz5m5:200:808 index.php:255:9 Content request error: "Error: pageNames.length !== results2.length: 1 0" index.php:258:13 DEBUG INFORMATION: 'User_talk:SoWhy' @ 963677149 parsoid "https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3ASoWhy/963677149" |
- Regards SoWhy 14:47, 21 June 2020 (UTC)
Reply plonked at the end rather than in the right place
[edit]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.
Any idea why this might be happening?
Cheers! Naypta ☺ | ✉ talk page | 19:29, 9 June 2020 (UTC)
- 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)
Failing Sanity Check For Unknown Reason
[edit]Hello. I was trying to reply to a simple user talk when it failed for some reason related to sanity checking. Here's a screenshot of the JS logs. Sorry and thank you! Gwen Hope (talk) (contrib) 19:15, 16 June 2020 (UTC)
Javascript line 258
[edit]Content request error: "Error! I don't know the native date format used by the server '//simple.wikipedia.org'!"(javascript line 258)
And that's the 2nd time I've tried to use reply-link on simplewiki, and it doesn't reply. Cache clear won't help. {{reply to|Can I Log In}}'s talk page! 00:13, 17 June 2020 (UTC)
- Fixed Enterprisey (talk!) 03:14, 28 June 2020 (UTC)
- 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)
- 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)
Javascript Line 269
[edit]Hey Enterprisey,
It got hung up when I tried replying to this on my talk page.
Details
|
---|
load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=xlfy5:49 Error: Malformed href 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)
|
Let me know if you need any further info. Thanks, --Jack Frost (talk) 14:09, 28 June 2020 (UTC)
- 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)
Or alternatively add an option, or tell me how I can do so. Psiĥedelisto (talk • contribs) please always ping! 09:23, 30 June 2020 (UTC)
- Psiĥedelisto, in your common.js or wherever else you installed the script, add, on a new line,
window.replyLinkPreloadPingTpl = "@[[User:|]]: ";
Enterprisey (talk!) 02:11, 1 July 2020 (UTC)- @Enterprisey: FYI, this advice is wrong . See [4]. It should be: Psiĥedelisto (talk • contribs) please always ping! 22:33, 3 July 2020 (UTC)
window.replyLinkPreloadPingTpl = "{{re|##}} "; // User_talk:Enterprisey/reply-link#Please_change_{{u}}_to_{{re}}
- @Enterprisey: FYI, this advice is wrong . See [4]. It should be:
DYK template
[edit]I've discovered two bugs, though it seems you already know about one of them (§ unsigned template and reply link). But, the other one, is more annoying for me, since I often contribute over at WP:DYK. See for example Template:Did you know nominations/Jueteng. Reply link doesn't work on anything under Template:Did you know nominations/ it seems. Any idea why? If I can fix it, do you accept PRs? Is the notion of a PR even possible on Wikipedia? Psiĥedelisto (talk • contribs) please always ping! 06:43, 6 July 2020 (UTC)
- @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)
- I have also had this issue. Here's what I got on my console. Gwen Hope (talk) (contrib) 05:50, 19 August 2020 (UTC)
Thsi failed. No error message
[edit]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
No particular error messages. Added manually without the script here. Fiddle Faddle 14:57, 6 July 2020 (UTC)
Error message
[edit]Error: TypeError: findSectionResult is undefined startReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1873 jQuery 2 index.php:269:17 Content request error: "TypeError: findSectionResult is undefined" index.php:272:21 DEBUG INFORMATION: 'User_talk:Darkwind' @ 967207477 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3ADarkwind/967207477
This occurred when trying to reply (after previewing) to the last comment on my talk page (from Rostadia2012). –Darkwind (talk) 20:55, 11 July 2020 (UTC)
- A quick troubleshooting attempt seems to indicate reply-link isn't compatible with User:Kephir/gadgets/unclutter, specifically the signature minimizing code. It works fine if unclutter is commented out. –Darkwind (talk) 21:03, 11 July 2020 (UTC)
- 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)
- Darkwind, try it now? Enterprisey (talk!) 07:29, 8 August 2020 (UTC)
- (Update: I realize that I didn't fix it for every case. Will keep working at it.) Enterprisey (talk!) 07:55, 8 August 2020 (UTC)
- OK, should actually be fixed this time. Enterprisey (talk!) 21:38, 8 August 2020 (UTC)
- Works now! Thanks! –Darkwind (talk) 02:58, 7 January 2021 (UTC)
- OK, should actually be fixed this time. Enterprisey (talk!) 21:38, 8 August 2020 (UTC)
- (Update: I realize that I didn't fix it for every case. Will keep working at it.) Enterprisey (talk!) 07:55, 8 August 2020 (UTC)
On XfDs
[edit]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]].
And BTW, any plan on merging this PR? You can delete that last commit as it's I think no longer applicable. The remaining would be useful. Best, SD0001 (talk) 16:52, 25 August 2020 (UTC)
- 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)
Not loading
[edit]The script loads at the top of talk page, but at the bottom, it doesn't load. What's solution? Thanx. Empire AS Talk! 08:25, 28 August 2020 (UTC)
- Empire AS, which page? Enterprisey (talk!) 16:47, 14 September 2020 (UTC)
WMF reply tool?
[edit]Is there any relationship between reply-link and https://www.mediawiki.org/wiki/Talk_pages_project/replying, or are they two independent projects? -- RoySmith (talk) 16:05, 7 September 2020 (UTC)
- 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)
Script having trouble in threads with posts signed by a SieBot
[edit]Like [5]. Check my talk page, I get an error when trying to reply to User_talk:Piotrus#Hello!Professor_Piotrus_I'm_Liuxinlei! and the one below. --Piotr Konieczny aka Prokonsul Piotrus| reply here 02:48, 9 September 2020 (UTC)
- Yeah, it's had problems with SineBot for a while. Probably will be somewhat of a pain to fix, but I'll get around to it. Enterprisey (talk!) 16:41, 14 September 2020 (UTC)
Weird bug
[edit]Now I understand this is partly my fault as I inadvertently replied in a diff, but I still don't understand what happened here. Any idea? — Yours, Berrely • Talk∕Contribs 13:02, 13 September 2020 (UTC)
- Such a big reply. That's complicated I'd say. Empire AS Talk! 14:44, 13 September 2020 (UTC)
- 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)
- Enterprisey, I got the ping for a mention on the teahouse and clicked on it, it took me to the diff of the ping, each message still had the reply button. — Yours, Berrely • Talk∕Contribs 18:57, 14 September 2020 (UTC)
- Should be fixed now. Enterprisey (talk!) 09:09, 1 December 2020 (UTC)
- Enterprisey, I got the ping for a mention on the teahouse and clicked on it, it took me to the diff of the ping, each message still had the reply button. — Yours, Berrely • Talk∕Contribs 18:57, 14 September 2020 (UTC)
Not working
[edit]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)
- TheAafi, which page were you on, and did anything appear in the browser console? Enterprisey (talk!) 16:31, 14 September 2020 (UTC)
- Enterprisey, I was trying to reply at Talk:Ladeeda Farzana and on my talk page at User talk:TheAafi#Requesting help on Article of Melissa B. and I started getting this error right after the message at User talk:TheAafi#Requesting help on Article of Melissa B. and sadly I have no information about "browser console". I am not good with issues related to computer world. Thanks ─ The Aafī (talk) 16:43, 14 September 2020 (UTC)
Unable to reply on User talk:Dhrumil1111
[edit]I was unable to use the script on User talk:Dhrumil1111. I am using firefox. The relevant content in the console is:
findSection( User_talk:Dhrumil1111 , ...) index.php:937:17
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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1904:25 mightThrow@https://wiki.riteme.site/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://wiki.riteme.site/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
DEBUG INFORMATION: 'User_talk:Dhrumil1111' @ 980994221 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3ADhrumil1111/980994221
Not working
[edit]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. at https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1904:63 at mightThrow (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%7Cjquery.ui&skin=vector&version=1spou:49:149) at process (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%7Cjquery.ui&skin=vector&version=1spou:49:808) undefined jQuery.Deferred.exceptionHook @ load.php?lang=en&modules=jquery%2Coojs-ui-core|jquery.ui&skin=vector&version=1spou:51 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) |
if that helps at all. I have no idea what it means, sorry! Eddie891 Talk Work 15:08, 2 October 2020 (UTC)
My talk page is a good testing bed
[edit]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 here 05:18, 5 October 2020 (UTC)
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 https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1904:63
at mightThrow (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%7Cjquery.ui&skin=vector&version=11ak3:49:149)
at process (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%7Cjquery.ui&skin=vector&version=11ak3:49:808) undefined
jQuery.Deferred.exceptionHook @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:51
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:269 Error: 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)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:269
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:272 Content request error: "TypeError: Cannot read property 'page' of undefined"
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:274 DEBUG INFORMATION: 'User_talk:Piotrus' @ 981921830 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3APiotrus/981921830
- Piotrus, try it again? Should be working now; I just updated the script. Enterprisey (talk!) 01:04, 28 November 2020 (UTC)
""@Enterprisey: I will let you know if I run into any problems, the high activity student posting phase has passed for a while now, I think. --Piotr Konieczny aka Prokonsul Piotrus| reply here 01:59, 28 November 2020 (UTC)
Reply without ping
[edit]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.
Instead of:
- "Replying to Example (using reply-link)"
Maybe:
- "Making a post (using reply-link)"
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)
- Good point. Emir of Wikipedia (talk) 22:35, 9 October 2020 (UTC)
- 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 to means something specific on Wikipedia. Unless your tool is actually using the ping utility, it is better to avoid language that implies its usage. Cheers CapnZapp (talk) 09:29, 30 November 2020 (UTC)
- 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)
- 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)
Not seeing reply links at RfD
[edit]I have seen them everywhere else I've gone just to test the script's availability but I can't see any reply links at WP:RFD. Zeke, the Mad Horrorist (Speak quickly) (Follow my trail) 18:48, 17 October 2020 (UTC)
- Zeke, the Mad Horrorist, should be working now? Enterprisey (talk!) 01:10, 28 November 2020 (UTC)
Error while replying at CfD
[edit]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)
- I can now confirm it works both on my own talk page and at WP:AFD, as this edit proves. Zeke, the Mad Horrorist (Speak quickly) (Follow my trail) 03:50, 19 October 2020 (UTC)
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). Nixinova T C 02:17, 27 October 2020 (UTC)
Buggy interaction with syntaxhighlight tag
[edit]See Special:Diff/985716954—my second reply in this thread was intended to be placed under my first reply—positioning fix. —andrybak (talk) 15:16, 27 October 2020 (UTC)
Crash when replying
[edit]Got this crash when replying to this message :
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:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:67 Reflinks: Loading messages from cache @ 1603789342648
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:185 Promoting reFill 2
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:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:937 findSection( User_talk:Ritchie333 , ...)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:835 liveTextContent >>>>>You had deleted the Savi Solutions page, can you please tell me what specifically needs to be changed in order to not have this page deleted? I followed all previous recommendations from User:discospinster<<<<<
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:855 ( null ) p small a[href^='./Special:Contributions/Jason.aul'] --> 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 https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1904:63
at mightThrow (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%7Cjquery.ui&skin=vector&version=11ak3:49:149)
at process (https://wiki.riteme.site/w/load.php?lang=en&modules=jquery%7Cjquery.ui&skin=vector&version=11ak3:49:808) undefined
jQuery.Deferred.exceptionHook @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:51
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:269 Error: 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)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:269
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:272 Content request error: "TypeError: Cannot read property 'page' of undefined"
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:274 DEBUG INFORMATION: 'User_talk:Ritchie333' @ 985886540 parsoid https://wiki.riteme.site/api/rest_v1/page/html/User_talk%3ARitchie333/985886540
While I was replying, SineBot signed the post, and another editor added a comment in an unrelated section.
Ritchie333 (talk) (cont) 15:16, 28 October 2020 (UTC)
Script error
[edit]I am getting the following errors when trying to comment on this thread.
Extended content
|
---|
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:269 URIError: URI malformed at decodeURIComponent (<anonymous>) at wikitextToTextContent (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:287) at wikitextHeaderEqualsDomHeader (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:298) at getSectionWikitext (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1252) at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1586) at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1910) 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:269 doReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1735 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1910 mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 process @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 setTimeout (async) (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:51 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 process @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50 mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 process @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 setTimeout (async) (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 process @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 setTimeout (async) (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 done @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:129 (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:132 load (async) send @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:132 ajax @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:127 jQuery.ajax @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:147 jQuery.<computed> @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:129 getJSON @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:129 getWikitext @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:344 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1904 mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 process @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 setTimeout (async) (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 process @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50 mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 process @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 setTimeout (async) (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 process @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 setTimeout (async) (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 add @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50 jQuery.Deferred @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:155 then @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50 findSection @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1126 (anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1899 mightThrow @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 process @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:49 setTimeout (async) (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:50 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 fire @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:46 fireWith @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:47 done @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:129 (anonymous) @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:132 load (async) send @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:132 ajax @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:127 jQuery.ajax @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:147 jQuery.<computed> @ load.php?lang=en&modules=jquery|jquery.ui&skin=vector&version=11ak3:129 startReply @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1897 |
— LeoFrank Talk 09:19, 1 November 2020 (UTC)
- I fixed your code there since you seem to accidentally have substituted the talkquote template. Regards SoWhy 10:02, 1 November 2020 (UTC)
- LeoFrank, seems to be working as of the latest update; could you confirm this? Enterprisey (talk!) 09:01, 1 December 2020 (UTC)
- Enterprisey, thanks. It has been working since a while. — LeoFrank Talk 16:31, 1 December 2020 (UTC)
Error - replying to ANI thread
[edit]Console log after replying to this thread : https://wiki.riteme.site/w/index.php?title=Wikipedia:Administrators%27_noticeboard&diff=986788074&oldid=986788012 (for the record, my comment was a sympathetic to reply to the poster agreeing more uninvolved admin input was required)
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
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:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:67 Reflinks: Loading messages from cache @ 1604308514290
index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript:185 Promoting reFill 2
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:937 findSection( Wikipedia:Administrators'_noticeboard , ...)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:835 liveTextContent >>>>>Close this- 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 ) li sub a[href^='./User_talk:Reyk'] --> Array(4)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1016 tsclnId === null
findSection @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1016
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1903 findSectionResult Object
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1505 TOP OF doReply Array(3) Object
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1565 in doReply, header = Array(3)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1179 In getSectionWikitext, sectionName = >Proposal for Adamant1< (wikitext.length = 437868)
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1289 In sigIdxToStrIdx, sigIdx = 78
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:269 Error: Sanity check on sig username failed! Found Adamant1 but expected Reyk (wikitext vs DOM)
at doReply (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1624)
at Array.<anonymous> (index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1910)
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:269
index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:272 Content request error: "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:274 DEBUG INFORMATION: 'Wikipedia:Administrators'_noticeboard' @ 986841741 parsoid https://wiki.riteme.site/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. <a href="/wiki/User:Reyk" title="User:Reyk"><b style="color: Maroon;">Reyk</b></a> <sub><a href="/wiki/User_talk:Reyk" title="User talk:Reyk"><b style="color: Blue;">YO!</b></a></sub><span class="before-localcomments"> </span><span class="localcomments" timestamp="1604364122044" title="00:42, 3 November 2020 (UTC)" style="font-size: 95%; white-space: nowrap;">12:42 am, Today (UTC+0)</span><span class="reply-link-wrapper"> (<a href="#" id="reply-link-395" data-original-label="reply">reply</a>)</span><span class="after-localcomments"></span></li>
What is significant here is that other posts have <a href="/wiki/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)
- 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)
Bug report: answer added above selected post
[edit]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)
- It seems that something in that section is not accounted for by the script. Another reply got misplaced (fix). —andrybak (talk) 22:25, 8 November 2020 (UTC)
Status update (Nov 2020)
[edit]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)
- The new version is up, for now, at User:Enterprisey/reply-link-dev.js. I will probably copy it over to the main version soon. As I hoped, it's much faster. Please try it out and let me know if anything breaks. Enterprisey (talk!) 07:45, 27 November 2020 (UTC)
- And copied over to the main version. Happy replying. Enterprisey (talk!) 22:52, 27 November 2020 (UTC)
- Updated once again, in case anything breaks for anyone. Enterprisey (talk!) 09:36, 30 November 2020 (UTC)
- And copied over to the main version. Happy replying. Enterprisey (talk!) 22:52, 27 November 2020 (UTC)
AFD comments not going to bottom
[edit]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! Reywas92Talk 19:05, 26 November 2020 (UTC)
Some thoughts...
[edit]based on Special:Permalink/990919954 of the dev version
escapeForRegex
appears to work the same asmw.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
theDEBUG 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 usemw.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 havesetStatus( "While replying, the edit failed." );
- it might be useful to convert theresult
variable into a user-facing error via thegetErrorMessage
inmw.Api
- see [6] - In
handleWrapperClick
, you manually check if messages are loaded, and either proceed immediately or load them first - theloadMessagesIfMissing
method inmw.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, --DannyS712 (talk) 08:06, 27 November 2020 (UTC)
- 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)
Problems
[edit]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"?
FYI, I am working on an up-to-date IPad, if that helps. I am not sure what I am doing wrong, can you help? Perhaps I need to wait for something to "kick in"? Clueless, but hopeful... Tribe of Tiger Let's Purrfect! 03:28, 1 December 2020 (UTC)
- One hour or so later, the function seems to have "kicked in". Thanks! Tribe of Tiger Let's Purrfect! 04:38, 1 December 2020 (UTC)
- 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)
Script error
[edit]
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)
setStatusError @ index.php?title=User…text/javascript:279
... replying to User_talk:Ritchie333#GA_nom_on_Jenson_Button
- Just got the same error on Talk:macOS High Sierra. I think it's because I have User:Gary/comments in local time.js installed and that borks the parser because the date in the wikitext doesn't match the date in the parsed HTML. Ritchie333 (talk) (cont) 00:04, 16 December 2020 (UTC)
- Ritchie333, should be fixed? Enterprisey (talk!) 01:19, 17 December 2020 (UTC)
- 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)
- 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,
- Ritchie333, should be fixed? Enterprisey (talk!) 01:19, 17 December 2020 (UTC)
Another error :>
[edit]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)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:279
Btw, I also noticed that after the script executes, it temporarily makes all sections below not visible (it doesn't delete anything, they just don't display until I refresh the page). --Piotr Konieczny aka Prokonsul Piotrus| reply here 04:09, 15 December 2020 (UTC)
One more error, this from WT:POLAND. Let me know if I should copy more, I am just copying the red errors from the console.--Piotr Konieczny aka Prokonsul Piotrus| reply here 02:27, 16 December 2020 (UTC)
TypeError: Cannot read property 'length' of null
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)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:279
On Wikidata
[edit]On page d:Wikidata:Administrators'_noticeboard#Semi-protection_of_Pornhub_(Q936394) when replying I got
Uncaught Sanity check on header name failed! Found "Semi-protection of {{Q|Q936394}}", expected "Semi-protection of Pornhub (Q936394)" (wikitext vs DOM)
‐‐1997kB (talk) 05:05, 20 December 2020 (UTC)
- Also, it would be great if this link d:Special:Diff/1325800685 in comment links to enwiki documentation page. ‐‐1997kB (talk) 05:08, 20 December 2020 (UTC)
Error Replying On User Talkpage
[edit]Here's the console output. Simple trying to reply on user talk error. Wonder why? ~Gwennie🐈⦅💬 📋⦆ 08:30, 21 December 2020 (UTC)
Bug report
[edit]For myself: Special:Diff/996553838 went to the wrong place. Enterprisey (talk!) 23:28, 28 December 2020 (UTC)
- And Special:Diff/1002407172 - unrelated, but also bad. Enterprisey (talk!) 08:22, 24 January 2021 (UTC)
Reply without ping 2
[edit]Hello and holiday greetings!
Just wanted to check in on your progress re: #Reply without ping.
Cheers, CapnZapp (talk) 08:37, 31 December 2020 (UTC)
Can you make this work at WP:FAR pages?
[edit]Thanks Enterprisey for a wonderful gadget. The script is working great for me in Talk pages, but I don't see Reply links at Wikipedia:Featured article review/Climate change/archive1. Is there a way to activate the tool there? Best, Clayoquot (talk | contribs) 19:05, 10 January 2021 (UTC)
Problem with reply on Chrome for MAC
[edit]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
— LeoFrank Talk 06:12, 14 January 2021 (UTC)
Adding extra line breaks
[edit]I've noticed reply-link recently adding extra line breaks, e.g. here. {{u|Sdkb}} talk 18:09, 15 January 2021 (UTC)
Error in edit summary
[edit]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. Dream Focus 10:47, 25 January 2021 (UTC)
Error while replying
[edit]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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:984
doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1245
startReply https://wiki.riteme.site/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://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:279
doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1419
startReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1651
jQuery 2
DEBUG INFORMATION: 'Wikipedia_talk:RedWarn' @ 1004953652
―sportzpikachu my talkcontribs 06:41, 5 February 2021 (UTC)
Matches is null error
[edit]Replying to this last comment: TypeError: matches is null
.
trace
|
---|
getTimestampGivenAuthorLink https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&oldid=1002412137&action=raw&ctype=text/javascript:449
doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&oldid=1002412137&action=raw&ctype=text/javascript:1288
startReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&oldid=1002412137&action=raw&ctype=text/javascript:1651
Content request error: "matches is null" index.php:282:21
DEBUG INFORMATION: 'Wikipedia:Interface_administrators'_noticeboard' @ 1009350462 |
I use comments in local time and User:Evad37/TimestampDiffs.js. ~ Amory (u • t • c) 14:57, 28 February 2021 (UTC)
Error: Non-divisible header list lengths
[edit]Error: non-divisble header list lengths
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)
(anonymous) @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1660
Caused by attempting to reply to Fences and windows (talk · contribs) at Wikipedia:Biographies_of_living_persons/Noticeboard#Sarah_Kennedy. (Manual reply is here). I wonder if it's because FAW's signature is [[User:Fences and windows|<span style="background-color:white; color:red;">Fences</span>]]<span style="background-color:white; color:#808080;">&</span>[[User talk:Fences and windows|<span style="background-color:white; color:black;">Windows</span>]]
(ie: with nested HTML tags and special chars in signature). Ritchie333 (talk) (cont) 14:54, 1 April 2021 (UTC)
- 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)
- Curbon7, No, I just logged this here in the hope that Enterprisey would be able to work out the cause and a potential fix. Ritchie333 (talk) (cont) 10:06, 30 June 2021 (UTC)
- Ritchie333, It seems it literally just got fixed! Curbon7 (talk) 21:04, 1 July 2021 (UTC)
- Curbon7, No, I just logged this here in the hope that Enterprisey would be able to work out the cause and a potential fix. Ritchie333 (talk) (cont) 10:06, 30 June 2021 (UTC)
- "non-divisble header list lengths" contains a typo, should be non-divisible. I also just got this error trying to reply to Wikipedia:Teahouse#Golygu ar declyn symudol Golygiad gwe symudol, but for me it was maybe caused by editing conflict. — Alexis Jazz (talk or ping me) 06:11, 16 July 2021 (UTC)
Don't mention the user when responding on their talk page
[edit]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)
- @Enterprisey: I changed this this in my copy.
!(mw.config.get( "wgTitle" ) === cmtAuthor && mw.config.get( "wgNamespaceNumber" ) === 3)
seems to have done the trick. — Alexis Jazz (talk or ping me) 16:58, 23 April 2021 (UTC)- Agree, not necessary. Thank you! ---Another Believer (Talk) 17:04, 23 April 2021 (UTC)
Is this script now obsolete?
[edit]Or otherwise incorporated into the mediawiki engine? Guarapiranga (talk) 23:19, 27 April 2021 (UTC)
- 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)
- 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)
- 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)
- Guarapiranga, I take it you are unaware of the colossal failure that was m:Flow? — Alexis Jazz (talk or ping me) 08:32, 2 June 2021 (UTC)
- I am, Alexis Jazz. — 𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚 ☎ 08:46, 2 June 2021 (UTC)
- Guarapiranga, I take it you are unaware of the colossal failure that was m:Flow? — Alexis Jazz (talk or ping me) 08:32, 2 June 2021 (UTC)
- 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)
- 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)
English Wiktionary
[edit]"//en.wiktionary.org": /\d\d:\d\d,\s\d{1,2}\s\w+?\s\d{4}/.source
— Alexis Jazz (talk or ping me) 10:15, 29 April 2021 (UTC)
Second reply on same page removes first reply?
[edit]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 SoWhy 09:02, 30 April 2021 (UTC)
Sig username assert failed!
[edit]Error: "Sig username assert failed! Found Sawol but expected 162 etc. (wikitext vs DOM)" doReply https://wiki.riteme.site/w/index.php?title=User:Alexis_Jazz/reply-link.js&action=raw&ctype=text/javascript:1283 startReply https://wiki.riteme.site/w/index.php?title=User:Alexis_Jazz/reply-link.js&action=raw&ctype=text/javascript:1653
When trying to create this reply. (which I now inserted without reply-link) — Alexis Jazz (talk or ping me) 18:21, 16 May 2021 (UTC)
Tried again with the official version:
Error: "Sig username assert failed! Found Alexis Jazz but expected 162 etc. (wikitext vs DOM)" doReply https://wiki.riteme.site/w/index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:1282 startReply https://wiki.riteme.site/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 failed
[edit]Received this error when trying to reply to a comment regarding a DYK nomination on an article talk page "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. Article is: https://wiki.riteme.site/wiki/Talk:Commonwealth_Register_of_Institutions_and_Courses_for_Overseas_Students Carrolquadrio (talk) 23:50, 1 June 2021 (UTC)
Edit summary wording (Reply to xfd)
[edit]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)
Thinking of deprecating this script in favor of DiscussionTools
[edit]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)
- 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)
- @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)
- 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)
- @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)
Error
[edit]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)
setStatusError @ index.php?title=User:Enterprisey/reply-link.js&action=raw&ctype=text/javascript:279
Thanks! BubbaJoe123456 (talk) 14:33, 1 September 2021 (UTC)
Reply-link officially superseded by DiscussionTools
[edit]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)
- 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)
- @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) - 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)
- @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 always ping! 10:05, 10 September 2021 (UTC)
- 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)
- @Alexis Jazz: I have not done JavaScript development for many years. (My last web development project did not work out so well.) However I could help you if need be. Psiĥedelisto (talk • contribs) please always ping! 13:27, 10 September 2021 (UTC)
- 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)
- @Alexis Jazz: Discussion Tools can still ping the recipient; you just have to do it manually. Typing an
- 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 Tiger Let's Purrfect! 21:08, 6 September 2021 (UTC)
- @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)
- @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 Tiger Let's Purrfect! 02:20, 7 September 2021 (UTC)
- @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)
- 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 Tiger Let's Purrfect! 22:02, 7 September 2021 (UTC)
- @Tribe of Tiger, in prefs, under the "Gadgets" tab, do you have the "GoogleTrans" gadget turned on? Whatamidoing (WMF) (talk) 18:33, 9 September 2021 (UTC)
- Whatamidoing (WMF), hi there! No, I do not have this gadget.... Tribe of Tiger Let's Purrfect! 18:40, 9 September 2021 (UTC)
- 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.
- Would you try something else for me? Click here: https://wiki.riteme.site/wiki/User_talk:Enterprisey/reply-link?safemode=1&dtenable=1#Reply-link_officially_superseded_by_DiscussionTools to reload this page. Use the Reply tool on this page, and tell me if that gets rid of the seasick-mode. (That link will also give you a chance to try out the new [subscribe] feature; if you subscribe to this section, then you'll get a notification every time someone else posts a comment here, even if they don't ping you.) Whatamidoing (WMF) (talk) 19:03, 9 September 2021 (UTC)
- 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 Tiger Let's Purrfect! 20:02, 9 September 2021 (UTC)
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)- 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 Tiger Let's Purrfect! 19:43, 10 September 2021 (UTC)
- @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)
- @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
- 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 Tiger Let's Purrfect! 19:43, 10 September 2021 (UTC)
- 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 Tiger Let's Purrfect! 21:25, 9 September 2021 (UTC)
- @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)
- 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)
- Enterprisey, Whatamidoing (WMF), I shall try your suggestions and report back. Thanks for spending so much time helping me! Tribe of Tiger Let's Purrfect! 22:45, 10 September 2021 (UTC)
- 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)
- @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)
- 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 Tiger Let's Purrfect! 20:02, 9 September 2021 (UTC)
- Whatamidoing (WMF), hi there! No, I do not have this gadget.... Tribe of Tiger Let's Purrfect! 18:40, 9 September 2021 (UTC)
- @Tribe of Tiger, in prefs, under the "Gadgets" tab, do you have the "GoogleTrans" gadget turned on? Whatamidoing (WMF) (talk) 18:33, 9 September 2021 (UTC)
- 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 Tiger Let's Purrfect! 22:02, 7 September 2021 (UTC)
- @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)
- @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 Tiger Let's Purrfect! 02:20, 7 September 2021 (UTC)
- @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)
- Enterprisey, Psiĥedelisto, Tribe of Tiger, I will now maintain reply-link at User:Alexis Jazz/reply-link. I'm also working on something new. Don't feel pressure to switch if you are happy with DiscussionTools now, I'm just offering this for those who prefer it. — Alexis Jazz (talk or ping me) 08:50, 7 December 2021 (UTC)
Reply link showing up double (and now triple) as well as giving an error...
[edit]In this section of my talk page: User_talk:Huggums537#Userbox:My_boxes_live_here there are several places where the reply link shows up twice at the end of the comment. The first reply link refuses to yield a reply box, and the second reply link produces the reply box, but returns the error while replying message. Huggums537 (talk) 21:35, 13 September 2021 (UTC)
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)
More forcibly retire?
[edit]@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). — xaosflux Talk 14:33, 10 January 2024 (UTC)
- How about something like this for the popup? —andrybak (talk) 18:59, 18 August 2024 (UTC)
const scriptLink = document.createElement('a'); scriptLink.href = 'https://wiki.riteme.site/wiki/User:Enterprisey/reply-link'; scriptLink.innerText = "User:Enterprisey/reply-link"; const message = 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" });