Inez has uploaded a new change for review.
https://gerrit.wikimedia.org/r/67376
Change subject: For some reason we get text_bottom instead of text-bottom and
text_top instead of text-top.
......................................................................
For some reason we get text_bottom instead of text-bottom and text_top instead
of text-top.
This is a simple workaround, the source of the problem might me in pegtokenizer.
Change-Id: If42ba37086341cd96755aa6edeee8bdc80dd4bed
---
M js/lib/ext.core.LinkHandler.js
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid
refs/changes/76/67376/1
diff --git a/js/lib/ext.core.LinkHandler.js b/js/lib/ext.core.LinkHandler.js
index 843116f..813d460 100644
--- a/js/lib/ext.core.LinkHandler.js
+++ b/js/lib/ext.core.LinkHandler.js
@@ -433,6 +433,7 @@
wrapperClasses.push( 'mw-valign-top' );
break;
+ case 'text_top':
case 'text-top':
wrapperClasses.push( 'mw-valign-text-top' );
break;
@@ -441,6 +442,7 @@
wrapperClasses.push( 'mw-valign-bottom' );
break;
+ case 'text_bottom':
case 'text-bottom':
wrapperClasses.push( 'mw-valign-text-bottom' );
break;
--
To view, visit https://gerrit.wikimedia.org/r/67376
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If42ba37086341cd96755aa6edeee8bdc80dd4bed
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Inez <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits