Page MenuHomePhabricator

Update the Semantic Mediawiki version on WikiApiary from 2.5.6
Open, Needs TriagePublic

Description

Currently the Semantic MediaWiki version on WikiApiary is 2.5.6

This version of Semantic MediaWiki has a few issues,

  1. Sorting by random returns variable number of results #3788
  2. Different # of results returned when limit is set to 250 vs when limit is set to 500.

The latest version of Semantic MediaWiki (3.0.2) supports MW 1.27.0 - 1.31.x so there should not be a need to update MediaWiki on WikiApiary.

Event Timeline

Prior to the upgrade the outdated entities should be cleared. See https://wikiapiary.com/wiki/Special:Statistics. Moreover a script doing this on a daily base should be put in place. The first is a must the second is recommended to avoid the first in the future.

Prior to the upgrade the outdated entities should be cleared. See https://wikiapiary.com/wiki/Special:Statistics.

I assume rebuildData.php will do this? What other steps should be handled?

I assume rebuildData.php will do this? What other steps should be handled?

Indeed:

rebuildData.php --skip-properties -s 1 -e 1

After the update of the software you will have to run:

setupStore.php --skip-optimize --skip-import

followed by

populateHashField.php

followed by

rebuildData.php -s 1 -e 1000000
rebuildData.php --skip-properties -s 1000001 -e 2000000

etc.

Do the rebuild in chunks etc. since we are talking about a gigantic wiki. The chunks of a million will take about two to three hours for the first ten chunks I guess. I expect about 30 chunks with the latter much faster. Look how it goes.

Thanks for the hints. I am trying to make sure I do this the right way on another largish wiki and will have time to work on WikiApiary in a few.

Aklapper renamed this task from Update the Semantic Mediawiki version on WikiApiary to Update the Semantic Mediawiki version on WikiApiary from 2.5.6.Jul 11 2021, 9:05 AM