internetarchive / internetarchive/iare
as a patron I want WARE to be simple and written in a way that makes it trivial to support more language version of Wikipedia
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Since both the templates names and arguments can be localized this is a complex task that needs some planning before the code is written.
How do we want WARE to internally know about the differences e.g. from enwiki to svwiki, jawiki and dewiki?
My suggestion is to base the implementation on a dataset kept separate from WARE that is read when WARE is loaded. This dataset should contain json which maps all templates to a known set of possible parameters.
When a new language version of Wikipedia appear the curator of the dataset either extracts programmatically or manually the templates and parameters and map them to a single structure shared between all language versions.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing how WARE is loaded and how it currently handles localized template names and arguments. Define the separate JSON dataset structure for mapping language-specific templates and parameters to a shared structure, then document how WARE reads it at load time and how a curator adds a new Wikipedia language version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- internationalization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100