|daniel added a comment.|
prop=description sounds like a good way to do this! It's a little more work, but provides a more sensible interface to clients.
descsource=magicword|wikibase would work, but in general, clients should not know or care about this. At least, the default behavior in the absence of descsource should be a configuration option.
One big question is however where this code would live. It will have to know about wikibase, but only have a soft dependency on it. So it shouldn't be in core. It can live in wikibase, but I'd prefer it to be separate. Conceptually, this mechanism could be used to provide short descriptions without wikibase being installed. On the other hand, making this a separate extension may be too much overhead.
Bah, why is it always hard to do the Right Thing...
Cc: TheDJ, Fjalapeno, Tbayer, MZMcBride, Alsee, bearND, Mike_Peel, Tgr, JKatzWMF, daniel, Bmueller, Addshore, Lydia_Pintscher, Samwilson, Aklapper, DannyH, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, JJMC89, B20180, Nakon, MusikAnimal, Niharika, Fhocutt, Wikidata-bugs, aude, Ricordisamoa, -jem-, Mbch331, Krenair
_______________________________________________ Wikidata-bugs mailing list Wikidataemail@example.com https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs