Extension:SoftwareVersion/fi

This page is a translated version of the page Extension:SoftwareVersion and the translation is 33% complete.
MediaWikin laajennukset-ohje
OOjs UI icon advanced-invert.svg
SoftwareVersion
Julkaisustatus: vakaa
Toteutus other (invalid type)
Kuvaus Customizes Special:Version for ShoutWiki
Tekijä(t) Jack Phoenix
Viimeisin versio 0.6.1 (2017-01-28)
MediaWiki 1.35.7+
Lisenssi GNU General Public License 2.0 tai myöhempi
Lataa
Esimerkki ShoutWiki
  • $wgSoftwareVersionExecutablePath
Voit kääntää SoftwareVersion-laajennuksen mikäli se on saatavilla translatewiki.netissä

Check usage and version matrix.

The SoftwareVersion extension resets MediaWiki's version on Special:Version to $wgVersion and adds a new column into Special:Version with information about the current SVN revision.

This extension was written by Jack Phoenix for ShoutWiki. ShoutWiki used its own Subversion (SVN) repo instead of the official MediaWiki Subversion (at svn.wikimedia.org), and ShoutWiki wanted to display the current (internal) SVN revision on Special:Version and have it displayed on its own column instead of being displayed in the MediaWiki column; because code revision r1000 is different for the official MediaWiki SVN and ShoutWiki's internal SVN.

If the site's source code is running from SVN's trunk, the new column in Special:Version will show "trunk". If it's running from /tags/weekly/, it will show whatever is the name of the "branch". ShoutWiki had weekly releases tagged as /tags/weekly/release date, i.e. /tags/weekly/20101001, so the new column in Special:Version would display "20101001".

Asentaminen

  • You will want to customize the extension to remove the ShoutWiki references, because chances are that you're not running ShoutWiki's version of MediaWiki ;-)
  • Download and place the file(s) in a directory called SoftwareVersion in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php :
    wfLoadExtension( 'SoftwareVersion' );
    
  •   TehtyNavigate to Special:Version on your wiki to verify that the extension is successfully installed.