MediaWiki  1.33.0
MediaWikiVersionFetcher Class Reference

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

Public Member Functions

 fetchVersion ()
 Returns the MediaWiki version, in the format used by MediaWiki's wgVersion global. More...
 

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 ( )

Returns the MediaWiki version, in the format used by MediaWiki's wgVersion global.

Returns
string
Exceptions
RuntimeException

Definition at line 17 of file MediaWikiVersionFetcher.php.

References $matches, and captcha-old\count.


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