Commit graph

5633 commits

Author SHA1 Message Date
jenkins-bot
a70c4a4c46 Merge "RCFilters: preserve invert parameter in saved queries" 2017-08-15 06:14:35 +00:00
madd
3fc8c9a8d5 jquery.tablesorter: Improve detection and handling of isoDate
* Detect years 0...99 correct.
* Short forms possible: JJJJ, JJJJ-MM, JJJJMM, JJJJMMTT
  QUnit Test sorts now with parser 'isoDate' (because of 2009 former test sorts with parser 'text')
* Prefix and postfix allowed.
* Between date and time a 'T' or 'any white space' is allowed (Bug: T126886)

Bug: T126886
Change-Id: I664b4cc9d5fb472ea0bc0e36a3c209f04048e769
2017-08-13 13:40:41 -04:00
Geoffrey Mon
700e49dddd Unwatch link for pages in Special:Watchlist
When the 'watchlistunwatchlinks' preference option is enabled, this
adds a '×' link to each entry of the watchlist that unwatches the page
of that entry. When clicked, it changes into a '+' which can be used to
re-watch the page (effectively undoing the earlier unwatch).
When a page is unwatched, its entries and the entries of its associated
talk page (or vice versa) become translucent and are struck through.

Without JS, '×'/'+' link to action=(un)watch for the relevant page.

In addition, ChangesList classes have been modified to allow a prefixer
that adds a prefix to each line (used in this case to put the unwatch
link) and to add HTML data attributes to reliably determine the target
page of each entry. Unit tests have been updated accordingly.

Bug: T2424
Change-Id: I450b2901413d7e75c11de2a446829fdbb22d31e1
2017-08-12 19:36:29 -04:00
jenkins-bot
15b3664ee1 Merge "Fix 'logName' parameter (5th) in many uses of mw.log.deprecate" 2017-08-12 17:21:53 +00:00
jenkins-bot
c05926bc7c Merge "mw.util: Add a deprecation message to escapeId()" 2017-08-12 17:19:46 +00:00
jenkins-bot
ae50607da5 Merge "Fixing styling of interwiki results header" 2017-08-11 18:22:15 +00:00
Fomafix
e960a48101 mediawiki.toc.print.css: Restore ID selector #toc
The ID selector #toc is necessary to overwrite

 #toc {
    display: table;
 }

with a higher specificity.

This change partly reverts fbf939cdda and restores the functionality
from T2482.

Change-Id: I7134132979a832828cf9618218d489727fc2dbc3
2017-08-10 15:24:48 +02:00
Bartosz Dziewoński
4e84a8878f Fix 'logName' parameter (5th) in many uses of mw.log.deprecate
It's apparently supposed to contains the full name of the deprecated
property/function and apparently almost no one ever remembers it.

This fixes error messages like "Use of "wikiGetlink" is deprecated"
to instead read "Use of "mw.util.wikiGetlink" is deprecated", and
apparently improves some error logging detais.

