Commit graph

202 commits

Author SHA1 Message Date
libraryupgrader
f6e2ca1230 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I89affcb0204f822385bac607c7c36e75a88bfda5
2018-05-25 23:18:21 +00:00
Translation updater bot
45537b72ea Localisation updates from https://translatewiki.net.
Change-Id: I32d7307a73a4bb3df6501ead1d10882b39514d7a
2018-05-25 21:59:39 +02:00
Translation updater bot
502558851b Localisation updates from https://translatewiki.net.
Change-Id: Ic8a1d5dcf717cede769351c5d5957c90084b3de9
2018-05-24 21:56:08 +02:00
Timo Tijhof
6dccc0d96e Re-implement and improve mw-jump links with pure CSS
* Improve their accessibility by giving both links a full label
  ("Jump to x" and "Jump to y" instead of "Jump to: ", "x", "y").

  This also makes things better for localisation.

* Use pure CSS for the toggling of the visibility on focus,
  instead of relying on JavaScript. Especially given the
  JS came from core's 'jquery.mw-jump' module, which is
  considered technical debt per T195256.

* Use plain <a> links in the HTML instead of wrapped in a <div>.
  This solves the long-standing problem whereby the margin
  between #contentSub and #mw-content-text had to be awkwardly
  negated and overridden.

Bug: T195256
Change-Id: I40a769ee3a822a5a9167ec1d144e6b151eb8e141
2018-05-24 01:30:55 +01:00
Translation updater bot
bfa8e85101 Localisation updates from https://translatewiki.net.
Change-Id: Id558f0990c87332b252a8721fff9a1c8fa0597bf
2018-05-23 22:05:15 +02:00
Translation updater bot
a3bfa15bb2 Localisation updates from https://translatewiki.net.
Change-Id: I4bbda2db850bbe5953c2f47d66348a973e1d6884
2018-05-22 22:03:52 +02:00
Translation updater bot
27256ea8e1 Localisation updates from https://translatewiki.net.
Change-Id: Icb93def0b1e3a92a2e3dc59db1bd698affe55a42
2018-05-21 21:55:31 +02:00
Translation updater bot
a8eadfa7e8 Localisation updates from https://translatewiki.net.
Change-Id: I55aec27db144646028db85c087156358f9152c6e
2018-05-20 22:27:24 +02:00
jenkins-bot
a0bd45ec18 Merge "Make echo numbers appear on mobile" 2018-05-20 15:35:46 +00:00
Isarra
6fe98ca305 Make echo numbers appear on mobile
Change-Id: I812e94dc2de5a527b1e3dce110b8d137466c4068
2018-05-20 15:17:47 +00:00
Brian Wolff
18ed5d4caa Fix ?debug=1 mode for resources
Change-Id: I7e746e7c5af8ffd7c4ca06742ab1fe6bc94ba522
2018-05-20 14:41:44 +00:00
jenkins-bot
5a7dd3a77c Merge "Mobile - reorganise and clean up p-personal js dropdown" 2018-05-20 14:00:06 +00:00
Isarra
ca53e721ab Mobile - reorganise and clean up p-personal js dropdown
* Reorder ULS and Echo links
* Rename conditional module load hook to be more generic, and add
  ULS module
* Remove .active bolding from dropdown

Change-Id: I7e746e7c5af8ffd7c4ca06742ab1fe6bc94ba531
2018-05-20 10:29:50 +00:00
jenkins-bot
e43f05404c Merge "Responsive support: Echo hacks" 2018-05-19 22:47:12 +00:00
jenkins-bot
0f722dabf9 Merge "Responsive support, JS edition" 2018-05-19 22:47:11 +00:00
jenkins-bot
26437df864 Merge "Responsive support, noJS version" 2018-05-19 22:43:49 +00:00
Isarra
ef1f98e7bd Responsive support: Echo hacks
Have echo just show the numbers instead of the badges, and add a
text link to special:notifications in the dropdown, as opposed to
entirely reimplementing the flyout layout

Change-Id: I072dbc2b7bf70b6675469e09e3beb3927e06d0f7
2018-05-19 21:15:31 +00:00
Isarra
0e2ee04c87 Responsive support, JS edition
Dropdown menus and js interactiveness for people who like to pretend
we live in a modern era or something.

Does not actually support newfangled tapping and swiping stuff.
Does not properly support echo. (will follow up)

Change-Id: I27d50c320b1526b9d158016a0e8022567f78ccc1
2018-05-19 20:17:17 +00:00
Kunal Mehta
38552d0cce Configure phan
Change-Id: I0267146eea98ee8219c2a0c59992f0e5abe17309
2018-05-06 21:07:04 -07:00
Isarra
70d426d4fd Responsive support, noJS version
* Add screen-mobile.css with basic mobile styles
* Force loading of screen-desktop on IE8- due to lack of
  @media width support
