Manual:Hooks/BeforePageDisplay

Details

 * This hook was in SkinTemplate.php until version 1.12.0


 * $out - The OutputPage object.
 * $skin - Skin object that will be used to generate the page, added in 1.13.

Usage
Scripts, styles, and other header elements can be added to the OutputObject at this point.


 * - Add a  tag.
 * - Add a keyword for the keyword  tag.

For adding scripts and styles on MediaWiki 1.17 and above, use ResourceLoader modules.
 * - For modules with both scripts and styles
 * - For modules with styles only