MediaWiki master
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.

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

Definition at line 11 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 19 of file MediaWikiVersionFetcher.php.

References $matches.


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