Page MenuHomePhabricator

CURRENTVERSION magic word
Closed, ResolvedPublic

Description

Author: stanley

Description:
Hope this is acceptable. Please provide new variable, {{CURRENTVERSION}} gives
the current MediaWiki software version.

{{CURRENTVERSION}} = 1.6 (for released version)
{{CURRENTVERSION}} = 1.7alpha (r17360) (for svn version)


Version: unspecified
Severity: enhancement
URL: http://meta.wikimedia.org/wiki/Template:Current_MediaWiki_version

Details

Reference
bz5833

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:12 PM
bzimport set Reference to bz5833.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

For what purpose?

stanley wrote:

Yes it is duplicate to Special:version, just like {{NUMBEROFARTICLES}} to
Special:Statistics. I dont know.. for putting the version information in certain
pages?

Rob Church, yes it is a weak argument. Consider this low priority. Thanks.

robchur wrote:

Added in SVN trunk, r14199.

stanley wrote:

Hi Rob, thanks for the {{CURRENTVERSION}}, but can you also parse the SVN revision?

robchur wrote:

Shoot me. Shoot me now.

robchur wrote:

(In reply to comment #4)

Hi Rob, thanks for the {{CURRENTVERSION}}, but can you also parse the SVN

revision?

Where applicable, it is now included in the output, as of SVN trunk, r16280. And
as I said, I'd like to be shot now, sir.