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
36 changes: 36 additions & 0 deletions db/ignore_patterns/mediawiki-cs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "mediawiki-cs",
"patterns": [
"[\\?&]diff=(prev|next|cur|\\d+)",
"[\\?&]direction=(prev|next)&oldid=\\d+",
"[\\?&]curid=\\d+",
"[\\?&]limit=(1|20|100|250|500)",
"[?&]dir=prev(&|$)",
"[\\?&]hide(minor|bots|anons|liu|myself|redirs|links|trans|patrolled)=",
"([\\?&]title=|/)Speci%C3%A1ln%C3%AD:((Vytvo%C5%99it_%C3%BA%C4%8Det|Vytvorit_ucet)|(P%C5%99ihl%C3%A1sit|Prihlasit)|(Odhl%C3%A1sit|Odhlasit)|Translate|MobileFeedback|MobileOptions|(Souvisej%C3%ADc%C3%AD_zm%C4%9Bny|Souvisejici_zmeny)|Rozd%C3%ADl|MobileDiff|CentralAuth)",
"([\\?&]title=|/)Speci%C3%A1ln%C3%AD:(Ask|Browse|SearchByProperty|ExportRDF|PageProperty|Properties|UnusedProperties|WantedProperties|SMWAdmin|Types|URIResolver|QueryCreator)",
"([\\?&]title=Speci%C3%A1ln%C3%AD:(Posledn%C3%AD_zm%C4%9Bny|Posledni_zmeny)&|/Speci%C3%A1ln%C3%AD:(Posledn%C3%AD_zm%C4%9Bny|Posledni_zmeny)\\?)(.*&)?from=\\d+",
"([\\?&]title=|/)Speci%C3%A1ln%C3%AD:((Seznam_soubor%C5%AF|Seznam_souboru)|Str%C3%A1nky_podle_za%C4%8D%C3%A1tku).*&",
"([\\?&]title=|/)Speci%C3%A1ln%C3%AD:(Seznam_soubor%C5%AF|Seznam_souboru).*&user=",
"([\\?&]title=|/)Speci%C3%A1ln%C3%AD:(Seznam_soubor%C5%AF|Seznam_souboru).*&sort=img_(timestamp|name|size)(&|$)",
"([\\?&]title=|/)Speci%C3%A1ln%C3%AD:(Protokolovac%C3%AD_z%C3%A1znamy|Protokoly|Protokol|Protokolovaci_zaznamy)/",
"([?&]title=Speci%C3%A1ln%C3%AD:(Protokolovac%C3%AD_z%C3%A1znamy|Protokoly|Protokol|Protokolovaci_zaznamy)&|/Speci%C3%A1ln%C3%AD:(Protokolovac%C3%AD_z%C3%A1znamy|Protokoly|Protokol|Protokolovaci_zaznamy)\\?)(.*&)?hide_[^&=]+=1(&|$)",
"([?&]title=Speci%C3%A1ln%C3%AD:(Protokolovac%C3%AD_z%C3%A1znamy|Protokoly|Protokol|Protokolovaci_zaznamy)&|/Speci%C3%A1ln%C3%AD:(Protokolovac%C3%AD_z%C3%A1znamy|Protokoly|Protokol|Protokolovaci_zaznamy)\\?)(.*&)?hide_.*&hide_",
"([?&]title=|/)Property:.*&until=",
"([?&]title=|/)Kategorie:.*&(page|subcat|file)until=",
"[\\?&]action=edit&section=(\\d+|new)",
"[\\?&]feed(format)?=atom",
"[\\?&]redlink=1",
"[\\?&]printable=yes",
"[\\?&]mobileaction=",
"[\\?&]undo(after)?=\\d+",
"^https?://a\\.wikia-beacon\\.com/__track/",
"^https?://beacon\\.wikia-services\\.com/__track/",
"([\\?&]title=|/)Speci%C3%A1ln%C3%AD:(Str%C3%A1nky_podle_za%C4%8D%C3%A1tku|(Co_odkazuje_na|Odkazuje_sem)|(P%C5%99%C3%ADsp%C4%9Bvky|Prispevky)|(Seznam_soubor%C5%AF|Seznam_souboru)|(U%C5%BEivatel%C3%A9|Uzivatele|Seznam_u%C5%BEivatel%C5%AF|Seznam_uzivatelu))/.*/\\2/",
"/Diskuse_s_u%C5%BEivatelem:.+/Diskuse_s_u%C5%BEivatelem:",
"/User_blog:.+/User_blog:",
"/U%C5%BEivatel:.+/U%C5%BEivatel:",
"^https?://[^/]+\\.gamepedia\\.com/(.*[?&]title=)?Speci%C3%A1ln%C3%AD:(WikiPoints/global|ListAllUsers|AllSites)([/?&]|$)"
],
"type": "ignore_patterns"
}
36 changes: 36 additions & 0 deletions db/ignore_patterns/mediawiki-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "mediawiki-it",
"patterns": [
"[\\?&]diff=(prev|next|cur|\\d+)",
"[\\?&]direction=(prev|next)&oldid=\\d+",
"[\\?&]curid=\\d+",
"[\\?&]limit=(1|20|100|250|500)",
"[?&]dir=prev(&|$)",
"[\\?&]hide(minor|bots|anons|liu|myself|redirs|links|trans|patrolled)=",
"([\\?&]title=|/)Speciale:((CreaUtenza|CreaAccount)|Entra|Esci|Translate|MobileFeedback|MobileOptions|ModificheCorrelate|Diff|MobileDiff|CentralAuth)",
"([\\?&]title=|/)Speciale:(Ask|Browse|SearchByProperty|ExportRDF|PageProperty|Properties|UnusedProperties|WantedProperties|SMWAdmin|Types|URIResolver|QueryCreator)",
"([\\?&]title=Speciale:UltimeModifiche&|/Speciale:UltimeModifiche\\?)(.*&)?from=\\d+",
"([\\?&]title=|/)Speciale:((File|Immagini)|Prefissi).*&",
"([\\?&]title=|/)Speciale:(File|Immagini).*&user=",
"([\\?&]title=|/)Speciale:(File|Immagini).*&sort=img_(timestamp|name|size)(&|$)",
"([\\?&]title=|/)Speciale:(Registri|Registro)/",
"([?&]title=Speciale:(Registri|Registro)&|/Speciale:(Registri|Registro)\\?)(.*&)?hide_[^&=]+=1(&|$)",
"([?&]title=Speciale:(Registri|Registro)&|/Speciale:(Registri|Registro)\\?)(.*&)?hide_.*&hide_",
"([?&]title=|/)Property:.*&until=",
"([?&]title=|/)Categoria:.*&(page|subcat|file)until=",
"[\\?&]action=edit&section=(\\d+|new)",
"[\\?&]feed(format)?=atom",
"[\\?&]redlink=1",
"[\\?&]printable=yes",
"[\\?&]mobileaction=",
"[\\?&]undo(after)?=\\d+",
"^https?://a\\.wikia-beacon\\.com/__track/",
"^https?://beacon\\.wikia-services\\.com/__track/",
"([\\?&]title=|/)Speciale:(Prefissi|PuntanoQui|(Contributi|ContributiUtente|Edit)|(File|Immagini)|(Utenti|ElencoUtenti))/.*/\\2/",
"/Discussioni_utente:.+/Discussioni_utente:",
"/User_blog:.+/User_blog:",
"/Utente:.+/Utente:",
"^https?://[^/]+\\.gamepedia\\.com/(.*[?&]title=)?Speciale:(WikiPoints/global|ListAllUsers|AllSites)([/?&]|$)"
],
"type": "ignore_patterns"
}
36 changes: 36 additions & 0 deletions db/ignore_patterns/mediawiki-nl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "mediawiki-nl",
"patterns": [
"[\\?&]diff=(prev|next|cur|\\d+)",
"[\\?&]direction=(prev|next)&oldid=\\d+",
"[\\?&]curid=\\d+",
"[\\?&]limit=(1|20|100|250|500)",
"[?&]dir=prev(&|$)",
"[\\?&]hide(minor|bots|anons|liu|myself|redirs|links|trans|patrolled)=",
"([\\?&]title=|/)Speciaal:(GebruikerAanmaken|(Aanmelden|Inloggen)|(Afmelden|Uitloggen)|Translate|MobileFeedback|MobileOptions|(RecenteWijzigingenGelinkt|VerwanteWijzigingen)|Diff|MobileDiff|CentralAuth)",
"([\\?&]title=|/)Speciaal:(Ask|Browse|SearchByProperty|ExportRDF|PageProperty|Properties|UnusedProperties|WantedProperties|SMWAdmin|Types|URIResolver|QueryCreator)",
"([\\?&]title=Speciaal:RecenteWijzigingen&|/Speciaal:RecenteWijzigingen\\?)(.*&)?from=\\d+",
"([\\?&]title=|/)Speciaal:((Bestandenlijst|Afbeeldingenlijst)|Voorvoegselindex).*&",
"([\\?&]title=|/)Speciaal:(Bestandenlijst|Afbeeldingenlijst).*&user=",
"([\\?&]title=|/)Speciaal:(Bestandenlijst|Afbeeldingenlijst).*&sort=img_(timestamp|name|size)(&|$)",
"([\\?&]title=|/)Speciaal:(Logboeken|Logboek)/",
"([?&]title=Speciaal:(Logboeken|Logboek)&|/Speciaal:(Logboeken|Logboek)\\?)(.*&)?hide_[^&=]+=1(&|$)",
"([?&]title=Speciaal:(Logboeken|Logboek)&|/Speciaal:(Logboeken|Logboek)\\?)(.*&)?hide_.*&hide_",
"([?&]title=|/)Property:.*&until=",
"([?&]title=|/)Categorie:.*&(page|subcat|file)until=",
"[\\?&]action=edit&section=(\\d+|new)",
"[\\?&]feed(format)?=atom",
"[\\?&]redlink=1",
"[\\?&]printable=yes",
"[\\?&]mobileaction=",
"[\\?&]undo(after)?=\\d+",
"^https?://a\\.wikia-beacon\\.com/__track/",
"^https?://beacon\\.wikia-services\\.com/__track/",
"([\\?&]title=|/)Speciaal:(Voorvoegselindex|(VerwijzingenNaarHier|Verwijzingen|LinksNaarHier)|Bijdragen|(Bestandenlijst|Afbeeldingenlijst)|(Gebruikerslijst|Gebruikerlijst))/.*/\\2/",
"/Overleg_gebruiker:.+/Overleg_gebruiker:",
"/User_blog:.+/User_blog:",
"/Gebruiker:.+/Gebruiker:",
"^https?://[^/]+\\.gamepedia\\.com/(.*[?&]title=)?Speciaal:(WikiPoints/global|ListAllUsers|AllSites)([/?&]|$)"
],
"type": "ignore_patterns"
}
2 changes: 1 addition & 1 deletion db/ignore_patterns/mediawiki-update.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
for lang in Ar De Es Fr Ja Ko Ru Uk Pt Zh Ka
for lang in Ar De Es Fr Ja Ko Ru Uk Pt Zh Ka Nl Cs It
do
echo "${lang}"
./mediawiki-lang.py mediawiki.json <(curl --silent --location https://github.com/wikimedia/mediawiki/raw/1.34.2/languages/messages/Messages${lang}.php) mediawiki-${lang,,} >mediawiki-${lang,,}.json
Expand Down