Topic on Extension talk:RottenLinks

1.39 / 1.40 confusion

4
2003:C2:3F21:FD00:D130:B302:B1E3:AC4 (talkcontribs)

The documentation tells me: If you would like to use RottenLinks with MediaWiki 1.39, you have to use the REL1_39 branch.

The link goes to https://github.com/miraheze/RottenLinks/tree/REL1_39

Then, the result is:

PHP Fatal error:  Uncaught ExtensionDependencyError: RottenLinks is not compatible with the current MediaWiki core (version 1.39.6), it requires: >= 1.40.0.
 in /var/www/test/mediawiki/includes/registration/ExtensionRegistry.php:432
Stack trace:
#0 /var/www/test/mediawiki/includes/registration/ExtensionRegistry.php(276): ExtensionRegistry->readFromQueue()
#1 /var/www/test/mediawiki/includes/Setup.php(278): ExtensionRegistry->loadFromQueue()
#2 /var/www/test/mediawiki/maintenance/doMaintenance.php(83): require_once('/var/www/test/m...')
#3 /var/www/test/mediawiki/maintenance/rebuildLocalisationCache.php(286): require_once('/var/www/test/m...')
#4 {main}
  thrown in /var/www/test/mediawiki/includes/registration/ExtensionRegistry.php on line 432

Now what?

Stefahn (talkcontribs)

Are you sure you're on the REL1_39 branch?

The latest version on REL1_39 is "1.0.20 (56e4017)". Do you see this Rotten Links version on Special:Version?

I just re-checked on my 1.39 install and it works fine.

2003:C2:3F21:FD00:682B:745E:5DA7:60C2 (talkcontribs)

;-) When adding the extension to LocalSettings, Mediawiki urges me to rebuild the Localisation cache. Therefore, no GUI, no SpecialVersion. The crash report that you see above is the result of calling "php rebuildLocalisationCache.php"

Having a second look, I found out the problem was my fault. Git usage is a little bit crappy. The green "Code" button suggests using the URL https://github.com/miraheze/RottenLinks.git

which unfortunately always is the latest version. Even if i choose the REL1_39 branch on the left-handside.

Downloading the zip file offered at the bottom of the same "Code" menu solved the problem.

Lessen learned ... the problem is always sitting in front of the screen.

Stefahn (talkcontribs)

Good to hear that you solved it :)

Reply to "1.39 / 1.40 confusion"