Nikki added a comment.

  In T338255#8908684 <https://phabricator.wikimedia.org/T338255#8908684>, 
@Lucas_Werkmeister_WMDE wrote:
  
  > And when I load the lexeme <https://www.wikidata.org/wiki/Lexeme:L1065304>, 
the item link for the language (Latin) also points to 
https://www.wikidata.org/wiki/wd:Q397 o_O
  >
  > I wonder if this is the same underlying issue as T338223 
<https://phabricator.wikimedia.org/T338223> – that something in WikibaseLexeme 
also allows the “repo name” component of an item ID to be nonempty?
  
  The lexeme was created by a bot, so presumably using `wbeditentity`. I tried 
running the following in the browser console on test.wikidata.org and got 
https://test.wikidata.org/wiki/Lexeme:L2272:
  
    var api = new mw.Api();
    api.postWithEditToken({
        action: "wbeditentity",
        new: "lexeme",
        data: JSON.stringify({
            lemmas: { en: { language: "en", value: "test" } },
            language: "wd:Q200",
            lexicalCategory: "wd:Q300",
            forms: [{
                add: "",
                representations: { en: { language: "en", value: "test" } },
                grammaticalFeatures: [ "wd:Q400" ]
            }],
        }),
    });

TASK DETAIL
  https://phabricator.wikimedia.org/T338255

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Nikki
Cc: Nikki, DL2204, Lucas_Werkmeister_WMDE, dcausse, Aklapper, gonzalez.actor, 
Astuthiodit_1, karapayneWMDE, Invadibot, MPhamWMF, maantietaja, Wilmanbeno, 
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, 
QZanden, EBjune, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, 
aude, jayvdb, Mbch331, jeremyb
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to