Mhurd added a comment.

@Lydia_Pintscher

Upon further reflection I actually think we actually //can't// do description 
editing if Wikidata overloads the "description" field with a delimiter to 
accommodate the "internal usage notes" :(

Here's why:

We know the field has some size limit, for the sake of argument say 256 
characters.

If "description" is overloaded to also contain internal usage notes following 
some delimiter, we now not only have to strip these notes out in every single 
place the description needs to be displayed (already half a dozen places in the 
apps alone), but we //also// then have to strip the internal usage notes and 
delimiter out when a user edits the actual description, and we'd have to re-add 
the internal usage note and delimiter *back* in when we saves the description - 
otherwise editing would destroy the internal usage note.

Presuming all of that, say a pre-existing note of, oh, 200 characters already 
exists - this means when we present the editing interface, we actually only 
have //56// characters which the user can use for a description. Say the 
internal usage note is 256 chars - this means we //cannot// have a description 
*at all*.

Does this make sense?


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

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

To: Vibhabamba, Mhurd
Cc: Lydia_Pintscher, kaldari, JKatzWMF, Fjalapeno, jeblad, aude, bearND, 
Tbayer, Rberchie, hoo, Krenair, Qgil, Vibhabamba, Mhurd, Aklapper, 
Sylvain_WMFr, Cxyshine, AlexWang, Wikidata-bugs, Ryasmeen, Daniel_Mietchen, 
Dbrant, Matanya



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to