維基百科:機器人/申請/DiBabelYurikBot
< Wikipedia:机器人 | 申请
- 狀態: 已過期
- 操作者: Yurik(留言)
- 提請時間: 2019年5月4日 (六) 04:27 (UTC)
- 自動化程度:Supervised for a few months for sure, possibly automatic after that.
- 程式語言:Python
- 用途:Copied from Multilingual Templates and Modules
- DiBabel bot will copy templates and modules from mediawiki.org to all other sites/languages listed in Wikidata for that page, automatically changing the template and module names.
- It will be copied ONLY if Wikidata item has "instance of" set to 維基媒體多網站頁面 (Q63090714).
- It will be copied ONLY if the current content of the page exists in the history of mediawiki.org's (origin) version. E.g. if a user modifies English version of the page, it will not be overwritten unless that exact text ever existed in the history of the page on mediawiki.org. To resume automatic synchronization, a user must copy the latest version of the page from mediawiki.org. Note that simply reverting a page to an older version will not be enough to prevent a bot from copying it again. A page has to be different from any of origin's revisions (e.g. add a note why the page was modified).
- Any template names will be automatically localized inside the wiki markup, e.g. {{MW name|...}} text will become {{Localized name|...}}, as long as Template:MW name exists on mediawiki.org, and it has a corresponding template on the destination wiki. Shared templates should not use non-shared templates, as that may cause unexpected results.
- Just like templates, modules text
require('Module:MW name')
will be converted torequire('Module:Localized name')
. - 討論內容連結: wishlist proposal
- 原始碼連結: PyWikiAPI + https://github.com/nyurik/dibabel
- 編輯時段及頻率:a few times a day
- 受影響頁面:10-15 -- depending how widely the community wants to use it
- 遵守機器人規範:No: the bot will copy anything from MW.org to enwiki, as long as that page is tagged for its operation. If a user modifies enwiki's version in any way, including adding a {{bot}} flag, the bot will not override it because it will not match any of the page's revision history on mw.org. On the other hand, if mw.org has a shared page with the {{bot}}, that content will be copied as is, because that's the intention of the page's author.
- 已有機器人權限:ruwiki, possibly a few more already granted botflag
- I sent a notice on the Village pump. Waiting for discussion. --Xiplus#Talk 2019年5月4日 (六) 13:35 (UTC)
- 可以有有心人士翻譯一下嗎?-- Sunny00217 - 2019年5月6日 (一) 11:14 (UTC)
- 批准測試運作(10次編輯) --百無一用是書生 (☎) 2019年5月17日 (五) 11:40 (UTC)
- @Yurik:? --Kanashimi(留言) 2019年9月12日 (四) 15:39 (UTC)
- So far it is on pause - I am thinking of re-making this tool as a user-tool, where the user will be able to view the diffs and one-click distribute it to the specific language. I do plan to run the tool a few more times to keep already existing things in sync. --Yurik(留言) 2019年9月12日 (四) 15:45 (UTC)
- @Yurik: So you will make another request in the future? --Kanashimi(留言) 2019年9月12日 (四) 15:52 (UTC)
- So far it is on pause - I am thinking of re-making this tool as a user-tool, where the user will be able to view the diffs and one-click distribute it to the specific language. I do plan to run the tool a few more times to keep already existing things in sync. --Yurik(留言) 2019年9月12日 (四) 15:45 (UTC)
- @Yurik:? --Kanashimi(留言) 2019年9月12日 (四) 15:39 (UTC)
- Request Expired. Jimmy Xu 論 2019年12月13日 (五) 23:04 (UTC)