User:TigerfellBot

From OpenStreetMap Wiki
Jump to navigation Jump to search

This is an account controlled by User icon 2.svgTigerfell (on osm). It is used for the execution of scripts and other semi-automatic or automatic changes within the wiki. Programs run multiple times (continuous cleanup), tasks are executed once within a specific time span and then they are done.

Programs
run continuously i. e. I irregularly start a new run whenever it is necessary. Usually done for wiki maintenance.
Tasks
run during a time span. The scope sets a limit so the task will be finished eventually.

Program 'Double redirect'

Status:
 
in operation

Moving pages can lead to double redirects being created by the system. This instance of MediaWiki is configured to fix them automatically, however this does not work always.

The bot uses entries of Special:DoubleRedirects and changes all redirects in the list. This bot uses the scripts provided by Pywikibot.

Factsheet

type of change replacement of text, wiki maintenance
affected namespaces and pages all pages included in the list after the redirection was reviewed by me
duration and frequency of changes continuously
reason for action bug in Wiki software, automated solution with little risk of wrongdoing
handling of exclusion requests contact me via User talk:Tigerfell
reference to notifications (none), suggestion in June 2014, discussion before enabling automatic resolution by User:Redirect fixer
proposed edit summary Bot: Fixing double redirect to <new target page>
date of first change 27 October 2019
date of last change -

List of requested page exclusions


Example change

Page name before change after changes on categorisation by TigerfellBot
50Hertz Special:PermaLink/471773 Special:PermaLink/1917139 (diff)


Program 'Rename categories'

Status:
 
in operation

Renamed i.e. moved categories are not updated on their member pages (MediaWiki bug). This has lead to a user reverting the redirection of a category, because he thought the redirect "didn't work".

The bot uses subcategories of Category:Soft-redirected categories still containing pages and changes all content within a subcategory to the new category. Every subcategory for redirection will be checked manually to spot template errors and erroneous redirections. This bot uses the scripts provided by Pywikibot.

Factsheet

type of change replacement of text, wiki maintenance
affected namespaces and pages all pages included in redirected categories if the category redirection was reviewed
duration and frequency of changes continuously
reason for action bug in Wiki software, no judgment for every page required
handling of exclusion requests contact me via User talk:Tigerfell
reference to notifications Talk:Wiki
proposed edit summary running program 'Rename categories': update names of redirected and soft-redirected categories
date of first change 6 August 2019
date of last change -

List of requested page exclusions


Example change

Page name before change after changes on categorisation by TigerfellBot
RU:Moscow Mapping Party 20131026 Special:PermaLink/962472 Special:PermaLink/1886886 (diff)


Task 'Proposal namespace'

Status:
 
reviewed

A new namespace for proposals was created in August 2022. It does not contain more than a handful of pages currently. Previous proposals are located at various places including

  • pages starting with Proposed Features/
  • pages starting with Proposed features/
  • pages starting with Relations/Proposed/
  • pages starting with Proposal

The automated edit will move all those pages into the Proposal namespace. Naming collisions will be handled manually.

Factsheet

type of change moving of pages
affected namespaces and pages all proposals
duration and frequency of changes multiple sets of systematic changes in the span of less then six months
reason for action change of this wiki's configuration, simplifying the naming convention
handling of exclusion requests singular pages: adding the page title to the excluded page list
multiple pages: wiki email to Tigerfell
reference to notifications Talk:Wiki
edit summary running task 'Proposal namespace': moving proposals into the proposal namespace
date of first change 2023-04-29
date of last change 2023-05-01

List of requested page exclusions


Example changes

Page name before change after changes by TigerfellBot
Proposed features/Offices of utility providers Special:PermanentLink/2436850 Special:PermanentLink/2452944

Task 'Simple image extension'

Status:
 
reviewed

The Simple image MediaWiki Extension does not work any longer, because there is no provider for Static map images. The extension used to use multiple providers already (listed at Static map images). The current provider (Wikimedia Foundation) and the previous one, both terminated their service without prior notice (WMF stated that risk in their terms of use). The extension is not developed any longer and it is dysfunctional since at least 23 February 2020 (this was the date when Firefishy/SimpleMap/issues/4 GitHub was opened). Nobody seemed to be interested to make an arrangement with Wikimedia Foundation to use their tile stitching service or to provide one for the wiki. There is also no perspective that FOSSGIS fixes their service. As a result, I propose the removal of the extension and the replacement with MultiMaps extension.

Factsheet

type of change replacement of text, technical change
affected namespaces and pages all pages using Simple image MediaWiki Extension
duration and frequency of changes multiple sets of systematic changes in the span of less then six months
reason for action change of MediaWiki extension used, restoring the broken map displays using MultiMaps MediaWiki extension
handling of exclusion requests problematic: If we disable the current extension afterwards, maps will display a static text instead. (currently an empty image frame is displayed)
singular pages: adding the page title to the excluded page list
multiple pages: wiki email to Tigerfell
reference to notifications Talk:Wiki
edit summary running task 'Simple image extension': replacing Simple image extension with MultiMaps extension
date of first change 21 May 2021
date of last change 23 May 2021

List of requested page exclusions


Example changes

Page name before change after changes by TigerfellBot
WikiProject Azerbaijan Special:PermanentLink/1551448 Special:PermanentLink/2155677

Task 'Slippymap'

Status:
 
reviewed

The Slippy Map wiki extension suffers some technical issues and is called depreciated. After a longer discussion, user User icon 2.svgTigerfell (on osm) expanded the MultiMaps map extension in a way it can replace the Slippy Map extension in this wiki. This automated edit aims to replace the calls to Slippy Map extension with calls to Template:Slippymap which in turn calls MultiMaps extension. In case we will exchange one of our map extensions with a different one again, we can simply change the template.

This bot uses the scripts provided by Pywikibot. It processes the pages within wiki search results for '<slippymap lat=' if they are also within one of the following namespaces: (main), Talk, DE, DE talk, ES, ES talk, FR, FR talk, IT, IT talk, JA, JA talk, NL, NL talk, RU, RU talk, User, User talk. This means that template pages will be changed manually (but they are planned to change as well). Calls using an older syntax will be replaced as well.

Factsheet

type of change replacement of text, technical change
affected namespaces and pages all pages using Slippy Map MediaWiki Extension
duration and frequency of changes multiple sets of systematic changes in the span of less then two months (was stalled for a longer time, see section "Small changes during execution")
reason for action change of MediaWiki extension used, keeping the current appearance of pages
handling of exclusion requests very problematic: If we disable the current extension afterwards, maps will display a static text instead. (possibly needs discussion)
singular pages: adding the page title to the excluded page list
multiple pages: wiki email to Tigerfell
reference to notifications Talk:Wiki
edit summary running task 'Slippymap': replacing Slippy Map extension with MultiMaps extension
date of first change 19 January 2020
date of last change 13 February 2021

List of requested page exclusions


Example changes

Page name before change after changes by TigerfellBot
2nd 3D Workshop Garching Special:PermaLink/944114 Special:PermaLink/1946640

Small changes during execution

The following changes were made during the execution of the script. I deemed them as minor and did not request approval for them.

  • The time span had to be extended until either openstreetmap/chef/pull/278 GitHub is merged or there is an alternative pull request for displaying OpenCycleMap. OWG has already signalled that the proposal to add OSM-FR tiles is the issue and not cycle maps. As a result, I proposed OSM-FR as a new featured tile layer on 19 July 2020. OpenCycleMap was added on 20 August 2020, but I forgot about the automated edit. Finally, I finished it off on 13 February 2021.

Task 'Undefined Elements'

Status:
 
reviewed

User Tigerfell rewrote the relation template in September 2018 and dropped some features (community approval included). One of the dropped features was the ability to link to an element in the OSM database which was not yet defined. This was done by leaving the first parameter of the templates empty. Some pages' markup is now invalid. The bot's aim is to change the template calls with an empty first parameter by adding the previously visible wiki text of the old template at the spot of the current template call with invalid parameters. The change is also requested for Template:Node, Template:Way, and Template:Area where the same changes were applied.
For the ease of processing, the bot would change calls to Template:BrowseRelation to Template:Relation (currently redirected) on all affected pages.

This bot uses the scripts provided by Pywikibot. It processes the pages within Category:Pages with script errors if they are also within one of the following namespaces: (main), Talk, DE, DE talk, ES, ES talk, FR, FR talk, IT, IT talk, JA, JA talk, NL, NL talk, RU, RU talk, User, User talk.

Factsheet

type of change replacement of text, substitution of a former template
affected namespaces and pages pages in Category:Pages with script errors and namespaces (main), Talk, DE, DE talk, ES, ES talk, FR, FR talk, IT, IT talk, JA, JA talk, NL, NL talk, RU, RU talk, User, User talk
duration and frequency of changes multiple groups of systematic changes in the span of less then two months
reason for action change in template, keeping the former appearance of pages
handling of exclusion requests singular pages: adding the page title to the excluded page list
multiple pages: wiki email to Tigerfell
reference to notifications Talk:Wiki, OSM forum Wiki team, Talk mailing list
proposed edit summary running task 'Undefined Elements': replacing undefined elements with plain wiki text
date of first change 15 October 2018 (DE namespace)
date of last change 16 November 2018 (RU namespace with replacement texts falling back to English)

List of requested page exclusions


Example changes

Page name before change on template after change on template after changes on template and by TigerfellBot
ES:Cusco Nodo no definido Lua error in Module:Element at line 11: Given node id parameter is not a number. Nodo no definido
Colorado/Railroads Relation not defined yet for Main line Lua error in Module:Element at line 11: Given relation id parameter is not a number. Relation not defined yet for Main line
NL:Hoofdpagina Way not defined yetHelp dit vertalen naar het Nederlands! Lua error in Module:Element at line 11: Given way id parameter is not a number. Way not defined yet

In the last example both valid versions would also include the page in Category:Pages unavailable in Dutch under Hoofdpagina.

Small changes during execution

The following changes were made during the execution of the script. I deemed them as minor and did not request approval for them.

  • {{BrowseRelation}} was not generally replaced by {{Relation}} on affected pages so far.
  • I counted combinations of Xes, question marks and dashes as empty first parameters. MediaWiki counts spaces without text in unnamed parameters as empty values itself.
  • I did not strictly follow the language prefixes when substituting the calls. Instead, I tried to figure out the language of a page by the title (and sometimes the content as well).
  • As there were many pages in Polish, I requested a translation from Władysław Komorek. The Polish pages will display a Polish text instead of an English fallback version.
  • Regarding the language fallback to English, I used the template {{TranslationOf element not defined yet for}} instead of a plain English wiki text. This enables translators to change the template instead of conducting another automated edit. The template existed before my actions already.