Jump to content

User:Robbiemuffin/Contents Ideas

From Wikibooks, open books for an open world

The idea behind this contents listing is that it lists the contents under a given index. So you can pass it _bookname_/Contents/ and all contents pages after that will automatically populate your contents list. The downside is, right now at least, those pages all must keep their page names .. _bookname_/Contents/_actual page name_ ... which is none too pretty.

{{#vardefine:a|b}} {{#var:a}} {{#regex:Robbiemuffin/Contents Ideas|%^.*/(.*)$%|$1}} Jimbo's regex parser functions extension could fix this. But wikimedia it not very interested in things that run O(n*m) or more.  :)