User talk:TheTechie/UserTools
To start a new ticket, click "New section" above. Do not use Edit source, as it has the possibility of new topics being included as part of old topics, unless you know what you are doing.
Re: ideas
[edit]Howdy. Thanks for the message on my user talk. For new user script ideas, I'd recommend checking WP:US/R, or my list of user script ideas. As you immerse yourself in Wikipedia, ideas will probably also come to you.
I took a peek at your code at User:TheTechie/tut.js. A couple things jumping out at me in terms of code quality. 1) e.preventDefault
is a function and needs parentheses, e.g. e.preventDefault()
. 2) Class names are usually capitalized, e.g. class TextBlocks
and blocks = new TextBlocks();
. 3) The first time you declare a variable in JavaScript, you're supposed to use a keyword such as let
or const
. Let means you plan to change its value, const (constant) means you're just declaring it once.
Have fun on your JavaScript journey. I was mainly a PHP programmer before I started my Wikipedia stuff. Needless to say if you write lots of user scripts your JavaScript skills will go way up! –Novem Linguae (talk) 02:09, 26 April 2024 (UTC)
Optional Message
[edit]Hi @TheTechie, I hope you're doing well. I'm just suggesting adding a pop-up for optional message when sending smiles. Thanks! Myrealnamm (💬pros · ✏️cons) 20:29, 2 July 2024 (UTC)
- Isn't this what it already does. @Myrealnamm please clarify. thetechie@enwiki: ~/talk/ $ 17:46, 4 July 2024 (UTC)
- Nevermind. Myrealnamm (💬pros · ✏️cons) 17:49, 4 July 2024 (UTC)
- I thought the template page said "you can also add a message under the template" but I don't think it's necessary anymore. Myrealnamm (💬pros · ✏️cons) 17:51, 4 July 2024 (UTC)
Show
[edit]Another feature request: Show only on talk pages, user pages, and contribution pages (including subpages, guestbooks, etc), it takes up a little bit of spaces on other pages such as 'Special' prefix pages, articles, and pages in other namespaces. Myrealnamm (💬pros · ✏️cons) 17:38, 4 July 2024 (UTC)
- @Myrealnamm Sorry for the wait. Done I've implemented this finally. In the future if I add anything that appears on other namespaces too, it will reappear, FYI. TheTechie@enwiki (she/they | talk) 23:01, 3 January 2025 (UTC)
- Feel free to pitch around any feature requests in the future and thanks for your help! TheTechie@enwiki (she/they | talk) 23:02, 3 January 2025 (UTC)
Translated
[edit]Another feature request: Add my translated version in portuguese. Its on dev. more feature coming soon. Vitorperrut555 (talk) 16:42, 9 December 2024 (UTC)
- @Vitorperrut555 Done TheTechie@enwiki (she/they | talk) 23:07, 3 January 2025 (UTC)
Br
[edit]Is it possible to remove all <br>
s and replace them with a single line break instead? Between each warning there doesn't seem to be enough space (this one) so a single line break seems more ... spaced out.
Also, I don't think this.warninggeneric is really necessary, perhaps remove the visible part, because new users might be confused seeing it?
These are just suggestions in my opinions, please don't feel obligated to do them if you don't agree witht hem. Myrealnamm (💬Let's talk · 📜My work) 18:39, 4 January 2025 (UTC)
- @Myrealnamm I don't think I can, here's why:
- warninggeneric adds a suffix for each warning, also it is not in user view (well, unless they look at the code).
- Here's what each br does:
- First one: breaks it out from previous comment, otherwise the custom warning, since it isn't a warning itself, will merge with the previous one (or comment).
- Second one: Prevents the same merging thing from happening to the note about it being a custom warning.
- In addition, I've added another for a similar purpose as the first one above in warninggeneric.
- Hope you understand. Feel free to shoot out any ideas in the future. TheTechie@enwiki (she/they | talk) 03:32, 8 January 2025 (UTC)
- @TheTechie, I still believe that a line break between the previous comment and the CW is necessary (see Special:Diff/1268188144), and in the next edit I changed it with line breaks which separates it from the previous comment. Like this (open in source code):
- ... previous comment User:Example 00:00 0 Month 0000
- ... Myrealnamm (💬Let's talk · 📜My work) 23:13, 8 January 2025 (UTC)