On 06/04/06, Rob Church wrote:
I created
{{TALKSPACE}} and its counterpart {{ARTICLESPACE}} after
requesting the equivalent variables several times on this list.
I would be more than happy to see them replaced with the equivalent
variables now that they seem to have proven their utility.
I'm quite willing to add these magic words, but there is one question
which needs answering before this happens; what should be done with a
{{TALKSPACE}} or similar tag if the current namespace doesn't *have* a
talk namespace?
How about returning the string:
-----------------------
<p><strong class="error">Error: Talkspace of namespace:123 does not
exist.</strong></p>
-----------------------
I.e. Fail fast, and fail loud.
There is some precedent for this - consider the wiki text:
-----------------------
<math>\\&2/x[]</math>
-----------------------
Which currently returns this HTML:
-----------------------
<p><strong class="error">Failed to parse (syntax error):
\\&2/x[]</strong></p>
-----------------------
All the best,
Nick.