Manual:Skin.php/zh

细节
Encapsulates a "look and feel" for the wiki. All of the functions that render HTML or make choices on how to render HTML are here. They are called from various other places when needed.

The skin being used can be extracted from the nearest. Before 1.18  was used to get the skin object.

Modern skins extend the class, which in turn extends the Skin class.

函数

 * function outputPage called from function output in . It calls function out in OutputPage.php a number of times, to send the HTML to the user: $mBodytext and HTML before and after it.
 * function generateUserJs called from to generate the user specific JavaScript.
 * function generateUserStylesheet called from RawPage.php to generate the user specific stylesheet.