Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into cvs
[git.ikiwiki.info.git]
/
doc
/
todo
/
turn_edittemplate_verbosity_off_by_default.mdwn
diff --git
a/doc/todo/turn_edittemplate_verbosity_off_by_default.mdwn
b/doc/todo/turn_edittemplate_verbosity_off_by_default.mdwn
index 4c703b940402de9067a1cadb2fdae18f41542273..14bb437824f802e3c2832b74f7b72d810d256daf 100644
(file)
--- a/
doc/todo/turn_edittemplate_verbosity_off_by_default.mdwn
+++ b/
doc/todo/turn_edittemplate_verbosity_off_by_default.mdwn
@@
-8,7
+8,7
@@
I think this (untested) patch might just do the trick:
--- a/IkiWiki/Plugin/edittemplate.pm
+++ b/IkiWiki/Plugin/edittemplate.pm
--- a/IkiWiki/Plugin/edittemplate.pm
+++ b/IkiWiki/Plugin/edittemplate.pm
- @@ -46,8 +46,13 @@ sub preprocess (@) {
#{{{
+ @@ -46,8 +46,13 @@ sub preprocess (@) {
$pagestate{$params{page}}{edittemplate}{$params{match}}=$params{template};
$pagestate{$params{page}}{edittemplate}{$params{match}}=$params{template};
@@
-21,10
+21,14
@@
I think this (untested) patch might just do the trick:
+ else {
+ return '';
+ }
+ else {
+ return '';
+ }
- }
# }}}
+ }
- sub formbuilder (@) {
#{{{
+ sub formbuilder (@) {
--[[madduck]]
[[!tags wishlist patch]]
--[[madduck]]
[[!tags wishlist patch]]
+
+[[done]], though the patch I eventually applied uses "silent" as the
+parameter name. Sorry for forgetting about this patch until someone else
+implemented it too. --[[Joey]]