Template talk:MW version

From mediawiki.org
Latest comment: 8 years ago by SPage (WMF) in topic Broken due to translation markup

Changes[edit]

I originally started out just to make a couple of small changes to the template, but have ended up re-writing a good bit of it. Since the changes wouldn't readily fit into the edit summary, I'm listing them here:

  • Fully converted to a table (previously there was an unusual inter-mixing of cells and bordered text.
  • Made cell padding consistent.
  • Moved optional revision to appear centered immediately below version number.
  • Removed comment area when no comment is present.
  • Removed redundant default value with {{{r|?}}} which could never be used due to the outer #if statement.
  • Removed redundant category already present in /doc page.
  • Debatably made the logic easier to read.

Overall, I think this looks better, but if there are any concerns, please feel free to revert, change, or discuss...I'm easy! – RobinHood70 talk 19:37, 15 July 2011 (UTC)Reply

Link version number[edit]

Can we get this template to link the displayed version number to the release page for that version (e.g., MediaWiki 1.18)? The template is just a little too complicated for me to give it a try... Maybe later, if someone doesn't beat me to it. [g] - dcljr (talk) 08:09, 11 May 2012 (UTC)Reply

Yes please. Without a link a lot of pages duplicate the template information with sentences like
    As of MediaWiki 1.25, Foo uses new Bar to...
-- SPage (WMF) (talk) 01:11, 21 February 2015 (UTC)Reply

Get rid of tooltip[edit]

What relevance is it, on a page like API:Properties, to state that such-and-such version of MW is no longer supported? The tooltip is pointless and should be removed. This, that and the other (talk) 07:24, 14 June 2013 (UTC)Reply

Broken due to translation markup[edit]

@Shirayuki: / @Varnent: The recent addition of translation markup appears to have broken many uses of this template in e.g. Help:Magic words. Regards, Tbayer (WMF) (talk) 00:03, 25 April 2014 (UTC)Reply

Yes Done. Help:Magic words and Help:Patrolled edits should be marked for translation by a translation administrator. Thanks. --Shirayuki (talk) 00:44, 25 April 2014 (UTC)Reply
Yes Done - thank you Shirayuki for fixing and Tbayer (WMF) for catching that! --Varnent (talk)(COI) 16:21, 28 April 2014 (UTC)Reply
MediaWiki version:
X.X
MediaWiki version:
X.X

This is still broken. There seems to be no way to use this template on a plain wiki page, the page has to be set up for translation. For example here and on Using OOjs UI in MediaWiki#Parser functions and tags. There's broken output whether I wrap in {{TNT }} or not. -- SPage (WMF) (talk) 03:48, 13 August 2015 (UTC)Reply