X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a63929f6cc7778ffc4ba57d784cdf2206ec650c7..837b04759c0895d6341a6a51fc05be1c3e5ef2ca:/IkiWiki/Setup.pm diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm index b21bd7bfe..a3fd5ce66 100644 --- a/IkiWiki/Setup.pm +++ b/IkiWiki/Setup.pm @@ -103,7 +103,7 @@ sub getsetup () { # hashref between array and hash) my %s=@s; if (! exists $s{plugin} || ! $s{plugin}->{section}) { - $s{plugin}->{section}="misc"; + $s{plugin}->{section}="other"; } # only the selected rcs plugin is included @@ -121,9 +121,11 @@ sub getsetup () { $config{syslog}=$syslog; return map { sort { $a->[0] cmp $b->[0] } @{$sections{$_}} } - sort { # core first, then alphabetical + sort { # core first, other last, otherwise alphabetical ($b eq "core") <=> ($a eq "core") || + ($a eq "other") <=> ($b eq "other") + || $a cmp $b } keys %sections; }