Alex Smotrov
Please do not bring discussions started elsewhere and do not use distracting signatures. Old discussions. |
A barnstar for you!
editThe Special Barnstar | ||
For helping me out at Village pump (proposals) with an "auto watch rollbacked pages" java script. —Bruce1eetalk 05:49, 19 January 2012 (UTC) |
watchlist.js with related changes
editWould it be possible to make your watchlist script work with the related changes feature? I have a couple pages in my userspace of discussions I am involved in and articles I have an interest in the development of; both of these pages are transcluded to my main user page along with a link to the related changes for each list, and if your watchlist script worked with the related changes feature it would make it even easier to keep up with the changes to these discussions and articles. —danhash (talk) 19:46, 30 January 2012 (UTC)
- I look at the script description at User:Js/watchlist and I don't see any features that would be useful on related changes page. Could you elaborate a little? — AlexSm 20:06, 30 January 2012 (UTC)
- Sorry for the lack of clarity; the "only new" feature is the one that I think would be useful for related changes. —danhash (talk) 20:42, 30 January 2012 (UTC)
- Just like RC, "Related changes" page already has a link to show only new changes. It's the 3rd line in the options box and it says "Show new changes starting from <time>". — AlexSm 21:39, 30 January 2012 (UTC)
- Thanks! I didn't see that. Any idea why it isn't a MediaWiki feature for the watchlist too? —danhash (talk) 16:24, 28 February 2012 (UTC)
- I don't know. I would guess because nobody bothered. Also see mediazilla:2877. — AlexSm 16:41, 28 February 2012 (UTC)
- Thanks! I didn't see that. Any idea why it isn't a MediaWiki feature for the watchlist too? —danhash (talk) 16:24, 28 February 2012 (UTC)
- Just like RC, "Related changes" page already has a link to show only new changes. It's the 3rd line in the options box and it says "Show new changes starting from <time>". — AlexSm 21:39, 30 January 2012 (UTC)
- Sorry for the lack of clarity; the "only new" feature is the one that I think would be useful for related changes. —danhash (talk) 20:42, 30 January 2012 (UTC)
Edittop Gadget & RTL
editHi, we want to use your made gadget, MediaWiki:Gadget-edittop.js, in our wiki. But there is a problem with it, our language is RTL and the Edit link will be showed at the right of the page, near (before) the article title. Can you please solve this problem? Regards ●Mehran Debate● 16:37, 31 January 2012 (UTC)
- Sorry but I have no experience working with RTL languages so even if I can come up with something it will not be a proper and good way to do it. Also, the current gadget code is very different from my initial version. Try to ask at the gadget talk page. — AlexSm 17:13, 31 January 2012 (UTC)
- Thanks, I'll write in talk page. Can you introduce me someone who could help me if there were no answers in talk page? ●Mehran Debate● 19:20, 31 January 2012 (UTC)
- You could try the other guy listed at the top of the code. Plus, there is always Wikipedia:Village pump (technical). — AlexSm 19:25, 31 January 2012 (UTC)
- Many thanks. ●Mehran Debate● 06:16, 1 February 2012 (UTC)
Thank you
editThank you for the reply on the Village Pump page, I'd have replied there instead if the thread wasn't currently mangled. I'm about to take a look at your script right now... thanks again for providing a solution! :) Regards, -- WikHead (talk) 17:23, 1 March 2012 (UTC)
- Excellent! This definitely looks like it will do the job. -- WikHead (talk) 17:32, 1 March 2012 (UTC)
Remove akeytt in watchlist.js
editFYI I believe you need to remove akeytt in watchlist.js. Mark Hurd (talk) 12:56, 2 March 2012 (UTC)
- I believe there is no
akeytt
in User:Js/watchlist.js. — AlexSm 16:40, 2 March 2012 (UTC)- Sorry, I was only going by what I saw in the Chrome debugger; I didn't actually check your code.
- In fact, as it is now, it is not your code at all that still calls akeytt. I don't know if there's been a change or if I stuffed up my debugging... Mark Hurd (talk) 00:30, 3 March 2012 (UTC)
Adding rollback edits to your watchlist javascript
editHi, in January you gave me this javascript
$(function(){ if( mw.config.get('wgAction') == 'rollback' ){ $('#ca-watch a').click(); } })
at Village pump (proposals) to enable me to watch rollback edits. It's been working fine, but the recent upgrade to MediaWiki 1.19 seems to have broken it. Do you know of a tweak that will make it work again? —Bruce1eetalk 14:11, 5 March 2012 (UTC)
User script listings cleanup project
editI'm leaving this message for known script authors and recent contributors to Wikipedia:WikiProject User scripts/Scripts.
This scripts listing page is in dire need of cleanup. To facilitate this, I've created a new draft listing at Wikipedia:WikiProject User scripts/Scripts cleanup. You're invited to list scripts you know to be currently working and relevant. Eventually this draft page can replace the current scripts listing.
If you'd like to comment or collaborate on this proposal, see the discussion I started here: Wikipedia talk:WikiProject User scripts#Scripts listing cleanup project. Thanks! Equazcion (talk) 01:00, 25 Mar 2012 (UTC)
Invitation to events in June and July: bot, script, template, and Gadget makers wanted
editI invite you to the yearly Berlin hackathon. It's 1-3 June and registration is now open. If you need financial assistance or help with visa or hotel, just mention it in the registration form.
This is the premier event for the MediaWiki and Wikimedia technical community. We'll be hacking, designing, and socialising, primarily talking about ResourceLoader and Gadgets (extending functionality with JavaScript), the switch to Lua for templates, Wikidata, and Wikimedia Labs.
Our goals for the event are to bring 100-150 people together, including lots of people who have not attended such events before. User scripts, gadgets, API use, Toolserver, Wikimedia Labs, mobile, structured data, templates -- if you are into any of these things, we want you to come!
I also thought you might want to know about other upcoming events where you can learn more about MediaWiki customization and development, how to best use the web API for bots, and various upcoming features and changes. We'd love to have power users, bot maintainers and writers, and template makers at these events so we can all learn from each other and chat about what needs doing.
Check out the the developers' days preceding Wikimania in July in Washington, DC and our other events.
Best wishes! - Sumana Harihareswara, Wikimedia Foundation's Volunteer Development Coordinator. Please reply on my talk page, here or at mediawiki.org. Sumana Harihareswara, Wikimedia Foundation Volunteer Development Coordinator 14:37, 2 April 2012 (UTC)
Talk page deletion
editOut of interest, why did you delete this comment from the talk page? The editor is free to give his opinion on the development of articles. Best wishes Span (talk) 01:03, 11 April 2012 (UTC)
- That was not a proper place for such comments. Plus this user was vandalizing articles and images in another WM project. — AlexSm 03:57, 18 July 2012 (UTC)
urldecoder is a gadget in ptwiki
editJust to let you know that we have started using urldecoder as a gadget in ptwiki. Chico Venancio (talk) 19:11, 14 April 2012 (UTC)
Watchlist script not working
editI have added your watchscript links script to my skin.js, but it does not seem to have had any effect. I've purged the cache, and reloaded Firefox, but the additions still do not appear. Can you suggest any reason why this might be so, or what might be conflicting with your script? Thanks. RolandR (talk) 09:20, 3 July 2012 (UTC)
- This is not a proper addition: two slashes (
//
) disable everything on that line. The comment// [[user:js/watchlist]]
should be on a separate line. — AlexSm 03:57, 18 July 2012 (UTC)- Thank you. I've now got it working. RolandR (talk) 18:46, 21 July 2012 (UTC)
Reply at Wikipedia:Gadget/proposals
editHi. I replied to you (old thread) here: Wikipedia:Gadget/proposals#Shift to open search in new tab. --Timeshifter (talk) 12:18, 7 July 2012 (UTC)
Commons Village Pump discussion
editHi again. There is a discussion here that might interest you:
I was wondering what to add to the JavaScript in order for Cmd-click (on Apple keyboards) and middle-click to open search in a new tab. --Timeshifter (talk) 22:37, 14 July 2012 (UTC)
- Sorry but I have no idea how thins work on Apple computers. Even if I could find some info on the internet I would have absolutely no way to test it. — AlexSm 03:57, 18 July 2012 (UTC)
- OK. What about middle click on PCs? --Timeshifter (talk) 04:41, 18 July 2012 (UTC)
Updates for urldecoder
editHi!
I don't know if you are watching this talk page, but I left some suggestions there. Helder 16:48, 18 July 2012 (UTC)
Good Morning!
editWhat's up? Enjoy your breakfast! Jayemd (talk) 14:07, 24 July 2012 (UTC) |
Hi. I've made an edit to your script after a request. I've only done it as you have been away for a while. Once you return, feel free to change it as you wish. Rjd0060 (talk) 12:29, 4 August 2012 (UTC)
- Could you also take a look at the other edit request on that page when you get the chance? The request needs to be looked at by someone who knows what they're doing - i.e. not me. :) — Mr. Stradivarius (have a chat) 07:38, 17 August 2012 (UTC)
- I'll be away for 10 next days and I'll try to look into it as soon as I'm back. — AlexSm 04:59, 18 August 2012 (UTC)
Template:Js-demo has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. DH85868993 (talk) 01:56, 10 August 2012 (UTC)
Mark-blocked script, also 6tabs-vector
editThe mark-blocked script appears to have a problem in situations where someone mistakenly puts a space between [[Special:Contributions/
and the IP or username. It appears that the space never gets stripped out and causes the API to reject the request.
The fix appears to be to strip out leading and trailing spaces explicitly. (Note: My copy of the script has some extra functionality, so it wouldn't help to give you line numbers, but the context of that diff should be unchanged from the original. Technically, trailing spaces could only appear if someone types an extraneous underscore like [[Special:Contributions/127.0.0.1_]]
, which wouldn't be a valid link anyway, but I handle them for completeness.)
As for User:Js/6tabs-vector.js, it appears to need protocol-relative URLs for images. Am I correct in assuming you are the owner of the Js account? SoledadKabocha (talk) 00:45, 24 September 2012 (UTC)
- The 6tabs-vector issue was resolved by MSGJ (talk · contribs). I didn't mean to forum-shop; I forgot that sysops can edit anyone's user CSS/JS. SoledadKabocha (talk) 22:29, 26 September 2012 (UTC)
AN/I
editHello. There is currently a discussion at Wikipedia:Administrators' noticeboard/Incidents regarding an issue with which you may have been involved. Thank you. – Richard BB 07:51, 12 October 2012 (UTC)
Hello! I am guessing that you are the creator of the User:Js/watchlist script. If so, I have a request. I love the "sort be namespace" feature, but could it sort the pages by time (instead of title) once they are sorted by namespace? Thanks, David1217 What I've done 15:13, 14 October 2012 (UTC)
User:Js/ajaxPreview: Syntax highlighting no longer working
editRecently, the syntax highlighting that User:Js/ajaxPreview is intended to produce when editing user CSS/JS pages stopped working. Specifically, the <syntaxhighlight lang="...">
tags appear as plain text in the Ajax preview rather than being parsed. This started at around the same time as this problem (though that is probably unrelated). I have followed reasonable troubleshooting steps such as bypassing/clearing cache and logging out and back in again.
Firefox 16.0.1 on Windows 7 (what other information do you need? I do not believe this is a browser-addon-related issue, as it was fine before) SoledadKabocha (talk) 22:20, 23 October 2012 (UTC)
Not working?
editHi. watchlist.js hasn't been working for months. Any idea what I need to to to "make it go"? Thanks.
kcylsnavS{screechharrass} 02:03, 18 December 2012 (UTC)
- Update. It works fine. I had not noticed the need to select the little "x" at the top of the watchlist.
kcylsnavS{screechharrass} 02:56, 18 December 2012 (UTC)
- Update. It works fine. I had not noticed the need to select the little "x" at the top of the watchlist.
Me again. Is there a way to make the X appear in the watchlist entries all the time, and for the page to refresh whenever it is clicked?
kcylsnavS{screechharrass} 19:39, 26 December 2012 (UTC)
Some question about vandalism
editHi Alex! I'm Damikovich:— Ukrainian man and big, great vandal in the Russian wikipedia. You certanly remember me. I'm also known as Tserkovnyy Khuligan (church hooligan), but it's no matter. Now we are on the neitral one and I want to disscuss this question. Please don't delite this message, it's useless. I have some request for you. Please add my name to this page. It's very easy, and I shall runaway from the russian wikipedia. I'm sorry, but I don't understand, why you didn't do it two month ago. Sorry my English, I'm not British ore american man. I'm just a easy ukrainian human, but I like my country and I want, that people know ukrainian vandal's. So, please add my name into those article and you will never see me! Damikovich (talk) 18:13, 24 January 2013 (UTC)
Please check your email.--Taranet (talk) 17:55, 16 September 2013 (UTC)
Removing sidebar link to "Complete list" on third-party MW installation
editOn my MW installation, Sarkarverse, the sidebar on the main page has a link to "Complete list [of Wikipedias]". In older versions of MW, I could comment out a section of the MW:Common.js, and that would remove the link. But that solution no longer seems to work. According to the Common.js file, you are one of the maintainers of this code. So I'm wondering if you know how to remove the "Complete list" link, which has no relevance to my site. Thanks. --Abhidevananda (talk) 15:55, 12 November 2015 (UTC)
Watchlist
editHi Alex, I have a question about user:js/watchlist. I've been using this for a while for the helpful "x" that makes it easy to unwatch. I noticed recently that this had disappeared. I tweaked it today, [1] but the "x" hasn't reappeared. Can you advise? Best wishes, SarahSV (talk) 21:55, 7 February 2016 (UTC)
JavaScript RegExp problem
editI noticed you have experience in JavaScript. I'm hoping you can help me with a problem I've run into writing a userscript.
Please see my post at Wikipedia talk:WikiProject JavaScript#Nested RegExp.
Thank you. The Transhumanist 12:09, 5 May 2017 (UTC)