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)