From 2ace1260fb45f393c9f7faf3a77561b1ecfcd8cd Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 13 Aug 2011 17:27:35 +0000 Subject: [PATCH] (bug 26283) Previewing user JS/CSS pages doesn't load other user JS/CSS pages --- RELEASE-NOTES-1.19 | 1 + includes/OutputPage.php | 31 ++++++++++++++----- .../ResourceLoaderUserModule.php | 11 ++++++- 3 files changed, 34 insertions(+), 9 deletions(-) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 17239765a0..3c994bf1ac 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -44,6 +44,7 @@ production. * (bug 30264) Changed installer-generated LocalSettings.php to use require_once() instead require() for included extensions. * Do not convert text in the user interface language to another script. +* (bug 26283) Previewing user JS/CSS pages doesn't load other user JS/CSS pages === API changes in 1.19 === * (bug 19838) siprop=interwikimap can now use the interwiki cache. diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 2f705e583a..75272a2f86 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2347,19 +2347,20 @@ $templates /** * TODO: Document - * @param $modules Array/string with the module name + * @param $modules Array/string with the module name(s) * @param $only String ResourceLoaderModule TYPE_ class constant * @param $useESI boolean + * @param $extraQuery Array with extra query parameters to add to each request. array( param => value ) * @return string html