thiemowmde added a comment.

- @adrianheine, the example is confusing me a bit. Why are you filtering en, fr 
and de from a list that was just composed from ULS plus a few extra languages?
- One problem I see with the serialization format is that it doesn't give the 
individual parts names. For example, the merged sub-list in the example can not 
be addressed and reused.
- Why not do something like:

  mw.config.set( 'wbMonolingualTextValueLanguages', [
      { type: 'Uls' },
      { type: 'Merging', list: [ 'zxx', 'und' ] },
      { type: 'Filtering', list: [ 'en', 'fr', 'de' ] }
  ] );

To me it looks like this could do exactly the same while being way easier to 
read, parse and understand.


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

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

To: adrianheine, thiemowmde
Cc: Ricordisamoa, Tobi_WMDE_SW, JeroenDeDauw, Wikidata-bugs, jeblad, 
thiemowmde, JanZerebecki, adrianheine, Aklapper, Lydia_Pintscher, daniel, aude



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

Reply via email to