Last modified: 2012-07-30 19:55:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40319, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38319 - Add Chile in Spanish to the monuments database
Add Chile in Spanish to the monuments database
Status: RESOLVED FIXED
Product: Wiki Loves Monuments
Classification: Unclassified
Sources (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: 38314
  Show dependency treegraph
 
Reported: 2012-07-11 17:08 UTC by Maarten Dammers
Modified: 2012-07-30 19:55 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Maarten Dammers 2012-07-11 17:08:28 UTC
Osmar was putting lists online.
Comment 1 Maarten Dammers 2012-07-14 19:23:00 UTC
Osmar is working on it. He already put the lists on Commons and will now move them to the Spanish Wikipedia.
Comment 2 Maarten Dammers 2012-07-29 20:42:09 UTC
From Osmar

Here you can see the lists: http://es.wikipedia.org/wiki/Especial:LoQueEnlazaAqu%C3%AD/Plantilla:MonumentoChile/encabezado
The header is {{MonumentoChile/encabezado}} and uses the parameter ISO for the ISO code (ex. {{MonumentoChile/encabezado|ISO=RM}}). Each row uses {{MonumentoChile}} which has the following parameters:
{{MonumentoChile
| id               = <id>
| monumento        = <name>
| monumento_desc   = <description>
| comuna           = <municipality>
| lat              = <latitude>
| long             = <longitude>
| dirección        = <address>
| decreto          =  <decree>
| fecha            = <date of the decree>
| imagen           = <image at Commons>
| tipo             = <type of monument: MH, historical monument; ZT: traditional neighborhood; SN: natural sanctuary>
}}
Comment 3 Platonides 2012-07-29 23:21:22 UTC
Fixed in r778
Comment 4 Maarten Dammers 2012-07-30 19:55:47 UTC
Had to do some improvements, but now it seems to work:

mysql> SELECT adm0, adm1, COUNT(adm1) FROM `monuments_all` WHERE adm0='cl' GROUP BY adm1;
+------+-------+-------------+
| adm0 | adm1  | COUNT(adm1) |
+------+-------+-------------+
| cl   | CL-AI |          13 |
| cl   | CL-AN |          47 |
| cl   | CL-AP |          25 |
| cl   | CL-AR |          20 |
| cl   | CL-AT |          24 |
| cl   | CL-BI |          42 |
| cl   | CL-CO |          45 |
| cl   | CL-LI |          42 |
| cl   | CL-LL |          51 |
| cl   | CL-LR |          18 |
| cl   | CL-MA |          36 |
| cl   | CL-ML |          45 |
| cl   | CL-RM |         211 |
| cl   | CL-TA |          57 |
| cl   | CL-VS |          28 |
+------+-------+-------------+
15 rows in set (0.00 sec)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links