https://bugzilla.wikimedia.org/show_bug.cgi?id=10410
--- Comment #15 from MZMcBride <[email protected]> --- Is there any rule or convention that the _entire_ page contents be valid CSS/JS? Could you add a standardized format in the wikitext, but omit the irrelevant (non-JS or non-CSS parts) when outputting via &action=raw (which is the only reason I can see you'd need to have the entire page be valid CSS/JS)? For example, imagine this in the textarea. -------------------------------------- | == Header == | | Description text with [[wikilinks]]. | | ---- | | #id { | | display:none; | | } | -------------------------------------- This would allow for section-editing and wikilinks (for author attribution, etc.). Rendered, this would be something like... --- <h2>Header</h2> <p>Description text with <a>wikilinks</a>.</p> <hr /> <pre> #id { display:none; } </pre> --- It would output with this wikitext at action=edit and at the implicit action=view. But at action=raw, it would just output: --- #id { display:none; } --- Just a silly thought. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
