MediaWiki REL1_39
WebInstallerReleaseNotes.php
Go to the documentation of this file.
1<?php
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}
const MW_VERSION
The running version of MediaWiki.
Definition Defines.php:36
MediaWiki exception.