Topic on Extension talk:HitCounters

Upgrade from TopTenPages (1.24)

4
5.10.10.117 (talkcontribs)

Hello everyone, I'm looking to upgrade a wiki from version 1.24 to the current MW version. Currently, it's using the "TopTenPages" extension for tracking view counts. I've noticed that "TopTenPages" has eventually become dependent on "HitCounts". However, the "HitCounts" extension is not currently installed. Is it possible to migrate from "TopTenPages" to "HitCounts" and then follow the instructions to preserve the view counts for the updated wiki?

WikiForMen (talkcontribs)

Hopefully you have followed these instructions while upgrading:

https://www.mediawiki.org/w/index.php?oldid=6146163#Migration

If not, you will have eliminate your hitcounter values. ;-)

For upgrading a wiki from version 1.24 you have to install HitCounters version compatible with REL1_25, i.e.:

https://github.com/WikiMANNia/Mediawiki-Extension-HitCounters/releases/tag/REL1_25-v0.5.0

So you should upgrade first to version 1.25, install HitCounters REL1_25-v0.5.0, update your database ("maintenance/update.php"). This will save your hitcounter values into a new hitcounter table. After that you may upgrade to a current MW version.

134.34.7.73 (talkcontribs)

Thanks for these very clear instructions!

WikiForMen (talkcontribs)

You may have a backup of your database.

1. You may start with the backup of your database, following the steps above mentioned.

2. You may use a parallel installation with DB name "25_yourdatabasename" and Domain 25.yourdomain.org and following the above mentionend steps. Then you may copy manually both database tables "hit_counter" and "hit_counter_extension" from DB "25_yourdatabasename" into "yourdatabasename".

Reply to "Upgrade from TopTenPages (1.24)"