rename preprocessordirective to directive
authorJoey Hess <joey@kodama.kitenet.net>
Mon, 25 Aug 2008 18:19:39 +0000 (14:19 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Mon, 25 Aug 2008 18:19:39 +0000 (14:19 -0400)
Reasons include:
- easier to type
- might want postprocessor directives again sometime, and listdirectives
  can then use the directive/* files for either
- that it's done as a preprocessor step is an internal detail (and not a
  very accurate one, really :-)

37 files changed:
doc/basewiki.mdwn
doc/bugs/Spaces_in_link_text_for_ikiwiki_links.mdwn
doc/bugs/wiki_links_still_processed_inside_code_blocks.mdwn
doc/features.mdwn
doc/ikiwiki.mdwn
doc/ikiwiki/blog.mdwn
doc/ikiwiki/directive.mdwn [moved from doc/ikiwiki/preprocessordirective.mdwn with 85% similarity]
doc/ikiwiki/markdown.mdwn
doc/ikiwiki/wikilink.mdwn
doc/ikiwiki/wikilink/discussion.mdwn
doc/plugins/creole.mdwn
doc/plugins/edittemplate.mdwn
doc/plugins/inline.mdwn
doc/plugins/listdirectives.mdwn [new file with mode: 0644]
doc/plugins/meta/discussion.mdwn
doc/plugins/pagecount.mdwn
doc/plugins/rst.mdwn
doc/plugins/txt.mdwn
doc/plugins/write.mdwn
doc/plugins/write/tutorial.mdwn
doc/shortcuts.mdwn
doc/todo/Add_a_plugin_to_list_available_pre-processor_commands.mdwn
doc/todo/conditional_text_based_on_ikiwiki_features.mdwn
doc/todo/format_escape.mdwn
doc/todo/graphviz.mdwn
doc/todo/htmlvalidation.mdwn
doc/todo/latex.mdwn
doc/todo/linktitle.mdwn
doc/todo/pageindexes.mdwn
doc/todo/preprocessor_directive_for_proposed_changes.mdwn
doc/todo/progressbar_plugin.mdwn
doc/todo/rss_title_description.mdwn
doc/todo/shortcut_link_text.mdwn
doc/todo/smileys_do_not_work_in_PreprocessorDirective_arguments.mdwn
underlays/basewiki/ikiwiki/directive.mdwn [new symlink]
underlays/basewiki/ikiwiki/preprocessordirective.mdwn [changed from symlink to file mode: 0644]
underlays/basewiki/preprocessordirective.mdwn

index 29f632375729735a650cda14599d5d1c6dd8dae9..e1f876acba097efc461353713136206217433784 100644 (file)
@@ -13,7 +13,7 @@ It currently includes these pages:
 * [[ikiwiki/markdown]]
 * [[ikiwiki/openid]]
 * [[ikiwiki/pagespec]]
-* [[ikiwiki/PreprocessorDirective]]
+* [[ikiwiki/directive]]
 * [[ikiwiki/subpage]]
 * [[ikiwiki/wikilink]]
 
index 27919f7be81a0d30576fd7a02ea87654e1f37f4f..f6dbacad7fe6e442622fa4133469240a15a94e67 100644 (file)
@@ -16,7 +16,7 @@ reported in [[index/discussion#index11h1]].
 > want multiple words.
 >
 > This was a decision I made a long time ago due to the ambiguity between a
-> WikiLink and a [[ikiwiki/PreProcessorDirective]]. Is "\[[foo bar|baz]]" a wikilink to
+> WikiLink and a [[ikiwiki/Directive]]. Is "\[[foo bar|baz]]" a wikilink to
 > baz with a link text of "foo bar", or an instance of preprocessor
 > directive "foo" with a parameter of "bar|baz"? If it's interpreted as a 
 > wikilink today, that could change tomorrow if a new preprocessor directive
index ede16a0292eec5c90033c9258ca9bf2a12538aa3..b2a8b06323cd7f497918d748eb0b710ef981b10f 100644 (file)
@@ -1,6 +1,6 @@
 In [[ikiwiki/markdown]] syntax, none of the other special characters get processed
 inside a code block.  However, in ikiwiki, [[wiki_links|ikiwiki/wikilink]] and
-[[preprocessor_directives|ikiwiki/preprocessordirective]] still get processed
+[[preprocessor_directives|ikiwiki/directive]] still get processed
 inside a code block, requiring additional escaping.  For example, `[links
 don't work](#here)`, but `a [[ikiwiki/wikilink]] becomes HTML`. --[[JoshTriplett]]
 
index c6fc95c0b6b654f035cdd1e84c5b0c52a3151b1c..8e3c0799c678cd251949ee8e604e53b52462b211 100644 (file)
@@ -32,7 +32,7 @@ Any page with a filename ending in ".mdwn" is converted from markdown to html
 by ikiwiki. Markdown understands text formatted as it would be in an email,
 and is quite smart about converting it to html. The only additional markup
 provided by ikiwiki on top of regular markdown is the [[ikiwiki/WikiLink]] and 
-[[ikiwiki/PreprocessorDirective]].
+the [[ikiwiki/directive]].
 
 If you prefer to use some other markup language, ikiwiki allows others to
 easily be added by [[plugins]]. For example it also supports traditional
@@ -74,7 +74,7 @@ can change the look and layout of all pages in any way you would like.
 
 Plugins can be used to add additional features to ikiwiki. The interface
 is quite flexible, allowing plugins to implement additional markup
-languages, register [[ikiwiki/PreProcessorDirective]]s, hook into [[CGI]] mode,
+languages, register [[directives|ikiwiki/directive]], hook into [[CGI]] mode,
 and more. Most of ikiwiki's features are actually provided by plugins.
 Ikiwiki's backend RCS support is also pluggable, so support for new
 revision control systems can be added to ikiwiki.
index c98a97e5940f0d4bec153b095d7fa1e85fcfb44f..89337d0510234a5021374fda648c03054a1f9fde 100644 (file)
@@ -9,7 +9,7 @@ Some documentation on using ikiwiki:
 * [[ikiwiki/formatting]]
 * [[ikiwiki/blog]]
 * [[ikiwiki/pagespec]]
-* [[ikiwiki/PreprocessorDirective]]
+* [[ikiwiki/directive]]
 * [[ikiwiki/wikilink]]
 * [[ikiwiki/markdown]]
 * [[ikiwiki/subpage]]
index 19ec7ac30abfa29e568df49170cd3956006d4ea3..53d4c7a96e1c7a138f1857fa430097b2e1e89c1a 100644 (file)
@@ -7,7 +7,7 @@
      then="You can"
      else="If this wiki had the inline plugin enabled, you could"]]
 turn any page on this wiki into a weblog by using the `inline`
-[[PreProcessorDirective]]. For example:
+[[directive]]. For example:
 
        \[[!inline pages="blog/* and !*/Discussion" show="10" rootpage="blog"]]
 
@@ -17,9 +17,9 @@ of them will appear in the page. Note that if files that are not pages
 match the [[PageSpec]], they will be included in the feed using RSS
 enclosures, which is useful for podcasting.
 
-The optional `rootpage` parameter tells the wiki that new posts to this blog
-should default to being [[SubPage]]s of "blog", and enables a form at the
-top of the blog that can be used to add new items.
+The optional `rootpage` parameter tells the wiki that new posts to this
+blog should default to being [[SubPages|SubPage]] of "blog", and enables a
+form at the top of the blog that can be used to add new items.
 
 If you want your blog to have an archive page listing every post ever made
 to it, you can accomplish that like this:
similarity index 85%
rename from doc/ikiwiki/preprocessordirective.mdwn
rename to doc/ikiwiki/directive.mdwn
index 743c0d9f5e73050d3b52a6fdb72ca6b188ea5b6c..9a01aaa825e22e3f41177b36adf75ae3b7be92ee 100644 (file)
@@ -1,5 +1,5 @@
 [[!meta robots="noindex, follow"]]
-Preprocessor directives are similar to a [[WikiLink]] in form, except they
+Directives are similar to a [[WikiLink]] in form, except they
 begin with `!` and may contain parameters. The general form is:
 
        \[[!directive param="value" param="value"]]
@@ -12,7 +12,7 @@ Also, some directives may use parameters without values, for example:
 
        \[[!tag foo]]
 
-A preprocessor directive does not need to all be on one line, it can be
+A directive does not need to all be on one line, it can be
 wrapped to multiple lines if you like:
        
        \[[!directive foo="baldersnatch"
@@ -28,7 +28,7 @@ of text with triple-quotes:
        3. "baz"
        """]]
 
-ikiwiki also has an older syntax for preprocessor directives, which requires a
+ikiwiki also has an older syntax for directives, which requires a
 space in directives to distinguish them from [[wikilinks|wikilink]].  This
 syntax has several disadvantages: it requires a space after directives with no
 parameters (such as `\[[pagecount ]]`), and it prohibits spaces in
index bbda9add70a07f5862ef0aba66bd8088e8f807e3..a4190945f541b6a9d5b0f4236675c47f6877c7aa 100644 (file)
@@ -8,6 +8,6 @@ For documentation about the markdown syntax, see [[formatting]] and
 [markdown mode](http://jblevins.org/projects/markdown-mode/) for 
 emacs can help in editing.
 
-Note that [[WikiLink]]s and [[PreProcessorDirective]]s are not part of the
-markdown syntax, and are the only bit of markup that this wiki handles
-internally.
+Note that [[WikiLinks|WikiLink]] and [[directives|directive]] are not part
+of the markdown syntax, and are the only bit of markup that this wiki
+handles internally.
index bd5e3d1850a3fef2acf7afb20318f7bd908f33ed..371c2528f2a170de4ae8cbef61d80f93c9cb1272 100644 (file)
@@ -23,11 +23,11 @@ page, but the link will appear like this: [[foo_bar|SandBox]].
 To link to an anchor inside a page, you can use something like
 `\[[WikiLink#foo]]`
 
-## Preprocessor directives and wikilinks
+## Directives and WikiLinks
 
 ikiwiki has two syntaxes for
-[[preprocessor_directives|PreprocessorDirective]].  The older syntax
-used spaces to distinguish between preprocessor directives and
+[[directives|directive]].  The older syntax
+used spaces to distinguish between directives and
 wikilinks; as a result, with that syntax in use, you cannot use spaces
 in WikiLinks, and must replace spaces with underscores.  The newer
 syntax, enabled with the `prefix_directives` option in an ikiwiki
index e69fcb31ba116d11425e766ff6f98c13bf255075..e4b1f933f70b73c08eb96bc0ebf70f6d643ac45a 100644 (file)
@@ -14,7 +14,7 @@ BTW, ikiwiki doesn't displays the #foo anchor in the example
 --[[PaweÅ‚|ptecza]]
 
 > No such syntax exists in markdown.  ikiwiki could certainly have a
-> [[preprocessor_directive|preprocessordirective]] for it, though.
+> [[preprocessor_directive|directive]] for it, though.
 > --[[JoshTriplett]]
 
 >> [[!tag wishlist]]
index ed347e2c50869d48255aa9c8eb92dc0400829eac..4b0adb4f17bd00d19508c5ac1b7c4876e21c7f25 100644 (file)
@@ -12,5 +12,5 @@ wiki markup formats, so should be fairly easy to guess at. There is also a
 [CheatSheet](http://www.wikicreole.org/wiki/CheatSheet).
 
 Links are standard [[WikiLinks|ikiwiki/WikiLink]]. Links and
-[[ikiwiki/PreProcessorDirectives]] inside `{{{ }}}` blocks are still expanded,
+[[ikiwiki/directives]] inside `{{{ }}}` blocks are still expanded,
 since this happens before the creole format is processed.
index a68f7f0a16d8fa5a6b18da7d1290b1c58036adef..674bdc863dad2e0271c5c541b6654a52ae4c3010 100644 (file)
@@ -3,7 +3,7 @@
 
 This plugin allows registering template pages, that provide default
 content for new pages created using the web frontend. To register a
-template, insert a [[Preprocessor_Directive|/ikiwiki/preprocessordirective]] on some other page.
+template, insert a [[ikiwiki/directive]] on some other page.
 
        \[[!edittemplate template="bugtemplate" match="bugs/*"]]
 
index e66c9103fbedfa23de9b03a029f76ca9838ca901..1ea401c6a2ba91f69b9664df98dc841c8bf1a8eb 100644 (file)
@@ -1,6 +1,6 @@
 [[!template id=plugin name=inline core=1 author="[[Joey]]"]]
 
-This is a [[ikiwiki/PreProcessorDirective]] that allows including one wiki page
+This is a [[ikiwiki/directive]] that allows including one wiki page
 inside another. For example:
 
        \[[!inline pages="blog/*"]]
diff --git a/doc/plugins/listdirectives.mdwn b/doc/plugins/listdirectives.mdwn
new file mode 100644 (file)
index 0000000..3645813
--- /dev/null
@@ -0,0 +1,11 @@
+[[!template id=plugin name=listdirectives author="Will"]]
+[[!tag type/meta]]
+
+This plugin generates a list of available
+[[directives|ikiwiki/directive]].
+
+       \[[!listdirectives]]
+
+Each directive links to a wiki page with the same name. The location of the
+pages in the wiki can be controlled via the `directive_description_dir`
+setting in the setup file.
index 8388a1172ca70e75c065b4573ab734c204fca933..814b93a41bbc95b6030d0e178ef2e8a0eeab9311 100644 (file)
@@ -11,7 +11,7 @@ Now I've work-arounded it using apostrophes in another way
 
 --[[PaweÅ‚|ptecza]]
 
-> As with any other parameter in a [[ikiwiki/preprocessordirective]], you can
+> As with any other parameter in a [[ikiwiki/directive]], you can
 > triple-quote, and then include quotation marks inside. --[[Joey]]
 
 >> Thanks for the hint! Toggle plugin is probably my favourite ikiwiki
index 790f033ca13098df7fe5c5fa0a73ab36b1317a29..84a02c3f1656bfe54c2017e94944c643ab87b89e 100644 (file)
@@ -1,7 +1,7 @@
 [[!template id=plugin name=pagecount author="[[Joey]]"]]
 [[!tag type/meta]]
 
-Provides a \\[[!pagecount ]] [[ikiwiki/PreProcessorDirective]] that is
+Provides a \\[[!pagecount ]] [[ikiwiki/directive]] that is
 replaced with the total number of pages currently in the wiki.
 
 The optional parameter "pages" can be a [[ikiwiki/PageSpec]] specifying the
index b415ecdb9f2752e91ac90bed4f199b2720941a60..9355597ac6e9cdcc35988bde5130faf1020ebd23 100644 (file)
@@ -11,7 +11,7 @@ ikiwiki. Limitations include:
 
 * There are issues with inserting raw html into documents, as ikiwiki 
   does with [[WikiLinks|ikiwiki/WikiLink]] and many 
-  [[PreprocessorDirectives|ikiwiki/PreprocessorDirective]].
+  preprocessor [[directives|ikiwiki/directive]].
 
 So while you may find this useful for importing old files into your wiki,
 using this as your main markup language in ikiwiki isn't recommended at
index c277289290344005b17bad922bc8feb27657719a..1b7e7821bb24d76c21f04c98447a653af4ba8b1d 100644 (file)
@@ -9,6 +9,6 @@ txt files is done; the file contents is displayed to the user as-is,
 with html markup characters such as ">" escaped.
 
 The only exceptions are that [[WikiLinks|WikiLink]] and
-[[PreprocessorDirectives|PreprocessorDirective]] are still expanded by
+[[directives|directive]] are still expanded by
 ikiwiki, and that, if the [[!cpan URI::Find]] perl module is installed, URLs
 in the txt file are converted to hyperlinks.
index b9601ea57828dd16299ff3a5e7c767500f5c5c0c..cde0b50fd523302b6d74f8a77064b74d7d813515 100644 (file)
@@ -123,7 +123,7 @@ make arbitrary changes. The function is passed named parameters "page",
 
 ### preprocess
 
-Adding a [[ikiwiki/PreProcessorDirective]] is probably the most common use
+Adding a preprocessor [[ikiwiki/directive]] is probably the most common use
 of a plugin.
 
         hook(type => "preprocess", id => "foo", call => \&preprocess);
@@ -158,7 +158,7 @@ can assume it's being run in scan mode, and avoid doing expensive things at
 that point.)
 
 Note that if the [[htmlscrubber]] is enabled, html in
-[[ikiwiki/PreProcessorDirective]] output is sanitised, which may limit what
+preprocessor [[ikiwiki/directive]] output is sanitised, which may limit what
 your plugin can do. Also, the rest of the page content is not in html
 format at preprocessor time. Text output by a preprocessor directive will
 be linkified and passed through markdown (or whatever engine is used to
@@ -500,7 +500,7 @@ function that is called after the error message is printed, to do any final
 cleanup.
 
 If called inside a preprocess hook, error() does not abort the entire
-wiki build, but instead replaces the [[ikiwiki/PreProcessorDirective]] with
+wiki build, but instead replaces the preprocessor [[ikiwiki/directive]] with
 a version containing the error message.
 
 In other hooks, error() is a fatal error, so use with care. Try to avoid
index 5b810a18faea4f6460635fcd7e06f58bce56ac57..2823c47b79047297fdbc417df99b34b91c2e2799 100644 (file)
@@ -5,9 +5,9 @@ What should the plugin do? Let's make it calculate and output the Fibonacci
 sequence. To output the next number in the sequence, all a user has to do
 is write this on a wiki page:
 
-       [[!fib ]]
+       [[!fib]]
 
-When the page is built, the [[ikiwiki/PreProcessorDirective]] will be
+When the page is built, the [[ikiwiki/directive]] will be
 replaced by the next number in the sequence.
 
 Most of ikiwiki's plugins are written in Perl, and it's currently easiest
@@ -39,16 +39,16 @@ register hooks that ikiwiki will call later.
        }
 
 This has hooked our plugin into the preprocess hook, which ikiwiki uses to
-expand [[PreprocessorDirectives|ikiwiki/preprocessordirective]]. Notice
+expand preprocessor [[directives|ikiwiki/directive]]. Notice
 that "fib" has shown up again. It doesn't actually have to match the module
 name this time, but it generally will. This "fib" is telling ikiwiki what
-kind of PreprocessorDirective to handle, namely one that looks like this:
+kind of preprocessor directive to handle, namely one that looks like this:
 
        [[!fib ]]
 
 Notice the `\&preprocess`? This is how you pass a reference to a function,
 and the `preprocess` function is the one that ikiwiki will call to expand
-the PreprocessorDirective. So, time to write that function:
+the preprocessor directive. So, time to write that function:
 
        sub preprocess {
                my %params=@_;
index 037c31ee6ede9afb9719c60ae441358e3a658123..4bb6774897ed6c6e9b39d0a91e4157e5c64e4632 100644 (file)
@@ -61,13 +61,13 @@ This page controls what shortcut links the wiki supports.
 * [[!shortcut name=ohloh url="http://www.ohloh.net/projects/%s"]]
 
 To add a new shortcut, use the `shortcut`
-[[ikiwiki/PreprocessorDirective]]. In the url, "%s" is replaced with the
+[[ikiwiki/directive]]. In the url, "%s" is replaced with the
 text passed to the named shortcut, after url-encoding it, and '%S' is
 replaced with the raw, non-encoded text. The optional `desc` parameter
 controls the description of the link.
 
 Remember that the `name` you give the shortcut will become a new
-[[ikiwiki/PreprocessorDirective]].  Avoid using a `name` that conflicts
+[[ikiwiki/directive]].  Avoid using a `name` that conflicts
 with an existing directive.  These directives also accept a `desc`
 parameter that will override the one provided at definition time.
 
index 0524627d45ed6e91d03116af52629bb21fc3213b..b8ef2409de4e3a156995cb1c733b943c68fe0646 100644 (file)
@@ -412,3 +412,5 @@ This is what I was using for `preprocessor-description.tmpl`:
     The <TMPL_VAR plugin> preprocessor command currently has no description.
     
     Maybe you should edit this page to add one.
+
+[[tag done]]
index 4bdcf3d0121c8cfe249485bb506c4443520e86d0..17585af65b5c190df77f91a1cfa563f28fefd602 100644 (file)
@@ -25,7 +25,7 @@ include an `else` clause; if so, you could label the text used if true as
 `then`.
 
 Syntax could vary greatly here, both for the
-[[ikiwiki/PreprocessorDirective]] and for the condition itself.
+[[ikiwiki/Directive]] and for the condition itself.
 
 > I think this is a good thing to consider, although conditionals tend to
 > make everything a lot more complicated, so I also want to KISS, and not
@@ -57,7 +57,7 @@ Syntax could vary greatly here, both for the
 > --[[Joey]]
 
 >> [[ikiwiki/PageSpec]] syntax seems perfect, and your proposed syntax for the `if`
->> [[ikiwiki/PreprocessorDirective]] looks fine to me.
+>> [[ikiwiki/Directive]] looks fine to me.
 >>
 >> [[ikiwiki/PageSpec]]s don't give you `none` for free, since `!foo/*` as a boolean
 >> would mean "does any page not matching `foo/*` exist", not "does `foo/*`
index 315b2d88f1631d11b32349fa7ea602192352e7f9..8dfe05581fcb3492bcf627100745ff98386a387f 100644 (file)
@@ -219,7 +219,7 @@ Index: doc/plugins/rst.mdwn
 -* reStructuredText does not allow raw html to be inserted into
 -  documents, but ikiwiki does so in many cases, including
 -  [[WikiLinks|ikiwiki/WikiLink]] and many
--  [[PreprocessorDirectives|ikiwiki/PreprocessorDirective]].
+-  [[Directives|ikiwiki/Directive]].
 +* Some bits of ikiwiki may still assume that markdown is used or embed html
 +  in ways that break reStructuredText. (Report bugs if you find any.)
  * It's slow; it forks a copy of python for each page. While there is a
index 66ca0ae325035e21adaefec4d7a3c11b2ca6c52a..3f2514a99400f00db25c7acabeb0a2634f311355 100644 (file)
@@ -1,5 +1,5 @@
 How about a plugin providing a
-[[preprocessor_directive|ikiwiki/preprocessordirective]] to render a
+[[preprocessor_directive|ikiwiki/directive]] to render a
 [[!debpkg graphviz]] file as an image via one of the graphviz programs
 ("dot" by default) and include the resulting image on the page, using the
 "cmapx" image map format?  graphviz files themselves could also render the
index 96bcd926bbfde716ccb494f82293651bf8b239a3..e376b840ec2cfd4293106b709e2b79df2e86f71a 100644 (file)
@@ -31,8 +31,8 @@
        Because [ [inlinepage] ] isn't separated by a blank line it gets treated as a block-level element. Hmm, will this stop all formatting, including *'s to em-tags? --[[JeroenSchot]]
 
     Ah didn't realize you meant it fixed it at the markdown level. I'll
-    think about making postprocessordirectives into
-    [[ikiwiki/preprocessordirective]]s instead, then I could use that fix (but I'm not
+    think about making postprocessor directives into
+    preprocessor directives instead, then I could use that fix (but I'm not
     sure how feasible it is to do that). --[[Joey]]
 
     Done.. inlining is now a preprocessor directive, happens before
index e96e4b78226fb2bfe167989e0d5f24cfcee6282c..56d3b1c0cf9c26c0e93a8318a6140adfb0900e5c 100644 (file)
@@ -1,5 +1,5 @@
 How about a plugin adding a
-[[preprocessor_directive|ikiwiki/preprocessordirective]] to render some given LaTeX
+[[preprocessor_directive|ikiwiki/directive]] to render some given LaTeX
 and include it in the page?  This could either render the LaTeX as a PNG via
 [[!debpkg dvipng]] and include the resulting image in the page, or perhaps
 render via [HeVeA](http://pauillac.inria.fr/~maranget/hevea/index.html),
index d5b53e0824a49d184b5c64cf51920458c36cb553..6df3bfdcee0b7f629076a81c6b68f70ddcafce07 100644 (file)
@@ -2,15 +2,15 @@ Pages could have a `linktitle` (perhaps via [[plugins/meta]]), and
 [[wikilinks|ikiwiki/wikilink]] could use that title by default when linking
 to the page.  That would allow pages to have a simple, easily linkable name
 (without spaces, for instance), but use the proper title for links.  For
-example, [[ikiwiki/PreprocessorDirective]] could use the `linktitle`
+example, [[ikiwiki/Directive]] could use the `linktitle`
 "preprocessor directive", and pages for [[users]] could have `linktitle`s
 that put spaces in their names.
 
 Ideally, perhaps two versions of the title could exist, one for general
 use, and an optional one for if the case in the actual link starts with an
-uppercase letter.  That would allow [[ikiwiki/preprocessordirective]] to
+uppercase letter.  That would allow [[ikiwiki/directive]] to
 use the link text "preprocessor directive", but
-[[ikiwiki/PreprocessorDirective]] to use the link text "Preprocessor
+[[ikiwiki/Directive]] to use the link text "Preprocessor
 Directive", for use at the beginnings of sentences.  If the second version
 did not exist, the first version would apply to both cases. However, that
 also seems like potential overkill, and less important than the basic
index c2de20a341a86c0ad6b1e41cbf2e3a79a7b3f9a4..cf28bec964b386e77b68094ce7f92df19b38bbd5 100644 (file)
@@ -1,5 +1,5 @@
 Might be nice to support automatically generating an index based on headers
 in a page, for long pages. This could be done as a sanitize hook that
-parsed the html, with a preprocessordirective that controlled it.
+parsed the html, with a directive that controlled it.
 
 [[todo/done]]
index c0af59eba54dc36924791da2dd59f4179be23f38..1542f39ae05e3377fc61369c3c200d6168a5c3f5 100644 (file)
@@ -7,7 +7,7 @@ which can't be made through the web interface:
 
 Of course in these cases, you can add your request to a discussion page
 and wait for someone with the access/confidence to apply them.
-Maybe this can be enhanced with a [[ikiwiki/PreprocessorDirective]]:
+Maybe this can be enhanced with a [[ikiwiki/Directive]]:
 
 <pre>
 \[[!suggest op=merge dstfile=trunk srcfile=branches/jk oldrev=1234 newrev=1342]]
index 4f3cf148bfda406fa7d81bce160ec1326004768f..3401bca85e945218f19830e2aded15b0762aceca 100644 (file)
@@ -209,7 +209,7 @@ Here is a potential documentation page:
 [[!template id=plugin name=progress author="[[Will]]"]]
 [[!tag type/meta]]
 
-Provides a \\[[!progress ]] [[ikiwiki/PreProcessorDirective]] that is
+Provides a \\[[!progress ]] [[ikiwiki/Directive]] that is
 replaced with a progress bar.
 
 There are two possible parameter sets.  The first is a single parameter
index 3f56a10e0c3979ec44ef62935d16b23c5958371b..f0138cb728538f95792c7994e8fc97b734767401 100644 (file)
@@ -18,7 +18,7 @@ A few pointers and I might be able to implement this myself. -- JamesWestby
 > Now, the description field currently defaults to the wiki name,
 > and that could indeed stand to be made configurable. Since the
 > current (svn) version of ikiwiki supports long, word-wrapped
-> blocks of text as parameters to [[ikiwiki/PreProcessorDirective]]s, seems
+> blocks of text as parameters to [[ikiwiki/Directive]]s, seems
 > to me the best way would be to simple modify inline.pm to make the
 > descripion configurable by such parameter, with a fallback to the
 > wiki name. You'll need to modify rsspage.tmpl to use whatever new
index 765c445ab438fa4eb2426ca862edd99d9edc8ae1..952e84608e4be06803ae265d22c46a555c53e7a3 100644 (file)
@@ -1,4 +1,4 @@
-[[plugins/shortcut]] creates link shortcut [[ikiwiki/PreprocessorDirective]]s,
+[[plugins/shortcut]] creates link shortcut [[ikiwiki/Directive]]s,
 which substitute their argument into the specified shortcut URL to generate
 the link target, and use the argument as the link text.  For example, given
 the example [[shortcuts]], `\[[!wikipedia ikiwiki]]` generates a link to
index a55a6614111e285be2d4133495e3c41925c0c207..06c06e19110f3f79c3f5c402d6483c76d267a2b0 100644 (file)
@@ -1,11 +1,11 @@
-Several [[ikiwiki/PreprocessorDirective]]s take ikiwiki-formatted text as arguments,
+Several [[ikiwiki/Directive]]s take ikiwiki-formatted text as arguments,
 such as the `then` and `else` arguments of the new `if` directive, or the
 `desc` argument of the `shortcut` directive.  However, smileys do not work in
 these arguments.
 
-Since the arguments to [[ikiwiki/PreprocessorDirective]]s might use the same syntax as
+Since the arguments to [[ikiwiki/Directive]]s might use the same syntax as
 smileys for a different meaning, smiley substitution should not happen until
-after [[ikiwiki/PreprocessorDirective]]s.
+after [[ikiwiki/Directive]]s.
 
 --[[JoshTriplett]]
 
diff --git a/underlays/basewiki/ikiwiki/directive.mdwn b/underlays/basewiki/ikiwiki/directive.mdwn
new file mode 120000 (symlink)
index 0000000..ba130b7
--- /dev/null
@@ -0,0 +1 @@
+../../../doc/ikiwiki/directive.mdwn
\ No newline at end of file
deleted file mode 120000 (symlink)
index 3ccd8c8b341c633461c76849c113b0aa74cea04b..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-../../../doc/ikiwiki/preprocessordirective.mdwn
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..bd12895cc5e25b534db3405ea163aa1dfde91b65
--- /dev/null
@@ -0,0 +1,7 @@
+[[!meta redir=ikiwiki/directive delay=10]]
+[[!meta robots="noindex, follow"]]
+
+This page has moved to
+[[ikiwiki/directive|ikiwiki/directive]]. Please
+update your links, as this redirection page will be removed in a future
+ikiwiki release.
index 842ebfb78866cbc00e1d417d8df41d3975839847..bd12895cc5e25b534db3405ea163aa1dfde91b65 100644 (file)
@@ -1,7 +1,7 @@
-[[!meta redir=ikiwiki/preprocessordirective delay=10]]
+[[!meta redir=ikiwiki/directive delay=10]]
 [[!meta robots="noindex, follow"]]
 
 This page has moved to
-[[ikiwiki/preprocessordirective|ikiwiki/preprocessordirective]]. Please
+[[ikiwiki/directive|ikiwiki/directive]]. Please
 update your links, as this redirection page will be removed in a future
 ikiwiki release.