fix wiki page 'recent' sort
Looks good I'll merge
fix wiki page 'recent' sort
fixed on db/8540 there aren't any tests, and I didn't add any. But you can test manualyl: create just 4 or 5 wiki pages and then go Browse Pages, then click on the sort options. Then add &limit=2 to the URL to force small page sizes to see the problem & verify the fix.
[#8540] wiki pages' recent sort by mod_date; simplify code
fix wiki page 'recent' sort