This is a Wikivoyage user page.

Bot account for User:Traveler100

If this bot is running and you want to stop it, publish some text on the talk page of this article.

Proposed Functions edit

hatnote edit

If the first line of article starts with a colon, replace it and place text in {{hatnote}}.

Ongoing functions edit

Convert edit

Replace {{convert}} usage to unit specific template to ensure consistent units formating where possible.

  •   To do convert 9 Nov 2019 were 380 articles. Special cases to keep using convert template.

Listings Accessibility - Bullet lists fix and Listings case edit

  • Remove blank lines between listings, as this creates multiple bullet lists. Affects the underlying HTML code and may have disruptive effects for some screen readers; see w:Wikipedia:Manual_of_Style/Accessibility#Lists for details.
  • Change listings type name from uppercase to lowercase. For example Sleep to sleep. When page has mix of uppercase and lowercase listings the map marking do not work correctly.

Orphaned pages edit

Using petscan locate articles with no incoming links from main space articles, then add {{Orphan}} to bottom of the page.

Previous functions edit

replacing {{Itinerary}} with {{PartOfItinerary}} edit

Preparation work to address Talk:Itineraries#Long lists

user language templates edit

Replace use of user language templates such as:

{{user en}}
{{user es-1}}
{{user de-1}}
{{user th-0}}

with single #babel call like:

{{#babel:en|es-1|de-1|th-0}}

And replace {{babel}}, {{babel-4}} etc. with #babel

If user or existing babel template as text or formatting between then multiple entries will be kept.

kms edit

  • change kms to km (if number before it)

Translate text position edit

  • Move {{translate}} from top to bottom of articles.

Related sites - phase 2 edit

no Wikipedia link edit

Related sites edit

Change syntax of Related Sites entries

  • Replace [[Wikipedia:(.*?)]] with {{RelatedWikipedia|$1}}
  • Replace [[Commons:Category:(.*?)]] with {{RelatedCommonsCat|$1}}
  • Replace [[Commons:(.*?)]] with {{RelatedCommons|$1}}
  • Delete [[Dmoz:(.*?)]]

Fix phone number format edit

For all articles check phone parameter of listings template (buy, do, drink, eat, listing, see, sleep).

  • If parameter contains text and special characters but not capital letters:
  • replace / with -
  • remove (0)
  • remove [0]
  • remove ( and )
  • remove '
  • remove .
  • remove &nbsp

* remove Tel: and Tel.:

  • remove 00
  • repalce 011 with +
  • replace +digits digits digits digits with +digits digits digits-digits
  • replace +digits digits-digits with +digits digits digits
  • Run via country adding country code if does not exist, fixing country code format with plus and removing zeros

Currently running manually as too many exceptions for automatic.

Add pagebanners edit

Recursively descend country or continent categories below Category:Region categories and for all article pages (skip if contains {{pagebanner ) add {{pagebanner}} to first line.

Note: Only articles within Category:Austria will have the template added until the preliminary stage is over.

New article type and status tags edit

Per discussion at Wikivoyage talk:Article status#Consolidation proposal.