Thread:Extension talk:Scribunto/Retrieving N latest category members/reply (3)

The default sorting is by timestamp of addition to category in descending order, which is already what you need. To get the last 10 pages added, use the  parameter. If you'd like to get the pages added after a given point in time, there is currently no direct support for this - you can get all pages in the category and filter the result set on Lua level (which is obviously inefficient), or you write an additional feature in php for that.

To retrieve the timestamp of addition to the category, use the  item in the arrays returned by.

As far as I know, CategoryTree does not have a Lua interface so far. Since Lua is a rather new feature in MediaWiki, the vast majority of existing extensions does not offer any such support.