Skip to content

Modernize gadget: Codex UI, award (P166) handling, i18n (v5.0.0)#7

Open
t0grul wants to merge 1 commit into
putnik:v4.0from
t0grul:codex-rewrite
Open

Modernize gadget: Codex UI, award (P166) handling, i18n (v5.0.0)#7
t0grul wants to merge 1 commit into
putnik:v4.0from
t0grul:codex-rewrite

Conversation

@t0grul

@t0grul t0grul commented Jun 29, 2026

Copy link
Copy Markdown

Hi Putnik — here's the non-minified source for the update I mentioned. Built from v4.2.0.

Architecture

  • UI rewritten on Vue 3 + Wikimedia Codex (loaded via ResourceLoader); still TypeScript → webpack.

Awards (P166)

  • Multi-value export
  • Missing-date enrichment, and bumping a Wikidata year up to a full date when the article has one
  • Export straight from a Qid via data-wikidata-value-id
  • Split a value listing several dates into separate statements
  • Split a statement that has several of the same qualifier (e.g. Order of Lenin with five P585 dates → five statements)
  • Count deprecated statements so they aren't added twice
  • Date enrichment + its reference saved as a single edit; skip a duplicate "imported from" reference

Smaller

  • DD/MM/YYYY dates
  • Numeric "children" → number of children (P1971)
  • ? and dashes → unknown value; exact нет → no value
  • P19/P20 auto-select only the top candidate
  • Plain-text redirect resolution (e.g. "Петроград" → "Санкт-Петербург")
  • On-wiki config via window.wieConfig (units / fixed values)
  • Dialog queue, deletable qualifier pills, select-all, live progress, non-Commons image highlight fix

i18n

  • All language files bundled and resolved per wiki with English fallback; every file filled to full key coverage.

Full list in CHANGELOG.md.

Rewrite the UI on Vue 3 + Wikimedia Codex (TypeScript -> webpack).

Awards (P166): multi-value export, missing-date enrichment and
year->full-date precision upgrade, export from a Qid via
data-wikidata-value-id, split multi-date values into separate
statements, split multi-qualifier statements, count deprecated
statements so they are not re-added.

Smaller: DD/MM/YYYY dates, numeric "children" -> number of children
(P1971), "?"/dashes -> unknown value, exact "нет" -> no value, P19/P20
single-select, plain-text redirect resolution, on-wiki window.wieConfig
support, date enrichment + reference saved as one edit.

i18n: bundle all languages and resolve per wiki with English fallback;
fill every language file to full coverage.

See CHANGELOG.md for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant