Usuari:RRHGbot
De Viquipèdia
Bot de Usuari:Razor Ramon HG
Taula de continguts |
[edita] Guions
- Del pyWikipediaFramework: replace.py
- RRHGbot/munic_cat_taules.py
- RRHGbot/replace_mod.py
- RRHGbot/cercador.py
[edita] Tasques
[edita] Afegir coordenades als municipis catalans
- Segons les dades de Viquipèdia:Bots/Coordenades
- Amb l'script RRHGbot/replace_mod.py versió 0.2.1
- 946 canvis (teòrics)
- Hi havia uns quants que ja tenien coordenades, feien servir un altre template, canviar-los desprès: Especial:Whatlinkshere/Template:Coordenades, a ull:
- Terrassa
Esplugues de LlobregatfetL'Hospitalet de Llobregatfet
- Caldrà la modificació manual d'uns quants, està desant bitàcora (-log), comprovar desprès
- Tots aquests necessitarien canvis manuals "grep No\ changes" Bitàcora:
fetNo changes were necessary in Aiguamúrcia (template) fetNo changes were necessary in L'Albiol fetNo changes were necessary in Alfara de Carles (template) fetNo changes were necessary in L'Ametlla de Mar (template) fetNo changes were necessary in Avinyó (template) fetNo changes were necessary in Balsareny fetNo changes were necessary in Boadella d'Empordà (el nom ha canviat a Boadella i les Escaules) fetNo changes were necessary in Calaf fetNo changes were necessary in Calders No changes were necessary in Callús No changes were necessary in Cardona No changes were necessary in Castellbell i el Vilar No changes were necessary in Castellfollit del Boix No changes were necessary in Castellgalí No changes were necessary in Castellnou de Bages No changes were necessary in Celrà No changes were necessary in Cervera No changes were necessary in L'Estany No changes were necessary in Fonollosa No changes were necessary in Gaià No changes were necessary in Igualada No changes were necessary in Manresa No changes were necessary in Marganell No changes were necessary in Moià No changes were necessary in Monistrol de Calders No changes were necessary in Monistrol de Montserrat No changes were necessary in Montagut No changes were necessary in Montbrió del Camp No changes were necessary in Mura No changes were necessary in Navarcles No changes were necessary in Navàs No changes were necessary in Els Pallaresos No changes were necessary in Passanant No changes were necessary in El Pont de Vilomara i Rocafort No changes were necessary in Rajadell No changes were necessary in Rosselló No changes were necessary in Sabadell No changes were necessary in Sallent No changes were necessary in Sant Feliu Sasserra No changes were necessary in Sant Fruitós de Bages No changes were necessary in Sant Jaume d'Enveja No changes were necessary in Sant Joan de Vilatorrada No changes were necessary in Sant Julià de Vilatorta No changes were necessary in Sant Mateu de Bages No changes were necessary in Sant Salvador de Guardiola No changes were necessary in Sant Vicenç de Castellet No changes were necessary in Santa Maria d'Oló No changes were necessary in Santpedor No changes were necessary in Solivella No changes were necessary in Súria No changes were necessary in Susqueda No changes were necessary in Talamanca No changes were necessary in Terrassa No changes were necessary in Torà No changes were necessary in La Vall de Boí No changes were necessary in Viladecans No changes were necessary in Vilanova i la Geltrú No changes were necessary in Vila-seca No changes were necessary in Vilobí d'Onyar No changes were necessary in El Vilosell
[edita] Afegir template de categoria de commons als anys del segle XX
- Amb l'script RRHGbot/replace_mod.py
[edita] Canviar totes les taules dels municipis de Catalunya per templates
segons Viquiprojecte_Municipis_de_Catalunya.
- Amb l'script RRHGbot/munic_cat_taules.py
- Llista de municipis amb taules HTML: [1] 737 articles
- Acabat, excepte:
- Hi ha alguns amb taules "wiki" en acabar els HTML mirar si hi han gaires d'aquests
[edita] Especificació d'esborranys
Fent servir Llista de municipis de Catalunya:
- Canviar tots els templates d'{{Esborrany}} a {{Esborrany de Catalunya}}
replace.py -file:llista "{{Esborrany}}" "{{Esborrany de Catalunya}}"
replace.py -file:llista "{{esborrany}}" "{{Esborrany de Catalunya}}"
Similarment Llista de municipis de les Illes Balears: "{{esborrany}}" "{{Esborrany de les Balears}}"
Similarment Llista de municipis del País Valencià: "{{esborrany}}" "{{Esborrany del País Valencià}}"
[edita] Coregir enllaços
Fent servir el dump xml: cawiki-20060123-pages-articles.xml (23/01/06):
- Correcció dels enllaços erronis a l'idescat a uns 900 articles:
replace.py "www.idescat.es/servlet" "www.idescat.es/territ"
[edita] Correcció dels títols d'algunes seccions
-
replace.py -regex "==[\s]*[eE]xternal [lL]inks[\s]*==" "== Enllaços externs =="
replace.py -regex "==[\s]*[vV]eure [tT]ambé[\s]*==" "== Vegeu també =="
replace.py -regex "==[\s]*[vV]incles [eE]xterns[\s]*==" "== Enllaços externs =="