Home Features Demos Download Installation User Manual Developer Manual Relation function Credits

Anmelden

inc/functions/info.php

This is actually a collection of functions put in one file for laziness. The functions are used in Special:Info.

version() shows the version of Sofawiki

currentdate() shows the current date.

currentuser() shows the name of the current user.

currentskin() shows the current $skin value

currentname() shows the name of the current page (should be updated)

currenturl() shows the url of the current page

currentlanguage() shows the current $lang value

countpages() shows the number of current pages

countrevisions() shows the number of revisions

functions() returns a list of all installed functions

parsers() returns a list of all installed parsers

skins() returns a list of all installed skins

templates() returns a list of all installed templates

File structure inc folder inc/functions folder