From: Matthew Flaschen Date: Wed, 27 Feb 2013 06:09:26 +0000 (-0500) Subject: Improve documentation for OutputPage->addModuleStyles X-Git-Tag: 1.31.0-rc.0~20521^2 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=7d55a773f35277a68dddc92794e06732440dd7e4;p=lhc%2Fweb%2Fwiklou.git Improve documentation for OutputPage->addModuleStyles Change-Id: I56392cdb4e0d9fd5cac15ac947962364ae96381f --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 525fc24b7a..881689c754 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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 */