Yurik added a comment.

  - I keep wondering if we can use Wikidata/Wikibase more for this.  Wikidata 
IDs for the license might be much more convenient for computer consumption, 
even though "CC BY 2.5" is by far more readable than Q18810333 
<http://tools.wmflabs.org/sqid/#/view?id=Q18810333>, but it allows us not to 
maintain a separate database of licenses, or deal with translations.
  - Wikibase may be a good future metadata store, once it gets deployed on 
Commons. It will simplify localized storage of title/description, plus other 
arbitrary metadata/tags/categories/...
  - Until Wikibase is ready, we should support absolute minimum - title 
(localized), description (localized), source (string). Source will be freetext 
notes area for now, because we are not yet sure what's needed, and it will have 
to be reworked later.  We could even name it `notes` as to highlight this fact.
  - Do we want to support multiple datasets, possibly with different schemas, 
per page?  I can certainly think of use cases, but would this overcomplicate 
things? I guess we could say that if page contains `"resources"` key, it's a 
data package <http://dataprotocols.org/data-packages/#resource-information>, 
and otherwise its a simple one table per page page. Resource support won't be 
implemented at first.
  - Schema - calling them `name` and `type` is fine, but we should also have 
localized label:
  
    "schema": {
      "fields": [ {
          "name": "fieldId",
          "type": "string",
          "label": { "en": "Field in English", "es": "field is Spanish", ... }
        }, ...
    ]}
  
  For external schema, we can reference a different page.  `.tabschema` format 
is TBD (@rufuspollock ?)
  
    "schema": "Data:Shared Schema.tabschema"
  
  @rufuspollock thanks for your feedback!  I did not realize your schema 
supported array of array format. Btw, did you make a typo in "data" - being 
array of array of array instead of array of array? (both examples).  What do 
you think about referencing Wikidata?  I am not sure i like the "title@es" 
format. It implies that there is one "main" title, and other title that are 
less so. Considering that this data could be just for some small language wiki, 
having a mandatory "title" looses its meaning. Having a "localized" type with a 
dictionary allows any languages with an automatic fallback into whatever the 
reader may understand.
  
  CC @Lydia_Pintscher

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

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

To: Yurik
Cc: rufuspollock, RobLa-WMF, Danny_B, DannyH, StudiesWorld, Steinsplitter, 
Aklapper, Lydia_Pintscher, ekkis, Matanya, MarkTraceur, JEumerus, Thryduulf, 
Milimetric, MZMcBride, Bawolff, -jem-, gerritbot, Pokefan95, TerraCodes, 
intracer, ThurnerRupert, brion, Jdforrester-WMF, Eloy, TheDJ, Yurik, Zppix, 
Riley_Huntley, D3r1ck01, Izno, Luke081515, JAllemandou, Wikidata-bugs, aude, 
El_Grafo, jayvdb, Ricordisamoa, Shizhao, fbstj, Fabrice_Florin, Mbch331, Jay8g, 
Krenair, jeremyb



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

Reply via email to