Page MenuHomePhabricator

Add Cite Unseen to translatewiki.net
Closed, ResolvedPublic2 Estimated Story Points

Description

Project information

Name: Cite Unseen
Homepage: https://meta.wikimedia.org/wiki/Meta:Cite_Unseen
Project link: https://meta.wikimedia.org/wiki/Meta:Cite_Unseen
Code repository: https://gitlab.wikimedia.org/kevinpayravi/cite-unseen

  • Source branch: main
  • Target branch: main (would prefer changes be submitted as merge requests)

OS License: CC BY-SA 4.0
Issue Tracker: https://phabricator.wikimedia.org/project/view/4050/
Project contact: SuperHamster / kevinpayravi@gmail.com

Logo:

  • Without text: N/A
  • With text: N/A

Project description:
Cite Unseen is a Wikimedia user script that adds categorical icons to citations to help readers and editors quickly evaluate the nature and reliability of cited sources at a glance. This helps users spot potentially problematic sources, and better understand what kinds of sources are supporting an article.

NOTE: Section below will be filled by twn staff

Project setup checklist

Project configuration (for translation admins)

Namespace: NS_WIKIMEDIA
Prefix: cite-unseen-
Validators:
Support:

Concerns

Event Timeline

Current strings and localization are in the i18n branch, will be merged into main soon:
https://gitlab.wikimedia.org/kevinpayravi/cite-unseen/-/tree/i18n/i18n

Nikerabbit set the point value for this task to 2.
Nikerabbit moved this task from Backlog to Ready for dev on the LPL Essential (2025 Jul-Oct) board.
Wangombe changed the task status from Open to In Progress.Sep 17 2025, 6:17 AM
Wangombe claimed this task.
Wangombe moved this task from Ready for dev to In Progress on the LPL Essential (2025 Jul-Oct) board.

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

[translatewiki@master] Add Cite Unseen to translatewiki.net

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

@SuperHamster Can you please give https://gitlab.wikimedia.org/l10n-bot access to commit to the repository? Also the i18n strings are missing message documentation.

@abi_ I have granted developer access to l10n-bot. Our main branch is locked down to prevent direct commits. Would we be able to do something like, the bot commits changes to an i18n that we periodically review and merge into main?

Will take a look at adding message documentation. Thank you!

We can automatically create GitLab merge requests from a branch.

Change #1189037 merged by jenkins-bot:

[translatewiki@master] Add Cite Unseen to translatewiki.net

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

Output:                                                                      
================                                                             
[main d45fc0e] Localisation updates from https://translatewiki.net.          
 1 file changed, 108 insertions(+), 105 deletions(-)                         
Current branch main is up to date.                                           
                                                                             
                                                                             
Error Output:                                                                
================                                                             
remote: GitLab: You are not allowed to push code to protected branches on t  
his project.                                                                 
To gitlab.wikimedia.org:kevinpayravi/cite-unseen.git                         
 ! [remote rejected] main -> main (pre-receive hook declined)                
error: failed to push some refs to 'gitlab.wikimedia.org:kevinpayravi/cite-  
unseen.git'

@Wangombe Can you update config to create merge requests instead of direct push?

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

[translatewiki@master] Cite Unseen: create merge requests instead of direct push

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

@Nikerabbit

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

[translatewiki@master] Cite Unseen: create merge requests instead of direct push

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

@SuperHamster
We have patch up that pushes to branch twn (name can still be changed) and automatically creates/updates MR against main. Is this okay?

@Nikerabbit if it's not too late, I'd rather the branch be called i18n. Otherwise, twn will be fine. Thank you!

Change #1190665 merged by jenkins-bot:

[translatewiki@master] Cite Unseen: create merge requests instead of direct push

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

cd 'cite-unseen'; git add .; if ! git diff --cached --quiet; then git commit -m 'Localisation updates from https://translatewiki.net.'; git rebase 'origin/main' && git push --force origin HEAD:'i18n'; fi
[main 699c812] Localisation updates from https://translatewiki.net.
 6 files changed, 654 insertions(+), 105 deletions(-)
 create mode 100644 i18n/ar.json
 create mode 100644 i18n/ln.json
 create mode 100644 i18n/mk.json
 create mode 100644 i18n/tr.json
 create mode 100644 i18n/zh-hant.json
Current branch main is up to date.
remote: 
remote: To create a merge request for i18n, visit:        
remote:   https://gitlab.wikimedia.org/kevinpayravi/cite-unseen/-/merge_requests/new?merge_request%5Bsource_branch%5D=i18n        
remote: 
To gitlab.wikimedia.org:kevinpayravi/cite-unseen.git
 * [new branch]      HEAD -> i18n

@SuperHamster All set from our side, do let us know if all good from your side as well.