User talk:Andy M. Wang - Wikipedia


2 people in discussion

Article Images

User talk page: This is a Wikipedia user talk page, not an encyclopedia article. If you find this page on any site other than Wikipedia, you are viewing a mirror site. Be aware that the page may be outdated and that the user to whom this page belongs may have no personal affiliation with any site other than Wikipedia itself. The original talk page is located at https://en.wikipedia.org/wiki/User_talk:Andy_M._Wang.

Hi,

I don't know if this is just me being incompetent but the swap tool you made is very useful, however it seems to suppress talk page redirects without prompting me, any ideas?

Thanks, DrStrauss talk 10:06, 28 June 2017 (UTC)Reply

Hi DrStrauss, thanks for letting me know! I wouldn't say this is a bug, more like a feature. I think this is one of your examples? I mitigated this by recreating Talk:Neutral unit of construction (airlines) to fix this issue. After swapping A and B (and a single talk), I need to re-create redirect Talk:A separately, although you could also swap only A and B and afterwards perform a regular move of Talk:A to Talk:B (preserving a redirect).
In a bit more detail, the reason I decided against fixing redlinks is a scenario such as: Swap A, Talk:A, Talk:A/subpageX, B, Talk:B/subpageY. After the swap, the pages are A, Talk:A/subpageY, B, Talk:B, Talk:B/subpageX, with previously existing pages Talk:A, Talk:A/subpageX, and Talk:B/subpageY redlinked. Or should these newly redlinked pages turn into redirects? I personally don't think so, and it seems largely dependent on context, hence my tool has avoided these issues for now.
In short, I'd recommend: Perform the swap. If the other page (and talk, (and subpages if any)) is a redirect, fix its target. Check your own contribs for redlinked talk pages and create them as redirects as necessary. (especially if there are incoming links (Special:WhatLinksHere)) Hope that makes sense! — Andy W. (talk) 19:50, 28 June 2017 (UTC)Reply
Definitely, thank you for the detailed explanation, that makes sense. Best, DrStrauss talk 19:53, 28 June 2017 (UTC)Reply

Hi, I was looking at User:Andy_M._Wang/pageswap.js and I notice that it does not ensure/declare it's dependency on the resource loader modules mediawiki.util and mediawiki.api, of which it is making use. These modules are loaded on almost every page, so it likely won't cause a problem too often, but you should really fix that because it is good practice, and will make it easier to maintain in the future. Please see: mw:ResourceLoader/Developing_with_ResourceLoader#Client-side_.28dynamically.29. —TheDJ (talkcontribs) 09:16, 31 July 2017 (UTC)Reply

Hi, thanks for that resource! That was very helpful. I believe I've corrected the issue by using mw.loader.using. — Andy W. (talk) 06:21, 10 September 2017 (UTC)Reply

Hi, the script User:Andy_M._Wang/closeRM.js did not declare/ensure it's dependency on resourceloader module mediawiki.util. I've corrected this. —TheDJ (talkcontribs) 09:55, 31 July 2017 (UTC)Reply

Very belated thanks! — Andy W. (talk) 06:21, 10 September 2017 (UTC)Reply

Hello! I've been using your pageswap tool for a few months now and have noticed a common thing when swapping pages. My question is why does the redirect not link to the new page name (see here for an example)? I have to manually go in and change the redirect when IMO it would make more sense for the redirect be the new page title automatically... Hoping you can help on this. Thanks, Corky Buzz by the Hornet's Nest 04:03, 11 October 2017 (UTC)Reply

Hi Corkythehornetfan, this was a design decision on my part for several reasons, including the fact that the 3-move swap operation already has plenty of latency (in my humble opinion), that the "swap" operation could be one on either of the pages to be swapped (including on the redirect), and there's generally some ambiguity on how to deal with the talk pages, subpages (if they exist), and talk subpages (if they exist) of either page to be swapped. I think I found some cases where the redirect(s) point to some completely unrelated or new page, and these cases have to handled on a case-by-case basis. Some of the talk or subpages may be redirects, and some may not be. After a swap, there is potential to redlink a number of talk/subpages when the other page does not have talk/subpages of the same names/positions, if that makes sense. I figured that handling these cases was out of scope, and that the script (for now) should do nothing except make sure the two selected pages (and its talk/subpages) are swapped, nothing else.
So, for now, yes, I'd manually correct examples such as your example here. Hope that makes sense...? — Andy W. (talk) 16:08, 14 October 2017 (UTC)Reply
Makes perfect sense! Thanks for your help! Corky Buzz by the Hornet's Nest 00:05, 20 October 2017 (UTC)Reply

