On Tue, 2014-09-23 at 10:11 -0400, Kamil Paral wrote: > > Well, I set out this morning to move the rescue mode test case from > > Alpha to Beta and somehow wound up doing this instead. > > > > Opening a release validation test page 'template', copy 'n' pasting the > > contents into a new page, and hand-editing bits until your eyes glaze > > over? That's the old thing. The new thing is this: > > > > {{subst:Validation_results|testtype=Base|release=21|milestone=Alpha| > > compose=RC1}} > I think I'll need to read the instructions two or three more times to > be able to wrap my brain around it properly, but awesome work, thanks > Adam :) The above is literally all you need to know to *use* it - doing that will create the pages, you don't need to know more. The generated pages are pretty normal, they pull in the instructions from a template with {{ }} but that's standard stuff. You can edit the generated pages just as normal. The other details are more background info on how it works - 'substitution' is another wiki template mechanism which is kind of the opposite of 'transclusion', it pulls in the content of the template only one time, at page creation, and from then on the page is forked from the template, it has its own copy of the contents. We don't use it much on the Fedora wiki and I only just yesterday realized it'd be rather useful for various things like this. There are various little complicating factors like how you write a template so that something get substituted not in the template itself but by a page that substitutes or transcludes that template, but it's all just details :) I'm working on the helper tool for easily doing all the tasks together now. So far, it discovers the test types... -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net http://www.happyassassin.net -- test mailing list test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test