Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Error  
4 comments  




2 Unexpected redirect from Talk:AT&T to Talk:AT  
4 comments  




3 Large section of the preceding response removed unexpectedly when leaving a comment.  
3 comments  




4 Add {{ECOI|rs}}  
2 comments  




5 COI request tool bug  
3 comments  




6 COI Tool bug?  
3 comments  




7 Unclear: X-Y bug  
3 comments  




8 Error  
3 comments  




9 Template:Request edit renamed  
3 comments  




10 Interface-protected edit request on 24 August 2023  
2 comments  




11 Uncaught TypeError: mw.Api is not a constructor  
6 comments  




12 Possible bug  
3 comments  













User talk:Terasail/COI Request Tool




Page contents not supported in other languages.  









User page
Talk
 

















Read
Edit
Add topic
View history
 








Tools
   


Actions  



Read
Edit
Add topic
View history
 




General  



What links here
Related changes
User contributions
User logs
View user groups
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< User talk:Terasail
(Redirected from User talk:Terasail/COI Request Tool.js)

Please ping me when adding a new message to this page to allow for me to respond quicker.

Error[edit]

I’m getting the following error when using the tool:

 Failed to find {{Request edit}} template, please report to "User talk:Terasail/COI Request Tool"

Ben ❯❯❯ Talk 16:17, 24 May 2021 (UTC)[reply]

I am working on the problem now. Terasail[✉] 15:13, 2 June 2021 (UTC)[reply]
Thanks! I think it’s only occurring when i edit on my iPad. Ben ❯❯❯ Talk 15:52, 2 June 2021 (UTC)[reply]
@Shadowrvn728: The issue should now be fixed. Sorry for the delay in the response. Please respond if it continues however. Terasail[✉] 16:01, 2 June 2021 (UTC)[reply]

Unexpected redirect from Talk:AT&TtoTalk:AT[edit]

Hi. After closing a request on Talk:AT&T I got redirected here: https://en.wikipedia.org/w/index.php?title=Talk:AT&T&type=revision&diff=cur&oldid=prev&diffmode=sourceIt

Seems like maybe the & is not being escaped properly?Melmann 20:11, 24 June 2021 (UTC)[reply]

@Melmann:Yeah, its because I need to set it to replace the character "&" with its code "%26" otherwise the url gets confused and will send you to the wrong page. I will get round to it, thanks for the note. Terasail[✉️] 22:38, 24 June 2021 (UTC)[reply]
This should be fixed now Terasail[✉️] 15:44, 26 June 2021 (UTC)[reply]
Thank you! Melmann 18:47, 20 July 2021 (UTC)[reply]

Large section of the preceding response removed unexpectedly when leaving a comment.[edit]

Hello. I seem to have encountered a bug. Please see this diff.
Upon leaving a comment on an edit request which had subsection, the tool seems to have removed large amount of preceding response's text. Melmann 18:47, 20 July 2021 (UTC)[reply]

@Melmann: Thanks, I might have an idea why this happened, I will look into this further. It should not be a common issue however. Terasail II[✉️] 21:36, 20 July 2021 (UTC)[reply]
 Fixed: I have gone through and this problem should no longer occur. I also fixed indenting so the reply should indent to the previous message. If any problems continue reply here again, thanks. Terasail[✉️] 01:53, 23 July 2021 (UTC)[reply]

Add {{ECOI|rs}}[edit]

Hi! Recently, I added {{ECOI|rs}} to the ECOI template to bring it in line with the protected templates, and I am requesting that you add it to this tool. casualdejekyll 01:20, 3 February 2022 (UTC)[reply]

@Casualdejekyll: Hello, I have added this option. Sorry for the slow response, if there are any problems please ping me here and I will attempt to fix them. Thanks, Terasail[✉️] 22:40, 13 February 2022 (UTC)[reply]

COI request tool bug[edit]

@Terasail Hi! Some people have run into an issue where citations appear "double", as in [12][0] instead of [12]. The hyperlinks still work. I had this issue too, and in my troubleshooting, the issue was fixed when I removed the COI request tool from my JS page. There is some further discussion on the discord, I created a post in the "Technical" section. As far as I know, other users have not yet replicated this fix, so I'm waiting for that. Please ping me for any replies! Actualcpscm (talk) 12:57, 18 November 2022 (UTC)[reply]

Nevermind, apparently it's just WP:THURSDAY shenanigans; at least one user who does not have the tool installed encountered the same issue. Sorry for the confusion! Actualcpscm (talk) 14:32, 18 November 2022 (UTC)[reply]
@Actualcpscm It is all good, sorry for the late response. I will get round to updating this tool to the new interface that the edit request tool has and improvements that I made there. Terasail[✉️] 11:38, 21 November 2022 (UTC)[reply]

COI Tool bug?[edit]

Hi @Terasail, me again. Hope you're doing well. I have encountered two instances of unusual behaviour:

1. There is a COI request here: [1]. When using the "Unclear: X-Y" response button, the tool appears to get stuck; it simply shows『Processing request — Edit request starting, getting section data to edit』indefinitely.

2. In some instances, using the "Unclear: X-Y" response will instead post a reply with the standard response about reliable sources; that happened here [2].

It is way beyond my technical competence to troubleshoot this on my own, but I'd be happy to assist in any way that helps you. Also, thank you for keeping these tools running. You're one of the random people in Nebraska, at least to me. Actualcpscm (talk) 11:47, 18 March 2023 (UTC)[reply]

