]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/linktitle.mdwn
web commit by JoshTriplett
[ikiwiki.git] / doc / todo / linktitle.mdwn
diff --git a/doc/todo/linktitle.mdwn b/doc/todo/linktitle.mdwn
new file mode 100644 (file)
index 0000000..a133cc9
--- /dev/null
@@ -0,0 +1,14 @@
+Pages could have a `linktitle`, and [[wikilinks|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, [[PreprocessorDirective]] 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 [[preprocessordirective]] to use the link
+text "preprocessor directive", but [[PreprocessorDirective]] 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.
+--[[JoshTriplett]]