Page MenuHomePhabricator

[LEX] Make the Wikibase Lexeme extension show a section on lexicographical data in the sidebar
Closed, ResolvedPublic

Description

We have a locally defined section on lexicographical data in Wikidata's sidebar. Including it by default in the Wikibase Lexeme extension would allow it to be displayed in other installations. Regardless of this, the migration of interface messages would make it easier to include their translations (see T273368 and T273369).

Screenshots/mockups:

lexdata-en.png (306×194 px, 16 KB)
lexdata-qqx.png (317×230 px, 19 KB)

Questions and Answers

  • Should this section be migrated to the extension completely, or only partially, leaving some links not included by default?
    • All links should be migrated.

Notes
Make sure that this does not break any client-only Wikis

Event Timeline

ItamarWMDE renamed this task from Make the Wikibase Lexeme extension show a section on lexicographical data in the sidebar to [LEX] Make the Wikibase Lexeme extension show a section on lexicographical data in the sidebar.Nov 9 2023, 10:18 AM

@Arian_Bozorg after discussing this with @ArthurTaylor We concluded that all the links should be migrated, is that correct?

Yes, that's correct :) thanks for checking in

Change 993059 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[mediawiki/extensions/WikibaseLexeme@master] Move wikibase-lexeme translations to WikibaseLexeme extension

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

Change 993060 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[mediawiki/extensions/Wikidata.org@master] Move wikibase-lexeme translations to WikibaseLexeme extension

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

Hi @Arian_Bozorg ,

We had a chat about this on Mattermost. Moving the translation strings themselves is easy and I've created a couple of patches to do that.

What I also understand from the ticket is a wish to have these links automatically added to the sidebar of Mediawikis where the WikibaseLexeme plugin has been installed. This is possible, but the mechanisms we have to do this are not very smart. In particular, two issues show up:

    • If the user has already configured these links in their sidebar, do we want to duplicate them, replace them, or do nothing in that case?
      • What should be considered as the same link?
        • If the link target is the same?
        • If the link title is the same?
        • What if the link target is similar but, for example, has additional query parameters in the link that the user already has in their sidebar? Do we replace it or keep their version?
  • If the user has customised their sidebar and simply doesn't want these links to show up, what facility do we give them to prevent that?

The status quo would be that we ship the translations, and it's up to the user to configure their Sidebar as they wish (and for wikidata.org, obviously, we wish to have those links there). What is your wish here?

Change 993091 had a related patch set uploaded (by Arthur taylor; author: Arthur taylor):

[mediawiki/extensions/WikibaseLexeme@master] Add Lexeme links to sidebar

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

Hi Arthur, thanks so much for breaking that all down. I think as you suggested, the status quo would be the best way forward.

The status quo would be that we ship the translations, and it's up to the user to configure their Sidebar as they wish

Change 993091 abandoned by Arthur taylor:

[mediawiki/extensions/WikibaseLexeme@master] Add Lexeme links to sidebar

Reason:

Based on feedback in ticket, this is not wished for right now

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

Okay. I'll abandon the change for automatically adding the links. The translations will be migrated.

Change 993059 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Move wikibase-lexeme translations to WikibaseLexeme extension

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

Change 993060 merged by jenkins-bot:

[mediawiki/extensions/Wikidata.org@master] Move wikibase-lexeme translations to WikibaseLexeme extension

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