Hi there. You seem to be an expert on this. Several users now have brought up adding the annual US College ranking from Times Higher Education to the Infobox US university ranking template. I'm having trouble figuring it out. Could take a look at the page and tell me what I'm doing wrong/help me out? Thanks! Pdyusmep (talk) 03:36, 23 November 2017 (UTC)Reply

Hi Pdyusmep. A couple users already replied at Template talk:Infobox US university ranking. Apparently an IP added this param to the doc without placing a request to update the main template itself. I can add your requested param to sandboxes and submit an edit req if I have time (I don't have edit access since I gave up the right by choice). However, it's unclear from discussions that we've determined that the ranking is notable yet. Corkythehornetfan, who is a template editor, says, quote, If it is notable enough (provide proof), then we can add it. I suggest you continue the discussion there and get a WP:CONSENSUS of sorts first. Hope that helps — Andy W. (talk) 12:41, 23 November 2017 (UTC)Reply
Thanks for your direction. Looks like we have a discussion going. All the best. Pdyusmep (talk) 13:13, 23 November 2017 (UTC)Reply

Hello, Andy M. Wang. Voting in the 2017 Arbitration Committee elections is now open until 23.59 on Sunday, 10 December. All users who registered an account before Saturday, 28 October 2017, made at least 150 mainspace edits before Wednesday, 1 November 2017 and are not currently blocked are eligible to vote. Users with alternate accounts may only vote once.

The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail.

If you wish to participate in the 2017 election, please review the candidates and submit your choices on the voting page. MediaWiki message delivery (talk) 18:42, 3 December 2017 (UTC)Reply

Hi. Just wondering if it's possible to request a feature for your pageswap script? Would it be possible to update var moveReason = prompt("Move reason:"); to something like var moveReason = prompt("Move reason:", moveReasonDefault);, where an editor could manually set their own moveReasonDefault in their personal common.js?

Just that I personally use the pageswap script solely for WP:RMTR, and it would allow me to automatically fill in the prompt with "[[WP:RMTR]]" each time. This wouldn't change anything for other editors that don't want a default value, but may help other editors looking for the same thing.

If not, no problems! If so, that'd be great! Let me know. Thanks. -- AlexTW 07:39, 15 December 2017 (UTC)Reply

Hi, AlexTheWhovian, this is   Done. That was a nice suggestion, thanks! — Andy W. (talk) 15:03, 18 December 2017 (UTC)Reply
Amazing, thanks! -- AlexTW 20:54, 18 December 2017 (UTC)Reply
A year ago ...
 
symphonies
... you were recipient
no. 1539 of Precious,
a prize of QAI!

--Gerda Arendt (talk) 09:34, 21 December 2017 (UTC)Reply

Two years now! --Gerda Arendt (talk) 08:10, 21 December 2018 (UTC)Reply

Hi. Long time no see.  
While performing round-robin, I got the error "Fail on third move Draft:Move/Robin Bush (historian) -> Robin Bush (historian)". I did it manually. But when I checked the pages individually, and my contrib history; all looked fine except the history of Robin Bush. Would you please take a look into it? Thanks a lot in advance.
Also pinging Amakuru, as he can history that we cant.
usernamekiran(talk) 06:22, 4 March 2018 (UTC)Reply

I've taken care of the move btw. I also realised you haven't edited in two months. I hope everything is fine. Best, —usernamekiran(talk) 07:07, 4 March 2018 (UTC)Reply

Hi Andy, I hope you are well? Just an idea for a future update of Massretarget: stick in an {{R avoided double redirect}} in the {{Redirect category shell}}. Thanks, Sam Sailor 07:36, 8 June 2018 (UTC)Reply

Hi Sam Sailor, that's a good suggestion, thanks! For my reference: Special:Diff/844583314 vs Special:Diff/844583217. I'll see if I can get around to this at some point — Andy W. (talk) 13:57, 10 June 2018 (UTC)Reply
(talk page stalker) Thanks for pointing out that template, I wasn't aware it existed either. I'll have to go back and add that to a bunch of redirects. Compassionate727 (T·C) 20:09, 18 June 2018 (UTC)Reply

Have you read Talk:Traditional African religions/Archive 3#Requested move 2?

I know that you had moved the page following this request, but I would want to know if you can agree with the reversal to original title. Thanks. OccultZone (TalkContributionsLog) 20:19, 26 July 2018 (UTC)Reply

@OccultZone: Thanks for the link... I wasn't aware of the previous RM when I moved as unopposed. I could agree with the reversal, but since the page has had its current title for 19 months, perhaps another RM could clarify the issue? I suppose you could just move it and cite the issue... consider me a neutral party to this — Andy W. (talk) 04:14, 27 July 2018 (UTC)Reply
Thanks for checking it. That discussion was pretty lengthy and it thoroughly debunked the argument that was used in the RM from 8 November 2016. Many particular religions have numerous sects, beliefs and practices but it is under same roof. For technical reasons I can't move the page. You have no issue with the reversal and I had lodged a request on WP:RMT. OccultZone (TalkContributionsLog) 09:09, 27 July 2018 (UTC)Reply
 
 

Greetings!

You are receiving this message because your username or portal was listed as a participant of a WikiProject that is related to Africa, the Carribean, Cinema or theatre.

This is to introduce you to a new Wikiproject called AfroCine. This new project is dedicated to improving the Wikipedia coverage of the history, works, people, places, events, etc, that are associated with the cinema, theatre and arts of Africa, African countries, the carribbean, and the diaspora. If you would love to be part of this or you're already contributing in this area, kindly list your name as a participant on the project page here.

Furthermore, In the months of October and November, the WikiProject is organizing a global on-wiki contest and edit-a-thon tagged: The Months of African Cinema. If you would love to join us for this exciting event, also list your username as a participant for this event here. In preparation for the contest, please do suggest relevant articles that need to be created or expanded in different countries, during this event!

If you have any questions, complaints, suggestions, etc., please reach out to me personally on my talkpage! Cheers!--Jamie Tubers (talk) 20:50, 5 September 2018 (UTC)Reply

Hi Andy, after the end of 3 step page move. a redirect ends up pointing to itself on the original page location, This is not correct. After every pageswap, this has to be manually retargeted to the new page location. Can this step alse be included in the automated script. Should be easy to include. cheers. --DBigXray 13:11, 18 September 2018 (UTC)Reply

DBigXray, good idea! (Hope you are well, Andy.) Sam Sailor 14:53, 18 September 2018 (UTC)Reply
Hi Sam Sailor :)
DBigXray, this might be the third or fourth time I've heard this suggestion... I've highlighted a number of reasons I decided against the retargeting here and here, for example. I also outlined a number of things that I personally think might be out of scope for the tool. I guess it's debatable and there's not a right answer, how hands-on and how intervening the tool actually should be. How would the tool handle cases where A redirects to B, but a subpage of Talk:B redirected to Talk:A? Reverse that redirect too? There are also cases where three pages' contents need to be swapped (happens more frequently with 2-dab scenarios). What to do about the redirect page?
I must admit that I've thought more about the corner cases than solutions to them, but so far, I say that pageswap is just a tool to swap the histories of two pages, and not intervene and correct redirects.
If you really insist, let me know, and I'll put more thought into making the correction. Thanks for your feedback though. Happy editing, — Andy W. (talk) 00:17, 20 September 2018 (UTC)Reply
  • DBigXray I do have a separate tool for correcting double-redirects (including self redirects). I didn't design this for mass usage however, and this isn't really well-advertised. The tool, when installed, is also somewhat intentionally difficult to navigate to (this is a mass retarget tool) When I've been performing swaps, I do use both these scripts. Maybe this helps save some time? — Andy W. (talk) 00:19, 20 September 2018 (UTC)Reply
