Improve documentation for OutputPage->addModuleStyles
authorMatthew Flaschen <mflaschen@wikimedia.org>
Wed, 27 Feb 2013 06:09:26 +0000 (01:09 -0500)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Wed, 27 Feb 2013 08:42:45 +0000 (03:42 -0500)
Change-Id: I56392cdb4e0d9fd5cac15ac947962364ae96381f

includes/OutputPage.php

index 525fc24..881689c 100644 (file)
@@ -521,9 +521,11 @@ class OutputPage extends ContextSource {
        }
 
        /**
-        * Add only CSS of one or more modules recognized by the resource loader. Module
-        * styles added through this function will be loaded by the resource loader when
-        * the page loads.
+        * Add only CSS of one or more modules recognized by the resource loader.
+        *
+        * Module styles added through this function will be added using standard link CSS
+        * tags, rather than as a combined Javascript and CSS package. Thus, they will
+        * load when JavaScript is disabled (unless CSS also happens to be disabled).
         *
         * @param $modules Mixed: module name (string) or array of module names
         */