Commit graph

614 commits

Author SHA1 Message Date
Timo Tijhof
0fe9a86271 Implement mediawiki.skin.variables.less for MonoBook
For now, only define:

- @font-family-sans
- @border-radius-base

Bug: T112747
Depends-On: Icf86c930a3b5524254bb549624737d3b9dccb032
Change-Id: I000f319ab31b711c107e9e0dc2c29b93b761dc82
2020-09-14 17:51:23 +00:00
Ammar Abdulhamid
7f3581f05c Drop MonoBookAfterContent hook
Also removed is the helper deprecatedHookHack() method.

SkinAfterContentHook should be used instead.

Bug: T259400
Change-Id: I3818cf1ea26444f3736af2b48aabf8b67815008a
2020-09-14 11:08:32 +01:00
jdlrobson
3bed284b37 Refactor: Simplify responsive Monobook's optional dependencies
Having module definitions living inside SkinMonobook makes them
less discoverable. It also shouldn't be necessary - even if there
are soft dependencies on other modules.

A new file resources/optional-enhancements.js is added which will
load the two optional dependencies based on whether they have been
installed on the client.

Bug: T203023
Change-Id: If9a88db52deb0cc91d58cbb40693d4cd448eabbc
2020-09-04 15:53:28 +00:00
Translation updater bot
77c6199be3 Localisation updates from https://translatewiki.net.
Change-Id: I4414331718ad4dfe11494a5c18090d95c14e280f
2020-09-04 09:29:29 +02:00
libraryupgrader
f53dacd685 build: Updating grunt to 1.3.0
Change-Id: I100423a539c77a4799d2b275990f2f09bd51d7a6
2020-08-30 22:20:45 +00:00
libraryupgrader
4578167e29 build: Updating eslint-config-wikimedia to 0.17.0
Change-Id: I6fd9cc5238a0a1fd66261033986fd10799dd17e0
2020-08-24 22:20:36 +00:00
Derk-Jan Hartman
32b7602e04 Print: Hide accessibility jump links and cookie statement
Hide the accessibility jump navigation links when printing
Also only show the last modified and copyright footer info and hide
all the footer 'places' links by default.

Bug: T250232
Bug: T136786
Change-Id: I039b523d009ddb4f5948dff456ef2845a93439fa
2020-08-15 16:33:28 +02:00
Translation updater bot
c50bc303d8 Localisation updates from https://translatewiki.net.
Change-Id: I96d42a3424199975d20bbe93d3942be42c47d960
2020-08-12 08:21:29 +02:00
jdlrobson
5ca99813d0 Drop responsive Monobook IE8 support
Bug: T259316
Change-Id: I85c198601291327bb5edff6d440ce143b8887756
2020-08-04 21:55:36 +00:00
mainframe98
bce6d15d35 Specify the responsive option rather than manually specifying viewport
I6e69b482cdbc adds a viewport with the same value as MonoBook.

Bug: T258290
Depends-On: I6e69b482cdbc49c09adc6f7cee54f5e17b7c92c4
Change-Id: Iae529da5dba07a2eee91a1fa7b29e4bdc163aa40
2020-08-04 11:35:55 +02:00
Ammar Abdulhamid
a891fd477c Rename #searchGoButton -> #searchButton (2)
This was missed in I9ced97b

Bug: T255791
Change-Id: Ibee6218afd753750db0bcba2325534151c2db5f1
2020-07-31 12:40:04 +01:00
Ammar Abdulhamid
058fef6bf6 MonoBook: Rename searchGoButton -> searchButton
Bug: T255791
Change-Id: I9ced97b55cf5d6fb675a925825a28458ab7278db
2020-07-25 03:18:49 +01:00
Volker E
8b727fe359 Replace deprecated background-image-svg() mixin calls
Use normal `background-image` properties with SVGs now
that IE 8 and Android 2.1 are removed from Grade C.
Also removing all fallback images.

