summaryrefslogtreecommitdiffstats
path: root/wiki/src/news.html
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-12-28 17:50:47 +0000
committerintrigeri <intrigeri@boum.org>2016-12-28 18:22:44 +0000
commit29d3d41b8d4ca7680e2074c0988c9710d44be20f (patch)
tree787874e524cda29f2394172ee275daff03efb822 /wiki/src/news.html
parent8044f99f7632f0bff87cee7f4dad37efba1fec06 (diff)
Website: explicitly add sort="age" to all inline directives I can easily & mechanically patch (refs: #12053).
A serious performance regression was brought by ikiwiki 3.20150614. One of the few changes introduced in that release was to change the default sorting, for inline directives, from "age" to "age title". Presumably the latter is substantially slower, possibly since it has to process the *content* of all included pages in order to retrieve their title, which may mean that a subset of pages are processed more than once.
Diffstat (limited to 'wiki/src/news.html')
-rw-r--r--wiki/src/news.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiki/src/news.html b/wiki/src/news.html
index 9ea2b7a..c0b858b 100644
--- a/wiki/src/news.html
+++ b/wiki/src/news.html
@@ -18,6 +18,6 @@
</ul>
-[[!inline pages="page(news/*) and !news/*/* and !news/discussion and (currentlang() or news/report_2* or news/version_0* or news/test_0* or news/test_*-rc?)" show="10"]]
+[[!inline pages="page(news/*) and !news/*/* and !news/discussion and (currentlang() or news/report_2* or news/version_0* or news/test_0* or news/test_*-rc?)" show="10" sort="age"]]
[[!inline pages="page(news/*) and !news/*/* and !news/discussion and (currentlang() or news/report_2* or news/version_0* or news/test_0* or news/test_*-rc?) and tagged(announce)"
-show="10" feeds="yes" feedonly="yes" feedfile="emails"]]
+show="10" feeds="yes" feedonly="yes" feedfile="emails" sort="age"]]