The latter has more features. There is a third extension, Extension:DynamicPageListEngine, which makes dynamic page lists available to Scribunto modules. It is compatible with the former and covers many features of the latter.