Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
d1abf4e
Add new i18n function
jhsoby Apr 6, 2025
3c39dd7
Replace _() with i18n() in main files
jhsoby Apr 6, 2025
cad9cc5
Remove commented-out code
jhsoby Apr 6, 2025
e0f742b
Use new i18n() function in rules files
jhsoby Apr 7, 2025
b48482c
Amend fetch_parsed_i18n to use API
jhsoby Apr 8, 2025
1c1cf31
Improve i18n() features
jhsoby Apr 8, 2025
da53751
Cleanup: Remove files that are no longer necessary
jhsoby Apr 8, 2025
424c7f6
Add fallback solution if message key doesn't exist
jhsoby Apr 9, 2025
8f92288
Undo inadvertent config file commit
jhsoby Apr 9, 2025
11023ba
Remove some hard-coded Norwegian Bokmål things
jhsoby Apr 9, 2025
5a83152
Remove locale from config
jhsoby Apr 9, 2025
2f72786
Merge branch 'main' into onwiki_i18n
jhsoby Apr 9, 2025
b8ae1e4
Remove locale directory again, readded by accident
jhsoby Apr 9, 2025
3fd0dea
Fix .gitignore
jhsoby Apr 9, 2025
a4f8044
Fixes from code review
jhsoby Apr 10, 2025
7481ed4
Merge branch 'main' into onwiki_i18n
jhsoby Jul 21, 2025
b3cd0de
Fixes from code review
jhsoby Apr 10, 2025
2204cf9
Exchange setup.py for pyproject.toml (#64)
jhsoby Jul 21, 2025
9d583f9
feature:Unit Tests for Site.py
juancaCeb May 30, 2025
6f94b56
feature:Unit Tests for Site.py (#85)
DiFronzo Jun 8, 2025
1421b8b
docs: Add issue templates, contributing guidelines, and code of condu…
DiFronzo Apr 22, 2025
19fde7c
Exchange setup.py for pyproject.toml (#64)
jhsoby Apr 22, 2025
44847f0
Returned Elokuun kuvitustalkoot config back to "fi-ek" from "fi-ek202…
zache-fi Aug 1, 2025
a284241
add webp and xcf suffix to rules/image.py regexp (#89)
zache-fi Sep 17, 2025
97705e0
refactor: Enhance error handling in contest filters to log non-fatal …
DiFronzo Nov 21, 2025
858e881
Merge branch 'main' into onwiki_i18n
jhsoby Nov 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ pip-log.txt
.coverage
.tox

#Translations
*.mo
bot/locale

#Other
wp_private.py
*.swp
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

113 changes: 0 additions & 113 deletions Makefile

This file was deleted.

5 changes: 0 additions & 5 deletions config/config.no-mk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ othersites:
- smn.wikipedia.org
# - www.wikidata.org
# - commons.wikimedia.org
# FOR INDIAN CONTEST APRIL 2025 – remove in May
- bn.wikipedia.org
- hi.wikipedia.org
- kn.wikipedia.org
- syl.wikipedia.org
contestPages:
resultsSection: 'Resultater'
participantsSection: 'Delta[kg]ere'
Expand Down
1 change: 0 additions & 1 deletion config/sites/cawiki.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
_extends: default.yml
locale: [ca_ES, ca_AD, ca_FR, ca_IT, ca_ES@valencia]
wiki_timezone: Europe/Berlin
homesite: ca.wikipedia.org
othersites:
Expand Down
1 change: 0 additions & 1 deletion config/sites/enwiki.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
_extends: default.yml
locale: [en_US]
homesite: en.wikipedia.org
default_prefix: en
wikidata_languages: ['en']
Expand Down
1 change: 0 additions & 1 deletion config/sites/eswiki.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
_extends: default.yml
locale: [es_ES,en_US]
homesite: es.wikipedia.org
default_prefix: es
wikidata_languages: ['es', 'en']
Expand Down
1 change: 0 additions & 1 deletion config/sites/euwiki.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
_extends: default.yml
locale: [eu_ES,en_US]
wiki_timezone: Europe/Berlin
homesite: eu.wikipedia.org
othersites:
Expand Down
1 change: 0 additions & 1 deletion config/sites/fiwiki.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
_extends: default.yml
locale: fi_FI
wiki_timezone: Europe/Helsinki
homesite: fi.wikipedia.org
default_prefix: fi
Expand Down
1 change: 0 additions & 1 deletion config/sites/glwiki.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
_extends: default.yml
locale: [gl_ES,en_US]
homesite: gl.wikipedia.org
default_prefix: gl
wikidata_languages: ['gl', 'en']
Expand Down
2 changes: 1 addition & 1 deletion config/sites/nowiki.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
_extends: default.yml
locale: [nb_NO, no_NO]
wiki_timezone: Europe/Berlin
homesite: no.wikipedia.org
othersites:
Expand Down Expand Up @@ -104,6 +103,7 @@ templates:
name: sparql # as in {{ ukb criterion | sparql }}
params:
query: spørring # as in {{ ukb criterion | sparql | query=... }}
columns: Kolonner
awards:
blå: { file: Article blue.svg, winner: true }
rød: { file: Article red.svg, winner: true }
Expand Down
Loading