[Wikidata-bugs] [Maniphest] [Commented On] T165809: Does wbsetdescription really need the site parameter
matej_suchanek added a comment. Yes (you can always try it on the sandbox).TASK DETAILhttps://phabricator.wikimedia.org/T165809EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, PokestarFan, aude, hoo, Aklapper, Florian, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T165809: Does wbsetdescription really need the site parameter
Florian added a comment. Ok, but then, if I provide the ID to the API request, the site parameter isn't used, and shouldn't be mandatory in this case, right?TASK DETAILhttps://phabricator.wikimedia.org/T165809EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FlorianCc: matej_suchanek, PokestarFan, aude, hoo, Aklapper, Florian, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T165809: Does wbsetdescription really need the site parameter
matej_suchanek added a comment.Herald added a subscriber: PokestarFan. You misunderstood the meaning of the parameter. It doesn't say which site the description comes from but it's used to identify the correct item. There are two ways to identify the item: either using its id (id=Q12345) or a sitelink connected to it, which is identified using the siteid and the title (site=enwiki&title=Wikipedia → Q52).TASK DETAILhttps://phabricator.wikimedia.org/T165809EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, PokestarFan, aude, hoo, Aklapper, Florian, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, Mbch331___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs