jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/373682 )
Change subject: Hide MediaWiki's "Edit help" links which aren't relevant to
non-wikitext content
......................................................................
Hide MediaWiki's "Edit help" links which aren't relevant to non-wikitext content
Copied from WikiEditor.
Bug: T173715
Change-Id: If3234240ec8530dafd6cf0faaa2fba31e09e1a89
---
M modules/jquery.codeEditor.less
1 file changed, 9 insertions(+), 0 deletions(-)
Approvals:
Bartosz Dziewoński: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/jquery.codeEditor.less b/modules/jquery.codeEditor.less
index 66fcf0e..384a2b7 100644
--- a/modules/jquery.codeEditor.less
+++ b/modules/jquery.codeEditor.less
@@ -112,3 +112,12 @@
white-space: nowrap;
display: table-cell;
}
+
+/* Hide vanilla MediaWiki's "Editing help" link, as we provide it in the
toolbar */
+/* Copied from the same code in WikiEditor */
+.client-js .editButtons {
+ .editHelp,
+ .mw-editButtons-pipe-separator {
+ display: none;
+ }
+}
--
To view, visit https://gerrit.wikimedia.org/r/373682
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If3234240ec8530dafd6cf0faaa2fba31e09e1a89
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/CodeEditor
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>
Gerrit-Reviewer: TheDJ <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits