[Mediawiki-l] subpages list

FxParlant f-x.p at laposte.net
Sun Apr 2 08:56:38 UTC 2006


Thank your very much dear Mutante,

I don't know why, I expected a very complex query with a lot of aliases
between multiple tables.
So now I've got to find how to hack the code which displays the "uppage"
to make also show the subpages.

Thanks again
François


Mutante wrote:
> FxParlant wrote:
>> Hello,
>>
>> Has anybody seen an extension or a trick to list the subpages of a page.
>>   I would like to show the list of a subpages 
> 
> Try this on the mysql console:
> 
> mysql> select page_title from page where page_title LIKE "SomePage%";
> 
> If you use something like this in your own extension, you could create a
> <subpage>SomePage</subpage> tag which returns the list of subpages and
> put that into a template.
> 




More information about the MediaWiki-l mailing list