@Actualcpscm Will look into this, I have been taking a break for the last 9 days or so but am happy to help fix anything. I will hop on this as soon as I can (Next few days probably) I haven't looked into that script for a few months so I am unsure how long it will take me to fix but it shouldn't be too long. Terasail[✉️] 20:17, 18 March 2023 (UTC)[reply]
No worries. It seems to work fine in most use-cases. Please don't let me pressure you! Actualcpscm (talk) 17:17, 19 March 2023 (UTC)[reply]

Unclear: X-Y bug[edit]

When I use "Unclear: X-Y", the tool responds with {{subst:ECOI|rs}}. voorts (talk/contributions) 15:14, 24 June 2023 (UTC)[reply]

Pinging @Terasail. voorts (talk/contributions) 02:15, 27 June 2023 (UTC)[reply]
@Voorts Thanks for letting me know. This should be fixed now. Terasail[✉️] 02:39, 27 June 2023 (UTC)[reply]

Error[edit]

@Terasail When clicking the go ahead option I get Failed to find {{Request edit}} template, please report to "User talk:Terasail/COI Request Tool" Lightoil (talk) 13:05, 25 June 2023 (UTC)[reply]

Hello @Lightoil, thanks for reporting this. I just checked on a random edit request and this worked correctly. Can I ask what page it was that you tried this on and it failed to work? Terasail[✉️] 11:47, 26 June 2023 (UTC)[reply]
@Terasail I tried this at Talk:Gould Memorial Library and it failed so I had to answer the request manually. Lightoil (talk) 12:12, 26 June 2023 (UTC)[reply]

@Terasail: I don't know if it affects the script or not. So, I thought about letting you know that {{Request edit}} has been deprecated and renamed to {{Edit COI}}. Thanks! CX Zoom[he/him] (let's talk • {CX}) 14:34, 12 July 2023 (UTC)[reply]

@CX Zoom Thanks for letting me know. It will most likely break the script but I wont be able to fix it until Saturday unfortunately. Terasail II [✉️] 16:14, 12 July 2023 (UTC)[reply]
@CX Zoom Turns out there was no issue after I tested, I had coded it well enough to cover this luckly. I am in the process of slowly upading the script to work the same was as my EditRequestTool which should be active 'soonish'. Thank you for notifying me though. Terasail[✉️] 14:41, 15 July 2023 (UTC)[reply]

Interface-protected edit request on 24 August 2023[edit]

@Terasail When there is no additional information, there should be no colon in the response text. Specifically, AFAIK line 11 is just the "Done" button and never has additional information, so it should be "Done.", not "Done:". Aaron Liu (talk) 15:20, 24 August 2023 (UTC)[reply]

@Aaron Liu This was not directly caused by my userscript and the colon comes from {{ECOI}}. I have removed the colon from the template and updated my userscript to reflect this change. Terasail[✉️] 14:55, 25 August 2023 (UTC)[reply]

Uncaught TypeError: mw.Api is not a constructor[edit]

Steps to reproduce: install script, then visit any page, add ?debug=1 in the URL, then refresh.

Fix: load the library mediawiki.api somewhere in your code. Probably on line 41.

Motivation: reduce JavaScript console log spam while I am debugging other scripts with this script installed.

Thanks in advance. Happy coding. –Novem Linguae (talk) 16:43, 7 May 2024 (UTC)[reply]

@Terasail. Ping as requested. –Novem Linguae (talk) 16:51, 7 May 2024 (UTC)[reply]
@Novem Linguae I have had a quick look, I don't get a type error from User:Terasail/COI Request Tool.js on any page that I have looked at. I get some warnings about using codex instead of of resource loader. I can look more into this at the weekend though. Terasail[✉️] 20:36, 9 May 2024 (UTC)[reply]
Did you add ?debug=1/&debug=1 to the URL? For me it doesn't throw without that. –Novem Linguae (talk) 20:48, 9 May 2024 (UTC)[reply]
@Novem Linguae I have updated the script to try and stop the error, I wasn't able to see the error before but could see it today, not sure if I have actually fixed it or if it still there and my console is just bugged. Let me know if you are still getting the error. Terasail[✉️] 14:01, 11 May 2024 (UTC)[reply]
Looks good. I don't see COI Request Tool throwing this error anymore when I visit https://en.wikipedia.org/wiki/Talk:Mohamed_Ali_Hassan?debug=1. However you may want to add , "mediawiki.api" to line 40, mw.loader.using(["oojs-ui-core", "oojs-ui-widgets", "oojs-ui-windows"]).done(function() {. And also the Edit Request Tool is still throwing the error. Thanks for your work on this fairly minor bug, I appreciate your time. –Novem Linguae (talk) 16:34, 11 May 2024 (UTC)[reply]

Possible bug[edit]

@Terasail why does the script add pages to my watchlist even though I did not click the checkbox to add it? Lightoil (talk) 15:58, 12 June 2024 (UTC)[reply]

@Lightoil This should be fixed now. Please let me know if this is still occurring. Terasail[✉️] 16:38, 13 June 2024 (UTC)[reply]
Okay thanks Lightoil (talk) 16:44, 13 June 2024 (UTC)[reply]

Retrieved from "https://en.wikipedia.org/w/index.php?title=User_talk:Terasail/COI_Request_Tool&oldid=1228865045"





This page was last edited on 13 June 2024, at 16:44 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki