Topic on Project:Support desk

Extension version numbers not displaying

2
198.74.4.191 (talkcontribs)

I've been searching the net for a while now and can't find an explanation for this so apologies if it has already been answered: My MediaWiki version page just has a dash in the field for the version for the 4 skins I have installed and the one extension I have installed SpamBlacklist. Is there a reason/fix for this? It bothers me because I assume there is something bigger going on that is causing it that should probably be resolved. I'm on version 1.25.1 of MediaWiki. Thanks for your time!

88.130.79.248 (talkcontribs)

Since MediaWiki 1.25, it depends from where the information is taken:

  • If the skin has a skin.json file or if the extension has a extension.json file, then the version information is taken from the key "version" from inside that file. Meaning: You can add it there, e.g. below the line with the "author" information and it will display:
 "version":"1.25", 
  • If no skin.json/extension.json file is present, then the version information is taken from the array $wgExtensionCredits in the central skin file/extension file.

SpamBlacklist and the skins do have such a skin.son/extension.json file.

For the skins coming with MediaWiki 1.25 I can confirm that you have that problem, because the "version" information is just missing. You might want to report that to Phabricator so that it can be added.

Reply to "Extension version numbers not displaying"