Manual:$wgVersion/ja

Details
The current version of MediaWiki (e.g, ""). You shouldn't need to set this option; it is used internally.

Example code
If you're implementing a new feature that only works in MediaWiki 1.19 or later, but you want to maintain backwards compatibility, you could use a test such as the following: