User talk:Jaberwocky6669

From AutoIt Wiki
Revision as of 10:26, 13 November 2012 by IEvKI3gv9Wrkd41u (talk | contribs)
Jump to navigation Jump to search

Just in case. This might be of some extra use. www.mediawiki.org/wiki/Help:Extension:ParserFunctions --.MvGulik. 18:03, 11 November 2012 (GMT)

There is a little issue with the Snippet Header template. When you click on edit to edit a snippet section (Snippets_(_AutoIt_Array_)), your ending up in edit mode for the Template:Snippet Header page instead of editing the section text. --.MvGulik. 17:16, 12 November 2012 (GMT)

Crap. Well, That sucks. I don't know what to do about it. Any ideas? Jaberwocky6669 (talk) 19:19, 12 November 2012 (GMT)
Meh, I'll get around to reverting my edits soon enough then. Jaberwocky6669 (talk) 20:03, 12 November 2012 (GMT)
I have looked around some wiki docs, but so far I have not found anything about this. Not how to do it, or that it is not possible. My gut feeling says its not possible. One solution would be to just ditch the section header part from the template, and re-add it on the top of the snippets. (will look some more tomorrow) --.MvGulik. 21:23, 12 November 2012 (GMT)
Amazing what a short nap can do for my ability to think. I think I understand why it happens. When the template is included on the page then the template becomes a page in a page. I guess. But yeah, your solution is probably about the only way around it short of reverting. Jaberwocky6669 (talk) 22:23, 12 November 2012 (GMT)
I also found out that when a section of code has a | then other problems come up too so this idea of mine is counting its last days. Jaberwocky6669 (talk) 22:52, 12 November 2012 (GMT)
Mmm, Yea that "|" character, if used in the AutoIt code, is going to screw things up to. So the code snipped also has to go outside the template code (unless the AutoIt-code is in a separate page I think. But I don't think we should go that way (yet, if ever)). Don't think that also moving the AutoIt code out of the template is a really big deal. The header template seems still useful as additional snippet data input box (and keeping things clean: Header/Title, Template/Data, Script.). --.MvGulik. 10:26, 13 November 2012 (GMT)