01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

*[[http://www.wikitools.org][WikiTools]]*<br />

This will insert a link in bold lettering. After you save it, you will<br />

notice that <strong>the</strong> changes have been immediately adopted.<br />

Tip: In <strong>the</strong> template issued with <strong>the</strong> software, all entries are elements<br />

of a list. This is irrelevant to <strong>the</strong> display on <strong>the</strong> left side of <strong>the</strong> screen<br />

and can just as easily be left out.<br />

16.1.1<br />

<strong>Function</strong>al Elements<br />

The most important question that crops up with regard to creating<br />

your own layouts is about functional links. How can one access <strong>the</strong><br />

various views of a topic via links? You may have guessed that <strong>the</strong><br />

scripts in <strong>the</strong> bin directory play an important role. These scripts are<br />

accessed with <strong>the</strong> corresponding page as a parameter. For a few<br />

functions, <strong>the</strong>re are a few fur<strong>the</strong>r entries to be made. You will find a<br />

list of scripts and <strong>the</strong>ir functions in Tab. 16.1:<br />

Script <strong>Function</strong> Parameter<br />

view display � skin: Display of <strong>the</strong> page using a<br />

particular skin.<br />

� raw: “on” displays <strong>the</strong> source code,<br />

“debug” additionally shows <strong>the</strong> meta<br />

information.<br />

� topic: Name of <strong>the</strong> article to be displayed.<br />

edit edit � t: Displays <strong>the</strong> time at <strong>the</strong> start of<br />

editing.<br />

search search � scope: Area in which <strong>the</strong> search is to<br />

take place. Possible options are<br />

“topic” for a search of <strong>the</strong> title,<br />

“text” for a full text search and “all”<br />

for both.<br />

� search: The actual search string.<br />

rdiff revisions To show all old versions:<br />

� enter no parameters.<br />

To show old versions:<br />

� rev: number of revision to be displayed.<br />

Tab. 16.1<br />

16.1 Designing <strong>the</strong> Look �<br />

�<br />

�<br />

235

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!