* Add some new divs and a set of spoof cactions for jumping
  around the page (what's js?)
* Replace cactions label with a more descriptive string (was
  previously set to display:none regardless)
* Also add a set of icons for fixed widths for tabs and things
  (icons-source.svg is the source file for the set, and includes
  a few others that ultimately weren't used here)

Cutoff 850px. Desktop styles should remain unchanged, with
mobile remaining stylistically consistent.

Change-Id: I737a7447db1e44e0d6abaa4c07813295a5ac73a6
2018-05-02 22:20:54 +00:00
Bartosz Dziewoński
33e2eb5eef Convert screen-desktop.less back to .css
A proposed change (I737a7447db1e44e0d6abaa4c07813295a5ac73a6) requires
this not to require Less parsing. It was unnecessary to convert this
to Less when I could have just removed an `/* @embed */` annotation.
Follow-up to ac8b055693.

Change-Id: Iba82f57d4ba3e65c61a5ef795b3b8d9c3f164a39
2018-04-19 01:03:25 +02:00
Max Semenik
0a882121e4 Don't use deprecated Sanitizer::escapeId()
Change-Id: I8df63140691db63c37c11f55212e17854f6cdb6c
2018-04-13 16:08:27 -07:00
libraryupgrader
f061c9e078 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic

Depends-On: I74374c49407dcb789ef8a9219158a9a773c09d81
Change-Id: I467662e17ee381fd433f548f21ddf651ae632d61
2018-04-13 19:56:20 +00:00
Brian Wolff
a27eb346d5 Merge "Convert rest of MonoBookTemplate to build giant string and echo once" 2018-04-11 02:55:10 +00:00
Isarra
10c0aeaa88 Convert rest of MonoBookTemplate to build giant string and echo once
More helper functions, general refactoring.

Output structure is all the same, all existing attributes
maintained. Some new ones are added:
* p-personal now rendered via getPortlet; has extra attribs
  according to all others rendered with it
* footer rendered with slight variant of getFooter out of
  BaseTemplate; has extra language attribs according to that

Change-Id: I462d1222b0166956d3dce17fbceccf386e179e8d
2018-04-11 02:44:38 +00:00
Bartosz Dziewoński
ac8b055693 Consistently embed images in CSS (or not)
Use .background-image() and .background-image-svg() mixins to embed
all SVG images, but not embed GIF/PNG fallbacks.

Change-Id: I807719dbf07749f4c942b4ba9b023440ca52a510
2018-04-05 16:25:32 +02:00
Mukunda Modell
2e1865640c Use background-image instead of .background-image-svg
Bug: T191237
Change-Id: I84a11685d6e2fefdedafc056e3433f0c8aaa2218
2018-04-04 19:52:41 +00:00
Isarra
cbc6e46f68 Refactor MonoBookTemplate helper functions to return output
instead of just spitting it out directly

Also rename all of said functions accordingly, add documentation,
and start trying to make an actually cross-compatible version of
getPortlet() for BaseTemplate...

Output should be structurally the same. All existing attributes for
output elements are maintained; some may have new attribs added due
to more consistent render method (getPortlet). (Essentially, if one
item had it, now they all have it.)

New attribs include:
* id
* lang
* dir
* aria-labelledby

Change-Id: I0a7ca1b95c2ad03273ed9c713be0da694c94a176
2018-04-03 04:58:46 +00:00
Isarra
155cfd8658 Optimise svgs
Previously added some svg versions of icons and background images.
svgs have now been run through svgo and cleaned up per Nikerabbit's
advice.

Also slightly tweaked user.svg to better match raster version.

Change-Id: Icf7ad259366a7051c66e2b8d6ac229ef1f0388fe
2018-04-01 17:25:18 +00:00
libraryupgrader
61426c13ad build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Ic4db7a090578ee3a894b74e66284902db55ff724
2018-03-28 18:31:19 +00:00
Bartosz Dziewoński
82580b2dd7 Remove unused styles
These elements no longer exist. See comments on the previous patch.

Follow-up to e33b232785.

Change-Id: I58aca1f4255df14d6289e167e180dad31b546a8c
2018-03-27 19:45:32 +00:00
Isarra
e33b232785 Move Cite styles into separate skinStyles sheet
No guarantees that these styles actually apply to anything anymore.
But at least the TODO is resolved!

Change-Id: Ibb43c044f50f026afa84a0151b113dd600956942
2018-03-24 18:38:33 +00:00
Isarra
2b24cbab0e Separate desktop and common styles, clean things up a bit
Part of the move toward responsiveness.

* Use mixins and variables!
* Vectorise existing icons
* Delete a rule or two that don't apply to the source anymore
* Consolidate similar colours into the same ones using variables

Change-Id: I2f0eb2b79cba01d8fa3a06298711e8af4d5508ba
2018-03-24 18:10:23 +00:00
Isarra
7b01f37552 Rename main.less to screen-common.less to prepare for splitting
Part of the move toward responsiveness.

Change-Id: I6ca7c87fff7a65b05b2310885aedaeede9647c78
2018-03-24 18:01:41 +00:00
Isarra
a29f04c254 Vectorise book background image
Also:
* Convert main.css to less because I can't figure out how to do svgs
  and fallbacks by hand
* Add gradient image to fit with book for really, really, really wide
  displays (and move book background to globalWrapper to make it
  actually work)

Change-Id: Ie6f5b6b87b475953274688fc4640f9fa17184fa4
2018-03-23 22:06:25 +00:00
Ed Sanders
4586361991 Fix default overlay selector
Change-Id: I3f73355d11e021cd90579b0bb18766d890883c1c
2018-03-23 00:42:01 +00:00
Isarra
57106ab179 Restructure files according to modern skin practices
Also delete unused images, since even if something is
somewhere using them anyway (looked, couldn't find
anything), it wouldn't be able to find them in the new
image location regardless.

Wiki.png, magnify, and link are all part of core and have
been for some time.

Change-Id: Id7a02155a5f1b207908c9c0c8f7519b6d3f9a886
2018-03-21 21:56:55 +00:00
Volker E
0875be18f2 Lower CSS specificity of #footer rules
Change-Id: Ic53bc9639b8a664909d81e242010e86fecd81c65
2018-03-17 22:18:03 -07:00
Isarra
edd5682094 Remove redundant user-icon from login link in personal tools
When not logged it, there's already one on 'not logged in'. Two just
looks silly.

Change-Id: I0de0de4967193b0bf2bfaea739fd197968fdc356
2018-03-17 18:47:34 +00:00
libraryupgrader
fb35e5ac02 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I4ac4e9b19908e27ab2d830aea91639e25972482e
2018-03-09 02:41:39 +00:00
Translation updater bot
ba48d49d6f Localisation updates from https://translatewiki.net.
Change-Id: I5740407b74d027eaf31f7a89b8effa5a79624f16
2018-03-01 21:59:05 +01:00
James D. Forrester
511ccc3d78 build: Bump devDependencies to latest
grunt                        1.0.1  →   1.0.2
 grunt-banana-checker         0.5.0  →   0.6.0
 grunt-eslint                20.0.0  →  20.1.0
 grunt-stylelint              0.8.0  →   0.9.0
 stylelint                    7.8.0  →   8.2.0
 stylelint-config-wikimedia   0.4.1  →   0.4.2

Change-Id: I3200969a13644b6f50f1aa18433ca6f0bfb7cecf
2018-02-26 10:30:46 -08:00
libraryupgrader
801064d1ee build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: I4a0d56b96e4b3bf5518203484874feb98cf60b29
2018-02-25 05:34:43 +00:00
Umherirrender
150645e778 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I62c219a9d7129b6cabe6f53a4461cfbaff9294b2
2018-02-22 20:19:25 +01:00
MarcoAurelio
0eb3eecc61 Use valid SPDX-3 license identifier
Change-Id: Ib29500f6df89f30646a9587d01a8681e5f1297da
2018-02-15 21:13:21 +00:00
libraryupgrader
8c023efaea build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I073add3aaf92f007d737aab9b81c1b399a5a00f4
2018-02-15 06:41:49 +00:00
Tulsi Bhagat
54c7c2f523 Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: Ie7b043904510dcd25a003d25c5ca794f6f543db9
2018-02-12 21:18:13 +00:00
Translation updater bot
5b389aa27c Localisation updates from https://translatewiki.net.
Change-Id: Icfc6fee45247430c43bcc1882c7caf15434594ad
2018-02-12 09:06:34 +01:00
Translation updater bot
cc8fde06ef Localisation updates from https://translatewiki.net.
Change-Id: I43a43bcb9be8569daa9e0f225a888ad42ed84b15
2018-01-22 21:58:08 +01:00
Bartosz Dziewoński
b4d5bf46c0 OOjs UI: Fix font size for default overlay
Override font size for .oo-ui-defaultOverlay to match normal content.

Bug: T183069
Change-Id: I1941365fb1550604ff45fbe60bacc600f72eea9e
Depends-On: I53888581f9e1da3b036166613c46cbc1085aa55e
2018-01-02 19:21:55 +01:00