Jump to content

User talk:andrybak

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from User talk:AndrybakBot)

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)[reply]

@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:
  1. misuse of HTML and wikitext causing so called lint errors
  2. 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)[reply]

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[reply]

No. I'll let someone else deal with that. Thanks. —⁠andrybak (talk) 23:04, 2 July 2024 (UTC)[reply]

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)[reply]

Hello, JoeJShmo. Could you please clarify, what are you trying to achieve? —⁠andrybak (talk) 07:21, 26 July 2024 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]

Scripts++ Newsletter – Issue 25

[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)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]

Scripts++ Newsletter – Issue 26

[edit]