From 4f8d8ba01466c3c287d5f2a028a64b31ef0bc61d Mon Sep 17 00:00:00 2001 From: Platonides Date: Sat, 6 Nov 2010 18:52:32 +0000 Subject: [PATCH] Remove checks for debug mode and module count on every makeResourceLoaderLink() invocation. Moved inside makeResourceLoaderLink() The only difference would be having now 'user' and 'user.options' modules split on debug mode. --- includes/OutputPage.php | 70 +++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 4cfaa44961..f126655d89 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2294,7 +2294,14 @@ class OutputPage { return $ret; } - // TODO: Document + /** + * TODO: Document + * @param $skin Skin + * @param $modules Array/string with the module name + * @param $only string May be styles, messages or scripts + * @param $useESI boolean + * @return string html