Tgr added a subscriber: TheDJ.
Tgr added a comment.

The Wikidata label is a description of the Wikidata item.

"Label" in Wikidata terminology is the article title (e.g. Q663375 has the English label "hatmaking" and English description "manufacture and design of hats and headwear"; there's a separate item for hatmaker).

This raises an interesting point... what about label ? Where is that used ? What should it do in this mode ? Reflect the page title ? automatically strip the (disambig) postfix if there is a description ?????

I don't see any reason to touch label handling.

@Tgr I'm assuming no markup (like in wikidata). What about text length restrictions ? (I remember space in pageprops was limited??)

Markup should be removed, probably just by stripping HTML tags. page_props.pp_value is a blob (65K) but page terms are VARCHAR(255) so probably best limit it to that. (Not sure if there should be some kind of error message if it has to be truncated.)

Which reminds me, the override should be exposed in page information.

Instead of making the "original" description available in addition (which one is "original" anyway?) or indicating whether the description returned was overwritten, perhaps add a parameter for suppressing the override, forcing the use of the description from wikidata: disable-description-override or force-shared-description or something.

source=shared vs local maybe?


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

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

To: Tgr
Cc: TheDJ, Fjalapeno, Mholloway, 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to