维基百科:机器人/申请/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)