Jforrester has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/373682 )

Change subject: Hides MediaWiki's "'Edit help'" links which aren't relevant to 
non-wikitext content
......................................................................

Hides 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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CodeEditor 
refs/changes/82/373682/1

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: newchange
Gerrit-Change-Id: If3234240ec8530dafd6cf0faaa2fba31e09e1a89
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CodeEditor
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>

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

Reply via email to