You can create a page variable $NumericName in config.php:

  $FmtPV['$NumericName'] = 'is_numeric($name)?"true":"false"';

Then in the pagelist:
  (:pagelist $NumericName=true trail=Group.RecentChanges:)

Petko
--
If you upgrade :  http://www.pmwiki.org/Upgrades


On 26/08/2019 01:54, ABClf wrote:
I need a pagelist limited to pages named with serial/numerical name
(1, 123, 166358, etc.)
As of now, my pagelist is like that :

(:pagelist trail=Group.RecentChanges
name=[0-9],[0-9][0-9],[0-9][0-9][0-9],[0-9][0-9][0-9][0-9] count=100:)

Does someone know a better way to write the name argument ? Something
in the spirit of this perhaps (this one doesn't work) : [numeric] ?

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to