MediaWiki REL1_33
MediaWikiVersionFetcher Class Reference

Provides access to MediaWiki's version without requiring MediaWiki (or anything else) being loaded first. More...

Public Member Functions

 fetchVersion ()
 Get the MediaWiki version, extracted from the PHP source file where it is defined.
 

Detailed Description

Provides access to MediaWiki's version without requiring MediaWiki (or anything else) being loaded first.

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Definition at line 9 of file MediaWikiVersionFetcher.php.

Member Function Documentation

◆ fetchVersion()

MediaWikiVersionFetcher::fetchVersion ( )

Get the MediaWiki version, extracted from the PHP source file where it is defined.

Returns
string
Exceptions
RuntimeException

Definition at line 17 of file MediaWikiVersionFetcher.php.

References $code, $matches, and and().


The documentation for this class was generated from the following file: