From Fedora Project Wiki

(explain some more template magic)
m (fix docs)
Line 4: Line 4:


It does some semi-clever mucking about with parameters to produce a nice clean result. Please don't mess about with it unless you understand how it works; the Mediawiki [https://www.mediawiki.org/wiki/Transclusion Transclusion] and Substitution pages are a good starting point. Please contact [[User:Adamwill|Adam Williamson]] before touching this page if you are at all unsure what you're doing. '''Using''' it to generate new results pages is just fine, though - see above.
It does some semi-clever mucking about with parameters to produce a nice clean result. Please don't mess about with it unless you understand how it works; the Mediawiki [https://www.mediawiki.org/wiki/Transclusion Transclusion] and Substitution pages are a good starting point. Please contact [[User:Adamwill|Adam Williamson]] before touching this page if you are at all unsure what you're doing. '''Using''' it to generate new results pages is just fine, though - see above.
Attentive readers will note a dangling <nowiki></onlyinclude></nowiki> tag in this template. This is part of a dumb trick to allow for a results overview page. The matching <nowiki><onlyinclude></nowiki> tag lives in the test matrix templates. When an actual results page substitutes this template, it gets a <nowiki><onlyinclude></nowiki> tag '''above''' its results table from the matrix template, and a <nowiki></onlyinclude></nowiki> '''below''' its results table from this template. That means that when ''yet another'' page transcludes a results page, what it gets is the results table - which is what we want.

Revision as of 18:03, 4 October 2014

This template is designed to be substituted to create validation testing result pages. It will cause the page that substitutes it to transclude the Template:Release_validation_instructions template with parameter values that should be passed in at the point of creating a new results page, and substitute the appropriate test matrix template for the test type it was passed. Do not transclude this page! Always substitute it!

Usage: {{subst:Validation_results|testtype=Base|release=21|milestone=Beta|compose=RC3}}, for example, as the entire contents of a new page, would generate the Base validation results page for Fedora 21 Beta RC3.

It does some semi-clever mucking about with parameters to produce a nice clean result. Please don't mess about with it unless you understand how it works; the Mediawiki Transclusion and Substitution pages are a good starting point. Please contact Adam Williamson before touching this page if you are at all unsure what you're doing. Using it to generate new results pages is just fine, though - see above.