Jump to content

Wikinews:Bots

From Wikinews, the free news source you can write!
(Redirected from Wikinews:BOT)
This is an official policy on English Wikinews. It has wide acceptance and is considered a standard for all users to follow. Changes to this page must reflect consensus. If in doubt, discuss first on the talk page.

Please read the policy before making a request for bot permission. See also Wikinews:Global bots.


Requests

[edit]


Operator: Leaderboard

Bot tasks for which permission is being sought: meta:Global reminder bot

Automatic or manually assisted: Automatic

Edit type: Daily in theory. However, I think the bot will almost never run on this wiki; however, I'm told that it is still good practice to request approval.

Maximum edit rate (e.g. edits per minute): Maybe once per month at most?

Bot flag requested: (Y/N): N

Programming language(s): Python

Leaderboard (talk) 08:19, 23 August 2024 (UTC)[reply]

Comments

[edit]
  • @Gryllida: is this something you could take a look at? Leaderboard (talk) 14:15, 28 September 2024 (UTC)[reply]
    On a small wiki I am worried this could be unnecessary as users would make token edits just to keep the access. Is there some evidence that notification, for example if done manually somewhere, improved things and re-engaged the contributor in editing regularly? Gryllida (talk) 13:00, 7 October 2024 (UTC)[reply]
    Hi @Gryllida Firstly, this only applies to temporary rights (i.e when you assign a right for a certain period) - it's not going to remind anyone whose rights are technically indefinite (i.e, it does not affect WN:PEP). This bot was launched only in August, so hard evidence is difficult to find; however, this bot was inspired by a case where a user with global rights was unable to help their community because they did not realise that their rights had expired. For a wiki like this (like most small wikis), it is expected to almost never post anything - so it will simply run silently. Does this answer your question? Leaderboard (talk) 13:05, 7 October 2024 (UTC)[reply]
    Yes thanks. Then maybe it is not needed here as no privileges expire automatically. I welcome someone pointing out a different point of view, I am rather neutral on this. Gryllida (talk) 13:12, 7 October 2024 (UTC)[reply]
  • As I see this a bot flag is not needed. The bot will make very few edits. But I think it will be a good idea for Gryllida or someone else to close this request with a comment like "This bot is approved to do the task. No bot flag is needed." --MGA73 (talk) 15:56, 8 December 2024 (UTC)[reply]

Votes

[edit]

Operator: Pppery (t · c · b)

Bot tasks for which permission is being sought: Export Flow/LQT boards to wikitext

Automatic or manually assisted: Typically runs at first as one automatic/unsupervised run, and then a later set of automatic/supervised runs to clean up cases the original one punted on. Or at least that's how I did it on MediaWiki.org

Edit type: One-time run

Maximum edit rate (e.g. edits per minute):

Bot flag requested: (Y/N): Y

Programming language(s): Python

Code at https://gitlab.wikimedia.org/pppery/flow-export-with-history and https://gitlab.wikimedia.org/pppery/flow-topic-links-fix. I tend to make minor uncommitted changes to the code as I run into issues, some of which don't make it all the way to the repo.

This bot will also need admin permissions, and XML importer permissions (since it imports the Flow boards with revision history to allow comments to show up in users' contributions among other things). Bot and admin can be granted by local crats, XML importer on most wikis can be granted only by stewards. I'm assuming I only need to request bot rights, not file separate permissions for those other groups. * Pppery * it has begun... 16:21, 16 October 2025 (UTC)[reply]

Comments

[edit]

Votes

[edit]
Hi @* Pppery *
  • 1. What their script. I thought flow can start to be used straight away.
    2. There are two halves of the task, conversion to wikitext and page deletion. I am thinking that you can do the conversion to wikitext without admin right; and there is possibly a tool to mass delete what needs to be deleted. Is there a namespace for it? It will be everything in 'Thread:' isn't it? I think Special:Nuke can do it (docs: https://www.mediawiki.org/wiki/Help:Extension:Nuke ); if that's what's needed, i can do it for you after the conversion to wikitext is finished. Please let me know if that's a reasonable approach.
Thanks, --Gryllida 19:00, 21 October 2025 (UTC)[reply]
@Gryllida: WMF will run its script to convert LQT pages to Flow, and this bot will then convert those Flow pages to wikitext. The bot will only suppose to run after WMF completes its conversion. --Asked42 (talk) Asked42 (talk) 19:02, 21 October 2025 (UTC)[reply]
also see Wikinews:Water cooler/proposals#Phase_2:_Converting_LQT_to_Flow. --Asked42 (talk) 19:03, 21 October 2025 (UTC)[reply]
Oh I thought if someone converts LQT to Flow, then there is nothing left to do. I am not well informed. Gryllida 19:17, 21 October 2025 (UTC)[reply]
I guess I could technically do the import to a separate subpage, and not require deleting anything, but I had thought the plan was to do an outright replacement of the LQT with the Flow and then with the wikitext, all leaving as few traces of the previous state as possible behind, which requires deleting both the Flow board and the "/LQT Archive 1" leftovers. I could have built the bot in a different way, I guess, to need fewer permissions, but I didn't expect this to be a problem. And, re Gryllida, Flow is also being deprecated and was only intended to be an intermediate state. * Pppery * it has begun... 19:48, 21 October 2025 (UTC)[reply]
Let me try to elaborate. As I understand the plan:
  1. For every LQT board (with at least one thread on it), the WMF will run a script to convert that board to Flow. This script will.
    1. Move the existing page there to its current title + "/LQT Archive 1".
    2. Create a new Flow board at that title with the same content (and history) as the LQT thread it's replacing.
  2. Once all of that is done, I plan to run my bot. It will, for every Flow board:
    1. Delete the "/LQT Archive 1" page (this part requires admin rights)
    2. Delete the Flow board created in the previous step (this part requires admin rights)
    3. Reconstruct the history of the board as if the entire discussion had been done in wikitext from the start
    4. Use (the API version of) special import to import that history to the wiki onto the title that the Flow board (and previously the LQT thread) used to be (this part require XML importer rights).
  3. Then, once all of that is done, as a second pass it will find all pages linking to "Thread:" pages, and change them to link to the converted wikitext thread (as a minor cleanup matter).
I could do only steps 2.3 and 2.4, importing to a different title instead, and thus not need admin (but still need XML importer). I'll do that if you really want, but it seems like it foists additional technical work onto others for no clear reason. * Pppery * it has begun... 21:04, 21 October 2025 (UTC)[reply]

Current bots

[edit]
See also Category:Former bots.