Change-Id: I9b0d6761754e5844d51b71535e0547205eb20781
2017-08-10 13:17:57 +00:00
Bartosz Dziewoński
66ae68ee44 mw.util: Add a deprecation message to escapeId()
Bug: T172493
Change-Id: Ie1468a4c1b56ca79b5f978a8bba80e98d8871f51
2017-08-09 22:51:47 +00:00
jenkins-bot
87d585d97d Merge "OutputPage: Support HTML5 elements in older browsers using html5shiv" 2017-08-09 21:19:01 +00:00
jenkins-bot
1e8f417f3d Merge "Live Preview: Cope with the edit summary being an OOjs UI widget" 2017-08-09 20:55:58 +00:00
James D. Forrester
d4a7517329 Live Preview: Cope with the edit summary being an OOjs UI widget
Bug: T171156
Change-Id: Idb9118421ffbd438dd7b018a8dbf8bb991036232
2017-08-09 15:47:30 -04:00
jenkins-bot
055780106a Merge "Make sure that mw-ui checkboxes have pointer cursor" 2017-08-09 17:19:14 +00:00
Jan Drewniak
7b74da3595 Fixing styling of interwiki results header
Bug: T172345
Change-Id: Id95e5b5176e98dd6e4c2dd2c127974aaae7d69ce
2017-08-09 19:16:00 +02:00
Derk-Jan Hartman
0f014af2f9 Make sure that mw-ui checkboxes have pointer cursor
Bug: T145493
Change-Id: I7700ee57969fa34b569bc1349156460f7248a9e6
2017-08-09 13:07:40 -04:00
jenkins-bot
fb4821adfc Merge "mediawiki.skinning: Add magnify links to Parsoid output" 2017-08-09 16:29:45 +00:00
jenkins-bot
533d6dcaf4 Merge "mediawiki.skinning: Show border-bottom when figcaption is absent on Parsoid" 2017-08-09 16:25:51 +00:00
jenkins-bot
70f51388a6 Merge "Align contentSub to WikimediaUI color palette" 2017-08-09 15:42:38 +00:00
Roan Kattouw
cfead3327f oojs-ui-local.css: Remove old browser fallback for rem
rem is supported by all Grade A browsers, and WindowManager
styling is only relevant in those browsers (since other browsers
don't execute JS).

Change-Id: Ic8995b3fc74a395918288cec013c8787c6974f58
2017-08-09 11:15:45 -04:00
Arlo Breault
3a30e03645 OutputPage: Support HTML5 elements in older browsers using html5shiv
Bug: T122965
Change-Id: Ic11ca687a5459b2dc5d942cf1dc784daa0ddc2f3
2017-08-07 21:56:18 +00:00
Stephane Bisson
8c6efc5e50 RCFilters: preserve invert parameter in saved queries
Bug: T172635
Change-Id: I9d8f6e2eccad8ea11a1fba8c4bbceccc1711fb75
2017-08-07 15:44:59 -04:00
Volker E
02fb8b38d2 mediawiki.ui: Use WikimediaUI color for @colorTextLight
Making use of slightly higher contrast `#54595d` WikimediaUI base
color for `@colorTextLight` instead of `#666` to address minor
accessibility concerns and consolidate colors further.
`@colorTextLight` is currently used mainly in Flow and in one instance –
`.mixin-mw-ui-anchor-styles-quiet()` in mediawiki.ui.
Both are only impacted positively from exemplatory visual diff testing.

Bug: T149768
Bug: T152025
Change-Id: I40a4b2600772c9ca874361f17480f6b46b140823
2017-08-07 17:47:25 +02:00
Volker E
b582813e6a Align contentSub to WikimediaUI color palette
While the other base grey values already have been changed already,
`#contentSub` &`#contentSub2` color remained so far.
Changing over to Base20 color of Wikimedia color palette, only
minimal difference.

Change-Id: Ib5e4e540f8878f08602119382f25bb7a8fb2c1e6
2017-08-06 20:58:57 +02:00
Stephane Bisson
c6ca512853 RCFilters: Bring back old vs new marker in live update
Bug: T163426
Change-Id: If019e07b100ca47927ee251513631ecb65156d3b
2017-08-04 15:09:57 -04:00
Stephane Bisson
f197643951 RCFilters: Show "from" link when live update is not available
Also introduce a place for feature flags.

Change-Id: Id118b85c727a865745283ee8fabda7050f317ce1
2017-08-04 07:41:15 -04:00
jenkins-bot
1c8d273a7e Merge "OOjs UI: Bring forward upstream fix for WikimediaUI colour issue" 2017-08-04 01:55:25 +00:00
Moriel Schottlender
50f5556301 RCFilters: Allow non-sticky filters to be excluded from saved queries
Bug: T172427
Change-Id: Ifda2ea617a8232a4c30261b6fce90f0b1217bdb4
2017-08-03 15:31:13 -07:00
James D. Forrester
5b2b8d544b OOjs UI: Bring forward upstream fix for WikimediaUI colour issue
* 4412e21bef698d76ad73b98c33a177cf4b9e7466
  WikimediaUI theme: Fix regression on disabled border

Bug: T172402
Change-Id: Ibf1335313505af2abb9ba69314c427cffc79e266
2017-08-03 12:39:55 -07:00
jenkins-bot
7f2c0a9bde Merge "RCFilters: Add vendor prefixes to loading animation" 2017-08-03 17:35:47 +00:00
jenkins-bot
f6e0d15a85 Merge "RCFilters: Remove new changes visual cue for Live Update feature" 2017-08-03 17:21:49 +00:00
Stephane Bisson
3e73bf0a2a stylelint: fix a warning
One warning isn't much, but zero is SO much better.

Change-Id: I7c23e558beb77cae0c349edb38f7d62380da847e
2017-08-03 09:53:45 -04:00
Stephane Bisson
745f98c581 RCFilters: Remove new changes visual cue for Live Update feature
Bug: T167743
Change-Id: I3863a302926bd6eb682b0cfa8f142c20a2786b9e
2017-08-03 09:25:59 -04:00
jenkins-bot
c1e6d87220 Merge "RCFilters: Prevent live update fetch if model is in conflict" 2017-08-03 11:01:13 +00:00
Moriel Schottlender
c9eadaecf2 RCFilters: Prevent live update fetch if model is in conflict
Change-Id: I52df598036a33fe203d6411fa9cfb6a485a8504d
2017-08-02 19:30:48 -07:00
jenkins-bot
a6463be4c6 Merge "RCFilters: Adjust server default variable names for limit/days" 2017-08-03 00:07:36 +00:00
jenkins-bot
d75530e482 Merge "RCFilters: Adjust styling of 'other review tools' button" 2017-08-03 00:06:06 +00:00
Moriel Schottlender
554440cd86 RCFilters: Adjust styling of 'other review tools' button
Bug: T172237
Bug: T166919
Change-Id: Id13414274d099c2f9bb151b0b793eff172209929
2017-08-02 16:26:16 -07:00
Moriel Schottlender
2e7ca56ca4 RCFilters: Normalize 'limit' to minimum 0, like the backend does
Bug: T172026
Change-Id: I7b5b0d7ef34b0702a55572591da2a11942e8c5d9
2017-08-02 16:11:11 -07:00
Moriel Schottlender
e1c60a0f27 RCFilters: Adjust server default variable names for limit/days
Change-Id: I4a204e1a61516cff505e6e0a71aa702034cea4dc
2017-08-02 14:13:37 -07:00
Moriel Schottlender
684b0dc227 RCFilters: Normalize user-generated default values
Bug: T172026
Change-Id: Id75116cf22a31f8b762801fc0a6aee554a9ca6b2
2017-08-02 14:10:32 -07:00
jenkins-bot
a8aa2c8195 Merge "RCFilters: set live update button title" 2017-08-02 19:26:07 +00:00
Stephane Bisson
e3460a6666 RCFilters: set live update button title
Bug: T167743
Change-Id: Iefea4001371921753e0622c195810b080c459968
2017-08-02 15:15:03 -04:00
jenkins-bot
9174674b8f Merge "ListToggle: Avoid href="#" for JavaScript buttons" 2017-08-02 18:27:26 +00:00
Volker E
f953d07f6d RCFilters: Add vendor prefixes to loading animation
Adding vendor prefixes to subtle loading animation and brush-up
CSS for better readability.

Bug: T165286
Change-Id: I6ce82cb2736e2a35cdd4dc3f2e20d2fb07ba4b26
2017-08-02 20:17:12 +02:00
Max Semenik
fd6e9ef2d4 Human-readable section ID support
It adds the ability to replace the current section ID escaping
schema (.C0.DE) with a HTML5-compliant escaping schema that is
displayed as Unicode in many modern browsers.

See the linked bug for discussion of various options that were
considered before the implementation. A few remarks:
* Because Sanitizer::escapeId() is used in a bunch of places without
  escaping, I'm deprecating it without altering its behavior.
* The bug described in comments for Parser::guessLegacySectionNameFromWikiText()
  is still there in some Edge versions that display mojibake.

Bug: T152540
Change-Id: Id304010a0342efbb7ef2d56c5b8b244f2e4fb2c5
2017-08-01 20:32:20 -07:00
jenkins-bot
1f2c768a9d Merge "RCFilters: Add 'enhanced' view (Group by pages)" 2017-08-02 01:19:59 +00:00
Moriel Schottlender
eb767102f7 RCFilters: Add 'enhanced' view (Group by pages)
Bug: T168513
Change-Id: If099f8809342f68662f91824a2b023bf90833760
2017-08-01 18:09:07 -07:00
Moriel Schottlender
30b1147f4f RCFilters: Normalize arbitrary values before adding them
Bug: T172026
Change-Id: Iba0e20b6d4266e22b3e894742dd182291f741eb1
2017-08-01 18:08:37 -07:00
jenkins-bot
4838f88d84 Merge "RCFilters: Add 'advanced filters' label to the view selection" 2017-08-02 00:44:44 +00:00
jenkins-bot
a7eddfad5b Merge "RCFilters: Don't reload results for redundant requests" 2017-08-02 00:39:07 +00:00