Topic on Extension talk:HitCounters

Installation in MW 1.23?

4
Wgkderdicke (talkcontribs)

The infobox tells that this extension is compatible with MW 1.25 or higher. The installation chapter says insistent: "Use MediaWiki 1.25 and install this extension. Still in MediaWiki 1.25, run update.php.". Yet a few lines later in the installation chapter the instructions regarding the needed code in the LocalSettings.php file are suggesting that one can install this in MW 1.24 or in an earlier version. Why should one do this if exact MW 1.25 is needed?

Or, asked the other way around, if I do this:

  1. Installation of this extension in MW 1.23.17
  2. Running update.php after installation in MW 1.23.17
  3. Update to MW 1.31.1
  • Hit counters are still available and counting???
Kghbln (talkcontribs)

The MW 1.24 stuff was indeed not needed and misleading.

This is how I have done it many times.

  1. Backup database
  2. Update software, in your case from 1.23.x to 1.31.x including extensions (DO NOT run update.php)
  3. Install HitCounters and invoke it in LocalSettings.php
  4. Now run update.php
  5. That's it.

I am not sure if HitCounters is installable for MW 1.24 and earlier.

Wgkderdicke (talkcontribs)

Shouldn't your way mentioned in the installation chapter also? Because at the moment the installation chapter tells me this:

  1. Coming from < MW 1.25, that, firstly, I have to install MW 1.25 (update software & run update.php)
  2. Then I have to install this extension here
  3. After that I have to run update.php under MW 1.25 with this extension installed
  4. And at the end I have to install MW 1.31, for example (update software & run update.php)

Your solution skips the complete MW 1.25 installation and it seems that with the installation of this extension in addition to the update to MW 1.31 with a update.php runthrough only once one gets two things at a single stroke.

Kghbln (talkcontribs)

Hmm, the more I think about this ... I believe I made a big mistake here. It is over two years ago I last did this. Yeah, do this:

  1. Backup database
  2. Update software, in your case from 1.23.x to 1.25.x including extensions (DO NOT run update.php)
  3. Install HitCounters and invoke it in LocalSettings.php
  4. Now run update.php
  5. Update software from 1.25.x to 1.31.x including extensions
  6. Run update.php
  7. That's it.

In the end the docu is correct and you understood correctly.

Reply to "Installation in MW 1.23?"