Add to OutputPage::headElement a OutputPageBodyAttrs hook for extensions and a bodyAt...
[lhc/web/wiklou.git] / includes / Skin.php
index 8fd1d73..0ccd2f1 100644 (file)
@@ -568,6 +568,15 @@ class Skin extends Linker {
 
                return "$numeric $type $name";
        }
+       
+       /**
+        * This will be called by OutputPage::headElement when it is creating the
+        * <body> tag, skins can override it if they have a need to add in any
+        * body attributes or classes of their own.
+        */
+       function bodyAttributes( $out, &$bodyAttrs ) {
+               // does nothing by default
+       }
 
        /**
         * URL to the logo