jenkins-bot has submitted this change and it was merged. Change subject: Add educational prefix to all less files ......................................................................
Add educational prefix to all less files It can be confusing that we auto generate CSS files from LESS files - let's make this clearer to our development community Change-Id: I7782f9624e0dc9d12bd7b7fdf27803020cbae4b6 --- M less/common/ui.less M less/mf-variables.less M less/modules/editor.less M less/specials/userlogin.less M stylesheets/actions/mf-history.css M stylesheets/common/common-js.css M stylesheets/common/drawer.css M stylesheets/common/mf-common.css M stylesheets/common/mf-enwp.css M stylesheets/common/mf-footer.css M stylesheets/common/mf-navigation.css M stylesheets/common/mf-typography.css M stylesheets/common/notifications.css M stylesheets/common/overlays.css M stylesheets/common/pageactions.css M stylesheets/common/pagelist.css M stylesheets/common/ui.css M stylesheets/common/user.css M stylesheets/modules/editor.css M stylesheets/modules/languages.css M stylesheets/modules/mf-cleanuptemplates.css M stylesheets/modules/mf-photo.css M stylesheets/modules/mf-random.css M stylesheets/modules/mf-search.css M stylesheets/modules/mf-tables.css M stylesheets/modules/mf-toggle.css M stylesheets/modules/mf-watchstar.css M stylesheets/modules/talk.css M stylesheets/specials/mobilediff.css M stylesheets/specials/mobileoptions.css M stylesheets/specials/nearby.css M stylesheets/specials/notifications.css M stylesheets/specials/search.css M stylesheets/specials/uploads.css M stylesheets/specials/userlogin.css M stylesheets/specials/watchlist.css 36 files changed, 235 insertions(+), 3 deletions(-) Approvals: JGonera: Looks good to me, approved jenkins-bot: Verified diff --git a/less/common/ui.less b/less/common/ui.less index 0be531f..12b6162 100644 --- a/less/common/ui.less +++ b/less/common/ui.less @@ -1,4 +1,3 @@ -@import "../mf-mixins.less"; @import "mf-buttons.less"; @import 'mainmenu.less'; diff --git a/less/mf-variables.less b/less/mf-variables.less index 1555671..9badc3a 100644 --- a/less/mf-variables.less +++ b/less/mf-variables.less @@ -47,3 +47,14 @@ // calculated colors @searchBoxColorTo: darken( @searchBoxColor, 2.75% ); + +// Note since this file is automatically included in all pages +// it is a handy way to avoid the situation where developers unfamiliar with our codebase +// edit the css file rather than the less file. +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ diff --git a/less/modules/editor.less b/less/modules/editor.less index b17352e..0d52e40 100644 --- a/less/modules/editor.less +++ b/less/modules/editor.less @@ -1,4 +1,3 @@ -@import "../mf-variables.less"; @import "../mf-mixins.less"; .section_heading { diff --git a/less/specials/userlogin.less b/less/specials/userlogin.less index 045cce4..02cc555 100644 --- a/less/specials/userlogin.less +++ b/less/specials/userlogin.less @@ -1,4 +1,3 @@ -@import "../mf-variables.less"; @import "../mf-mixins.less"; .overlay { diff --git a/stylesheets/actions/mf-history.css b/stylesheets/actions/mf-history.css index fbb2110..45eff68 100644 --- a/stylesheets/actions/mf-history.css +++ b/stylesheets/actions/mf-history.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ #mw-history-search select.mw-month-selector, #mw-history-search label { display: block; diff --git a/stylesheets/common/common-js.css b/stylesheets/common/common-js.css index c0277e2..673e78d 100644 --- a/stylesheets/common/common-js.css +++ b/stylesheets/common/common-js.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .loading { background-image: url(images/ajax-loader.gif); min-height: 56px; diff --git a/stylesheets/common/drawer.css b/stylesheets/common/drawer.css index 08d753a..d8682d2 100644 --- a/stylesheets/common/drawer.css +++ b/stylesheets/common/drawer.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .drawer { text-align: center; padding: 0 0 1em; diff --git a/stylesheets/common/mf-common.css b/stylesheets/common/mf-common.css index 360bbbb..2e3e38b 100644 --- a/stylesheets/common/mf-common.css +++ b/stylesheets/common/mf-common.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .mw-mf-image-replacement { font-style: italic; color: #706E6E; diff --git a/stylesheets/common/mf-enwp.css b/stylesheets/common/mf-enwp.css index 708d9f4..789c3ee 100644 --- a/stylesheets/common/mf-enwp.css +++ b/stylesheets/common/mf-enwp.css @@ -4,6 +4,13 @@ IMPORTANT: do not use selectors containing attribute notation e.g. [style] [colspan] as they are known to damage the ios app */ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ #content table.ambox { display: none; } diff --git a/stylesheets/common/mf-footer.css b/stylesheets/common/mf-footer.css index 4d0c6a7..3a6ff08 100644 --- a/stylesheets/common/mf-footer.css +++ b/stylesheets/common/mf-footer.css @@ -2,6 +2,13 @@ initially moved from beta_common.css in Change-Id: I48bcdc43e72f2a9b60e6d1bfe877d79ad80b6d5d */ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ #footer { padding: 2em 23px 1.5em 23px; margin: 2em 0 0; diff --git a/stylesheets/common/mf-navigation.css b/stylesheets/common/mf-navigation.css index 683daa8..c617f95 100644 --- a/stylesheets/common/mf-navigation.css +++ b/stylesheets/common/mf-navigation.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ #mw-mf-menu-page { right: 0; list-style: none; diff --git a/stylesheets/common/mf-typography.css b/stylesheets/common/mf-typography.css index 1fa3078..7011712 100644 --- a/stylesheets/common/mf-typography.css +++ b/stylesheets/common/mf-typography.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ html { /* prevent font scaling in landscape in Safari */ diff --git a/stylesheets/common/notifications.css b/stylesheets/common/notifications.css index 2e93776..aa4c862 100644 --- a/stylesheets/common/notifications.css +++ b/stylesheets/common/notifications.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ #notifications { height: 0; position: absolute; diff --git a/stylesheets/common/overlays.css b/stylesheets/common/overlays.css index b7c1513..d2c4350 100644 --- a/stylesheets/common/overlays.css +++ b/stylesheets/common/overlays.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .overlay ul { text-align: left; left: 0; diff --git a/stylesheets/common/pageactions.css b/stylesheets/common/pageactions.css index 6029c1f..8021a8e 100644 --- a/stylesheets/common/pageactions.css +++ b/stylesheets/common/pageactions.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .client-nojs #ca-watch.cta, #ca-talk.selected { display: none; diff --git a/stylesheets/common/pagelist.css b/stylesheets/common/pagelist.css index 6fdc25b..175140a 100644 --- a/stylesheets/common/pagelist.css +++ b/stylesheets/common/pagelist.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .listThumb { background-repeat: no-repeat; background-position: center center; diff --git a/stylesheets/common/ui.css b/stylesheets/common/ui.css index e041cc4..91acfaa 100644 --- a/stylesheets/common/ui.css +++ b/stylesheets/common/ui.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ /* reuses https://github.com/wikimedia/agora */ button { border: none; diff --git a/stylesheets/common/user.css b/stylesheets/common/user.css index aaea7cf..c504d1a 100644 --- a/stylesheets/common/user.css +++ b/stylesheets/common/user.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ #user-button { right: 0; background: url(images/user.png) 50% 50% no-repeat; diff --git a/stylesheets/modules/editor.css b/stylesheets/modules/editor.css index 022d351..1a0222f 100644 --- a/stylesheets/modules/editor.css +++ b/stylesheets/modules/editor.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .section_heading .edit-page { float: right; margin: 0 30px 0 0; diff --git a/stylesheets/modules/languages.css b/stylesheets/modules/languages.css index 38ba572..ff0aa85 100644 --- a/stylesheets/modules/languages.css +++ b/stylesheets/modules/languages.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ button.languageSelector { margin-top: 14pt; } diff --git a/stylesheets/modules/mf-cleanuptemplates.css b/stylesheets/modules/mf-cleanuptemplates.css index 97e4a49..2e1b174 100644 --- a/stylesheets/modules/mf-cleanuptemplates.css +++ b/stylesheets/modules/mf-cleanuptemplates.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ a.mw-mf-cleanup { display: block; padding: 10px 15px 10px 44px; diff --git a/stylesheets/modules/mf-photo.css b/stylesheets/modules/mf-photo.css index 55a65ff..8985b4a 100644 --- a/stylesheets/modules/mf-photo.css +++ b/stylesheets/modules/mf-photo.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .button.photo { position: relative; display: table; diff --git a/stylesheets/modules/mf-random.css b/stylesheets/modules/mf-random.css index 5dcfe09..db9a7b2 100644 --- a/stylesheets/modules/mf-random.css +++ b/stylesheets/modules/mf-random.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .mw-mf-confirm-random { margin-left: 30px; margin-bottom: 10px; diff --git a/stylesheets/modules/mf-search.css b/stylesheets/modules/mf-search.css index 24e7a3f..d76cfb9 100644 --- a/stylesheets/modules/mf-search.css +++ b/stylesheets/modules/mf-search.css @@ -2,6 +2,13 @@ moved from beta_common.css in Change-Id: Id7715a83f8dc42cbdb23d8cbf982801606236f7c */ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ input.search { /* visual indication that search is happening */ diff --git a/stylesheets/modules/mf-tables.css b/stylesheets/modules/mf-tables.css index 246f21d..f2ec399 100644 --- a/stylesheets/modules/mf-tables.css +++ b/stylesheets/modules/mf-tables.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .mw-mf-overlay .tableContent > table { box-shadow: -4px 10px 10px -1px #aaaaaa; } diff --git a/stylesheets/modules/mf-toggle.css b/stylesheets/modules/mf-toggle.css index c9829a1..12957af 100644 --- a/stylesheets/modules/mf-toggle.css +++ b/stylesheets/modules/mf-toggle.css @@ -2,6 +2,13 @@ moved from beta_common.css in Change-Id: I683d029d09340a460b02016c5c4fbd6ada5a9b35 */ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .content_block { width: 100%; } diff --git a/stylesheets/modules/mf-watchstar.css b/stylesheets/modules/mf-watchstar.css index a8c7a0b..0c0f33c 100644 --- a/stylesheets/modules/mf-watchstar.css +++ b/stylesheets/modules/mf-watchstar.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ a.watch-this-article.loading { background-image: url(../common/images/ajax-loader.gif); min-height: 0; diff --git a/stylesheets/modules/talk.css b/stylesheets/modules/talk.css index 3f481c5..8a8db7c 100644 --- a/stylesheets/modules/talk.css +++ b/stylesheets/modules/talk.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .alpha #page-actions #ca-talk.count a { text-indent: 0; text-align: center; diff --git a/stylesheets/specials/mobilediff.css b/stylesheets/specials/mobilediff.css index df990f8..6713fa7 100644 --- a/stylesheets/specials/mobilediff.css +++ b/stylesheets/specials/mobilediff.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ #mw-mf-diffview h2 { font: inherit; margin: 0; diff --git a/stylesheets/specials/mobileoptions.css b/stylesheets/specials/mobileoptions.css index fe62c56..27acfbb 100644 --- a/stylesheets/specials/mobileoptions.css +++ b/stylesheets/specials/mobileoptions.css @@ -2,6 +2,13 @@ SETTINGS PAGE based on http://acidmartin.wordpress.com/2011/06/18/css3-iphone-toggle-buttons/ */ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ /* variables */ /* mixins */ /* styling */ diff --git a/stylesheets/specials/nearby.css b/stylesheets/specials/nearby.css index 1825f41..9625626 100644 --- a/stylesheets/specials/nearby.css +++ b/stylesheets/specials/nearby.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .mw-mf-overlay .message { font-size: 1.2em; text-align: center; diff --git a/stylesheets/specials/notifications.css b/stylesheets/specials/notifications.css index 655b5b0..3f29c91 100644 --- a/stylesheets/specials/notifications.css +++ b/stylesheets/specials/notifications.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ #mw-echo-special-container { list-style: none; } diff --git a/stylesheets/specials/search.css b/stylesheets/specials/search.css index 02fe07b..e0b3048 100644 --- a/stylesheets/specials/search.css +++ b/stylesheets/specials/search.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .mobile .searchresults ul.mw-search-results .mw-search-result-heading { font-weight: bold; } diff --git a/stylesheets/specials/uploads.css b/stylesheets/specials/uploads.css index 519685b..7713a24 100644 --- a/stylesheets/specials/uploads.css +++ b/stylesheets/specials/uploads.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ /* carousel css */ .overlay-carousel { height: 100%; diff --git a/stylesheets/specials/userlogin.css b/stylesheets/specials/userlogin.css index ba3e4ed..2b7bfe5 100644 --- a/stylesheets/specials/userlogin.css +++ b/stylesheets/specials/userlogin.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .overlay body.mw-mf-special { background-color: #ffffff; } diff --git a/stylesheets/specials/watchlist.css b/stylesheets/specials/watchlist.css index 9e308f6..3267957 100644 --- a/stylesheets/specials/watchlist.css +++ b/stylesheets/specials/watchlist.css @@ -1,3 +1,10 @@ +/** + * DO NOT EDIT THIS FILE + * This is an automatically generated css file. + * It was generated by LESS (http://lesscss.org). + * Please edit the corresponding less file instead. + * See README.mediawiki for details on installing. + */ .mw-mf-watchlist-selector li { border-bottom: 1px solid #e2e2e2; text-align: center; -- To view, visit https://gerrit.wikimedia.org/r/72560 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7782f9624e0dc9d12bd7b7fdf27803020cbae4b6 Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Jdlrobson <[email protected]> Gerrit-Reviewer: JGonera <[email protected]> Gerrit-Reviewer: Kaldari <[email protected]> Gerrit-Reviewer: MaxSem <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
