User:CFA/scripts/AttributeTranslation
Appearance
< User:CFA
(Redirected from User:Clearfrienda/scripts/AttributeTranslation)AttributeTranslation | |
---|---|
Description | Adds attribution to articles with translations from other Wikipedias |
Author(s) | CFA |
Maintainer(s) | CFA |
Updated | July 9, 2024 (4 months ago) |
Skins |
|
Source | User: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:
- Adds a dummy edit to the article with an edit summary attribution
- Adds {{Translated page}} to the article's talk page (if needed)
- 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]- Add the following to Special:MyPage/common.js (or your skin-specific js, if you prefer):
{{subst:iusc|User:CFA/scripts/attributetranslation.js}}
Usage
[edit]- 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.
- Input the two-letter language code of the original page — found in the url before wikipedia.org (e.g. zh, es, fr)
- Add the original page title
- 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.
- 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.