Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/74571
Change subject: Hide upload and edit for non JavaScript users
......................................................................
Hide upload and edit for non JavaScript users
Bug: 51414
Change-Id: I797fbdf2c8922f1bee4c887f7025dee9b9a01185
---
M less/common/pageactions.less
M stylesheets/common/pageactions.css
2 files changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/71/74571/1
diff --git a/less/common/pageactions.less b/less/common/pageactions.less
index aa97dbc..db1763b 100644
--- a/less/common/pageactions.less
+++ b/less/common/pageactions.less
@@ -4,6 +4,8 @@
.stable #ca-talk,
// hide menu items when not possible to use
.client-nojs #ca-watch.cta,
+.client-nojs #ca-edit,
+.client-nojs #ca-upload,
#ca-talk.selected {
display: none;
}
diff --git a/stylesheets/common/pageactions.css
b/stylesheets/common/pageactions.css
index 2bd4fd7..8031ea8 100644
--- a/stylesheets/common/pageactions.css
+++ b/stylesheets/common/pageactions.css
@@ -7,6 +7,8 @@
*/
.stable #ca-talk,
.client-nojs #ca-watch.cta,
+.client-nojs #ca-edit,
+.client-nojs #ca-upload,
#ca-talk.selected {
display: none;
}
--
To view, visit https://gerrit.wikimedia.org/r/74571
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I797fbdf2c8922f1bee4c887f7025dee9b9a01185
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits