Admin Forum:Function that displays blog posts by age?

Forums: Admin Central Index → Technical Help → Function that displays blog posts by age? Wikia's forums are a place for the community to help other members. To contact staff directly or to report bugs, please use Special:Contact.

Is there a function for blog posts that can display posts by age similar to Special:AncientPages for main space content? I don't see one but I'm wondering if there is a way to do this. Broken Sphere (Talk) 19:40, June 6, 2012 (UTC)

I don't think so. You could go to "Recent Blog Posts" and they will be displayed from new to old. Bomb 20:12, June 6, 2012 (UTC)

This seems to be capped at 500 and having the filter to show blog posts only and playing with the numbers in the URL to try and display more than doesn't seem to work. Broken Sphere (Talk) 16:19, June 7, 2012 (UTC) You could just use a DPL statement in which you set namespace=500 and ordermethod=firstedit.

For instance, the following will give you the first ten uses of the blog namespace on this wiki: namespace=500 ordermethod=firstedit count=10 titlematch=%/% allowcachedresults=true namespace=500 ordermethod=firstedit count=10 titlematch=%/% allowcachedresults=true

The titlematch parameter does something nice 'n' fun. It looks for only those page titles which have a slash in them. This means it only looks for subpages, which conforms to the syntax for blog articles. If you didn't have this line, then it would throw up everything in the user blog namespace, including the base page. It's probably not that useful to have base page aterations, since this happens just by creating one's first blog post.

Additionally, if you wanted to hide the namespace — e.g., User blog: — you would just add the line shownamespace=false.

Incidentally, allowcachedresults=true is not specific to this problem, but just sort of a "best practices" thing with DPL. It reduces server load by just looking at the cached results. Since you're talking about ancient blog posts anyway, it's unlikely they'll be any different in the cache than they are "live", so you might as well reduce server load where possible. 23:25: Wed 13 Jun 2012