Jump to content

User:Dušan Kreheľ/Bot:Language specification in the link

From Meta, a Wikimedia project coordination wiki

Description

[edit]

#1 Add language specification

[edit]

The bot will add the language specification in the link, but only if the section actually exists.

The link example for skwiktionary environment:

  • Before:
    • [[Dušan]]
  • After:
    • [[Dušan#Slovenčina|Dušan]]

Police for mass changes

[edit]
Exist language section for term? Change? Comment
Term language In another language In native wiki language
Another No No No
Another No Yes Yes Ex. the definition in the native language
Another Yes No Yes
Another Yes Yes No
Native No No No
Native No Yes Yes Ex. the definition in the native language
Native Yes No No
Native Yes Yes No

#2 Remove language specification

[edit]

The bot will delete the language specification in the link, but only if it is needed (ex. the template create the link, the the parameter is not require in link format).