Page MenuHomePhabricator

Add Nigeria to database
Closed, ResolvedPublic

Description

With T140992 resolved it should now be possible to add the Nigeria list of monuments to the Monuments database.

Mappings:

Nigeria in English

project : wikipedia
lang : en
headerTemplate : Nigeria listed historic sites header
rowTemplate : Nigeria listed historic sites item
commonsTemplate :
commonsTrackerCategory :
commonsCategoryBase : Cultural heritage monuments in Nigeria
autoGeocode : False
unusedImagesPage :
imagesWithoutIdPage :
registrantUrlBase:
namespaces : [0]
table : monuments_ng_(en)
truncate : False
primkey : wd_item <i.e. id>
fields (source : dest):

  • name : name
  • id : wd_item
  • location : place
  • state : state
  • lat : lat
  • lon : lon
  • image : image
  • commonscat : commonscat

Event Timeline

Looks like the Commons side hasn't been set up yet (neither categories or Campaign) so putting this on hold until then.

Note that monument_article != link in name

Looks like the Commons side hasn't been set up yet (neither categories or Campaign) so putting this on hold until then.

The Campaign seems to be up as well as the top category Category:Cultural heritage monuments in Nigeria. But I can't find any id template or "with id" categories.

Looks like the Commons side hasn't been set up yet (neither categories or Campaign) so putting this on hold until then.

The Campaign seems to be up as well as the top category Category:Cultural heritage monuments in Nigeria. But I can't find any id template or "with id" categories.

That would prevent any categorisation, however we can setup harvesting anyway.

That would prevent any categorisation, however we can setup harvesting anyway.

@JeanFred Can the machinery handle that these things are missing?

@JeanFred @Romaine helped setting up the templates for Nigeria. Otherwise, @Ozone73 is the point of contact for Nigeria.

Hi All

Thanks for this information. Kindly tell me how to go about it. I will do the set up

Thanks

LilyOfTheWest moved this task from Backlog to In-progress on the Wiki-Loves-Monuments (2016) board.

What is needed are two pages on en.wikipedia to be specified. One for new but unused images and on for images without ids.

What would also be good is a tracking template on Commons which stores the Wikidata_id of the minument being sepicted as well as a category where all images with this template ends up.

What are we still missing here? If only the maintenance page, we can also go ahead :)

What are we still missing here? If only the maintenance page, we can also go ahead :)

Do we know how the categorization machinery (and unused_images etc.) deals with there not being a commonsTemplate or commonsTrackerCategory. If they are just skipped that is ok... but I wouldn't assume it without checking.

What are we still missing here? If only the maintenance page, we can also go ahead :)

Do we know how the categorization machinery (and unused_images etc.) deals with there not being a commonsTemplate or commonsTrackerCategory. If they are just skipped that is ok... but I wouldn't assume it without checking.

Finally I had the opportunity to check. If commonsTemplate is missing the machinery simply skips the country in all the scripts I found.

If commonsTrackerCategory is missing the country was skipped sometimes but I'm unsure about the following:

  • images_of_monuments_without_id.py
  • unused_monument_images.py
  • missing_commonscat_links.py

! In T143573#2683218, @Lokal_Profil wrote:
If commonsTrackerCategory is missing the country was skipped sometimes but I'm unsure about the following:

  • images_of_monuments_without_id.py
  • unused_monument_images.py
  • missing_commonscat_links.py

While these are potential stability issues they shouldn't be a problem for Nigeria since each is skipped because of another empty parameter (unusedImagesPage, imagesWithoutIdPage and missingCommonscatPage [undocumented?])

Change 314860 had a related patch set uploaded (by Lokal Profil):
[NOT TESTED] Add Nigeria in English to the database

https://gerrit.wikimedia.org/r/314860

Change 314860 merged by jenkins-bot:
Add Nigeria in English to the database

https://gerrit.wikimedia.org/r/314860

@LilyOfTheWest, @Ozone73, @Romaine, @JeanFred:
Nigeria should be harvested into the database with the next run (tomorrow). Apologies for this taking longer than expected.

Note however that without the Commons template to mark each image with you will not have access to functionality such as automatic categorisation of image or suggestion of images for monuments which do not yet have an image in the lists. I would suggest setting that bit up in preparation of WLM 2017.