jenkins-bot has submitted this change and it was merged.

Change subject: Load style for Parsoid output along with source RL module
......................................................................


Load style for Parsoid output along with source RL module

This allows us to just fetch the HTML body of the source article
instead of loading the full HTML with data unnecessary for CX.

Other than this style, CX internally applies some style modification
to fit the content in CX UI. For example, tables styles. We can club
all these content styles to a single ext.cx.content.style RL module
in the future. Now those style modifications are not properly organized.

Also see I1d5c1e0764f67

Change-Id: I3068ba6f108f11024f2811360734ebe02d2ce461
---
M Resources.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Amire80: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Resources.php b/Resources.php
index 61b2af2..fc8428e 100644
--- a/Resources.php
+++ b/Resources.php
@@ -187,6 +187,7 @@
                'mediawiki.jqueryMsg',
                'mediawiki.util',
                'ext.cx.widgets.spinner',
+               'mediawiki.skinning.content.parsoid',
        ),
        'messages' => array(
                'cx-source-view-page',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3068ba6f108f11024f2811360734ebe02d2ce461
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: Amire80 <amir.ahar...@mail.huji.ac.il>
Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to