Page MenuHomePhabricator

Update the Semantic Mediawiki version on WikiApiary
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

abi_ created this task.Jun 4 2019, 5:15 AM
Kghbln added a subscriber: Kghbln.Jun 4 2019, 8:26 PM
Kghbln added a comment.Jun 4 2019, 8:29 PM

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?

Kghbln added a comment.EditedJun 17 2019, 10:29 PM

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.