jenkins-bot [Wed, 15 Mar 2017 02:52:21 +0000 (02:52 +0000)]
Merge "Make MessageCache use the immutable text cache during cache rebuilds"
jenkins-bot [Wed, 15 Mar 2017 02:50:32 +0000 (02:50 +0000)]
Merge "Better path traversal prevention in TemplateParser."
jenkins-bot [Tue, 14 Mar 2017 23:49:40 +0000 (23:49 +0000)]
Merge "mw.widgets.SearchInputWidget: Do not pass `type: 'search'` to TextInputWidget"
jenkins-bot [Tue, 14 Mar 2017 23:23:29 +0000 (23:23 +0000)]
Merge "Add --tidy option to maintenance/parse.php"
jenkins-bot [Tue, 14 Mar 2017 23:07:39 +0000 (23:07 +0000)]
Merge "Fixing search results percentage width"
Subramanya Sastry [Sun, 12 Mar 2017 22:13:51 +0000 (17:13 -0500)]
Add --tidy option to maintenance/parse.php
Change-Id: I6ec08237bd15ee2d824164a0493b7fff9ef312db
Bartosz Dziewoński [Tue, 14 Mar 2017 21:28:16 +0000 (22:28 +0100)]
mw.widgets.SearchInputWidget: Do not pass `type: 'search'` to TextInputWidget
Causes deprecation warnings.
Most of this code is copy-pasted from OO.ui.SearchInputWidget.
Bug: T148471
Change-Id: I81d52ba938a8b90c5d2c173f1f2682d9e3300e43
Jan Drewniak [Mon, 27 Feb 2017 12:24:27 +0000 (13:24 +0100)]
Fixing search results percentage width
The width of search results on SpecialSearch
page was set to 60% to accomodate the interwiki
results sidebar. As seen on:
https://phabricator.wikimedia.org/T149806
This modification should be moved to the
interwikiwidget.styles.less file so it doesn't
interfere with results when the intwiki
widget is not active.
Bug: T159806
Change-Id: Ib9bdc501c8b0eccbcc84abe399a38d10c9a5d20f
jenkins-bot [Tue, 14 Mar 2017 21:08:27 +0000 (21:08 +0000)]
Merge "Don't use $this as a function argument"
Translation updater bot [Tue, 14 Mar 2017 20:59:01 +0000 (21:59 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I700258b10dc880529bb6f37c7a31b54b765310ef
Aaron Schulz [Thu, 9 Mar 2017 02:51:27 +0000 (18:51 -0800)]
Make sure Swift store operations close the source file handle
Bug: T159607
Change-Id: I9a8907a20ba83f33cc5fc96bc15a1728770f656a
Timo Tijhof [Wed, 8 Mar 2017 04:57:16 +0000 (20:57 -0800)]
postEdit: Only call mw.cookie.get() if needed
Avoid synchronous document.cookie reads unconditionally during page load.
At least avoid the read where it isn't needed, such as non-view actions
and special pages.
Ideally this would happen in mw.requestIdleCallback, but unfurtunately
various extensions have a fragile dependency on reading mw.config
wgPostEdit at initialitation time which would likely fail if this is no
longer set synchronously. To be revisited...
Change-Id: Ib655bf6507333c1a9845a05eb436dca522efbab7
Brian Wolff [Tue, 14 Mar 2017 04:01:09 +0000 (04:01 +0000)]
Better path traversal prevention in TemplateParser.
In practise this probably doesn't matter, since template names
are not user controlled, and php isn't stupid enough to fall for
tricks with nulls (afaict). Nonetheless, the code from Title is
only meant to prevent url traversal, it is not meant to prevent
file system path traversal.
Change-Id: Id690576326d03744acc8fbbe78f4b7a4b4c04d7e
jenkins-bot [Tue, 14 Mar 2017 17:53:51 +0000 (17:53 +0000)]
Merge "Add image.img_user, image.img_timestamp index"
jenkins-bot [Tue, 14 Mar 2017 16:12:38 +0000 (16:12 +0000)]
Merge "Minor fixes for second sister search AB test"
jenkins-bot [Tue, 14 Mar 2017 15:27:56 +0000 (15:27 +0000)]
Merge "Make the title of Special:UserRights more generic"
jenkins-bot [Tue, 14 Mar 2017 15:09:56 +0000 (15:09 +0000)]
Merge "Update CREDITS and .mailmap files"
Matthias Mullie [Tue, 14 Mar 2017 14:16:48 +0000 (15:16 +0100)]
Add image.img_user, image.img_timestamp index
This will allow searching on user id instead of just the name.
This is how ContribsPager, LogPager, ... all work already.
Bug: T160415
Change-Id: I4db7bd0f917a428f40eb315246f89d49c7ae5b6a
Huji Lee [Tue, 14 Mar 2017 14:23:31 +0000 (10:23 -0400)]
Make the title of Special:UserRights more generic
Bug: T154575
Change-Id: If9899040c88cefeb64a09444ef0f6f42e91ebca6
Jan Drewniak [Fri, 10 Mar 2017 13:04:27 +0000 (14:04 +0100)]
Minor fixes for second sister search AB test
These are a few minor fixes to improved the
UX of the new sister search sidebar.
- Making the link color on sister search results blue
- Fixing the order of the multimedia search results widget
- added a more explicit 'more results' message instead
of the current '(more)' message.
- aligning the top of the sidebar with the top of the regular
search results.
- fixing a typo in the multimedia widget.
Bug: T158935
Change-Id: Iaae603cc217b7847bebfa61b050b7c86bdd19f14
Bartosz Dziewoński [Sat, 11 Mar 2017 21:24:47 +0000 (22:24 +0100)]
Title: Remove outdated comment in loadRestrictionsFromRows()
It has been refactored, and decodeExpiry() is now a method of Database.
Change-Id: I357b303317c877be944474db1331855adb1eb8fd
Translation updater bot [Mon, 13 Mar 2017 21:11:02 +0000 (22:11 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I9eb8d7af838750dbf5141508402d0cae77b3274b
Eddie Greiner-Petter [Thu, 9 Mar 2017 21:24:43 +0000 (22:24 +0100)]
Update CREDITS and .mailmap files
Update the CREDITS file using maintenance/updateCredits.php script that
uses `git log` to identify contributors. For each added user it was
checked by hand that no user with the same mail adress but an other
"Real Name" was already in the CREDITS file. This is the case with one
entry, prevent this using .mailmap. Also remove (WMDE) at end of real
name in one case using .mailmap file. Also change version name MW 1.28
to 1.29 while at it.
Change-Id: I4c3bb8c3e5f0c1317ea8711efc4f88e571b0c5c6
Erik Bernhardson [Mon, 13 Mar 2017 18:12:50 +0000 (11:12 -0700)]
Don't use $this as a function argument
PHP 7.1 adds the limitation that $this cannot be used as a function
parameter. Ensure forward compatability by renaming the parameters.
Bug: T160144
Change-Id: I33d2ab1ffeeeb32e3a467cc146ee8feef0255258
jenkins-bot [Mon, 13 Mar 2017 05:19:57 +0000 (05:19 +0000)]
Merge "Drop index oi_name_archive_name on table oldimage"
Translation updater bot [Sun, 12 Mar 2017 20:59:32 +0000 (21:59 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I5d800846ef2aa196635559493dbc1b8acb3802b5
jenkins-bot [Sun, 12 Mar 2017 07:15:28 +0000 (07:15 +0000)]
Merge "Fix mistake in ObjectCache doc"
jenkins-bot [Sat, 11 Mar 2017 01:55:14 +0000 (01:55 +0000)]
Merge "Back-end of new RecentChanges page, refactoring"
Matthew Flaschen [Tue, 14 Feb 2017 07:55:37 +0000 (02:55 -0500)]
Back-end of new RecentChanges page, refactoring
Generate old RC, Related changes (it was already displayed and working
on 'Related changes' before this change), and Watchlist/etc. and data
for new UI from back-end.
This moves everything used for defining the old (unstructured) and new
(structured) filters into unified objects, ChangesListFilter and
ChangesListFilterGroup (and sub-classes).
This includes the query logic (see below) and logic for adding
CSS attribution classes.
This is a breaking change (for subclasses of ChangesListSpecialpage)
due to the signature (and name) change of buildMainQueryConds and
doMainQuery. An alternative that I don't think is a breaking change
would be to put the filter->DB logic in runMainQueryHook, but then it's
doing more than just running a hook.
This is because it used to only build $conds here, but it's clear from
filterOnUserExperienceLevel filters need more than this. I added all
the DB parameters from the hook, but this could be debated.
I have an checked and fixed the WMF-deployed extensions affected by
this.
Other than that, there should be full back-compat (including legacy
filters not using the new system).
* add hidepatrolled/hideunpatrolled to new UI.
* Move userExpLevel from RC to ChangesListSpecialPage. Although for
now the structured UI only displays on RC anyway, when it displays on
watchlist, it seems we'll want userExpLevel there.
Change this to make 'all' exclude unregistered users.
* Don't have front-end convert none-selected to 'all' on string_options.
* Needs the hideanons/hideliu special redirect to be done before this
is merged (T151873)
Bug: T152754
Bug: T152797
Change-Id: Iec2d82f6a830403d1c948a280efa58992e0cdee7
Translation updater bot [Fri, 10 Mar 2017 20:53:16 +0000 (21:53 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I6e0a0fa411473a40ebae5035fd559f37a36fff52
Amir Sarabadani [Fri, 10 Mar 2017 09:42:43 +0000 (13:12 +0330)]
Fix mistake in ObjectCache doc
Change-Id: Iafe3c460ca462aa160cfea6769fd78f8b023548c
Translation updater bot [Thu, 9 Mar 2017 21:47:22 +0000 (22:47 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I7e25a8afe355bce65359c162b9384d243c67cebd
jenkins-bot [Thu, 9 Mar 2017 21:40:13 +0000 (21:40 +0000)]
Merge "composer.json: Make ext-curl a suggested package for MediaWiki core"
jenkins-bot [Thu, 9 Mar 2017 21:32:46 +0000 (21:32 +0000)]
Merge "Allow fields to define their own merge strategy via callback."
Derk-Jan Hartman [Thu, 9 Mar 2017 16:26:49 +0000 (17:26 +0100)]
composer.json: Make ext-curl a suggested package for MediaWiki core
curl is the preferred HTTP implementation as far as I'm a aware and the
only implementation used by MultiHttpClient, a requirement for
something like VisualEditor
Change-Id: I40a015339d4a3f92cfadcd92dfd70425639d0412
Bartosz Dziewoński [Thu, 9 Mar 2017 16:52:04 +0000 (17:52 +0100)]
mw.special.apisandbox: Prevent text fields from collapsing into nothingness
Change-Id: Ib0d5cf6a227e1e03442e54db6fdacad272c53ed9
jenkins-bot [Thu, 9 Mar 2017 09:40:02 +0000 (09:40 +0000)]
Merge "Remove unused old messages for user login and signup"
jenkins-bot [Thu, 9 Mar 2017 09:36:01 +0000 (09:36 +0000)]
Merge "Remove unused old logging messages for revision deletion"
jenkins-bot [Thu, 9 Mar 2017 09:34:29 +0000 (09:34 +0000)]
Merge "Do not use real message names in 'All_system_messages' preprocessor test"
Aaron Schulz [Thu, 9 Mar 2017 05:16:00 +0000 (21:16 -0800)]
Make masterPosWait() error clearer
Change-Id: I86706b2c4167fba897c56235072675b66ed06634
Aaron Schulz [Thu, 9 Mar 2017 04:32:04 +0000 (20:32 -0800)]
Make MessageCache use the immutable text cache during cache rebuilds
Only 1 message typically changed per run, so for wikis using
external storage and with many customized messages, this can
make rebuilds considerably faster.
Bug: T158084
Change-Id: Ib668e69a207e3fbeb7871f2f6a102ff1af567368
jenkins-bot [Thu, 9 Mar 2017 00:25:46 +0000 (00:25 +0000)]
Merge "Improve sorting on SpecialWanted*-Pages"
jenkins-bot [Wed, 8 Mar 2017 23:33:17 +0000 (23:33 +0000)]
Merge "Add RemexHtml to the list of available Tidy drivers"
Tim Starling [Wed, 8 Mar 2017 23:18:12 +0000 (10:18 +1100)]
Add RemexHtml to the list of available Tidy drivers
Change-Id: I5a87a6ed24ca3ef7c5fdb21e74f9eb410bf74b4c
Translation updater bot [Wed, 8 Mar 2017 20:56:28 +0000 (21:56 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I916d8727a605173281bfebc8c2ef9592d4f87282
jenkins-bot [Wed, 8 Mar 2017 20:46:46 +0000 (20:46 +0000)]
Merge "Break up $wgDummyLanguageCodes"
This, that and the other [Thu, 12 Jan 2017 14:17:41 +0000 (01:17 +1100)]
Break up $wgDummyLanguageCodes
$wgDummyLanguageCodes is a set and mapping of different language codes:
* Renamed language codes: ['als' => 'gsw', 'bat-smg' => 'sgs',
'be-xold' => 'be-tarask', 'fiu-vro' => 'vro',
'roa-rup' => 'rup', 'zh-classical' => 'lzh',
'zh-min-nan' => 'nan', 'zh-yue' => 'yue'].
The old language codes are deprecated because they are invalid but
should be supported for compatibility reasons for a while.
* Language codes of macro languages, which get mapped to the main
language: ['bh' => 'bho', 'no' => 'nb'].
* Language variants which get mapped to main language:
['simple' => 'en'].
* Internal language codes of the private-use-area which get mapped to
itself: ['qqq' => 'qqq', 'qqx' => 'qqx']
This is a very strange conglomeration which should get differentiated,
and were split up in the following ways:
* Renamed language codes are available from
LanguageCode::getDeprecatedCodeMapping().
* Language codes of macro languages and the variants that are mapped to
the main language are available as $wgExtraLanguageCodes and are set
in DefaultSettings.php.
* Internal language codes are set in $wgDummyLanguageCodes in Setup.php.
Change-Id: If73c74ee87d8235381449cab7dcd9f46b0f23590
jenkins-bot [Wed, 8 Mar 2017 19:21:09 +0000 (19:21 +0000)]
Merge "Add some translations for Western Punjabi (pnb)"
jenkins-bot [Wed, 8 Mar 2017 17:26:05 +0000 (17:26 +0000)]
Merge "RCFilters UI: Anchor the highlight popup"
Eddie Greiner-Petter [Tue, 21 Feb 2017 12:58:47 +0000 (13:58 +0100)]
Improve sorting on SpecialWanted*-Pages
Change the SpecialWanted*-Pages so that they do sort
1. by the number of links to a site (as is now) and
2. alphabetically for entries which have the same number of links (new)
Bug: T4335
Change-Id: If54cd52b69007ee81af4733a14be3fd893c4abfe
Bartosz Dziewoński [Wed, 8 Mar 2017 15:59:24 +0000 (16:59 +0100)]
Remove unused old messages for user login and signup
According to their documentation, these messages are no longer used
since MediaWiki 1.22. They only waste translators' time.
The messages appear to not be used by any skins or extensions
in Wikimedia version control.
Change-Id: I4b8e91558654b5f9006ed44bad6971237f057d07
Bartosz Dziewoński [Wed, 8 Mar 2017 15:37:57 +0000 (16:37 +0100)]
Remove unused old logging messages for revision deletion
Per T20578, change
a9c243b7b5289dad204278dbe7ed571fd914e395 (r97044)
has replaced these messages with a new set that doesn't rely on
"lego" concatenation. But the old messages were never removed.
Some were blacklisted on Translatewiki, but others continue to
waste translators' time.
The messages appear to not be used by any skins or extensions
in Wikimedia version control.
+--------------------------------+--------------------------------+
| Deleted old messages | Replacements in current system |
+--------------------------------+--------------------------------+
| revdelete-logentry | logentry-delete-revision |
| revdelete-log-message | |
+--------------------------------+--------------------------------+
| logdelete-logentry | logentry-delete-event |
| logdelete-log-message | |
+--------------------------------+--------------------------------+
| revdelete-hid | revdelete-content-hid |
| revdelete-unhid | revdelete-content-unhid |
| | revdelete-summary-hid |
| revdelete-content | revdelete-summary-unhid |
| revdelete-summary | revdelete-uname-hid |
| revdelete-uname | revdelete-uname-unhid |
+--------------------------------+--------------------------------+
Change-Id: I27c616ca1aaca3058ad48753f5e4bfc64a71636e
Bartosz Dziewoński [Wed, 8 Mar 2017 15:04:27 +0000 (16:04 +0100)]
Do not use real message names in 'All_system_messages' preprocessor test
This file seems to be a stress-test for the MediaWiki preprocessor.
It doesn't really matter whether the messages references here exist.
As messages are occasionally renamed or deleted, and since this file
was generated in 2011, people keep getting confused when they grep
for a message name and run into this list (and sometimes needlessly
spend their time updating this file, as seen in its Git history).
This commit replaces all of the message names with their SHA1 hash
truncated to 8 hex characters.
Regexps used for matching:
(?<=\?title=MediaWiki\:)([^&{}<>|\[\]]+)
(?<=int:)([^&{}<>|\[\]]+)
(?<=\[\[MediaWiki_talk:)([^&{}<>|\[\]]+)
(?<=action=edit )([^&{}<>|\[\]]+)
Change-Id: I52a71c0cc0e6fa21a61420d52df755066c6e9a08
jenkins-bot [Wed, 8 Mar 2017 15:24:36 +0000 (15:24 +0000)]
Merge "RemexHtml tidy driver with p-wrapping"
Bartosz Dziewoński [Tue, 7 Mar 2017 23:50:59 +0000 (00:50 +0100)]
Add some translations for Western Punjabi (pnb)
Bug: T157871
Change-Id: I567662c1861293ca9c7e841e2b839b721bd60103
Tim Starling [Fri, 17 Feb 2017 04:10:15 +0000 (15:10 +1100)]
RemexHtml tidy driver with p-wrapping
Pull in the RemexHtml library, which is an HTML 5 library I recently
created.
RemexCompatMunger mutates the event stream, inserting <mw:p-wrap>
elements where necessary, and occasionally taking even more invasive
action such as reparenting and removing nodes maintained in Serializer's
tree.
RemexCompatFormatter produces a MediaWiki-style serialization which is
relatively compatible with existing parser tests. It also does final
empty element handling, including translating <mw:p-wrap> to <p>
Tests are imported from both Html5Depurate and Subbu's pwrap.js.
Depends-On: I864f31d9afdffdde49bfd39f07a0fb7f4df5c5d9
Change-Id: I900155b7dd199b0ae2a3b9cdb6db5136fc4f35a8
jenkins-bot [Wed, 8 Mar 2017 05:07:56 +0000 (05:07 +0000)]
Merge "Handle missing namespace prefix in XML dumps more gracefully"
Moriel Schottlender [Wed, 8 Mar 2017 02:22:07 +0000 (18:22 -0800)]
RCFilters UI: Anchor the highlight popup
Due to a regression in popups positioning in OOUI, the popup
renders wrongly when it is unanchored.
Fixing this to an anchored popup while the OOUI bug is being fixed.
Bug: T159906
Change-Id: I38ca560929f7f9488ff48b148b089f0613d67d97
jenkins-bot [Wed, 8 Mar 2017 01:37:08 +0000 (01:37 +0000)]
Merge "RCFilters UI: Prevent the popup from disappearing when input is out of view"
jenkins-bot [Wed, 8 Mar 2017 01:32:35 +0000 (01:32 +0000)]
Merge "RC filters: update the state of the app on popstate."
jenkins-bot [Wed, 8 Mar 2017 01:29:22 +0000 (01:29 +0000)]
Merge "RCFilters UI: Add 'highlight' icon to highlight button"
jenkins-bot [Wed, 8 Mar 2017 01:28:55 +0000 (01:28 +0000)]
Merge "RCFilters UI: Display popups above CapsuleItemWidgets"
Moriel Schottlender [Mon, 6 Mar 2017 23:01:51 +0000 (15:01 -0800)]
RCFilters UI: Add 'highlight' icon to highlight button
Bug: T149467
Change-Id: Iba11de7ba47e41046631dbf16f464f8bd3820811
Depends-On: I0b5adaaec52f9cc01c3dfb6262adaf2da368476e
jenkins-bot [Wed, 8 Mar 2017 01:00:57 +0000 (01:00 +0000)]
Merge "Update OOjs UI to v0.19.5"
jenkins-bot [Wed, 8 Mar 2017 00:38:16 +0000 (00:38 +0000)]
Merge "RC Filters UI: 'restore defaults' clears highlight"
Volker E [Tue, 7 Mar 2017 23:26:56 +0000 (15:26 -0800)]
Update OOjs UI to v0.19.5
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.19.5
Change-Id: Ic15534df2f4006b94d1161a91e2d689f96892073
Timo Tijhof [Tue, 7 Mar 2017 02:14:14 +0000 (18:14 -0800)]
Clean up remaining get_class() uses
* get_class() -> __CLASS__ (same as self::class)
* get_called_class() -> static::class
* get_class($this) -> static::class
Change-Id: I1888a1897ecf4548a2e5a67a942e5c080dd7e3d3
jenkins-bot [Tue, 7 Mar 2017 21:43:41 +0000 (21:43 +0000)]
Merge "Clean up get_class() in /includes/filerepo and /includes/resourceloader"
jenkins-bot [Tue, 7 Mar 2017 21:39:02 +0000 (21:39 +0000)]
Merge "HTMLMultiSelect parameter to specify which options are disabled"
Timo Tijhof [Tue, 7 Mar 2017 02:14:14 +0000 (18:14 -0800)]
Clean up get_class() in /includes/filerepo and /includes/resourceloader
* get_class() -> __CLASS__ (same as self::class)
* get_called_class() -> static::class
* get_class($this) -> static::class
Change-Id: Ic4f9b150ddc35e25f51297de7fc12410d421be4d
jenkins-bot [Tue, 7 Mar 2017 21:30:14 +0000 (21:30 +0000)]
Merge "Update oyejorge/less.php to 1.7.0.13"
Huji Lee [Thu, 22 Dec 2016 00:37:10 +0000 (19:37 -0500)]
HTMLMultiSelect parameter to specify which options are disabled
Depends on I32fa20e4adb23960d9db6bf6023f79bf128fb600
Bug: T153751
Change-Id: I3bcf6720c960e0be962e0f3f37a22ec8778db1d1
Paladox [Thu, 23 Feb 2017 18:17:45 +0000 (18:17 +0000)]
Update oyejorge/less.php to 1.7.0.13
See changes at
https://github.com/oyejorge/less.php/blob/master/CHANGES.md
https://github.com/oyejorge/less.php/compare/v1.7.0.10...v1.7.0.13
Depends-On: Iaafb9800a223f2a1e163bb2e55b4017fcc98e682
Change-Id: I6a925c2e82812df0acf4c8b8da2541b62fea8809
Timo Tijhof [Tue, 7 Mar 2017 02:14:14 +0000 (18:14 -0800)]
Clean up get_class($this) -> static::class in /includes/cache and /includes/libs
* get_class() -> __CLASS__ (same as self::class)
* get_called_class() -> static::class
* get_class($this) -> static::class
Change-Id: I22c62851bcc88405f4bdd77258d6e28ec1a14924
Translation updater bot [Tue, 7 Mar 2017 21:03:55 +0000 (22:03 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I97bab36cdd05b162843e47e8b65d2ad2c224eb0f
Stephane Bisson [Tue, 7 Mar 2017 20:37:04 +0000 (15:37 -0500)]
RC Filters UI: 'restore defaults' clears highlight
The 'restore defaults' button clear any
highlight config and brings the UI back
to the same default state every time.
Bug: T159848
Change-Id: I78397c914aa5510e259a28c226f6e953b4dded4d
Stephane Bisson [Wed, 1 Mar 2017 12:04:05 +0000 (07:04 -0500)]
RC filters: update the state of the app on popstate.
Also re-fetch changes list.
Bug: T153949
Change-Id: Id3d4ea2a4de6074ae1c15cadb74e7a324a39e7ff
Stanislav Malyshev [Thu, 9 Feb 2017 21:30:12 +0000 (13:30 -0800)]
Allow fields to define their own merge strategy via callback.
Change-Id: Ic1cc1581f07381224d3f4fcba4feb1eac7085057
jenkins-bot [Tue, 7 Mar 2017 18:05:57 +0000 (18:05 +0000)]
Merge "Change mw-body ancestor selector to mw-body-content"
jenkins-bot [Tue, 7 Mar 2017 07:39:43 +0000 (07:39 +0000)]
Merge "registration: Allow documenting config settings with i18n messages"
jenkins-bot [Tue, 7 Mar 2017 07:37:14 +0000 (07:37 +0000)]
Merge "registration: Allow specifying the value of a config setting can be public"
jenkins-bot [Tue, 7 Mar 2017 07:34:18 +0000 (07:34 +0000)]
Merge "PageArchive: Fix typo in class file"
Florian Schmidt [Fri, 13 Jan 2017 05:14:42 +0000 (06:14 +0100)]
registration: Allow documenting config settings with i18n messages
In addition to the general (English) description key in a config
option in extension.json, developers now can provide a description message
key. This localized message will be used in user interfaces, such as
viewing configuration options on-wiki (see later changes).
Bug: T155157
Change-Id: I5c780b3347bd54a05694cfa6de93879656b4e921
Florian Schmidt [Fri, 13 Jan 2017 05:11:55 +0000 (06:11 +0100)]
registration: Allow specifying the value of a config setting can be public
This value is currently unused but will be used in later changes
for allowing to view configuration options on-wiki. It will require each
extension maintainer to whitelist the keys that can be published by marking
them as public.
Bug: T155156
Change-Id: I020c148157818ef8bfee0e79cb5a6f43181c5a8c
jenkins-bot [Tue, 7 Mar 2017 07:08:17 +0000 (07:08 +0000)]
Merge "Fix @covers for FileBackend"
jenkins-bot [Tue, 7 Mar 2017 02:28:35 +0000 (02:28 +0000)]
Merge "resourceloader: Remove useless INFO log for message blob cache-miss"
jenkins-bot [Tue, 7 Mar 2017 02:19:49 +0000 (02:19 +0000)]
Merge "RCFilters UI: Add tooltip to highlight menu"
Moriel Schottlender [Tue, 7 Mar 2017 01:09:18 +0000 (17:09 -0800)]
RCFilters UI: Add tooltip to highlight menu
Bug: T159587
Change-Id: Iae5e050fd721d8c51d0b6c150d039c7f2ed6647d
jenkins-bot [Tue, 7 Mar 2017 00:38:54 +0000 (00:38 +0000)]
Merge "RCFilters UI: Override 'list-style' for <li> results"
Moriel Schottlender [Tue, 7 Mar 2017 00:22:45 +0000 (16:22 -0800)]
RCFilters UI: Override 'list-style' for <li> results
Just in case a wiki defines list-style-image for recent changes
(like in beta labs) we remove it from the general system, so it
does not interfere with highlights.
Bug: T159586
Change-Id: Ic20961efa047d16191b9dd889e390eb29d28ab7d
jenkins-bot [Tue, 7 Mar 2017 00:09:46 +0000 (00:09 +0000)]
Merge "RCFilters UI: Fix double-loading of mw.rcfilters.less"
jenkins-bot [Tue, 7 Mar 2017 00:06:50 +0000 (00:06 +0000)]
Merge "RCFilters UI: Unify the loader animation"
jenkins-bot [Mon, 6 Mar 2017 23:58:29 +0000 (23:58 +0000)]
Merge "RCFilters UI: Change hover background for filter items"
jenkins-bot [Mon, 6 Mar 2017 23:57:36 +0000 (23:57 +0000)]
Merge "RCFilters UI: Fix capsule highlight circle to use pixels"
Roan Kattouw [Mon, 6 Mar 2017 23:49:47 +0000 (15:49 -0800)]
RCFilters UI: Fix double-loading of mw.rcfilters.less
Change-Id: I424d4f84bb17a54980b311da7db9fdbb5ce56530
Moriel Schottlender [Mon, 6 Mar 2017 23:40:12 +0000 (15:40 -0800)]
RCFilters UI: Fix scrolling (once again) so it works in Firefox
In firefox our scrollable container is html, we need to account
for that along with body element.
Change-Id: Ida603d419c85a2bf27ce8a5d46da7da3c1dc00ea
Moriel Schottlender [Mon, 6 Mar 2017 23:28:21 +0000 (15:28 -0800)]
RCFilters UI: Unify the loader animation
Bug: T159766
Change-Id: Ifda7510efa4e16422b5988c37c2e54aa08b52b71
jenkins-bot [Mon, 6 Mar 2017 23:25:32 +0000 (23:25 +0000)]
Merge "Ensure the editing textarea is not higher than browser's viewport"
Moriel Schottlender [Mon, 6 Mar 2017 23:07:54 +0000 (15:07 -0800)]
RCFilters UI: Fix capsule highlight circle to use pixels
That circle is small enough so that using 'em' values results in
it being mangled/stretched. Using exact pixels fixes that issue.
Change-Id: I5607c2c1f09c022e215b08993115ef631597e85c
C. Scott Ananian [Mon, 27 Feb 2017 21:27:15 +0000 (16:27 -0500)]
Strip U+0000 in wikitext
U+0000 is not allowed in HTML5, there's no reason to allow it in wikitext.
It simplifies our code if we can just strip them at the start. Strip in
PST as well so they don't sneak into our database either.
Tweaked the EXT_LINK URLs to account for the fact that invalid characters
get transformed into U+FFFD when using Preprocessor_DOM. See
73649741ed1e
(r65967) for context on that change.
Bug: T159174
Change-Id: I3f67e92b61aacc87a40c3662085c84d1dac08bfb