Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions config/config.se.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ templates:
ignore: ignore
sparql: sparql # as in {{ ukb criterion | sparql }}
query: query # as in {{ ukb criterion | sparql | query=... }}
endpoint: endpoint
pages:
Comment on lines 101 to 105
Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config/config.se.yml adds endpoint but not mode, while the new SparqlFilter supports a mode parameter and the other site configs in this PR expose it. If this config is still used, add the corresponding mode translation/mapping here as well so mode=pages can be set on sewiki contests.

Copilot uses AI. Check for mistakes.
catignore: Käyttäjä:UKBot/cat-ignore
base: Wikipedia:Elokuun_kuvitustalkoot/
Expand Down
2 changes: 2 additions & 0 deletions config/sites/cawiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ templates:
name: sparql # as in {{ ukb criterion | sparql }}
params:
query: query # as in {{ ukb criterion | sparql | query=... }}
endpoint: endpoint
mode: mode
awards:
blava: { file: Article blue.svg, winner: true }
blau: { file: Article blue.svg, winner: true }
Expand Down
2 changes: 2 additions & 0 deletions config/sites/enwiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ templates:
name: sparql # as in {{ ukb criterion | sparql }}
params:
query: query # as in {{ ukb criterion | sparql | query=... }}
endpoint: endpoint
mode: mode
awards:
blå: { file: Article blue.svg, winner: true }
rød: { file: Article red.svg, winner: true }
Expand Down
195 changes: 99 additions & 96 deletions config/sites/eswiki.yml
Original file line number Diff line number Diff line change
@@ -1,96 +1,99 @@
_extends: default.yml
locale: [es_ES,en_US]
homesite: es.wikipedia.org
default_prefix: es
wikidata_languages: ['es', 'en']
contestPages:
participantsSection: 'Participantes'
footer: ""
templates:
botinfo: UKB botinfo
status: UKB status
commonargs:
year: year
week: week
week2: week2
yes: yes
no: no
infobox:
name: UKB infotabla
status: status
start: inicio
end: final
organizer: organizer
winner: winner
suspended:
name: UKB participante eliminado
disqualified:
name: UKB participante descalificado
penalty:
name: UKB quitar puntos
bonus:
name: UK bonus
rule:
name: UKB puntos
new: nuevo
redirect: redirección
regexp: regexp
section: sección
qualified: calificado
contrib: edición
byte: byte
word: palabra
maxpoints: maxpoints
site: site
image: imagen
external_link: enlace externo
ref: referencia
templateremoval: eliminarplantilla
categoryremoval: eliminarcategoría
bytebonus: bonusbyte
wordbonus: bonuspalabra
alias: alias
own: self-uploaded
ownwork: own-work
maxinitialcount: límite inicial
wikidata: wikidata
properties: propiedades
labels: labels
aliases: aliases
descriptions: descriptions
description: description
require_reference: require_reference
all: todos
filters:
name: UKB criterio
params:
new:
name: nuevo
params:
redirects: redirección
existing:
name: existía
template:
name: plantilla
bytes:
name: byte
category:
name: categoría
ignore_page: User:UKBot/ignored categories
params:
ignore: excluír
maxdepth: maxdepth
backlink:
name: linkado desde
forwardlink:
name: linka a
pages:
name: páginas
namespace:
name: espacio de nombres
params:
site: site
sparql:
name: sparql # as in {{ ukb criterion | sparql }}
params:
query: query # as in {{ ukb criterion | sparql | query=... }}
_extends: default.yml
locale: [es_ES,en_US]
homesite: es.wikipedia.org
default_prefix: es
wikidata_languages: ['es', 'en']
contestPages:
participantsSection: 'Participantes'
footer: ""
templates:
botinfo: UKB botinfo
status: UKB status
commonargs:
year: year
week: week
week2: week2
yes: yes
no: no
infobox:
name: UKB infotabla
status: status
start: inicio
end: final
organizer: organizer
winner: winner
suspended:
name: UKB participante eliminado
disqualified:
name: UKB participante descalificado
penalty:
name: UKB quitar puntos
bonus:
name: UK bonus
rule:
name: UKB puntos
new: nuevo
redirect: redirección
regexp: regexp
section: sección
qualified: calificado
contrib: edición
byte: byte
word: palabra
maxpoints: maxpoints
site: site
image: imagen
external_link: enlace externo
ref: referencia
templateremoval: eliminarplantilla
categoryremoval: eliminarcategoría
bytebonus: bonusbyte
wordbonus: bonuspalabra
alias: alias
own: self-uploaded
ownwork: own-work
maxinitialcount: límite inicial
wikidata: wikidata
properties: propiedades
labels: labels
aliases: aliases
descriptions: descriptions
description: description
require_reference: require_reference
all: todos
filters:
name: UKB criterio
params:
new:
name: nuevo
params:
redirects: redirección
existing:
name: existía
template:
name: plantilla
bytes:
name: byte
category:
name: categoría
ignore_page: User:UKBot/ignored categories
params:
ignore: excluír
maxdepth: maxdepth
backlink:
name: linkado desde
forwardlink:
name: linka a
pages:
name: páginas
namespace:
name: espacio de nombres
params:
site: site
sparql:
name: sparql # as in {{ ukb criterion | sparql }}
params:
query: query # as in {{ ukb criterion | sparql | query=... }}
endpoint: endpoint
mode: mode

2 changes: 2 additions & 0 deletions config/sites/euwiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,5 @@ templates:
name: sparql # as in {{ ukb criterion | sparql }}
params:
query: query # as in {{ ukb criterion | sparql | query=... }}
endpoint: endpoint
mode: mode
3 changes: 3 additions & 0 deletions config/sites/fiwiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,6 @@ templates:
name: sparql # as in {{ ukb criterion | sparql }}
params:
query: query # as in {{ ukb criterion | sparql | query=... }}
endpoint: endpoint
mode: mode

Loading