* 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
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
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
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
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
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
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
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