Bartosz Dziewoński has uploaded a new change for review.
https://gerrit.wikimedia.org/r/87627
Change subject: Add .mw-editsection-like class, behavior same as .mw-editsection
......................................................................
Add .mw-editsection-like class, behavior same as .mw-editsection
The styling is neat and can be used for other purposes on-wiki
(examples include the {{Documentation}} template on the English
Wikipedia and the index of biographies at the Polish Wikipedia at
[[Wikipedia:Indeks biografii]]).
Since .mw-editsection is often used by scripts enhancing the links
(including VisualEditor and many gadgets) using it for other things
might cause unexpected behavior. Existing uses can now be easily
swapped for .mw-editsection-like.
Change-Id: Ic390c3047e5e6fd3a351d0ec1ca94ebef9367f6d
---
M skins/common/commonPrint.css
M skins/common/shared.css
M skins/modern/print.css
3 files changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/27/87627/1
diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css
index 5862877..c7804a0 100644
--- a/skins/common/commonPrint.css
+++ b/skins/common/commonPrint.css
@@ -112,6 +112,7 @@
div#column-one,
#colophon,
.mw-editsection,
+.mw-editsection-like,
.toctoggle,
.tochidden,
div#f-poweredbyico,
diff --git a/skins/common/shared.css b/skins/common/shared.css
index 0118d20..c01f95c 100644
--- a/skins/common/shared.css
+++ b/skins/common/shared.css
@@ -1179,7 +1179,8 @@
}
/* Display editsection links smaller and next to headings */
-.mw-editsection {
+.mw-editsection,
+.mw-editsection-like {
font-size: small;
font-weight: normal;
margin-left: 1em;
diff --git a/skins/modern/print.css b/skins/modern/print.css
index e97bbdb..150d2d2 100644
--- a/skins/modern/print.css
+++ b/skins/modern/print.css
@@ -4,6 +4,7 @@
#jump-to-nav,
#footer,
.mw-editsection,
+.mw-editsection-like,
.noprint {
display: none;
}
--
To view, visit https://gerrit.wikimedia.org/r/87627
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic390c3047e5e6fd3a351d0ec1ca94ebef9367f6d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits