gabriel-wmde added a comment.

  Some preliminary thoughts regarding the implementation:
  
  The task can be implemented as an extension that does two things:
  
  - On page edit, update a central data store that the page exists in the 
language of the currently used wiktionary.
  - On page render, query the central data store for all existing translations 
and insert the information in the page structure.
  
  The "central data store" must be a database that is accessible from all 
wiktionary projects. Proposed table structure:
  
  | lang | title | last_updated |
  
  `lang` and `title` must be indexed.
  
  On initialization the table must be filled with the existing data. This could 
be done by querying the API and crawling each wiktionary with a bot or by 
direct database access. This still has to be determined.
  
  Regarding the comment by @Darkdadaah: Wiktionary is in the unique situation 
that each word //should// be the same in each language version. Where they 
differ, there must be a redirect page, as in the case pointed out by Darkdadaah.

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

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

To: gabriel-wmde
Cc: gabriel-wmde, Qgil, Yair_rand, dg711, DannyH, StudiesWorld, JAnD, Aklapper, 
RobLa-WMF, Lydia_Pintscher, satdeep_gill, tarlocesilion, jberkel, mxn, 
PeterBowman, Liuxinyu970226, Darkdadaah, GPHemsley, Ricordisamoa, D3r1ck01, 
Alkamid, Izno, Wikidata-bugs, aude, Mbch331, Krenair



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to