jenkins-bot [Fri, 15 Sep 2017 19:18:17 +0000 (19:18 +0000)]
Merge "Fix a few minor mistakes in PHPDoc tags"
jenkins-bot [Fri, 15 Sep 2017 13:05:06 +0000 (13:05 +0000)]
Merge "RCFilters: Only selectively scroll to popup when it's focused"
jenkins-bot [Fri, 15 Sep 2017 13:00:07 +0000 (13:00 +0000)]
Merge "RCFilters: Allow empty saved query"
jenkins-bot [Fri, 15 Sep 2017 10:13:11 +0000 (10:13 +0000)]
Merge "Fix $wgUpdateRowsPerJob default in docs/deferred.txt"
jenkins-bot [Fri, 15 Sep 2017 09:54:47 +0000 (09:54 +0000)]
Merge "replacing "images" by "files" in listfiles-show-all for consistency"
Thiemo Mättig [Fri, 15 Sep 2017 09:18:22 +0000 (11:18 +0200)]
Fix $wgUpdateRowsPerJob default in docs/deferred.txt
Change-Id: I0fdca6ac9d58286cf5f1ad9f55531e4643fa4fc5
Thiemo Mättig [Fri, 15 Sep 2017 09:17:17 +0000 (11:17 +0200)]
Fix a few minor mistakes in PHPDoc tags
Change-Id: I2d5f876c9945ba21f8748562230170e3c7ea2ff2
Moriel Schottlender [Wed, 13 Sep 2017 22:29:36 +0000 (15:29 -0700)]
RCFilters: Only selectively scroll to popup when it's focused
Bug: T175697
Change-Id: Id8f42332c661cf341953eb6af43e49a422181cc8
Moriel Schottlender [Thu, 14 Sep 2017 21:11:44 +0000 (14:11 -0700)]
RCFilters: Don't cast days default to an integer
Values can be floats, like 1.5 days, etc. Cast instead to a float.
Bug: T175965
Change-Id: I14ba792f1cd435f89b2e09067b0a0e894a0a2557
Moriel Schottlender [Thu, 14 Sep 2017 00:13:26 +0000 (17:13 -0700)]
RCFilters: Allow empty saved query
For this, we also need to check for saved query visibility on the
saved query model initialization, because since the model starts
its life all-empty, if the saved query is also all-empty, it will
not trigger any item updates on the main model.
Bonus: Actually check whether defaults are empty; there was a
typo and problem with the original test.
Bug: T172387
Change-Id: Ibc536b577e4c3abcc04fa229f9978b651b2f9e61
L10n-bot [Thu, 14 Sep 2017 20:04:33 +0000 (20:04 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Thu, 14 Sep 2017 20:04:16 +0000 (22:04 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I64d648923f684e73152ad4ea9fe8267cda9e5d39
Brad Jorsch [Thu, 14 Sep 2017 19:53:22 +0000 (15:53 -0400)]
ApiFeedWatchlist: Fix copy-paste error
Change-Id: Ibea5bd881c746d7c27c97fc470ee1e3ac9d4b699
jenkins-bot [Thu, 14 Sep 2017 19:46:49 +0000 (19:46 +0000)]
Merge "Instruct stashed upload failures to reupload file"
jenkins-bot [Thu, 14 Sep 2017 19:45:14 +0000 (19:45 +0000)]
Merge "Make chunkedUpload match upload behavior"
jenkins-bot [Thu, 14 Sep 2017 18:11:14 +0000 (18:11 +0000)]
Merge "RCFilters: Live update: no data returns 204"
jenkins-bot [Thu, 14 Sep 2017 17:40:08 +0000 (17:40 +0000)]
Merge "mediawiki.Title: Remove obsolete Object.create ES3 fallback"
Timo Tijhof [Thu, 14 Sep 2017 17:25:15 +0000 (19:25 +0200)]
mediawiki.Title: Remove obsolete Object.create ES3 fallback
We no longer support non-ES5 browsers.
Change-Id: If1e18dc3111899f3b0a5ae53909624186101a8ba
jenkins-bot [Thu, 14 Sep 2017 17:03:01 +0000 (17:03 +0000)]
Merge "mw.loader: Remove Deferred overhead from execute() hot code path"
jenkins-bot [Thu, 14 Sep 2017 13:47:47 +0000 (13:47 +0000)]
Merge "mw.loader: Add unit test to confirm implicit 'site' dependency for 'user'"
jenkins-bot [Thu, 14 Sep 2017 12:47:35 +0000 (12:47 +0000)]
Merge "Fix saved query names cutoff"
jenkins-bot [Thu, 14 Sep 2017 12:36:52 +0000 (12:36 +0000)]
Merge "De-duplicate HTMLCacheUpdate jobs with a page array of size 1"
Timo Tijhof [Thu, 14 Sep 2017 09:52:52 +0000 (11:52 +0200)]
mw.loader: Remove Deferred overhead from execute() hot code path
This was introduced by
0ac4f99804c for the concept of globally
implied legacy dependencies.
Commit
ba257035b07 then re-purposed this for the site/user module
dependency.
The legacy wait was removed in
0ac6076b4c0, thus leaving only the
site/user code.
This commit now simplifies the code back to how it was before
0ac4f99804c
(but keeping the improved error handling from
ba257035b07).
Change-Id: I2eae3b78fbe4f03a7a098d8a6233bdc2b79171b8
Timo Tijhof [Thu, 14 Sep 2017 09:48:03 +0000 (11:48 +0200)]
mw.loader: Add unit test to confirm implicit 'site' dependency for 'user'
The underlying logic is in mw.loader#execute and mw.loader#runScript,
but currently untested.
Adding tests in prep for refactoring this code.
Change-Id: I77ffb5f23443e24ca1d86f36ddf434673e9c1538
Aaron Schulz [Thu, 14 Sep 2017 09:25:23 +0000 (11:25 +0200)]
De-duplicate HTMLCacheUpdate jobs with a page array of size 1
BacklinkJobUtils consistently uses the "pages" field in leaf
jobs, even when there is only one page per leaf job.
RefreshLinksJob already has this logic for de-duplication.
Change-Id: Ia189bbc9df44f2161cfed4192c23b2ac3cfa65ce
petarpetkovic [Thu, 14 Sep 2017 08:37:08 +0000 (10:37 +0200)]
Fix saved query names cutoff
Fix saved filters name misalignment and cutoff for
letters that have descenders on RC page.
Bug: T174111
Change-Id: I32e61fad98f38b48e0234467056a939d634eb15c
Aaron Schulz [Thu, 14 Sep 2017 08:07:38 +0000 (10:07 +0200)]
Prefer that enqueueable post-send updates are run immediately
If the user is not waiting at this point, so there is not much
reason to enqueue a job over just doing the work now. Running
the update now gives more immediate results however.
This has the effect of making LinksUpdate run post-send for
forward link updates, since the addUpdate() call in WikiPage uses
the default POSTSEND mode. These updates used to be synchronous
in the past, before proper post-send update support. With post-send
updates, there is not much benefit to using the job queue here.
If post-send updates are not supported, this will continue to
use the job queue.
If a caller needs such updates to enqueue post-send to avoid DB
updates on HTTP GET or if the update is too big to run outside of
JobRunner, it can always just use JobQueueGroup::lazyPush() with
a direct job object or JobSpecification.
Change-Id: Ibc4b1e17538cc8b1fba7d13759e1ebb83abed869
jenkins-bot [Thu, 14 Sep 2017 02:35:09 +0000 (02:35 +0000)]
Merge "Improve flaky SiteStatsTest"
jenkins-bot [Thu, 14 Sep 2017 02:33:56 +0000 (02:33 +0000)]
Merge "JobQueueMemory: Actually return values in MappedIterator callback"
jenkins-bot [Thu, 14 Sep 2017 01:02:25 +0000 (01:02 +0000)]
Merge "Allow users to restrict who can send them direct emails via Special:EmailUser"
Moriel Schottlender [Thu, 14 Sep 2017 00:18:11 +0000 (17:18 -0700)]
RCFilters: Output namespace class on log actions as well
Bug: T174732
Change-Id: Icaf7117d9566bb2bb31c69cf86078491d6c217cc
Reedy [Wed, 13 Sep 2017 22:22:19 +0000 (23:22 +0100)]
populateIpChanges.php: Insert rows in batches
Change-Id: I0233b5a17fc64751514ec6d0701f155a73906873
jenkins-bot [Wed, 13 Sep 2017 20:57:39 +0000 (20:57 +0000)]
Merge "Center items in 'Save current filter settings'"
jenkins-bot [Wed, 13 Sep 2017 20:49:04 +0000 (20:49 +0000)]
Merge "RCFilters: make live update part of the beta feature"
jenkins-bot [Wed, 13 Sep 2017 20:47:16 +0000 (20:47 +0000)]
Merge "Fix submit button id on Special:Preferences"
Stephane Bisson [Wed, 13 Sep 2017 20:07:54 +0000 (16:07 -0400)]
RCFilters: make live update part of the beta feature
Cleanup wgStructuredChangeFiltersEnableLiveUpdate
Bug: T175766
Change-Id: I03db105bef6c3730221c2d00ce56afb2c78bf57c
jenkins-bot [Wed, 13 Sep 2017 20:36:48 +0000 (20:36 +0000)]
Merge "Sync up with Parsoid parserTests.txt"
Subramanya Sastry [Wed, 13 Sep 2017 20:20:40 +0000 (15:20 -0500)]
Sync up with Parsoid parserTests.txt
This now aligns with Parsoid commit
dcf2706cff795b84fbbfb6cd22749a86655b04f2
Change-Id: I24700184204000465922930dbac2b019259b5a01
Bartosz Dziewoński [Wed, 13 Sep 2017 19:58:25 +0000 (21:58 +0200)]
Fix submit button id on Special:Preferences
For reasons beyond human fathoming, the button had the id set
to 'prefsubmit' in PHP code and then changed to 'prefcontrol'
in JS code. This functionality has been carefully preserved
across multiple rewrites of this code since 2004, when it was
added in
30d0ccd0 (rSVN3618). Let's just set the id in PHP.
Change-Id: Ib23bd0e481e73a51ff0a16731f47a2df11b2c1b8
Translation updater bot [Wed, 13 Sep 2017 20:03:46 +0000 (22:03 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Id145914494c1acfac06ec68cef3805341cbdcc88
Stephane Bisson [Wed, 13 Sep 2017 16:58:16 +0000 (12:58 -0400)]
RCFilters: Live update: no data returns 204
Return status 204 when peek=1 and there is no data
Also refactor _fetchChangesList to allow checking for new changes
and pulling them different handling.
Bug: T173613
Change-Id: I8fe2556156bac3d0cfa4f557ae82a163b6eb4d37
jenkins-bot [Wed, 13 Sep 2017 17:54:13 +0000 (17:54 +0000)]
Merge "Move call of Sanitizer::decodeCharReferences from Skin to Parser"
jenkins-bot [Wed, 13 Sep 2017 17:50:37 +0000 (17:50 +0000)]
Merge "Do not double decode HTML entities for IDs"
jenkins-bot [Wed, 13 Sep 2017 17:35:25 +0000 (17:35 +0000)]
Merge "RCFilters: Add an initialization hook"
jenkins-bot [Wed, 13 Sep 2017 17:34:49 +0000 (17:34 +0000)]
Merge "RCFilters: Actually apply proper classes to grouped pages"
David Barratt [Tue, 29 Aug 2017 13:43:35 +0000 (09:43 -0400)]
Allow users to restrict who can send them direct emails via Special:EmailUser
Users can now specify a blacklist of users who are prevented from sending them a direct email.
Bug: T138166
Change-Id: Ifa26153f593b0ca3a9121e1e29961911c616c9e4
jenkins-bot [Wed, 13 Sep 2017 17:26:28 +0000 (17:26 +0000)]
Merge "mediawiki.htmlform.checker: Add missing dependency on jquery.throttle-debounce"
Moriel Schottlender [Wed, 13 Sep 2017 00:44:03 +0000 (17:44 -0700)]
RCFilters: Actually apply proper classes to grouped pages
Bug: T174734
Change-Id: Ie0a8f5587103c3caed31d29585db78017ac4ab4c
Bartosz Dziewoński [Wed, 13 Sep 2017 16:54:34 +0000 (18:54 +0200)]
mediawiki.htmlform.checker: Add missing dependency on jquery.throttle-debounce
Change-Id: I56345cac3d52f2862d4b3b5df3ba3b6d0ed29c34
jenkins-bot [Wed, 13 Sep 2017 16:41:35 +0000 (16:41 +0000)]
Merge "WikiPage::doCreate() should provide 12th parameter to PageContentSaveComplete hook"
jenkins-bot [Wed, 13 Sep 2017 15:42:28 +0000 (15:42 +0000)]
Merge "Add CommentStoreComment::newUnsavedComment()"
jenkins-bot [Wed, 13 Sep 2017 14:59:19 +0000 (14:59 +0000)]
Merge "Replace more problematic uses of "SELECT *""
Mark A. Hershberger [Mon, 11 Sep 2017 16:21:56 +0000 (12:21 -0400)]
WikiPage::doCreate() should provide 12th parameter to PageContentSaveComplete hook
In case the hook user has created the 12th param without a default.
Bug: T175596
Change-Id: I63142daaaeea069364dc70b45ee62680ac955f1e
petarpetkovic [Wed, 13 Sep 2017 13:41:17 +0000 (15:41 +0200)]
Center items in 'Save current filter settings'
- Center cancel button (X) in 'Save current filter settings' menu.
- Center head label in 'Save current filter settings' menu.
Bug: T174454
Change-Id: I44ce0b40aa6acf5797f70fda731e5e4bde9f9748
jenkins-bot [Wed, 13 Sep 2017 13:38:54 +0000 (13:38 +0000)]
Merge "RCFilters: Preference length is in bytes, so use $.byteLength"
jenkins-bot [Wed, 13 Sep 2017 13:16:39 +0000 (13:16 +0000)]
Merge "Skin.php: HTML escape message pipe-separator"
Brad Jorsch [Wed, 13 Sep 2017 12:13:02 +0000 (08:13 -0400)]
Replace more problematic uses of "SELECT *"
With the introduction of CommentStore, selects from various table
require certain joins or column aliases for proper operation.
Change-Id: I2ecb6030bf253664c3227d69b5ed2277596a83f0
Envel Le Hir [Wed, 13 Sep 2017 12:45:22 +0000 (14:45 +0200)]
replacing "images" by "files" in listfiles-show-all for consistency
Change-Id: I2adabce83df0b429809f8256f3ae333fd8a36902
Fomafix [Wed, 13 Sep 2017 11:49:02 +0000 (13:49 +0200)]
Move call of Sanitizer::decodeCharReferences from Skin to Parser
Supporting HTML entities in Wikitext is part of the parser not of the
skin.
Change-Id: Ib30ff08f4f4ce585f31211aa24b719783f06456e
Fomafix [Wed, 13 Sep 2017 10:37:36 +0000 (12:37 +0200)]
Skin.php: HTML escape message pipe-separator
This prevents HTML and JavaScript injections.
Change-Id: I6241dadf29e96aa1aa15324a3edc51538214345d
jenkins-bot [Wed, 13 Sep 2017 10:15:54 +0000 (10:15 +0000)]
Merge "Linker: Accept LinkTargets in makeCommentLink()"
jenkins-bot [Wed, 13 Sep 2017 10:10:38 +0000 (10:10 +0000)]
Merge "Linker: Accept LinkTarget objects in link()"
jenkins-bot [Wed, 13 Sep 2017 10:07:16 +0000 (10:07 +0000)]
Merge "Linker: Don't use Title::setFragment()"
jenkins-bot [Wed, 13 Sep 2017 10:03:44 +0000 (10:03 +0000)]
Merge "ImageHistoryPseudoPager: Don't use Title::setFragment()"
Matthew Flaschen [Wed, 13 Sep 2017 02:22:33 +0000 (22:22 -0400)]
RCFilters: Preference length is in bytes, so use $.byteLength
Also, a minor fix to $.byteLength docs
Change-Id: I0f93edb0cb61a057da5ce0876b74cd17179c6587
jenkins-bot [Wed, 13 Sep 2017 06:51:53 +0000 (06:51 +0000)]
Merge "Fix coverage annotations"
jenkins-bot [Wed, 13 Sep 2017 00:03:58 +0000 (00:03 +0000)]
Merge "Use db query builder not raw sql"
jenkins-bot [Tue, 12 Sep 2017 23:46:29 +0000 (23:46 +0000)]
Merge "Quote $default in PostgresUpdater::setDefault"
jenkins-bot [Tue, 12 Sep 2017 23:43:51 +0000 (23:43 +0000)]
Merge "Remove @covers from private Sanitizer method"
jenkins-bot [Tue, 12 Sep 2017 23:38:11 +0000 (23:38 +0000)]
Merge "Chinese Conversion Table Update 2017-4"
jenkins-bot [Tue, 12 Sep 2017 23:35:11 +0000 (23:35 +0000)]
Merge "Split off remaining helper classes for special pages to separate files"
Chiefwei [Thu, 17 Aug 2017 06:10:08 +0000 (14:10 +0800)]
Chinese Conversion Table Update 2017-4
Update the Chinese conversion table routinely to fix bugs reported from https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 .
It is only data changes and only works for Chinese WikiProjects.
Change-Id: Ic66546d3a47e4dd946ae67c636a638ca181b0ca1
Reedy [Tue, 12 Sep 2017 22:24:12 +0000 (23:24 +0100)]
Use db query builder not raw sql
Change-Id: I8e26932e28fdda9a52e0486c5d2eb269eb9ecae5
Follows-up: Ice1bdae3d16cf365da14c6df0e8d91d2b914e064
jenkins-bot [Tue, 12 Sep 2017 22:14:13 +0000 (22:14 +0000)]
Merge "postEdit: Use standard close icon"
Bartosz Dziewoński [Tue, 12 Sep 2017 21:03:26 +0000 (23:03 +0200)]
Split off remaining helper classes for special pages to separate files
includes/specials/formfields/
* EditWatchlistCheckboxSeriesField (for SpecialEditWatchlist)
* UploadSourceField (for SpecialUpload)
* Licenses (for SpecialUpload)
includes/specials/forms/
* EditWatchlistNormalHTMLForm (for SpecialEditWatchlist)
* PreferencesForm (for SpecialPreferences)
* UploadForm (for SpecialUpload)
includes/specials/helpers/
* ImportReporter (for SpecialImport)
* License (for SpecialUpload)
Change-Id: I58abcbb44dbf9bf1762b4252555f7552bfa7c253
jenkins-bot [Tue, 12 Sep 2017 20:08:47 +0000 (20:08 +0000)]
Merge "Enable recursive partials in TemplateParser"
Translation updater bot [Tue, 12 Sep 2017 19:56:32 +0000 (21:56 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I23445b9466fb16491dc794c730e743a035cc5b17
jenkins-bot [Tue, 12 Sep 2017 19:35:26 +0000 (19:35 +0000)]
Merge "Reduce code duplication for parsing messages into dropdown menus"
jenkins-bot [Tue, 12 Sep 2017 19:14:41 +0000 (19:14 +0000)]
Merge "EditPage: Stop using $wgLang"
Bartosz Dziewoński [Wed, 12 Jul 2017 19:31:33 +0000 (21:31 +0200)]
Reduce code duplication for parsing messages into dropdown menus
The same behavior was implemented by Xml::listDropDown(),
Article::confirmDelete() and HTMLFormField::getOptions().
A new function Xml::listDropDownOptions() is added and
all three are changed to use it.
Additionally:
* Xml::listDropDown() now uses XmlSelect internally to generate the
dropdown HTML.
* Xml::listDropDownOptionsOoui() is introduced to handle converting
the existing format to the OOUI format, which was previously
duplicated in Article::confirmDelete() and HTMLFormField::getOptionsOOUI().
* This change allows HTMLForm 'select' fields (HTMLSelectField) to
support nested options (optgroups) in OOUI mode. This is a
prerequisite for T117781.
Bug: T117781
Change-Id: I0a088f61eb32ec59677113583c7ecdcbc3fd2af0
Kunal Mehta [Tue, 12 Sep 2017 18:31:43 +0000 (11:31 -0700)]
EditPage: Stop using $wgLang
Change-Id: Ifca2cdcff45b4e06aef6e06dc5a3b852752a7a1a
Kunal Mehta [Tue, 12 Sep 2017 18:17:20 +0000 (11:17 -0700)]
EditPage: Rename and make getSubmitButtonLabel() protected
Calling this method "SaveButton" is misleading since this function
controls whether the button is called "save" or "publish". The
corresponding config option (EditSubmitButtonLabelPublish) already uses
the terminology "SubmitButton" so re-use it here.
And make it protected so subclasses (e.g. TwoColConflict) can use it
instead of having to re-implement it.
Change-Id: Iae811f0487f661bb501a9893037c352efa4e1e73
Arlo Breault [Tue, 12 Sep 2017 17:50:11 +0000 (13:50 -0400)]
Sync up with Parsoid parserTests.txt
This now aligns with Parsoid commit
c695317294087a691bad649237f9d86fbfce64c5
Change-Id: I6cb1eafcaf23846aba25714e6177c0e510c0b174
Reedy [Tue, 12 Sep 2017 16:39:46 +0000 (17:39 +0100)]
Remove @covers from private Sanitizer method
Breaks mediawiki-core-code-coverage
https://integration.wikimedia.org/ci/job/mediawiki-core-code-coverage/3003/console
Change-Id: I3204289c1d45e5ea0bee5c4bb6869434152e6017
Brad Jorsch [Tue, 12 Sep 2017 15:45:45 +0000 (11:45 -0400)]
JobQueueMemory: Actually return values in MappedIterator callback
Change-Id: Ie489d43ba3e9f4a10580716f38ec0f123d9ab5bb
Brad Jorsch [Tue, 12 Sep 2017 15:48:41 +0000 (11:48 -0400)]
Improve flaky SiteStatsTest
SiteStatsTest::testJobsCountGetCached() is somewhat flaky in that if it
runs after a test that adds a page (thereby producing htmlCacheUpdate
and recentChangesUpdate jobs) but doesn't have the CI framework reset
the `page` tables (which has the side effect of clearing all such jobs),
it will fail.
This change manually clears those jobs so it doesn't depend on test
ordering.
Change-Id: I1277e633c81b29bda7564fa12d23f13ded7298c7
jenkins-bot [Tue, 12 Sep 2017 14:27:53 +0000 (14:27 +0000)]
Merge "Update padding of mw-ui-input to match OOUI"
Fomafix [Mon, 2 May 2016 05:14:45 +0000 (05:14 +0000)]
Do not double decode HTML entities for IDs
* in links (T103714)
* in indicators (T104196)
This change removes the automatic Sanitizer::decodeCharReferences from
Sanitizer::escapeId and Sanitizer::escapeIdInternal. Where decoding of
HTML entities are wanted an explicit call to
Sanitizer::decodeCharReferences is added.
Explicit decode HTML entities in non local autocomments. (T104311)
Bug: T103714
Bug: T104196
Bug: T104311
Change-Id: I88e8e2077e6f5eec2b232391f7818370894a62dc
Ed Sanders [Tue, 12 Sep 2017 13:38:28 +0000 (14:38 +0100)]
Update padding of mw-ui-input to match OOUI
Change-Id: I85c7044666be41a9baa52e8f7ba019a96dac4a6b
jenkins-bot [Tue, 12 Sep 2017 11:43:49 +0000 (11:43 +0000)]
Merge "Port BCP47 formatter from PHP to JavaScript"
Niklas Laxström [Thu, 7 Sep 2017 12:11:01 +0000 (14:11 +0200)]
Port BCP47 formatter from PHP to JavaScript
It can be accessed via mw.language.bcp47.
To be used in ContentTranslation, see T157212
Change-Id: I37d32ab8a55c7101b903b03869899f00a39afd11
jenkins-bot [Tue, 12 Sep 2017 08:53:48 +0000 (08:53 +0000)]
Merge "Replace autocomment color with WCAG conformant WikimediaUI palette one"
jenkins-bot [Tue, 12 Sep 2017 08:53:45 +0000 (08:53 +0000)]
Merge "Sanity check "stashedtexthash" param before checking memcached"
Volker E [Tue, 12 Sep 2017 05:00:20 +0000 (22:00 -0700)]
Replace autocomment color with WCAG conformant WikimediaUI palette one
Replacing outdated `.autocomment` color with WCAG level AA conformant
one from WikimediaUI color palette and also replace `.wikitable`'s
color with normal text color. Black is to be used solely on emphasized
UI elements and we're remaining high contrast level.
Follow-up to Ide230784be654def9f120d5242d036f7423e65b2
Bug: T152025
Change-Id: I8e860b53481caf03e11f9bcdd836a80c3a2fc39f
Max Semenik [Tue, 12 Sep 2017 04:34:43 +0000 (21:34 -0700)]
Fix coverage annotations
Change-Id: I1f9b421a4ce55f1e0d4a81ed4a886aae20100fab
jenkins-bot [Tue, 12 Sep 2017 01:38:59 +0000 (01:38 +0000)]
Merge "Don't percent-encode HTML5 IDs"
Max Semenik [Fri, 1 Sep 2017 00:48:42 +0000 (17:48 -0700)]
Don't percent-encode HTML5 IDs
During the TechCom meeting, it was decided this is the better way.
Bug: T152540
Change-Id: I6c3ec1c407225b4e925b7373bf52208e2f6b6c4a
Subramanya Sastry [Wed, 6 Sep 2017 22:47:54 +0000 (17:47 -0500)]
Fix bug in dl-dt list output generation
* An open <dt> (;) should be closed when we encounter a new <dd> (:)
char even if it is on a new line that has other nested lists inside.
* Tidy was hiding this PHP parser bug by closing a <dt> and opening
a <dd> when given this HTML: "<dl><dt>a<ul><li>b</li></ul></dt></dl>"
It generates "<dl><dt>a</dt><dd><ul><li>b</li></ul></dd></dl>"
However, a HTML5 parser like RemexHTML, domino (used by Parsoid),
or browsers don't do this fixup.
* So, what I thought was a bug in RemexHTML turned out to be a bug
in the PHP parser that was being hidden by the use of Tidy.
* Added a regression test.
Bug: T175099
Change-Id: I6d5b225b82cecf9a43f23837ed8ec359b31aadad
jenkins-bot [Tue, 12 Sep 2017 00:30:13 +0000 (00:30 +0000)]
Merge "Provide an opt-out preference for New Filters for RecentChanges"
Moriel Schottlender [Sat, 9 Sep 2017 00:24:27 +0000 (17:24 -0700)]
RCFilters: Add an initialization hook
Change-Id: I9adc529bee0d5e25566409cc98f7bbac8178c478