inline: postform=no should take precedence over rootpage existing
authorSimon McVittie <smcv@debian.org>
Sun, 23 Feb 2014 16:03:44 +0000 (16:03 +0000)
committerSimon McVittie <smcv@debian.org>
Fri, 4 Jul 2014 22:23:42 +0000 (23:23 +0100)
commit0357ad66eaf739299db1df38bbddc289c561b034
tree4696bb391b3dd2c2019600636ca69d28c121b6ee
parent6d90e56c8dbb1e380f0e621305fd014767e9364b
inline: postform=no should take precedence over rootpage existing

If someone has explicitly disabled the postform, it seems reasonable
from a least-astonishment point of view for that to take precedence
over rootpage, even though that makes rootpage useless.

Also add a regression test; so far, this is all it tests.
IkiWiki/Plugin/inline.pm
t/inline.t [new file with mode: 0755]