Page MenuHomePhabricator

Add Russia in Russian to the database
Closed, ResolvedPublic

Description

Russia needs to be added to the monuments database. The lists were already externally available a while now, but now also on ruwiki! See https://ru.wikipedia.org/wiki/%D0%9F%D1%80%D0%BE%D0%B5%D0%BA%D1%82:%D0%92%D0%B8%D0%BA%D0%B8_%D0%BB%D1%8E%D0%B1%D0%B8%D1%82_%D0%BF%D0%B0%D0%BC%D1%8F%D1%82%D0%BD%D0%B8%D0%BA%D0%B8/%D0%A1%D0%BF%D0%B8%D1%81%D0%BA%D0%B8 for a (complete?) overview of the lists. They are templated.

We already have a lot of sources in the monuments database (see
https://commons.wikimedia.org/wiki/Commons:Monuments_database/Statistics).

Useful information to include:

  • project - wikipedia
  • lang - ru
  • headerTemplate - Template:WLM/заголовок
  • rowTemplate - Template:WLM/строка
  • commonsTemplate - Template:Cultural Heritage Russia
  • commonsTrackerCategory - Category:Cultural_heritage_monuments_in_Russia_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 - Проект:Вики любит памятники/Проблемы
  • imagesWithoutIdPage - ?? Page to put the list of images without an id.
  • registrantUrlBase - http://wikilovesmonuments.ru/monument/kult/
  • namespaces - 104
  • 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.


Version: unspecified
Severity: normal

Details

Reference
bz53154

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:06 AM
bzimport set Reference to bz53154.
  • commonsCategoryBase - Base category for Russian heritage is [[Category:Cultural heritage monuments in Russia]], for WLM in Russia - [[Category:Wiki Loves Monuments in Russia]], but I don't know what category you need.
  • autoGeocode - It's too early. Database does contain many errors, it will be possible to connect after further verification.
  • unusedImagesPage - Проект:Вики любит памятники/Проблемы/Неиспользуемые изображения
  • imagesWithoutIdPage - Проект:Вики любит памятники/Проблемы/Изображения без ID
  • truncate - True
  • primkey - ID is primary

Ehhhhh, I already have Russia in the database, see https://fisheye.toolserver.org/browse/erfgoed/erfgoedbot/monuments_config.py?hb=true#to5346

What's the difference? What should I do with the "old" lists?

Good catch. That template seems to be only used for the lists created in 2011, and only for Saint Petersburg. The new system is definitely much more complete and should probably take preference.

Stasie: probably you want to either merge the old lists, or remove them?

stasielvova wrote:

The old inwiki list never worked really, and the last base includes it already.

Ok. We'll just keep the current one around as ru-old for now and make this the main Russian one.

So I switched to the new lists. I found 58462 items.

Some things to improve the list:

Data at http://toolserver.org/~erfgoed/api/api.php?action=search&format=html&srcountry=ru