[Mediawiki-l] subpages list
Joshua Yeidel
yeidel at wsu.edu
Mon Apr 3 19:21:46 UTC 2006
A small point: wouldn't you want to include the forward slash in the query,
to avoid hits for pages which coincidentally begin with "SomePage", but are
not actually subpages?
mysql> select page_title from page where page_title LIKE "SomePage/%";
-- Joshua
On 4/1/06 11:25 AM, "Mutante" <mutante at s23.org> 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