Bug: T248062
Change-Id: Icd9cb9ea2a102467b5af3829f4dad0f2c5707aee
2020-07-23 23:07:15 -07:00
Translation updater bot
f49ea3e0a2 Localisation updates from https://translatewiki.net.
Change-Id: I21a21a2f040f35335c7900f28c5f2f4f24636740
2020-07-21 09:18:36 +02:00
Translation updater bot
8d40052d0f Localisation updates from https://translatewiki.net.
Change-Id: I2521ac0d18992761efd01a6658f548bbd13200d7
2020-07-20 09:04:15 +02:00
libraryupgrader
9b79463b53 build: Updating grunt to 1.2.1
Change-Id: Icfedca753a9efdf31c2e21db28ad8fdd79539863
2020-07-16 04:26:04 +00:00
Translation updater bot
fc84615737 Localisation updates from https://translatewiki.net.
Change-Id: Icf0ce2cb22867d036357c89be534c98a5ba6e4ad
2020-07-15 09:07:32 +02:00
jenkins-bot
de97916afd Merge "MonoBook: Remove usage of $wgUseTwoButtonsSearchForm config variable" 2020-07-13 23:34:47 +00:00
libraryupgrader
3bc860691e build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Iba5899b7e047aebe3378de79c621ba19e6e6b8fe
2020-07-11 15:10:24 +00:00
Ammar Abdulhamid
cc55b0d822 MonoBook: Remove usage of $wgUseTwoButtonsSearchForm config variable
The search form no longer changes based on this config variable.

Note that the variable has always been true since its introduction and
there's no way for users to turn it off, so probably the single button
search form has never been shown.

Bug: T256568
Change-Id: I86fde4f89cff553966614d725bbd6ba14d4ab1a4
2020-07-11 08:51:14 +01:00
Volker E
b87a5b66d2 Use 'normalize' module from core's 'mediawiki.skinning'
Also removing covered styles from 'screen-common.less'.

Bug: T256520
Change-Id: I054c77bb5410e0c08bbdcf3b51f2d6fcc8a103f0
2020-07-06 21:58:15 -07:00
Translation updater bot
030f6ed379 Localisation updates from https://translatewiki.net.
Change-Id: I745cc06f0cbe3f8f34026663de8dd654a2e80c0e
2020-07-06 09:57:30 +02:00
Translation updater bot
6c48cb4286 Localisation updates from https://translatewiki.net.
Change-Id: Ib73ea89a3d9b72e29f35938ca4b03c81d1a14df9
2020-06-29 16:28:32 +02:00
jenkins-bot
3b8d36160a Merge "Drop MonoBookAfterToolbox hook" 2020-06-26 14:07:22 +00:00
jdlrobson
cd99a29f77 Languages portal should be at the bottom of the sidebar
Per discussion on T254546 the language portal is so long in most
articles that it pushes down other boxes rendering them inaccessible
for this reason make sure Monobook outputs it last.

Bug: T254546

Change-Id: Ib80fa6414e220fbc3c1b6e3527c32fb28b994376
2020-06-22 16:09:48 -07:00
Ammar Abdulhamid
e93aa477aa Drop MonoBookAfterToolbox hook
SkinAfterPortlet hook should be used instead.

Bug: T255315
Change-Id: I0c8e2f69fc3debcfcbc3b8c82796193277329a3a
2020-06-22 14:47:58 +01:00
James D. Forrester
1a4195cc01 build: Upgrade eslint-config-wikimedia from 0.15.3 to 0.16.2
Change-Id: Ic6c20bd5fc0f4e00b309a053725d0981576c3c09
2020-06-22 12:22:33 +01:00
Translation updater bot
4e4a80619a Localisation updates from https://translatewiki.net.
Change-Id: Ib0275f45afe6852524e56d6e131e0af7209d5e36
2020-06-15 08:43:05 +02:00
Ammar Abdulhamid
91cb084117 Drop MonoBookTemplateToolboxEnd hook
This hook was deprecated 6 years ago and is no longer in use.

Bug: T253783
Change-Id: Iabcb77eb1a4f0667dd667fd5bfc346b8d1188dea
2020-06-12 21:44:34 +01:00
Ammar Abdulhamid
5fa6a6a339 MonoBook: Drop SkinTemplateToolboxEnd hook
This hook is not in use in any deployed code.

Bug: T253783
Change-Id: I5b636f005bdcdafabbb22ea3c5acef2a49c7c5c5
2020-06-05 20:29:18 +01:00
libraryupgrader
718b029ce6 build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: Icf83b61cf459db24306978a41473fc9ca3e99487
2020-06-02 07:38:22 +00:00
jdlrobson
833d93500c Show after portal links when languages is empty
Various extensions reveal the language portal when empty by appending
a link. Monobook needs to check this now itself, to avoid these links
disappearing - for example the Wikidata edit link.

Bug: T252841
Change-Id: If2cf64f6b7ba313d3e437e9da63afa886fee5d11
2020-06-02 00:43:56 +00:00
jenkins-bot
02b53e5dc5 Merge "Monobook supports SidebarBeforeOutput hook" 2020-06-01 19:10:43 +00:00
Translation updater bot
ec08e4b9f8 Localisation updates from https://translatewiki.net.
Change-Id: I351e8e891a113a10dff640180cf0fa7e5066fd93
2020-06-01 10:12:07 +02:00
Ammar Abdulhamid
191aa61755 Monobook supports SidebarBeforeOutput hook
Bug: T253783
Change-Id: If8ed1ccd17b4eedea18c77d721ee45ed0d67b7fc
2020-06-01 01:08:34 +01:00
James D. Forrester
2a7ad7dbcd build: Upgrade mediawiki-codesniffer from v30.0.0 to v31.0.0
Change-Id: I3347ee477cd6d75d97a510747ffd7b17b9828bba
2020-05-26 12:18:36 -07:00
Translation updater bot
fcd03b2875 Localisation updates from https://translatewiki.net.
Change-Id: I841a0a81ae0c09cd5beea78aceebd26114b94ca4
2020-05-11 08:41:44 +02:00
AronDemian
1587cdfb60 Add .mw-footer CSS class & replace #footer selector with it
`#footer` kept for backwards compatibility with user styles and gadgets.

Bug: T248137
Change-Id: Ied8e79c5895f8fe383b1ca743a31890549cc8d86
2020-04-24 02:28:15 +00:00
Translation updater bot
6e981d4479 Localisation updates from https://translatewiki.net.
Change-Id: I1583da6f55dc713f54da1dbf1e6482dd35241009
2020-04-23 08:45:43 +02:00
Translation updater bot
da7ed2e57d Localisation updates from https://translatewiki.net.
Change-Id: Ie90d494e6292e22a7108ce5eecaf36195360f1a7
2020-04-22 08:58:29 +02:00
James D. Forrester
2926c08ada build: Replace jsonlint with eslint's JSON parsing
Change-Id: I75601793639653bcf46af13e259cafba80b81af4
2020-04-21 18:55:00 +00:00
Translation updater bot
194ae126b2 Localisation updates from https://translatewiki.net.
Change-Id: I3f791f969436d7c5d7b934b4896662fc15c8bd8c
2020-04-20 08:46:34 +02:00
libraryupgrader
ea11c415ba build: Updating npm dependencies
* eslint-config-wikimedia: 0.15.0 → 0.15.3
* grunt-banana-checker: 0.8.1 → 0.9.0
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I3361d426b430c1612b11635e482a3d8fa38a6197
2020-04-16 23:35:07 +00:00
James D. Forrester
e9301de042 build: Bump phan to 0.10.2, remove taint-check
Test change to ensure everything is working fine.

Bug: T248630
Change-Id: I6f25b7aecac860a58958f4eb915764eb85562dc4
2020-04-15 09:30:04 -07:00
Translation updater bot
89c0f96e7d Localisation updates from https://translatewiki.net.
Change-Id: I0f15979fa1d9ec725128ce19c1b5096a55c81125
2020-04-10 09:53:09 +02:00
Translation updater bot
12874c47e7 Localisation updates from https://translatewiki.net.
Change-Id: I92086f744e5994b518dd54facea563119f82ddd3
2020-04-08 09:06:48 +02:00
Translation updater bot
dbe2e0e158 Localisation updates from https://translatewiki.net.
Change-Id: I2a1a75505c9ea0aeeda553534414215617ee5872
2020-04-06 09:06:19 +02:00
libraryupgrader
fa4e9a625a build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: I7617dba47caa00fa4eee7116011937f87d653647
2020-04-05 14:03:21 +00:00
jenkins-bot
795537492b Merge "Remove elements from overqualified element-id combination selectors" 2020-03-26 21:04:39 +00:00
libraryupgrader
ad455ecf34 build: Updating composer dependencies
* mediawiki/minus-x: 1.0.0 → 1.1.0
* mediawiki/mediawiki-phan-config: 0.9.1 → 0.9.2

Change-Id: I99ceca8d301710ce2cdb0487888e12cf37d8dae8
2020-03-23 22:05:20 +00:00