Andy, Please accept my sincere thanks for taking out time to respond to this 4th time. I am sure, there are lot of corner cases. but the tool is primarily used to move over redirect. e.g. Redirect R points to Article A. and they need to be swapped such that the end results is A is a redirect pointing to article at R. But at the end of this, the contents and page histories are swapped but, Location A ends up with a "redirect to itself" at A. I can understand why it is caused, but this is something that is believe is undesirable. If the complexity allows it and it doesnt have a major side effect, I would request you to kindly agree to adopt this suggestion. specially since this is a popular and widely sought after suggestion (me being the 4th user to ask this). --DBigXray 11:39, 20 September 2018 (UTC)Reply
DBigXray I can't give guarantees due to real-life commitments, hope you understand. If the tool will support retargeting, I definitely want to make it a thorough check (if A is a redirect to itself, if A has redirecting subpages, if Talk:A is a redirect to itself, and if the talk page has subpages... and prompt to retarget everything and anything related to page A reasonable... I might need to check the status of R for sanity, just talking out loud). I'll look into it in the next few days... again, no guarantees — Andy W. (talk) 01:51, 21 September 2018 (UTC)Reply
 
 

Greetings!

The AfroCine Project welcomes you to October, the first out of the two months which has been dedicated to improving contents that centre around the cinema of Africa, the Caribbean, and the diaspora.

