User:CFA/scripts/AttributeTranslation

User script
AttributeTranslation
DescriptionAdds attribution to articles with translations from other Wikipedias
Author(s)CFA
Maintainer(s)CFA
UpdatedJuly 9, 2024
    (4 months ago)
Skins
  • Vector (2022)
  • Vector legacy (2010)
  • Monobook
  • Modern
  • Cologne Blue
  • Timeless
  • MinervaNeue
SourceUser:CFA/scripts/attributetranslation.js

AttributeTranslation (source) – A script that automatically adds attribution (with a dummy edit and the appropriate talk page template) to articles with non-attributed translations of other Wikipedias and notifies the translator(s). Useful when reviewing articles at New Pages Patrol.

Steps performed by the script:

  1. Adds a dummy edit to the article with an edit summary attribution
  2. Adds {{Translated page}} to the article's talk page (if needed)
  3. Notifies the translator(s) with {{uw-translation}}

Installation

edit

Automatic

edit
  • Step 1: Check the checkbox at Preferences → Gadgets → Advanced →   Install scripts without having to manually edit JavaScript files (documentation) and click Save.
  • Step 2: Click the big blue "Install" button in the infobox on the right of this page.

Manual

edit
{{subst:iusc|User:CFA/scripts/attributetranslation.js}}

Usage

edit
  1. On articles, there will be an additional "Translation attribution" menu option next to the regular "Move" option. In Vector skin, this is within the "More" dropdown menu.
  2. Input the two-letter language code of the original page — found in the url before wikipedia.org (e.g. zh, es, fr)
  3. Add the original page title
  4. Select if the {{Translated page}} notice should be added to the talk page. In general, it should be added if the content translated makes up a significant portion of the new article.
  5. Choose the user(s) you wish to warn with {{uw-translation}} about translating without attribution

Modifications

edit

Please let me know if you find any issues on my talk page.