From 7d55a773f35277a68dddc92794e06732440dd7e4 Mon Sep 17 00:00:00 2001 From: Matthew Flaschen Date: Wed, 27 Feb 2013 01:09:26 -0500 Subject: [PATCH] Improve documentation for OutputPage->addModuleStyles Change-Id: I56392cdb4e0d9fd5cac15ac947962364ae96381f --- includes/OutputPage.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 */ -- 2.20.1