User talk:CFA/scripts/AttributeTranslation
Different dummy edit?
@Clearfrienda This does seem like a pretty useful script! However, maybe the dummy edit should be adding an extra newline at the end of the page? I feel like such comments will be confusing to future editors. Also, I'd suggesting marking the edit as minor by default. Aaron Liu (talk) 01:11, 2 June 2024 (UTC)
- @Aaron Liu: Thank you for the suggestions. I've made it mark the dummy edit as minor and add a new line instead of the comment, although I couldn't figure out how to do so without also adding an invisible character (U+200B). For some reason I can add a space/new line in the web editor and it will still "register" as an actual change, but it doesn't seem to work when calling the API directly. C F A đŹ 02:26, 2 June 2024 (UTC)
About namespace restrictions
Hey Clearfrienda! Thanks for writing this script, I'm sure it's going to come in handy for future reviewing. The script is currently displaying a link on special pages (I found it on my watchlist using MonoBook) where it obviously doesn't do anything. I would suggest restricting the namespaces where the link appears, excluding those which use non-wikitext content models and possibly also talk pages, where it would have limited uses. Let me know if you have any questions! âTechnoSquirrel69 (sigh) 01:22, 3 June 2024 (UTC)
- @TechnoSquirrel69: Thanks for the suggestion. I was planning on doing this but forgot. The script will now only display the menu link on pages in the article and draft namespace (I don't see it ever being used anywhere else). C F A đŹ 00:21, 4 June 2024 (UTC)
- Appreciate it! âTechnoSquirrel69 (sigh) 00:33, 4 June 2024 (UTC)
Other script
@CFA This is great, thought you might be interested in another script that does a similar function Wikipedia:Deputy/Attribution Notice Template Editor â Isochrone (talk) 12:07, 29 August 2024 (UTC)
Force warning
Hi @CFA, this script is exactly what I was planning on writing, lol, thank you for doing it already. I think we should not be forced to warn the author of the article though, I mean, I might just want to leave a notice in my own word to the author without using the uw template. I had to warn one user, revert my edit on their talk page and dropped my own message, why? because there have been many {{uw-translation}} in the user's talk page and I don't want to add to it. This is something you could do right? The script should still proceed even if we do not choose any of the users listed to be warned. Maybe a confirmation dialog could pop up asking if we're sure we do not want to warn the user... but not choosing any user should not stop us from proceeding :) Vanderwaalforces (talk) 09:35, 19 September 2024 (UTC)
Done, not sure why I made it a requirement originally. C F A đŹ 20:36, 19 September 2024 (UTC)
- @CFA Thank you! I was also wondering if the script could NOT permanently add the pages we edit to our watchlist? Maybe 15-30 days might be okay? Vanderwaalforces (talk) 10:18, 20 September 2024 (UTC)
- I disabled adding to the watchlist for now because I couldn't figure out why
watchlistExpirywasn't actually setting an expiry. I'll probably take a look later. C F A đŹ 00:37, 21 September 2024 (UTC)
- I disabled adding to the watchlist for now because I couldn't figure out why
- @CFA Thank you! I was also wondering if the script could NOT permanently add the pages we edit to our watchlist? Maybe 15-30 days might be okay? Vanderwaalforces (talk) 10:18, 20 September 2024 (UTC)
Script doesn't load
Hi, I've been having trouble with this script loading at all on pages. My console shows me getting a 403 error from the page it tries to load from, and there's also this error:
The resource from âhttps://en.wikipedia.org/w/index.php?title=User:Clearfrienda/scripts/attributetranslation.js&action=raw&ctype=text/javascriptâ was blocked due to MIME type (âtext/htmlâ) mismatch (X-Content-Type-Options: nosniff).
Is there anything I can do to fix this? I'm not having this issue with any other script. Happens on both Firefox and Edge. Reconrabbit 16:36, 17 January 2025 (UTC)
- Reconrabbit, that's because I changed my username after you installed the script. The script redirect left behind does not work (see T272297). You can fix this by changing the following in your common.js:
C F A 20:03, 17 January 2025 (UTC)â importScript('User:Clearfrienda/scripts/attributetranslation.js'); // Backlink: [[User:Clearfrienda/scripts/attributetranslation.js]]+ importScript('User:CFA/scripts/attributetranslation.js'); // Backlink: [[User:CFA/scripts/attributetranslation.js]]- I see, thank you very much! Reconrabbit 20:15, 17 January 2025 (UTC)
Double dummy edit
Hi, CFA, and thanks for the script. When running the script on Rawa Majid (hist), two dummy edits were made to the article. Best, Sam Sailor 08:43, 24 June 2025 (UTC)
- Strange. I assume this was a network glitch because I have not seen it happen anywhere else. If it happens again please let me know and I'll try to reproduce it. C F A 00:21, 25 October 2025 (UTC)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.