Bartosz Dziewo?ski has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/405992 )
Change subject: OutputPage: Make filterModules() public
......................................................................
OutputPage: Make filterModules() public
To make it easier for extensions to support 'safemode' parameter.
Example in VE: I7e9b61a5012a027c76aa6bdb22096d7391957913.
Bug: T185303
Change-Id: Ia1c1f7eef5af22925100ebe0a37a9a6ba0808fe5
---
M includes/OutputPage.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/92/405992/1
diff --git a/includes/OutputPage.php b/includes/OutputPage.php
index fc7fbf7..d9a4ebd 100644
--- a/includes/OutputPage.php
+++ b/includes/OutputPage.php
@@ -528,7 +528,7 @@
* @param string $type
* @return array
*/
- protected function filterModules( array $modules, $position = null,
+ public function filterModules( array $modules, $position = null,
$type = ResourceLoaderModule::TYPE_COMBINED
) {
$resourceLoader = $this->getResourceLoader();
--
To view, visit https://gerrit.wikimedia.org/r/405992
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1c1f7eef5af22925100ebe0a37a9a6ba0808fe5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewo?ski <matma.rex@gmail.com>
_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
Change subject: OutputPage: Make filterModules() public
......................................................................
OutputPage: Make filterModules() public
To make it easier for extensions to support 'safemode' parameter.
Example in VE: I7e9b61a5012a027c76aa6bdb22096d7391957913.
Bug: T185303
Change-Id: Ia1c1f7eef5af22925100ebe0a37a9a6ba0808fe5
---
M includes/OutputPage.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/92/405992/1
diff --git a/includes/OutputPage.php b/includes/OutputPage.php
index fc7fbf7..d9a4ebd 100644
--- a/includes/OutputPage.php
+++ b/includes/OutputPage.php
@@ -528,7 +528,7 @@
* @param string $type
* @return array
*/
- protected function filterModules( array $modules, $position = null,
+ public function filterModules( array $modules, $position = null,
$type = ResourceLoaderModule::TYPE_COMBINED
) {
$resourceLoader = $this->getResourceLoader();
--
To view, visit https://gerrit.wikimedia.org/r/405992
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1c1f7eef5af22925100ebe0a37a9a6ba0808fe5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewo?ski <matma.rex@gmail.com>
_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits