Commit graph

77793 commits

Author SHA1 Message Date
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
jenkins-bot
34dae4452f Merge "RCFilters: Scroll widget to top when switching view" 2017-08-02 00:37:10 +00:00
jenkins-bot
ceb930c789 Merge "RCFilters: Trim results to allow searching for spaces after trigger" 2017-08-02 00:35:08 +00:00
Moriel Schottlender
279816cfda RCFilters: Don't reload results for redundant requests
Ignore reloading if the requests are:
- Change of inverted namespaces if there are no namespace items
  selected.
- Reloading of new saved query if that same query is already loaded

Bug: T172138
Change-Id: Id43bef8a08aab3412a6c5cb538d048935a178114
2017-08-02 00:30:59 +00:00
jenkins-bot
8856c67858 Merge "Revert "mw.widgets.visibleByteLimit: Temporarily disable whilst OOjs UI label bug is fixed"" 2017-08-02 00:06:00 +00:00
Jforrester
8d14b41969 Revert "mw.widgets.visibleByteLimit: Temporarily disable whilst OOjs UI label bug is fixed"
This reverts commit b6f3938093.

Not to be merged before the new version of OOjs UI.

Bug: T169982
Change-Id: Ia194f5835a5d62ad46b498938a4764f0c0964589
2017-08-01 23:56:51 +00:00
James D. Forrester
18c2b29291 OOjs UI: Bring forward upstream fix for jQuery access key issue
* a8d27103cc1b7621cedd8065a2a4777e43551fd6
  Follow-up 022f532: don't crash if TitledElement initializes
  before AccessKeyedElement

Bug: T172236
Change-Id: Ib188d2bdb359c7bb2db755240c50943d5d1713d7
2017-08-01 23:54:20 +00:00
Moriel Schottlender
9d7f4ef9ac RCFilters: Add 'advanced filters' label to the view selection
Bug: T171894
Change-Id: I595d7d4a66eaedb76c9a4e4690be4ec4ef696a2d
2017-08-01 16:23:18 -07:00
jenkins-bot
25d4a645d8 Merge "Follow-up 31be7d0: send tags list if experimental mode is disabled" 2017-08-01 23:20:30 +00:00
Roan Kattouw
7f8cbb602f Follow-up 31be7d0: send tags list if experimental mode is disabled
Change-Id: Ia9f44ed47d79f02c5d14ce756133e64c7ae926f9
2017-08-01 22:52:18 +00:00
Moriel Schottlender
5e13bdf9d8 RCFilters: Unsticky the 'limit' preference temporarily
Bug: T172156
Bug: T171514
Change-Id: I0bed6de70655a4a8a90ceb2f900ffbe98e643d33
2017-08-01 15:47:53 -07:00
jenkins-bot
af686bef4e Merge "Avoid duplicate accesskey hints on OOUI widgets" 2017-08-01 22:13:20 +00:00
jenkins-bot
d8e7a44ab3 Merge "Revert "mw.action.edit: Restore modifier keys for accesskey in tooltip for summary field"" 2017-08-01 22:13:15 +00:00
jenkins-bot
1faa2299a5 Merge "Update OOjs UI to v0.22.4" 2017-08-01 22:08:29 +00:00
Moriel Schottlender
639c595519 RCFilters: Trim results to allow searching for spaces after trigger
Recognize a search string even if there are spaces after the trigger,
for example, '#   sometag' as 'sometag' in the 'tags' view.

Bug: T168225
Change-Id: Ic31b73396d9afe8cd62398b4cf5116f8aee25e67
2017-08-01 14:53:15 -07:00
jenkins-bot
b7bc168a55 Merge "jsduck: Explcitly name library files so we don't pull in CSS files" 2017-08-01 21:52:04 +00:00
Moriel Schottlender
56381f4979 RCFilters: Scroll widget to top when switching view
Bug: T170651
Change-Id: I19865b0af73e88c2893ba688476aa505d7730947
2017-08-01 14:49:23 -07:00
jenkins-bot
71f6a71132 Merge "RCFilters: Pluralize 'show last X changes' message" 2017-08-01 21:13:31 +00:00
Bartosz Dziewoński
8c1a1a62a1 Avoid duplicate accesskey hints on OOUI widgets
Values returned by `Linker::tooltipAndAccesskeyAttribs()` and
`Linker::titleAttrib( ..., 'withaccess' )` include an accesskey
hint in the title text. This is unnecessary when used for OOjs UI
widgets, since after the changes from T168408 they display an
accesskey hint automatically.

Also fixed some other accesskey bugs in HTMLForm which probably
no one ever ran into.

Bug: T168408
Change-Id: I63285b5bce3341875a6d82eba059623bf105ca62
2017-08-01 20:59:13 +00:00
Bartosz Dziewoński
58c66f541a Revert "mw.action.edit: Restore modifier keys for accesskey in tooltip for summary field"
No longer needed after changes from T168408.

This reverts commit 0269ae0fe5.

Bug: T168408
Change-Id: I50c24a9bada19a0e7d3a009c9afec073f6ffa357
2017-08-01 20:58:52 +00:00
James D. Forrester
7bbb4be49b Update OOjs UI to v0.22.4
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.22.4

Depends-On: I505e7c612b70a949d2b101172964bd7433fb8d5e
Change-Id: Ice2c56b035c5b9e6525d5b9c0d9b45eb07bb2943
2017-08-01 13:57:36 -07:00
James D. Forrester
d666212a47 jsduck: Explcitly name library files so we don't pull in CSS files
Change-Id: I8ee7c8a609543237f8280c190a9806cf5079de96
2017-08-01 13:57:36 -07:00
James D. Forrester
6f56767785 mediawiki.action.edit: Add TODO referencing T6714
Change-Id: Ifa5ba02d8e45b2529c17ba045e13fd6360569f4b
2017-08-01 20:55:13 +00:00
Translation updater bot
6762771185 Localisation updates from https://translatewiki.net.
Change-Id: I981b8966b91712c673793270e4bfe928e6d90e83
2017-08-01 22:07:32 +02:00
Moriel Schottlender
9f2467444d RCFilters: Pluralize 'show last X changes' message
Bug: T171047
Change-Id: I353140a2aeb8a383fe439baf887676857ae99321
2017-08-01 12:45:40 -07:00
jenkins-bot
4ec8813528 Merge "Introduce Title::getTalkPageIfDefined." 2017-08-01 17:37:53 +00:00
jenkins-bot
ff7ff9bf17 Merge "Implement a getter/setter for mCategoryViewerClass" 2017-08-01 17:15:53 +00:00
daniel
f284dffc21 Introduce Title::getTalkPageIfDefined.
This is part of the effort to remove the assumption that every page
can have a talk page. Before we can merge Icee208dc4 which makes
Title::getTalkPage() throw an exception of no corresponding talk
namespace is defined, all extensions that call getTalkPage() must
be changed to either check canHaveTalkPage() first, or to use
the conveniance function getTalkPageIfDefined() instead.

Bug: T165149
Bug: T172146
Change-Id: I6d2613d8f7105048022f8093186dc57f1f8173ab
2017-08-01 19:09:13 +02:00
jenkins-bot
7b6b8e9b53 Merge "Use mw-parser-output for numbered external link counters" 2017-08-01 15:34:08 +00:00
jenkins-bot
c50920f5d4 Merge "Remove unused csslint rules" 2017-08-01 15:34:04 +00:00
Louperivois
0872cfea94 Implement a getter/setter for mCategoryViewerClass
Cancel Change 17d5e809 and implement a getter/setter for mCategoryViewerClass

Bug: T172028
Change-Id: Idd8d836339ebf0f07b6782cfb06a3c9a65d93973
2017-08-01 11:17:11 -04:00
jenkins-bot
8804850f44 Merge "Allow blacklisting certain namespaces in Special:ShortPages" 2017-08-01 14:20:30 +00:00
Ed Sanders
361c98d0b9 Use mw-parser-output for numbered external link counters
1. Not every skin uses mw-body-content (e.g. Minerva)
2. A page may have multiple separate parser outputs,
   e.g. Flow, where the numbering context should reset.

Change-Id: I867e0da619f99600210340becd468ec293bf9667
2017-08-01 13:45:54 +01:00
Ed Sanders
358bd878ea Remove unused csslint rules
Change-Id: I290f442b6a15fecd7cd2061190e52585984d2b6b
2017-08-01 13:38:24 +01:00
jenkins-bot
e4af56a9fb Merge "EditPage: Drop 80% width restriction on wpSummary for OOUI form" 2017-07-31 23:20:18 +00:00
James D. Forrester
8be59d5ab3 EditPage: Drop 80% width restriction on wpSummary for OOUI form
Bug: T64316
Change-Id: I007a92e32a62cdf8a1b3ac479386e32fb54469f5
2017-07-31 16:11:34 -07:00
jenkins-bot
c3666b91f3 Merge "RCFilters: show new changes" 2017-07-31 22:23:46 +00:00
jdlrobson
115fe784b5 Allow blacklisting certain namespaces in Special:ShortPages
This new config variable ($wgShortPagesNamespaceBlacklist)
allows wikis to specify namespaces which should be excluded from
Special:ShortPages.

This will be used by Commons, for which NS_FILE is a content namespace
(accessible via Special:Random and Special:Nearby) but is not useful
to list on Special:ShortPages.

If the blacklist cancels out all namespace in wgContentNamespaces then
all namespaces will show up on the page.

Bug: T170687
Change-Id: I10b4849a5d7f3f8af75ccc6cfba230d03725c898
2017-08-01 00:21:12 +02:00
jenkins-bot
7911744c3d Merge "Adjust print styles for thumb" 2017-07-31 22:01:28 +00:00
jdlrobson
fa3a12265b Adjust print styles for thumb
* Remove all borders and margins
* Gray thumb caption color
* Increasing padding
* Aligning to left
* Explicitly choose font size

Bug: T169823
Change-Id: If32f76f11f260bb33decf1ebe934470acee66ce6
2017-07-31 14:21:16 -07:00
jenkins-bot
55e4f560e7 Merge "Remove obsolete animation vendor prefix" 2017-07-31 21:00:23 +00:00
jenkins-bot
1aaf672294 Merge "Follow-up b446a3b9: don't auto-close DateInputWidget too early" 2017-07-31 20:57:04 +00:00
jenkins-bot
f368f46c95 Merge "Enable archive search by default on Special:Undelete." 2017-07-31 20:33:26 +00:00
Translation updater bot
bd50005e3f Localisation updates from https://translatewiki.net.
Change-Id: I5389c55f987527a1ba58e11cea0937e1d6888cb7
2017-07-31 22:04:15 +02:00
Volker E
d352bbbc79 Remove obsolete animation vendor prefix
Opera 12.10 supported unprefixed animations, gradients, transforms &
transitions. See http://www.opera.com/docs/changelogs/unified/1210/
Opera 15 used Blink and was supported up to v30 with
`-webkit` prefix.

Change-Id: Ie8edbcd7f85c713ea2156706ea3a3a7b423d8d9d
2017-07-31 21:34:56 +02:00