Extension:PageFunctions

Purpose
Provides a 'magic word' interface to retrieve useful page level information.

Features

 * Page Title change '#pagetitle'
 * Page Sub-title change '#pagesubtitle'
 * Page existence check '#pageexists'
 * Page scope variable set '#varset'
 * Page scope variable get '#varget'
 * Page scope variable set & capture '#varcapset'
 * Wikitext conditional 'show'
 * Hook based variable get and set
 * Client side page caching control
 * Return the url required to view an image imgviewurl

Usage

 * Where 'group' is the user's group membership check to perform
 * Where 'group' is the user's group membership check to perform
 * Where 'group' is the user's group membership check to perform
 * Where 'group' is the user's group membership check to perform
 * Where 'group' is the user's group membership check to perform
 * Where 'group' is the user's group membership check to perform
 * Where 'group' is the user's group membership check to perform
 * Where 'group' is the user's group membership check to perform
 * Where 'group' is the user's group membership check to perform
 * Where 'group' is the user's group membership check to perform


 * (no dot add the prefix Image:)

(($disable$))

Of course, the same magic words can be used in the context of 'ParserCache2' i.e.
 * (($#pagetitle: new title name$))
 * (($#pagesubtitle: text to be added to the page's subtitle $))
 * (($#pageexists: 'article title' $))
 * (($#varset:variable name|value $))
 * (($#varget:variable name $))
 * (($#varaset:variable name|array key|array value$))
 * (($#varaget:variable name|array key$))
 * (($#varcapset:variable name|value$))
 * (($#cshow:group|text$))
 * (($noclientcaching$))

DEPENDENCIES

 * Extension:StubManager extension
 * Extension:ParserPhase2 extension (optional)

HISTORY

 * Adjusted singleton invocation to accomodate more PHP versions
 * Added hook 'PageVarGet'
 * Added hook 'PageVarSet'
 * Added 'noclientcaching' magic word
 * Added 'noext' magic word

1.1.0

 * Added functionality to enable proper page title clearing

1.2.0

 * Added 'imgviewurl' parser function