jenkins-bot [Wed, 15 Mar 2017 22:34:16 +0000 (22:34 +0000)]
Merge "Change 'history-show-deleted' message to 'Revision deleted only' for clarity"
Translation updater bot [Wed, 15 Mar 2017 20:55:50 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ie2f9d001e9396e7a28d4c83deeae9acef01b76c7
jenkins-bot [Wed, 15 Mar 2017 20:07:49 +0000 (20:07 +0000)]
Merge "Revert "Improve sorting on SpecialWanted*-Pages""
20after4 [Wed, 15 Mar 2017 19:29:04 +0000 (19:29 +0000)]
Revert "Improve sorting on SpecialWanted*-Pages"
This reverts commit
5b15728478f9b167389268fb988a7b9f9f78fcf5. The change causes db query errors:
DBQueryError: 1054 Unknown column qc_ra.rd_namespace in order clause
Change-Id: I068beeae70037c959d42419791911c54ca9908a1
jenkins-bot [Wed, 15 Mar 2017 19:26:10 +0000 (19:26 +0000)]
Merge "Make infused and non-infused DateInputWidget consistent"
jenkins-bot [Wed, 15 Mar 2017 17:58:03 +0000 (17:58 +0000)]
Merge "Skin: Only load jquery.makeCollapsible if needed"
jenkins-bot [Wed, 15 Mar 2017 17:57:59 +0000 (17:57 +0000)]
Merge "Skin: Preload jquery.tablesorter based on rough heuristics"
Brian Wolff [Mon, 13 Mar 2017 04:29:43 +0000 (04:29 +0000)]
Make selectRowCount() (hopefully) work in MSSQL.
Make table and column aliases be quoted identifiers. This
is needed for MSSQL (rowcount is a reserved word), and is
generally just a good idea.
I have tested this on MySql and SQLite. I don't have
MSSQL installed to test on.
Bug: T158766
Change-Id: Ic63f63d208ba6ad15e77eb634e94855ee2728d05
addshore [Wed, 15 Mar 2017 14:53:19 +0000 (14:53 +0000)]
Mark WikiRevision methods as public
Change-Id: If252103d4850d9c9f0607a225b7d345736658cc7
jenkins-bot [Wed, 15 Mar 2017 11:24:45 +0000 (11:24 +0000)]
Merge "RCFilters UI: Use data-feature-in-structured-ui in the frontend"
jenkins-bot [Wed, 15 Mar 2017 11:23:53 +0000 (11:23 +0000)]
Merge "RCFilters UI: Adjust popup positioning again"
jenkins-bot [Wed, 15 Mar 2017 08:22:01 +0000 (08:22 +0000)]
Merge "mw.loader: Add tests for mw.loader StringSet fallback"
jenkins-bot [Wed, 15 Mar 2017 07:19:13 +0000 (07:19 +0000)]
Merge "rv accidental inclusion of debug code in TemplateParser"
jenkins-bot [Wed, 15 Mar 2017 07:01:44 +0000 (07:01 +0000)]
Merge "Default to CACHE_ACCEL if user skips advanced settings"
Brian Wolff [Wed, 15 Mar 2017 06:35:53 +0000 (06:35 +0000)]
Default to CACHE_ACCEL if user skips advanced settings
In the event user skips advanced settings in the installer, and
CACHE_ACCEL is available, we should default to it. This is already
the default in the event the user goes to advanced settings
since
b3dc2fedc5e35015f9c7
Bug: T160495
Change-Id: Icaa2ca4e8eb63254142e837d2a47b6023a8ea0a2
Brian Wolff [Wed, 15 Mar 2017 04:53:39 +0000 (04:53 +0000)]
rv accidental inclusion of debug code in TemplateParser
Follow up
73e08353fb96f5cbd93c6a7004d91c3d0845b446
Change-Id: I59bcff4334be61977a617a4a8726ae90165530e7
jenkins-bot [Wed, 15 Mar 2017 02:59:07 +0000 (02:59 +0000)]
Merge "Avoid breaking wikis that were modifying $wgDummyLanguageCodes"
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
Erik Bernhardson [Tue, 14 Mar 2017 20:10:23 +0000 (13:10 -0700)]
Revert "[search] Remove more dead code"
This reverts commit
1525f6cd45e47c4e9623da234a1d55f862b39498.
This should be functionally equivilent to what was being done
before. When go is triggered but does not cause a redirect the
hook is called. Nothing is done with the result of the hook, same
as before.
Not going to bother deprecating, it doesn't particularly hurt the
architecture in any way, it was removed for being what appeared as dead
code due to a long removed feature. There are apparently a few usages of
this in extensions that may or may not work with recent releases of
mediawiki.
Bug: T160441
Change-Id: I368dec79431fbcc8d04f95afed8bbc7262a2e5de
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
Željko Filipin [Mon, 19 Dec 2016 16:39:29 +0000 (17:39 +0100)]
Selenium tests in Node.js using WebdriverIO
Introduce the WebdriverIO browser testing framework driven by Node.js.
The overall intents are:
* have MediaWiki core to provide a platform to run tests that is shared
between core and the extensions.
* phase out ruby driven browser tests eventually.
Code is namespaced in sub directory /tests/selenium
The 'pages' sub directory provides helper representing a MediaWiki page
such as Special:Login and human friendly helpers to interact with the
elements.
Add Grunt task webdriver:test.
Provide a npm script to easily spawn/dispose chromedriver and run above
grunt task.
wdio.conf.js provides all the configuration. It defaults to point to a
MediaWiki-Vagrant installation on http://127.0.0.1:8080. Can be
overriden with environment settings as needed.
glob patterns (specs) are made absolute paths from MediaWiki root path
that let us run the tests either from the root path (eg the npm
wrapper or from the tests/selenium directory when invoking wdio
directly. wdio assumes they are relative to the current working
directory, hence the normalization.
wdio.conf.jenkins.js extends the configuration and is used solely for
Jenkins. The switch is done from the Gruntfile.js whenever JENKINS_HOME
is set. Specially we want junit reports to be generated.
Provide a more specific eslint configuration.
References:
* MALU https://phabricator.wikimedia.org/source/malu/
* T151442 Research WebdriverIO
* T151443 Research Nightwatch.js
Bug: T139740
Signed-off-by: Antoine Musso <hashar@free.fr>
Change-Id: Ibe7a004a120e82af637ab3e31b725de743134c99
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"
Geoffrey Mon [Wed, 8 Mar 2017 03:18:45 +0000 (22:18 -0500)]
Make infused and non-infused DateInputWidget consistent
* Infused DateInputWidget should inherit from TextInputWidget to match the
non-infused version
* Adjust CSS so that the non-infused version looks approx. the same
Bug: T120733
Change-Id: I8625fee07385b5f9afe3e22f876e11d22832be86
Roan Kattouw [Sat, 11 Mar 2017 01:37:02 +0000 (17:37 -0800)]
RCFilters UI: Use data-feature-in-structured-ui in the frontend
This allows us to remove a bunch of hacky code.
Change-Id: I282cad16df10da801a991967f44f3c4a0c88a225
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
Roan Kattouw [Fri, 10 Mar 2017 18:32:53 +0000 (10:32 -0800)]
RCFilters UI: Adjust popup positioning again
We should really change this to properly
align to the bottom of the text box, rather than
continuing to tweak a margin-top value.
Change-Id: Ic86c59a1726fa6e0ffd888a5e12b177f1d6fcfa5
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
TTO [Thu, 9 Mar 2017 00:12:01 +0000 (00:12 +0000)]
Avoid breaking wikis that were modifying $wgDummyLanguageCodes
Follow-up to If73c74ee87d8235381449cab7dcd9f46b0f23590.
Change-Id: I51b7ecf51860bfddea87fcf7cad17295088e1dd9
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"
Timo Tijhof [Wed, 8 Mar 2017 04:48:21 +0000 (20:48 -0800)]
Skin: Only load jquery.makeCollapsible if needed
Currently, module 'jquery.makeCollapsible' is loaded on all pages
regarless of whether the page contains any collapsible elements.
It is required via 'mediawiki.page.ready'. Change this to lazy-loading
when needed only.
However, this lazy-load is discovered very late (after page ready,
after modules ready). To avoid regressing UX with an annoying reflow
of content and a very late hiding of collapsed elements, still
enqueue it in the main module loader by default on pages that
contain collapsible content server-side.
Bug: T159911
Change-Id: I4703ecd52d2d60207ba39108a4b3ef4aa1570965
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"
Timo Tijhof [Wed, 8 Mar 2017 04:31:10 +0000 (20:31 -0800)]
Skin: Preload jquery.tablesorter based on rough heuristics
Whenever a page contains table.sortable, mediawiki/page/ready.js
will lazy-load the module. However this can create a significant
delay and hides the entire prodecure from our module loader.
Instead, do a rough check (similarl to mw-ui-button) and preload
the module based on that.
Bug: T159911
Change-Id: I87600f968241c723e6bead3ef96c34f1021e1164
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 [Wed, 28 Sep 2016 18:12:52 +0000 (19:12 +0100)]
mw.loader: Add tests for mw.loader StringSet fallback
Change-Id: Ia00d793f0332531b5afa006fe8453e2e733d40ba
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