X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/a63929f6cc7778ffc4ba57d784cdf2206ec650c7..2ad3e60ee8272b7cccfd83ae02d5b45e2cec003d:/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; }