From 1a4c6b5fcf0fa36d0368c8294c7629c850dab676 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Mon, 3 Nov 2008 01:33:33 +0100 Subject: notes and wiki-gardening about pagetitle vs. meta title Signed-off-by: intrigeri --- doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/bugs') diff --git a/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn b/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn index a30ab0fa3..77c86eba1 100644 --- a/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn +++ b/doc/bugs/pagetitle_function_does_not_respect_meta_titles.mdwn @@ -1,3 +1,12 @@ The `IkiWiki::pagetitle` function does not respect title changes via `meta.title`. It really should, so that links rendered with `htmllink` get the proper title in the link text. --[[madduck]] + +> Agreed. [[todo/using_meta_titles_for_parentlinks]] contains a beginning of +> solution. A few quick notes about it: + +> - Using inline would avoid the redefinition + code duplication. +> - A few plugins would need to be upgraded. +> - It may be necessary to adapt the testsuite in `t/pagetitle.t`, as well. + +> --[[intrigeri]] -- cgit v1.2.3 From d0c2f1b44d926096beeea0469019eade4d1fb5a2 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 4 Nov 2008 11:18:37 +0100 Subject: Bug in the txt plugin. --- ...txt_plugin_having_problems_with_meta_directives.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/bugs/txt_plugin_having_problems_with_meta_directives.mdwn (limited to 'doc/bugs') diff --git a/doc/bugs/txt_plugin_having_problems_with_meta_directives.mdwn b/doc/bugs/txt_plugin_having_problems_with_meta_directives.mdwn new file mode 100644 index 000000000..07fce5002 --- /dev/null +++ b/doc/bugs/txt_plugin_having_problems_with_meta_directives.mdwn @@ -0,0 +1,17 @@ +When applying my usual copyright and licensing header to a [[plugins/txt]] +page, garbled output is created. + +Here is the header: + + \[[meta copyright="Copyright © 2001, 2002, 2003, 2004, 2005, 2008 Free + Software Foundation, Inc."]] + + \[[meta license="""\[[toggle id="license" text="GFDL 1.2+"]]\[[toggleable + id="license" text="Permission is granted to copy, distribute and/or modify + this document under the terms of the GNU Free Documentation License, + Version 1.2 or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled + \[[GNU_Free_Documentation_License|/fdl]]."]]"""]] + +--[[tschwinge]] -- cgit v1.2.3 From c67c35e8971886adb07fbe8d7c9db8a022be1756 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 4 Nov 2008 11:22:30 +0100 Subject: Undo too much quoting. --- doc/bugs/txt_plugin_having_problems_with_meta_directives.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/bugs') diff --git a/doc/bugs/txt_plugin_having_problems_with_meta_directives.mdwn b/doc/bugs/txt_plugin_having_problems_with_meta_directives.mdwn index 07fce5002..d2d5a46ed 100644 --- a/doc/bugs/txt_plugin_having_problems_with_meta_directives.mdwn +++ b/doc/bugs/txt_plugin_having_problems_with_meta_directives.mdwn @@ -6,12 +6,12 @@ Here is the header: \[[meta copyright="Copyright © 2001, 2002, 2003, 2004, 2005, 2008 Free Software Foundation, Inc."]] - \[[meta license="""\[[toggle id="license" text="GFDL 1.2+"]]\[[toggleable + \[[meta license="""[[toggle id="license" text="GFDL 1.2+"]][[toggleable id="license" text="Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled - \[[GNU_Free_Documentation_License|/fdl]]."]]"""]] + [[GNU_Free_Documentation_License|/fdl]]."]]"""]] --[[tschwinge]] -- cgit v1.2.3