Page MenuHomePhabricator

Add Armenia in Armenian to the database
Closed, ResolvedPublic

Details

Reference
bz52627

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:59 AM
bzimport set Reference to bz52627.

vgratian wrote:

Explanation of Header template:

{{Հուշարձան վերնագիր

մարզ = Province (ISO code)
համայնք = Municipality
վիքիպահեստ = Wikimedia Commons category

}}

Explanation of Row template:

{{Հուշարձան ցանկ

հուշարձան = Monument description
հոդված = Article (in local Wikipedia)
նշանակություն = National or Regional importance
կառուցված = Time (when it as built)
հասցե = address
լայն = latitude
երկ = longitude
համարանիշ = ID
հղում = link to government list (link code)
պատկեր = image
նշում = additional notes

}}

We already have a lot of sources in the monuments database (see
https://commons.wikimedia.org/wiki/Commons:Monuments_database/Statistics). This
is a tracker bug to keep track of what more to add. Bugs should contain the
source wikipedia language and the country (or region).

Useful information to include:

  • project -wikipedia
  • lang - language code of the Wikipedia
  • headerTemplate - the name of the header template
  • rowTemplate - the name of the row template
  • commonsTemplate - template to track images at Commons
  • commonsTrackerCategory - the tracker category at Commons (blala with known

IDs)

  • commonsCategoryBase - the base of the category tree at Commons for all images
  • autoGeocode - To automagicly geocode the images at Commons (be careful1)
  • unusedImagesPage - Page to put the list of unused images.
  • imagesWithoutIdPage - Page to put the list of images without an id.
  • registrantUrlBase - The url which can be combined with the id to get more

info

  • namespaces - What namespaces are the lists in (0, please!)
  • table - The name of the table, convention monuments_<country>_(<lang>)
  • truncate - False if you don't have a real primkey
  • primkey - What is the primkey? Can be one or more fields. Should be unique,

strong etc.

Ok. I'll have a shot at it tomorrow.

վիքիպահեստ = Monuments in Tretuk, Gegharkunik

Not sure if it's the best way to include it in the header template. Most automated tools won't be able to handle that. Links appear to be broken by the way. The category tree will be build under https://commons.wikimedia.org/wiki/Category:Cultural_heritage_monuments_in_Armenia so the convention is probably cultural heritage monuments in <location>

I ran a bot to update it, list of categories to create is at https://commons.wikimedia.org/wiki/Category_talk:Cultural_heritage_monuments_in_Armenia#To_create

Would be nice if you can change the field հղում to the actual docid, than I can link from the database

So հղում = 56884 -> http://www.arlis.am/DocumentView.aspx?DocID=56884

Did the first import and found 21537 items, you can see it at http://toolserver.org/~erfgoed/api/api.php?action=search&format=html&srcountry=am

Could use a better title for https://hy.wikipedia.org/wiki/%D5%8E%D5%AB%D6%84%D5%AB%D5%BA%D5%A5%D5%A4%D5%AB%D5%A1:%D5%8E%D5%AB%D6%84%D5%AB%D5%B6_%D5%BD%D5%AB%D6%80%D5%B8%D6%82%D5%B4_%D5%A7_%D5%B0%D5%B8%D6%82%D5%B7%D5%A1%D6%80%D5%B1%D5%A1%D5%B6%D5%B6%D5%A5%D6%80_2013/Unused_images_of_Cultural_heritage_monuments_in_Armenia and for 'imagesWithoutIdPage' : u'Վիքիպեդիա:Վիքին սիրում է հուշարձաններ 2013/Images of Cultural heritage monuments in Armenia without an ID'

vgratian wrote:

Hi Maarten and thanks a lot (dank je wel man!)

I have renamed both pages (unused images & images without ID).

I am right now changing the field հղում to actual docid (will be done soon).

One more thing: can you please add Armenia to here:
https://commons.wikimedia.org/wiki/Commons:Monuments_database/Statistics

(In reply to comment #4)

վիքիպահեստ = Monuments in Tretuk, Gegharkunik

Not sure if it's the best way to include it in the header template. Most
automated tools won't be able to handle that. Links appear to be broken by
the
way. The category tree will be build under
https://commons.wikimedia.org/wiki/Category:
Cultural_heritage_monuments_in_Armenia
so the convention is probably cultural heritage monuments in <location>

I ran a bot to update it, list of categories to create is at
https://commons.wikimedia.org/wiki/Category_talk:
Cultural_heritage_monuments_in_Armenia#To_create

Would be nice if you can change the field հղում to the actual docid, than I
can
link from the database

So հղում = 56884 -> http://www.arlis.am/DocumentView.aspx?DocID=56884

Did the first import and found 21537 items, you can see it at
http://toolserver.org/~erfgoed/api/api.
php?action=search&format=html&srcountry=am

Could use a better title for
https://hy.wikipedia.org/wiki/
%D5%8E%D5%AB%D6%84%D5%AB%D5%BA%D5%A5%D5%A4%D5%AB%D5%A1:
%D5%8E%D5%AB%D6%84%D5%AB%D5%B6_%D5%BD%D5%AB%D6%80%D5%B8%D6%82%D5%B4_%D5%A7_%D
5%B0%D5%B8%D6%82%D5%B7%D5%A1%D6%80%D5%B1%D5%A1%D5%B6%D5%B6%D5%A5%D6%80_2013/
Unused_images_of_Cultural_heritage_monuments_in_Armenia
and for 'imagesWithoutIdPage' : u'Վիքիպեդիա:Վիքին սիրում է հուշարձաններ
2013/Images of Cultural heritage monuments in Armenia without an ID'

Updated the configuration of the bot so it will report to the new pages.