Meta:Requests for bot status/WikiLearnBot

The following discussion is preserved as an archive of a closed Meta-Wiki request. Please do not modify it.

WikiLearnBot edit

Not ending before 8 August 2022 12:09 (UTC)

This account was created by WMF's Language Engineering team to be part of the course content translation feature of WikiLearn, the new Open edX-based online learning platform run by the Community Development team. Its goal is to handle the Meta side of the course content translation. It specifically needs the editcontentmodel right, as it needs to be able to change the page content model to Message Bundle. WikiLearnBot (talk) 12:09, 1 August 2022 (UTC)[reply]

I am confirming and endorsing this request on behalf of the Wikimedia Foundation's Community Development team and the WikiLearn platform. Asaf (WMF) (talk) 12:09, 1 August 2022 (UTC)[reply]
Only two user groups, Administrators and WMF Support and Safety has editcontentmodel right. If WMF's Language Engineering team is handling the account then I think they can grant themselves the right to this account. Kind regards, — Tulsi 24x7 12:36, 1 August 2022 (UTC)[reply]
Indeed. Bots do not have editcontentmodel permissions. —MarcoAurelio (talk) 13:37, 1 August 2022 (UTC)[reply]
The WikiLearnBot account will be used to manage MessageBundles for WikiLearn courses in MetaWiki for localisation purposes.
The code related to MessageBundle will be executed when the editcontentmodel for a page is changed to message bundle, or an existing message bundle is updated. You can review the code here: https://github.com/wikimedia/mediawiki-extensions-Translate/blob/master/src/MessageBundleTranslation/Hooks.php#L100
More information about Translating WikiLearn courses can be read here. For localisation issues related to WikiLearn, please contact comdevteam@wikimedia.org. For any functional issues, please contact the Wikimedia Language engineering team.
Regards, APatro (WMF) (talk) 14:53, 1 August 2022 (UTC)[reply]
@APatro (WMF) as noted above, the "bot" usergroup doesn't contain the permissions to change a page's content model (c.f. Special:ListGroupRights). I suggest you check your workflow on this, it seems to be a brand new type of workflow - as such enabling specially titled pages to initially be created in this content model (similar to how pages may be created in SCSS, JS, CS based on other page creation rules) may be the better fix for you. (i.e. why bother creating the pages in the wrong content model, then having to go through this step at all). — xaosflux Talk 15:04, 1 August 2022 (UTC)[reply]
@Xaosflux Thanks for that recommendation. For some reason I was under the impression that to use a non wikitext contentmodel we would need the editcontentmodel right, even while creating a page.
We will ensure that we create the page with the correct contentmodel and that should meet our needs.
Regards, APatro (WMF) (talk) 11:21, 4 August 2022 (UTC)[reply]
@APatro (WMF) so sort of. As noted above, "bot" will not fix this. Users without editcontentmodel can't change a page from one model to another, however, you could work with the extension developers to enable the special pages you need to be initially created directly in the content model that you need. If that won't be possible, the only option right now would be sysop - and you can work with WMF IT team to get that access if it is really needed. — xaosflux Talk 13:45, 4 August 2022 (UTC)[reply]

I think this request can this be closed? --MF-W 01:11, 9 August 2022 (UTC)[reply]



The above request page is preserved as an archive. Please do not modify it. Comments about this page should be made in Meta:Babel or Meta:Requests for help from a sysop or bureaucrat.