Doug wrote:
I have been tasked with making a print interface for MediaWiki. The user would select and article and specifiy how many internal links deep to print.
How can I do this?
I'd suggest repeatedly querying the links table in the database to get the list of (potential) articles to print.
I would strongly suggest a special page "in between", where above list is shown, and the user can (un)check the pages (s)he likes.
Then, generates a temporary article text, consisting of the following: <h1>title1</h1> {{:title1}}
<h1>title2</h1> {{:title2}}
and so forth. Then run it through the parser, return the page and JavaScript-run the print dialog.
My 2 cents.
Magnus