This is a global online edit-a-thon, which is happening in at least 5 language editions of Wikipedia, including the English Wikipedia! Join us in this exciting venture, by helping to create or expand articles which are connected to this scope. Also remember to list your name under the participants section, if you haven't done so already.

On English Wikipedia, we would be recognizing Users who are able to achieve the following:

  • Overall winner (1st, 2nd, 3rd places)
  • Country Winners
  • Diversity winner
  • High quality contributors
  • Gender-gap fillers
  • Page improvers
  • Wikidata Translators

For further information about the contest, the recognition categories and how to participate, please visit the contest page here. For further inquiries, please leave comments on the contest talkpage or on the main project talkpage. See you around :).--Jamie Tubers (talk) 22:50, 03 October 2018 (UTC)Reply

Hello, Andy M. Wang. Voting in the 2018 Arbitration Committee elections is now open until 23.59 on Sunday, 2 December. All users who registered an account before Sunday, 28 October 2018, made at least 150 mainspace edits before Thursday, 1 November 2018 and are not currently blocked are eligible to vote. Users with alternate accounts may only vote once.

The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail.

If you wish to participate in the 2018 election, please review the candidates and submit your choices on the voting page. MediaWiki message delivery (talk) 18:42, 19 November 2018 (UTC)Reply

Hello, Andy M. Wang. Voting in the 2018 Arbitration Committee elections is now open until 23.59 on Sunday, 3 December. All users who registered an account before Sunday, 28 October 2018, made at least 150 mainspace edits before Thursday, 1 November 2018 and are not currently blocked are eligible to vote. Users with alternate accounts may only vote once.

The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail.

If you wish to participate in the 2018 election, please review the candidates and submit your choices on the voting page. MediaWiki message delivery (talk) 18:42, 19 November 2018 (UTC)Reply

Having been a long time user of your pageswap tool, I have to admit it's pretty great. I think I have a few things, or rather wrinkles, that could be improved upon, but it's okay imo. What I was thinking is instead of the current OK, Cancel dialog, we have one window to handle everything, just two radio buttons, move talk and move subpages and hit OK. That would make the chances of messing up much harder. @ me if you consider it, thanks a lot for your hard work! --QEDK () 17:43, 7 December 2018 (UTC)Reply

Might address this if I find an adequate amount of time in the next months or so, no guarantees — Andy W. (talk) 18:15, 20 December 2018 (UTC)Reply

Any way to make pageswap work from Special:MovePage? For example, when someone submits a move request, it shows up with a link like [1]. It would be great if I could run PageSwap from this page and have the target, destination, and reason automatically filled in by parsing the URL. --Ahecht (TALK
PAGE
) 23:25, 17 December 2018 (UTC)Reply

  Agree, Right now I end up copy pasting this edit summary and the new page name every time i make moves. If this can be incorporated somehow, that would be great. --DBigXray 23:38, 17 December 2018 (UTC)Reply
I mocked this up in my userspace at User:Ahecht/pageswap.js. The relevant diff to enable the basic functionality is here. The diff for the additional code that also modifies the error text to include a swap link is here. --Ahecht (TALK
PAGE
) 00:04, 18 December 2018 (UTC)Reply
Thanks Ahecht. @DBigXray: Take a look at Special:PermaLink/816035463#Pageswap. You can define a default "move reason" in your common.js, like this, for example — Andy W. (talk) 18:27, 20 December 2018 (UTC)Reply
In the case of links generated by {{RMassist}}, the reason is different each time. --Ahecht (TALK
PAGE
) 19:46, 20 December 2018 (UTC)Reply
Ahecht is 'correcht' !  . Andy, The Reason generated by {{RMassist}} is basically the phrase added by the Move requestor, along with his name. This reason is helpful to the other page watchers who can read the edit-summary and understand the reasons for the move. --DBigXray 20:00, 20 December 2018 (UTC)Reply

Pageswap seems to be leaving behind a lot of talk pages that redirect to themselves. In other words, the article gets moved correctly, but the talk page doesn't. Talk:Forever (group) is one current example (assuming no one has fixed it before you see this message). --R'n'B (call me Russ) 17:22, 20 December 2018 (UTC)Reply

@R'n'B: That's because Woodensuperman did not perform steps 3 and 4 in the swap routine. (fixed for now) Talk page redirect retargeting, as I've highlighted repeatedly, is still out of scope of the pageswap tool (also already had a discussion about this earlier). I think if I were to address some feature requests, I would actually want to overhaul the tool (the existing code is not that great looking back at it). Can't guarantee that I have the time these days — Andy W. (talk) 18:12, 20 December 2018 (UTC)Reply
Oops, sorry, I'll be more careful in future. --woodensuperman 09:39, 21 December 2018 (UTC)Reply