Wikinews:Bots
|
|
|
|
Please read the policy before making a request for bot permission. See also Wikinews:Global bots.
| I | Create a user account (while logged in to your normal account) and a user page for the bot
On the bot userpage, add the {{TestBot}} template, which automatically adds the page to Category:Test bots. Then add the following mandatory information to the bot userpage:
|
|---|---|
| II | Create your bot request:
Add your bot request at the foot of the list here:
|
| III | Test run
You could be asked to make a short test run with your bot account (10–20 edits usually) to allow other users to review your bot's tasks. Unauthorized test runs are not allowed. |
| IV | Waiting for approval.
You now need to wait for community approval. The request must remain open for at least two weeks. A bureaucrat will close the request and will also grant a bot flag, where necessary. You can then change the {{TestBot}} template to a {{Bot}} on the bot userpage. Closed requests are moved to Wikinews:Bots/Archive. |
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)
Comments
[edit]- @Gryllida: is this something you could take a look at? Leaderboard (talk) 14:15, 28 September 2024 (UTC)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
Votes
[edit]Flow cleanup bot (talk · contribs)
[edit]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)
Comments
[edit]Votes
[edit]- Strong
Support - We urgently and definitely need this bot for the final process of moving away from LQT. WMF will probably only assist with converting to Flow, and Pppery has offered to help with converting Flow to wikitext. -- Asked42 (talk) 18:38, 17 October 2025 (UTC)
Support Pinging @Gryllida and @Bddpaux, both of whom I've seen active recently and both are bureaucrats.Michael.C.Wright (Talk/Reviewer) 00:25, 21 October 2025 (UTC)
- on it Gryllida 03:35, 21 October 2025 (UTC)
- hi @Pppery bot flag granted for a month. its duration was unspecified in the request but i assumed thats enough for the task, and then i will not need to come back to take it off, please let me know if you needed some other duration, thank you! Gryllida 03:37, 21 October 2025 (UTC)
- A month is fine in terms of duration (assuming the WMF actually runs their script then - I filed this beforehand because enwikinews is not known for doing things promptly), but I also need admin rights on the bot since my plan is to delete the Flow board to replace it with the wikitext version (and also XML importer because I use the import API to import content with history, but only the stewards can grant that). * Pppery * it has begun... 03:40, 21 October 2025 (UTC)
- 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)
- @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)
- also see Wikinews:Water cooler/proposals#Phase_2:_Converting_LQT_to_Flow. --Asked42 (talk) 19:03, 21 October 2025 (UTC)
- 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)
- 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)
- Let me try to elaborate. As I understand the plan:
- 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.
- Move the existing page there to its current title + "/LQT Archive 1".
- Create a new Flow board at that title with the same content (and history) as the LQT thread it's replacing.
- Once all of that is done, I plan to run my bot. It will, for every Flow board:
- Delete the "/LQT Archive 1" page (this part requires admin rights)
- Delete the Flow board created in the previous step (this part requires admin rights)
- Reconstruct the history of the board as if the entire discussion had been done in wikitext from the start
- 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).
- 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).
- 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.
- 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)
- Let me try to elaborate. As I understand the plan:
- @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)
- Thanks, --Gryllida 19:00, 21 October 2025 (UTC)
- Does LQT have an API? It might be easier to do this in one step. Leaderboard (talk) 15:04, 22 October 2025 (UTC)
- It does, and in fact the WMF's script to convert to Flow does use that API. But people have already written LQT->Flow and Flow->Wikitext converters whereas nobody has written a clean LQT->Wikitext converter directly. See also phab:T381906. * Pppery * it has begun... 15:36, 22 October 2025 (UTC)
- Thank you for your time and help with completing the conversion @Pppery. It seems, from the Phab comment that the conversion from LQT to Flow is mostly done. Does that mean you can now perform the final conversion? --Asked42 (talk) 09:06, 11 November 2025 (UTC)
- I'm still waiting for my bot to be granted admin (and XML importer which only the stewards can do) rights? * Pppery * it has begun... 16:08, 11 November 2025 (UTC)
- Pinging @Gryllida. --Asked42 (talk) 16:27, 11 November 2025 (UTC)
- Permission granted. For 1 month. Please ping me if you finished earlier. Gryllida 11:42, 21 November 2025 (UTC)
- Confirming I've seen this. Will run the bot later today or tomorrow most likely. * Pppery * it has begun... 20:23, 21 November 2025 (UTC)
- Permission granted. For 1 month. Please ping me if you finished earlier. Gryllida 11:42, 21 November 2025 (UTC)
- Pinging @Gryllida. --Asked42 (talk) 16:27, 11 November 2025 (UTC)
- I'm still waiting for my bot to be granted admin (and XML importer which only the stewards can do) rights? * Pppery * it has begun... 16:08, 11 November 2025 (UTC)
- Thank you for your time and help with completing the conversion @Pppery. It seems, from the Phab comment that the conversion from LQT to Flow is mostly done. Does that mean you can now perform the final conversion? --Asked42 (talk) 09:06, 11 November 2025 (UTC)
- It does, and in fact the WMF's script to convert to Flow does use that API. But people have already written LQT->Flow and Flow->Wikitext converters whereas nobody has written a clean LQT->Wikitext converter directly. See also phab:T381906. * Pppery * it has begun... 15:36, 22 October 2025 (UTC)
Current bots
[edit]
|
| See also Category:Former bots. |