MediaWiki
REL1_39
WebInstallerReleaseNotes.php
Go to the documentation of this file.
1
<?php
22
class
WebInstallerReleaseNotes
extends
WebInstallerDocument
{
23
28
protected
function
getFileName
() {
29
if
( !preg_match(
'/^(\d+)\.(\d+).*/i'
,
MW_VERSION
, $result ) ) {
30
throw
new
MWException
(
'Constant MW_VERSION has an invalid value.'
);
31
}
32
33
return
'RELEASE-NOTES-'
. $result[1] .
'.'
. $result[2];
34
}
35
36
}
MW_VERSION
const MW_VERSION
The running version of MediaWiki.
Definition
Defines.php:36
MWException
MediaWiki exception.
Definition
MWException.php:29
WebInstallerDocument
Definition
WebInstallerDocument.php:22
WebInstallerReleaseNotes
Definition
WebInstallerReleaseNotes.php:22
WebInstallerReleaseNotes\getFileName
getFileName()
Definition
WebInstallerReleaseNotes.php:28
includes
installer
WebInstallerReleaseNotes.php
Generated on Mon Nov 25 2024 06:55:45 for MediaWiki by
1.10.0