Extension:PageServer

Purpose
Provides:
 * Page loading facility to other extensions
 * Parser functions (#mwmsg, #mwmsgx) and services to other extensions ( 'loadAndParse' )

Features

 * Page loading hook: page_server
 * Page loading from (in priority):
 * Parser Cache
 * Database
 * PEAR directory (/$pear/MediaWiki)
 * MediaWiki extensions directory in local installation
 * Page loading parser function: #load_page
 * On-demand loading of wiki page from filesystem
 * Optional parsing (with the MediaWiki parser) of the wiki page
 * All stock & extended functionality (i.e. through parser functions, parser tags) available during parsing phase
 * Parser functions:
 * #mwmsg   ( 'MediaWiki Message' )
 * #mwmsgx  ( 'MediaWiki Message with parameters' )

Parser Functions
including up to 4 parameters (i.e. the $n parameters when using 'wfMsgForContent' global function)
 * will output the raw message from the message cache
 * will output the parsed message from the message cache

Server to other extensions

 * Use  where XYZ is the desired function name.
 * Use wfRunHooks: page_server

Dependency

 * Extension:StubManager