Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/161983

Change subject: Fix styles not showing up, and use addModuleStyles since it's 
only CSS
......................................................................

Fix styles not showing up, and use addModuleStyles since it's only CSS

Change-Id: Ia624e85c265740d39830e5095565f56ceeac2285
---
M SpecialCiteThisPage.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CiteThisPage 
refs/changes/83/161983/1

diff --git a/SpecialCiteThisPage.php b/SpecialCiteThisPage.php
index 85d5b14..7cf9331 100644
--- a/SpecialCiteThisPage.php
+++ b/SpecialCiteThisPage.php
@@ -123,7 +123,7 @@
                        }
                }
                $ret = $wgParser->parse( $msg, $this->mTitle, 
$this->mParserOptions, false, true, $this->getRevId() );
-               $wgOut->addModules( 'ext.specialCiteThisPage' );
+               $wgOut->addModuleStyles( 'ext.citeThisPage' );
 
                # Introduced in 1.24
                if( method_exists( $wgOut, 'addParserOutputContent' ) ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/161983
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia624e85c265740d39830e5095565f56ceeac2285
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CiteThisPage
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to