Page MenuHomePhabricator

Add Luthor to translatewiki.net
Closed, ResolvedPublic4 Estimated Story Points

Description

Project information

Name: Luthor
Homepage: https://luthor.toolforge.org/
Project link: https://luthor.toolforge.org/
Code repository: https://gitlab.wikimedia.org/toolforge-repos/luthor

  • Source branch: master
  • Target branch: master

OS License: AGPLv3
Issue Tracker: https://phabricator.wikimedia.org/tag/luthor/
Project contact: [[User:Ijon]]

Logo: n/a

  • Without text:
  • With text:

Project description:
This tool helps you add example sentences to Wikidata Lexeme. It is hosted on Toolforge.

NOTE: Section below will be filled by twn staff

Project setup checklist

Project configuration (for translation admins)

Namespace: NS_WIKIMEDIA
Prefix: luthor-
Validators:

  • InsertableRubyVariable; enforce: true; insertable: true

Insertable:

  • HtmlTagInsertablesSuggester

We can add the project under WikimediaTools.yaml file

Support: Phabricator: https://phabricator.wikimedia.org/tag/luthor/

Concerns

Event Timeline

@Ijon:

  1. Can you please give the translatewiki bot account access to the repository?
  2. Currently the project lacks message documentation. You can create a qqq.yml file to the repo or add the message documentation on translatewiki.net once the project is onboarded.

Change 972934 had a related patch set uploaded (by Wangombe; author: Wangombe):

[translatewiki@master] Add Luthor project to TranslateWiki

https://gerrit.wikimedia.org/r/972934

@Asaf I see that the l10n-bot has been granted developer access to the repository. Is the master branch protected? Will "developers" be able to push changes to the master branch directly?

Change 972934 merged by jenkins-bot:

[translatewiki@master] Add Luthor project to TranslateWiki

https://gerrit.wikimedia.org/r/972934

Change 974193 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[translatewiki@master] Luthor: Fix sourcePattern

https://gerrit.wikimedia.org/r/974193

Change 974193 merged by jenkins-bot:

[translatewiki@master] Luthor: Fix sourcePattern

https://gerrit.wikimedia.org/r/974193

Change 974194 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[translatewiki@master] Luthor: Fix sourcePattern file extension

https://gerrit.wikimedia.org/r/974194

Change 974194 merged by jenkins-bot:

[translatewiki@master] Luthor: Fix sourcePattern file extension

https://gerrit.wikimedia.org/r/974194

@Asaf I see that the l10n-bot has been granted developer access to the repository. Is the master branch protected? Will "developers" be able to push changes to the master branch directly?

Yes, they will be able to; the branch is not protected.

@Asaf I see that the l10n-bot has been granted developer access to the repository. Is the master branch protected? Will "developers" be able to push changes to the master branch directly?

Yes, they will be able to; the branch is not protected.

Exports from translatewiki.net to the Luthor project failed on 11/16/23 around 1230 UTC with the following error:

Error Output:                                                                
================                                                             
remote: GitLab: You are not allowed to push code to protected branches on this project.                                                                 
To gitlab.wikimedia.org:toolforge-repos/luthor.git                           
 ! [remote rejected] master -> master (pre-receive hook declined)            
error: failed to push some refs to 'gitlab.wikimedia.org:toolforge-repos/luthor.git'

It is possible that the master branch is protected by default.

Oh, that was indeed the default! Now unprotected the branch, thanks.