User talk:andrybak
|
||
This page has archives. Sections older than 180 days may be automatically archived by Lowercase sigmabot III. |
Editing user pages
[edit]I have a very clear notice that states you are not to edit my user page unless you are me. Do not edit the user pages of other editors. Thank you. 9t5 (talk) 12:31, 1 July 2024 (UTC)
- @9t5, to clarify Special:Diff/1231890593 – your userpage as of Special:Permalink/1231617380 was put into Category:Wikipedia substituted templates. User pages are not templates. Therefore such categorization has to be suppressed, if templates such as {{substituted}} are placed on the user page.
- Per WP:UOWN:
pages in user space belong to the wider community. They are not a personal homepage, and do not belong to the user. They are part of Wikipedia, and exist to make collaboration among editors easier
– making the collaboration easier includes avoiding polluting the maintenance categories, such as Wikipedia substituted templates. - Other popular issues on user pages to avoid:
- misuse of HTML and wikitext causing so called lint errors
- pollution of the category tree of User namespace templates due to copy-pasting of wikitext, which most often happens with userboxes.
- Hope this helps. —andrybak (talk) 12:58, 10 July 2024 (UTC)
Uploading this to wikimedia commons
[edit]Hello, Can you export File:Sun-Maid brand logo used in 1923.jpg to wikimedia commons? Gilimaster28 (talk) 23:03, 2 July 2024 (UTC) Gilimaster28
- No. I'll let someone else deal with that. Thanks. —andrybak (talk) 23:04, 2 July 2024 (UTC)
template help
[edit]Hey, I noticed you're an active editor, perhaps you can help me out. How can I have a template call a specific string from a given article using the start and end position number of the string (which I get using the findpagetext function)? JoeJShmo💌 03:56, 26 July 2024 (UTC)
- Hello, JoeJShmo. Could you please clarify, what are you trying to achieve? —andrybak (talk) 07:21, 26 July 2024 (UTC)
- Say the Monkeys page has a 10 character string that is placed 150 characters - 160 characters from the start of the article. How can I call that line to my template? Say I wanted to use that line as a string in a function, how would I do that? JoeJShmo💌 08:39, 26 July 2024 (UTC)
- JoeJShmo, this is a strange thing to want to do in a Wikipedia article, that's why I asked for a clarification.
- Do you have a real example? What is the purpose, the end goal? Please help me ensure we don't have an XY problem/miscommunication. —andrybak (talk) 08:49, 26 July 2024 (UTC)
- Sure, I'm happy to explain. I have a template for the lead of a specific kind of article that is written about every president of the U.S., and I want the template to automatically grab certain information from the main page of the president, such as the file for his signature and his years in office. I can get the position of these bits of information using the findinpage function, but I don't know how to actually call the information itself. JoeJShmo💌 08:58, 26 July 2024 (UTC)
- For signature, use wikidata:P109, see Wikipedia:Wikidata for how to do it. For years in office, just copy-paste them, because they aren't going to change in the future. —andrybak (talk) 09:47, 26 July 2024 (UTC)
- It's a template designed to work for every president. The point of the template is to automate the information and to avoid copy-pasting. I believe I'm to understand that you don't know how to implement my request, and that's fine. Thanks for the response, and for the wikidata info! JoeJShmo💌 10:22, 26 July 2024 (UTC)
- JoeJShmo, I do know, but I'm choosing not to tell you, because you shouldn't try to make such a template by parsing pages in the way you've described in the first message. If the template is needed on many pages, years can stored as data in a template or a Lua module.
- You can ask a wider audience at WP:VPT. —andrybak (talk) 10:46, 26 July 2024 (UTC)
- Interesting. Can you explain why? Also, it isn't feasible to store all the information in the template, as every article needs different information to be parsed. JoeJShmo💌 10:57, 26 July 2024 (UTC)
- Because it's brittle and hard to maintain. There are more robust and maintainable alternatives.
- For storing years, it could be a data template, just mapping the president to years. —andrybak (talk) 12:05, 26 July 2024 (UTC)
- I'm not sure its that brittle. I suppose it depends how you write it. The function I wrote checked for the signature using the signature parameter in the infobox. JoeJShmo💌 20:55, 26 July 2024 (UTC)
- But I'm switching over to using wikidata. The start and end year of presidency is also in wikidata. JoeJShmo💌 21:00, 26 July 2024 (UTC)
- I'm not sure its that brittle. I suppose it depends how you write it. The function I wrote checked for the signature using the signature parameter in the infobox. JoeJShmo💌 20:55, 26 July 2024 (UTC)
- Interesting. Can you explain why? Also, it isn't feasible to store all the information in the template, as every article needs different information to be parsed. JoeJShmo💌 10:57, 26 July 2024 (UTC)
- It's a template designed to work for every president. The point of the template is to automate the information and to avoid copy-pasting. I believe I'm to understand that you don't know how to implement my request, and that's fine. Thanks for the response, and for the wikidata info! JoeJShmo💌 10:22, 26 July 2024 (UTC)
- For signature, use wikidata:P109, see Wikipedia:Wikidata for how to do it. For years in office, just copy-paste them, because they aren't going to change in the future. —andrybak (talk) 09:47, 26 July 2024 (UTC)
- Sure, I'm happy to explain. I have a template for the lead of a specific kind of article that is written about every president of the U.S., and I want the template to automatically grab certain information from the main page of the president, such as the file for his signature and his years in office. I can get the position of these bits of information using the findinpage function, but I don't know how to actually call the information itself. JoeJShmo💌 08:58, 26 July 2024 (UTC)
- Say the Monkeys page has a 10 character string that is placed 150 characters - 160 characters from the start of the article. How can I call that line to my template? Say I wanted to use that line as a string in a function, how would I do that? JoeJShmo💌 08:39, 26 July 2024 (UTC)
Scripts++ Newsletter – Issue 25
[edit]Hey there, welcome to the 25th issue of the Wikipedia Scripts++ Newsletter, covering all our favorite new and updated user scripts since 1 March 2024. We've got a ton of wonderful editors taking back their pitchforks today. Don't worry, for they come in peace, to forcibly fix and extend existing scripts you use with sheer passion. There's so many, them forks have got what's basically their own column now! gift us with some rows before it's too late Aaron Liu (talk) 04:00, 1 August 2024 (UTC)
Got anything good? Tell us about your new, improved, old, or messed-up script here!
Featured script
[edit]- inline-diff-inline-patrol by Ponor is this edition's featured script. By loading diffs inline on every page that shows a list of changes, it implements the 2023 community wish m:Community Wishlist Survey 2023/Admins and patrollers/Inline diffs and inline patrol. Hopefully we won't need this script anymore soon, with the WMF's focus on the backlog...
Improve a script
[edit]- Many of our favorite scripts such as Fred Gandt/userResourceManager, Guarapiranga/search-shortcuts and Bradv/Superlinks haven't been updated for Vector 2022. You could be the one to change that!
- Elominius/media timer works, but its UI looks alien. Someone could improve it...
- To a lesser extent, the same goes for PrimeHunter/Search sort. I wish someone would integrate the sorts into the sort menu instead of adding 11 portlet links.
- We want...
- ...watchlist notices support for Aaron Liu/Watchlyst Greybar Unsin
- ...a tool to automatically fix CAT:BROKENREFs, preferably a fork/addition to TheJJJunk/ARA
- ...a fix/fork of DannyS712/SectionRemover to make it work
Requested scripts
[edit]- Automatically delink all duplicate links within the same section per MOS:LINKONCE.
- Collapsible parentheses in body text, which had a ridiculously long original request title and was accidentally moved to WP:US/L by me. Oops!
- An easily configurable script to add a link to the #p-vector-user-menu-overflow portlet with a name, target, and icon. This one should be a relatively easier one. I would do it myself, but I'm too busy rotting away on Celeste (video game).
- Preview an edit under the mobile viewport on desktop, with perhaps MediaWiki:Gadget-mobile-sidebar.js used for inspiration.
- ...and many more, all available at Wikipedia:User scripts/Requests. Jeeputer and Nardog have been the most active on the page in the past five months.
Updated scripts
[edit]- After the RIIJ update, Aaron Liu: Watchlyst Greybar Unsin has a dismiss button that allows you to mark an item as read in one click and cycle to the next Watchlist item.
- Lordseriouspig/StatusChangerImproved is just like Enterprisey's script, except you select your status from a dropdown instead of cycling through them with a button. The WMF operates out of car-centric infrastructure anyway. Shame!
Newly maintained scripts
[edit]- Aaron Liu has created Duplinks from Evad37/duplinks-alt; his fork adds a config variable to automatically highlight duplicate links on the loading of any page where the portlet link would've appeared.
- BilledMammal/Move+ expands the powers of User:TheTVExpert/rmCloser to include common procedures done with the art of moving pages.
- On a holiday? Somewhere? Gotta learn ye ABCs? CanonNi/StatusSetter puts the fun into Enterprisey/StatusChanger with a quadruple more statuses. That starts with a C!
- In our continuing trend(s?), DaxServer/DiscussionCloser forks DannyS712/DiscussionCloser to make it work. Sadly, this is the end of our lexicographic combo.
- Andrybak:
- user-tabs-on-contribs is a fork of User:Enterprisey/user-tabs-on-contribs for Vector 2022.
- Archiver is a fork of User:Enterprisey/archiver with automatic calculation of the destination archive subpage and with support for non-Vector skins.
- Quite coincidentally, Elli/OneClickArchiver has been forked from User:Equazcion/OneClickArchiver to work with the mw:Heading HTML changes.
- FlightTime/OneClickArchiver forks the same thing but also no longer nonsensically prepends {{clear}} to page archives.
New scripts
[edit]- Aaron Liu: MoveTop adds a different padlock topicon for each level of move-protection.
- Andrybak/Not around can help you mark talk pages of inactive users with {{not around}}.
- BrandonXLF/AddCopied automatically tags talk pages of pages you've copied between with {{copied}}.
- Bugghost/UserRoleIndicator adds text labels (which default to emoji) to user links that label the user's usergroups. Wow, that's a mouthful
- CanonNi/AlertAssistant adds a Twinkle-style dialog for alerting users about contentious topics.
- CFA/AttributeTranslation automatically tags articles translated from other places with appropriate attribution.
- In the defense of the 'pedia, the humble Jeeputer/defconIndicator adds the WP:WIKIDEFCON status to the toolbar.
- Tired of staring at a bunch of filtering text and waiting for darn filter logs to load? Msz2001/AbuseFilter analyzer can parse abuse filters into a visual syntax tree and evaluate locally on-demand!
- Polygnotus/DuplicateReferences finds references with the same link and displays the number of them along with a button to add the {{duplicated citations}} tag under the references section. Being lazy has never been easier!
- fastest gun on the net Ponor/really-quick-block really quick add to contribution lists three buttons awesome
- TheTechie/Help Me Tool is a quick and easy way of responding to {{help me}} requests.
- Per MOS:CONFORM, ZKang123/TitleCaseConverter converts all citation titles to... title case, unfortunately.
MfD nomination of Wikipedia talk:Tip of the day/Header
[edit]Wikipedia talk:Tip of the day/Header, a page which you created or substantially contributed to, has been nominated for deletion. Your opinions on the matter are welcome; you may participate in the discussion by adding your comments at Wikipedia:Miscellany for deletion/Wikipedia talk:Tip of the day/Header and please be sure to sign your comments with four tildes (~~~~). You are free to edit the content of Wikipedia talk:Tip of the day/Header during the discussion but should not remove the miscellany for deletion template from the top of the page; such a removal will not end the deletion discussion. Thank you. Gonnym (talk) 13:51, 19 September 2024 (UTC)
RFA2024 update: Discussion-only period now open for review
[edit]Hi there! The trial of the RfA discussion-only period passed at WP:RFA2024 has concluded, and after open discussion, the RfC is now considering whether to retain, modify, or discontinue it. You are invited to participate at Wikipedia:Requests for adminship/2024 review/Phase II/Discussion-only period. Cheers, and happy editing! MediaWiki message delivery (talk) 09:38, 27 September 2024 (UTC)
Thanks and a few words on template categorization
[edit]Hi Andrybak. Thank you for cleaning up after my work.[1][2] For me it's often a guess as to what is the optimal way to format such things so occasionally I just copy similar code from somewhere handy.
Regarding the content category Category:Occupational safety and health: I had added that to the new template category partly because I had just got through removing it from the existing navbox cat (now a subcat) here. But also I was under the impression that it was okay to include template-containing categories in content cats based on an RfC from a while back. I dug back and found it I think here but I must have either seriously misunderstood or misremembered something because that was not the consensus at all, or I was thinking of a different discussion. Anyway, you were correct to remove it. Well done:)
Possibly a helpful note on the shortcut link: I often get the feeling that, within my edit summaries, the shortcut "WP:CAT#T" gets ignored by editors who aren't aware of what those characters point to, or that they point to anything useful at all. "CAT#T" doesn't give much of a hint as to what it's about really. The # symbol nestled among the letters is an unusual shortcut. It's quite small and sometimes I think people think it's a typo or something. Lately, in my own personal experience, it seems the full "Wikipedia:Categorization#Template categorization" gets the attention desired and it's certainly far more descriptive. Even pipe-labeling the shortcut as "Template categorization", as I've been doing more recently, is better I think...fwiw --DB1729talk 20:38, 5 October 2024 (UTC)
- DB1729, thank you. Other editors not being familiar with the guideline and possibly being confused by the shortcut is an excellent observation. I've adjusted my scripts to make edit summaries more readable. —andrybak (talk) 21:18, 5 October 2024 (UTC)
Conflict of interest
[edit]On your user page you say you've publicly revealed certain conflicts. I'm wondering if you've considered linking to such public statement(s). I've wrestled with maybe similar issues, as with "I'm an ex-banker" from 2012 on my user page. I'm less active with editing currently but appreciated your help with one of my recent edits, visited your user page, and had my old wrestling brought back to mind. Swliv (talk) 00:29, 11 October 2024 (UTC)
- If you're unsure, I can recommend reading essays about conflict of interest: [3]. See also Category:Wikipedia conflict of interest editing. —andrybak (talk) 08:37, 11 October 2024 (UTC)
ArbCom 2024 Elections voter message
[edit]Hello! Voting in the 2024 Arbitration Committee elections is now open until 23:59 (UTC) on Monday, 2 December 2024. All eligible users are allowed 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 2024 election, please review the candidates and submit your choices on the voting page. If you no longer wish to receive these messages, you may add {{NoACEMM}}
to your user talk page. MediaWiki message delivery (talk) 00:34, 19 November 2024 (UTC)
Speedy deletion nomination of Category:Wikipedia GLAM barnstar templates
[edit]A tag has been placed on Category:Wikipedia GLAM barnstar templates indicating that it is currently empty, and is not a disambiguation category, a category redirect, under discussion at Categories for discussion, or a project category that by its nature may become empty on occasion. If it remains empty for seven days or more, it may be deleted under section C1 of the criteria for speedy deletion.
If you think this page should not be deleted for this reason you may contest the nomination by visiting the page and removing the speedy deletion tag. Liz Read! Talk! 20:57, 19 November 2024 (UTC)