2007-11-08 21:32:28 +01:00
|
|
|
As discussed on IRC, preprocessor directives should transition to a
|
|
|
|
new syntax distinct from wikilinks. Possible syntaxes:
|
|
|
|
|
|
|
|
* `[[!preprocessor directive]]`
|
|
|
|
* `{{preprocessor directive}}`
|
|
|
|
|
|
|
|
The transition would involve adding the new syntax, adding an option
|
|
|
|
to turn off the old syntax with the default allowing it, giving people
|
|
|
|
time to convert their wikis and turn the option on, and releasing a
|
|
|
|
new ikiwiki (version 3 for instance) that turns off the old syntax by
|
|
|
|
default.
|
|
|
|
|
|
|
|
Making this transition would fix two major warts:
|
|
|
|
|
|
|
|
* The inability to use spaces in wikilinks or link text
|
|
|
|
* The requirement to use a trailing space on a preprocessor directive
|
2008-07-21 13:45:54 +02:00
|
|
|
with no arguments, such as `\[[!toc ]]`
|
2007-11-08 21:32:28 +01:00
|
|
|
|
|
|
|
--[[JoshTriplett]]
|
2008-01-28 01:13:54 +01:00
|
|
|
|
2008-07-21 13:45:54 +02:00
|
|
|
[[done]] in version 2.21, using the '!'-prefixed syntax. --[[JoshTriplett]]
|