[pmwiki-users] How to programmatically get a list of pages that link to Category.Category
tamouse.lists at gmail.com
Fri Aug 30 10:53:56 CDT 2013
On Aug 29, 2013, at 2:57 PM, Petko Yotov <5ko at 5ko.fr> wrote:
> Tamara Temple writes:
>> I'm working on some markup, and I need the list of pages that link to Category.Category. Is there a function to get that info, like I'd get it from (:pagelist link=Category.Category:) inside a wiki page?
> Sorry for the late reply. Inside a function called by a Markup() rule you can have:
No worries. :)
> $mylist = MakePageList($pagename, array('link'=>'Category.Category'));
> This returns more than the names, it is an array containing each page as an array with the page metadata - name, title, change summary, timestamp etc.
ta, Petko — this is precisely what I needed.
More information about the pmwiki-users