Merge "SpecialVersion: Add wikidiff2 version to SoftwareInformation"
This commit is contained in:
commit
b0ca8694ee
1 changed files with 5 additions and 0 deletions
|
|
@ -340,6 +340,11 @@ class SpecialVersion extends SpecialPage {
|
||||||
$dbr->getSoftwareLink() => $dbr->getServerInfo(),
|
$dbr->getSoftwareLink() => $dbr->getServerInfo(),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// T339915: If wikidiff2 is installed, show version
|
||||||
|
if ( phpversion( "wikidiff2" ) ) {
|
||||||
|
$software[ '[https://www.mediawiki.org/wiki/Wikidiff2 wikidiff2]' ] = phpversion( "wikidiff2" );
|
||||||
|
}
|
||||||
|
|
||||||
// Allow a hook to add/remove items.
|
// Allow a hook to add/remove items.
|
||||||
$this->getHookRunner()->onSoftwareInfo( $software );
|
$this->getHookRunner()->onSoftwareInfo( $software );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue