Kunal Mehta [Thu, 1 Dec 2016 22:55:49 +0000 (14:55 -0800)]
installer: Restore link text in default main page content
Accidentally got dropped in
b85a17b7543.
Change-Id: I30b7a8d42877a54749792e97e49670087a85ca2b
jenkins-bot [Thu, 1 Dec 2016 22:17:02 +0000 (22:17 +0000)]
Merge "ApiSandbox: Better handling of parsed messages"
Reedy [Thu, 1 Dec 2016 21:32:09 +0000 (21:32 +0000)]
IDatabase::delete() table name parameter should be a string
Change-Id: I7ba2cdb6cdddf04819ff80e27814f704f41d15f1
jenkins-bot [Thu, 1 Dec 2016 20:24:51 +0000 (20:24 +0000)]
Merge "Replace Linker::link() usage with LinkRenderer"
jenkins-bot [Thu, 1 Dec 2016 20:09:02 +0000 (20:09 +0000)]
Merge "http: Support HTTP Basic Authentication"
Haikal Izzuddin [Wed, 30 Nov 2016 01:07:37 +0000 (09:07 +0800)]
Replace Linker::link() usage with LinkRenderer
Bug: T149346
Change-Id: Ie384566617f18ad6c3bf836b39702365d59f714d
jenkins-bot [Thu, 1 Dec 2016 19:56:18 +0000 (19:56 +0000)]
Merge "Replace Linker::link() with LinkRenderer in some special pages"
Chrisludt [Tue, 8 Nov 2016 13:22:50 +0000 (13:22 +0000)]
http: Support HTTP Basic Authentication
Adds two new options (username and password) to the
MWHttpRequest (and HTTP helper class) to enable
support for HTTP Basic Authentication on outgoing HTTP
connections.
Change-Id: If83f025bbe63769ba7bb4a824c5f12d5f1ec640a
jenkins-bot [Thu, 1 Dec 2016 19:45:09 +0000 (19:45 +0000)]
Merge "Replace Linker::link() with LinkRenderer in includes directory"
jenkins-bot [Thu, 1 Dec 2016 17:13:25 +0000 (17:13 +0000)]
Merge "mediawiki.storage: Provide a wrapper for sessionStorage too"
jenkins-bot [Thu, 1 Dec 2016 13:29:39 +0000 (13:29 +0000)]
Merge "Fix typo in $fallback so Russian fallback is applied"
Siebrand Mazeland [Thu, 1 Dec 2016 13:00:53 +0000 (14:00 +0100)]
Fix typo in $fallback so Russian fallback is applied
Change-Id: I25ab7b58dedff895b60737d45b6fcf48f9484001
jenkins-bot [Thu, 1 Dec 2016 10:49:35 +0000 (10:49 +0000)]
Merge "Align search result CSS with Wikimedia UI color palette"
jenkins-bot [Thu, 1 Dec 2016 09:54:21 +0000 (09:54 +0000)]
Merge "Rank aliases in search in order they appear in the messages file."
Yuriy Shnitkovskiy [Wed, 30 Nov 2016 22:56:33 +0000 (00:56 +0200)]
Replace Linker::link() with LinkRenderer in some special pages
* SpecialEditTags
* SpecialEmailuser
* SpecialFewestrevisions
* SpecialImport
* SpecialListgrouprights
* SpecialMediaStatistics
* SpecialMergeHistory
* SpecialMIMEsearch
* SpecialMostcategories
* SpecialMostinerwikis
* SpecialMostlinked
Bug: T149346
Change-Id: Idee566dbff87f2e8bf909ba8371d551aaf0dd08b
Yuriy Shnitkovskiy [Wed, 30 Nov 2016 21:28:55 +0000 (23:28 +0200)]
Replace Linker::link() with LinkRenderer in includes directory
* CategoryViewer
* OutputPage
* Preferences
Bug: T149346
Change-Id: I9f9bcd9b461884817e8ceefbc6757c436221e331
Ori Livneh [Mon, 30 Nov 2015 20:41:43 +0000 (12:41 -0800)]
mediawiki.storage: Provide a wrapper for sessionStorage too
T119146 provides a use-case for using sessionStorage. So far mw.storage
was localStorage-specific. With a small modification, we can allow the
Storage object to passed to the constructor, which allows us to create a
wrapper around sessionStorage (mw.storage.session) with minimal code duplication.
Bug: T121646
Change-Id: I73bc82d9fa2359148fe1e50b6535bfa0dbe8bd3e
jenkins-bot [Thu, 1 Dec 2016 03:32:47 +0000 (03:32 +0000)]
Merge "Clean up http classes a bit"
Gergő Tisza [Wed, 26 Oct 2016 04:08:14 +0000 (21:08 -0700)]
Clean up http classes a bit
* added integration tests. We probably don't want automated tests
to make external requests but these make manual testing more
convenient. Documented some oddities discovered by testing.
* made ::$status, ::proxySetup() and ::getHeaderList()
protected; they were not referenced in any gerrit-hosted extension
and they provide no useful functionality to external callers.
Similarly, marked ::read() and ::errorHandler() as internal
(these are used as callbacks so can't be protected)
* removed inheritance abuse in ::execute()
* documented ::execute() as returning a StatusValue (but
keep returning a Status for now)
* changed setCookie argument defaults to ones that make sense
* replaced MWException
* moved unit tests to the correct location
* fixed some code style issues
Change-Id: I5852fc75badc5d475ae30ec2c9376bde7024bd95
jenkins-bot [Thu, 1 Dec 2016 01:48:33 +0000 (01:48 +0000)]
Merge "SpecialBrokenRedirects: fix up LinkRenderer conversion"
MtDu [Wed, 30 Nov 2016 22:51:41 +0000 (16:51 -0600)]
SpecialBrokenRedirects: fix up LinkRenderer conversion
$options is no longer supported, use makeBrokenLink() instead.
Follows-up
d8c56ec84f.
Change-Id: If2025232a2e09ab99b1bdc6d58a77f347f3dbf5e
jenkins-bot [Thu, 1 Dec 2016 00:41:10 +0000 (00:41 +0000)]
Merge "ExtensionRegistryTest: Illustrate priority in array_replace_recursive test case"
Roan Kattouw [Wed, 30 Nov 2016 23:54:15 +0000 (18:54 -0500)]
ExtensionRegistryTest: Illustrate priority in array_replace_recursive test case
When two keys have conflicting values, the value from extension.json wins
when using this merge strategy.
Change-Id: I0222682f3b3fb08f80afc7dda677da7bbfe8e5d1
addshore [Thu, 1 Dec 2016 00:15:38 +0000 (00:15 +0000)]
Fix SessionConsistentConnectionManagerTest class and file name
Change-Id: If60f081946b8f3bb564f2bb17fd1261af0cb7e3a
Translation updater bot [Wed, 30 Nov 2016 21:57:58 +0000 (22:57 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I028c1cb92a6b14cc4ca72f6cff0b75f74bc68058
Raimond Spekking [Wed, 30 Nov 2016 20:57:45 +0000 (20:57 +0000)]
Revert "Localisation updates from https://translatewiki.net."
Local twn repo seem outdated
This reverts commit
683e05d4413a9727ec882b4b15d04edcc562f93f.
Change-Id: I3e38317ef0ef2a7e9080ee7a50c2101a921d632c
Translation updater bot [Wed, 30 Nov 2016 20:53:44 +0000 (21:53 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I83a9c227bab5b29162367eed71ccabf513ac5423
Amir Sarabadani [Wed, 30 Nov 2016 20:30:41 +0000 (00:00 +0330)]
Align search result CSS with Wikimedia UI color palette
Bug: T152025
Change-Id: Idc58deca48327d82372f5136a2fb07146ab1f371
jenkins-bot [Wed, 30 Nov 2016 20:26:49 +0000 (20:26 +0000)]
Merge "DatabaseUpdater: Stop inserting junk into 'updatelog' every time the updater runs"
Bartosz Dziewoński [Wed, 30 Nov 2016 19:49:31 +0000 (20:49 +0100)]
DatabaseUpdater: Stop inserting junk into 'updatelog' every time the updater runs
Nothing ever looks at these rows, and if you have update.php in a Cron
job or a Git hook or something, they can accumulate in huge numbers.
Also remove a test which verified that the rows get inserted.
If you reached this place while trying to find out what the weird
"updatelist-1.28.0-
14628929450" rows in your database are, rest
assured they are useless. If they're causing disk space problems,
you can delete them:
DELETE FROM updatelog WHERE ul_key LIKE 'updatelist-%';
Change-Id: If94f243810e82ea3724cbd47b301bb96ba9a49d9
jenkins-bot [Wed, 30 Nov 2016 19:57:49 +0000 (19:57 +0000)]
Merge "Almost invisible change on UI colors to align with Wikimedia color palette"
Amir Sarabadani [Wed, 30 Nov 2016 19:00:24 +0000 (22:30 +0330)]
Almost invisible change on UI colors to align with Wikimedia color palette
- wikitable
- thumbnails
- gallery
- TOC
- catlinks
Bug: T152025
Change-Id: I8ca0f94ad66a5d6cec649f65e87b145a9a9aba78
jenkins-bot [Wed, 30 Nov 2016 19:32:23 +0000 (19:32 +0000)]
Merge "CategoryPager: Allow categories with no members to be shown"
jenkins-bot [Wed, 30 Nov 2016 19:27:26 +0000 (19:27 +0000)]
Merge "ImageHistoryPseudoPager: Only display 10 revisions at once by default"
jenkins-bot [Wed, 30 Nov 2016 19:10:47 +0000 (19:10 +0000)]
Merge "Throw an exception if password hash would be truncated by DB"
jenkins-bot [Wed, 30 Nov 2016 19:04:48 +0000 (19:04 +0000)]
Merge "mediawiki.language: fix convertNumber( ..., true )"
jenkins-bot [Wed, 30 Nov 2016 18:43:25 +0000 (18:43 +0000)]
Merge "Update OOjs UI to v0.18.1"
jenkins-bot [Wed, 30 Nov 2016 18:43:21 +0000 (18:43 +0000)]
Merge "Add DB ConnectionManagers"
jenkins-bot [Wed, 30 Nov 2016 18:27:07 +0000 (18:27 +0000)]
Merge "SpecialUserrights: Make new fetchUser() parameter optional"
Bartosz Dziewoński [Wed, 30 Nov 2016 18:04:45 +0000 (19:04 +0100)]
SpecialUserrights: Make new fetchUser() parameter optional
This in, unfortunately, a public API, apparently.
Follow-up to
d87a4eaa19aad80e109307eb0088fd6a25dd5f51.
Bug: T151961
Change-Id: Ia0e583a5cbb9ed143bf5dff9b513b76ca2790d72
jenkins-bot [Wed, 30 Nov 2016 17:00:54 +0000 (17:00 +0000)]
Merge "Fix MediaTransformError message handling"
Bartosz Dziewoński [Wed, 30 Nov 2016 16:41:17 +0000 (17:41 +0100)]
CategoryPager: Allow categories with no members to be shown
This affects the listing on Special:Categories.
Bug: T12915
Change-Id: I6265d20b8afd199832de6dd3b2e126a1c45d4b11
jenkins-bot [Wed, 30 Nov 2016 16:39:12 +0000 (16:39 +0000)]
Merge "Prevent login-only local password provider from removing passwords"
Brad Jorsch [Tue, 1 Nov 2016 19:08:38 +0000 (15:08 -0400)]
Fix MediaTransformError message handling
Give access to the raw Message instead of only to the HTML or text in
the RequestContext language.
Pass Message objects instead of strings from calling ->text() as the
parameters of Messages so if the outer Message's language is changed
things get parsed sensibly.
Change-Id: Ibd6c1217b6fed839c888b66e02900f8e21ed3e6b
Brad Jorsch [Wed, 2 Nov 2016 16:53:19 +0000 (12:53 -0400)]
Add Message::listParam()
This allows for passing a list of values that will be turned into a list
in the context of the language for which the Message is being processed.
For example, currently you'd have to do
$msg = new Message( 'something', [ $language->commaList( $list ) ] );
which isn't going to give correct results if the message is later
changed to a different language with a different value for
'comma-separator'.
Now, you can do this instead
$msg = new Message( 'something', [ Message::listParam( $list, 'comma' ) ] );
and it will be listified properly no matter what language is later used to
parse $msg.
Change-Id: I66868c61832260870449998fef14c842f17753ee
jenkins-bot [Wed, 30 Nov 2016 14:43:04 +0000 (14:43 +0000)]
Merge "Added warning for improper ending of a token"
jenkins-bot [Wed, 30 Nov 2016 13:59:36 +0000 (13:59 +0000)]
Merge "Accept 'OK' status results from search engine"
Niklas Laxström [Wed, 30 Nov 2016 08:35:20 +0000 (09:35 +0100)]
mediawiki.language: fix convertNumber( ..., true )
It was not handling separator unformatting.
In mediawiki.jqueryMsg.test.js fix broken test case:
* Hindi does not use comma as decimal separator!
* The number was not formatted as it would be by the
formatting code. By definition back-conversion is
only defined for input that we generate. For other
input the output is undefined. There are other tests
with same issue, but I did not touch them now.
Bug: T151198
Change-Id: Icc9bc09675151645055c7e7f706472a15cc81b0f
addshore [Mon, 21 Nov 2016 13:26:07 +0000 (13:26 +0000)]
Add DB ConnectionManagers
This moves and refactors the ConsistentReadConnectionManager
from Wikibase into the core rdbms lib.
The refactoring also creates a generic ConnectionManager.
This relates to Iff20a22f9f2bc7ceefd6defc0ed9a494a6fe62c0
which introduced a DB factory / connection manager in
an extension revealing the need for this in multiple places.
Change-Id: I0c58e15aed5bed88323d18cb95e5008f8d3381c5
jenkins-bot [Wed, 30 Nov 2016 10:04:09 +0000 (10:04 +0000)]
Merge "Replace Linker::link() with LinkRenderer in some special pages"
MtDu [Wed, 30 Nov 2016 00:05:22 +0000 (18:05 -0600)]
Replace Linker::link() with LinkRenderer in some special pages
* SpecialAllPages
* SpecialAncientpage
* SpecialBlock
* SpecialBrokenRedirects
* SpecialDoubleRedirects
Bug: T149346
Change-Id: Ib9997ec29b5c0079acb79dc2772196b38665145d
Andrew Green [Mon, 17 Oct 2016 15:00:47 +0000 (10:00 -0500)]
MessageCache: some inline comments
Change-Id: I42427eef73d86c1a2e99dfa22b5dae159542e243
georggi [Mon, 28 Nov 2016 20:22:56 +0000 (22:22 +0200)]
Added warning for improper ending of a token
Added warning if token ends with Token::SUFFIX by comparing result of substr to Token::SUFFIX.
Simplified Token class calls.
Bug: T122280
Change-Id: Id405dcc7b5e4d28995edf334aa6e183efdb749de
Timo Tijhof [Wed, 23 Nov 2016 17:53:28 +0000 (09:53 -0800)]
qunit: Don't assume synchronous Deferred.resolve
* mw.loader.test: Most test did this correctly already by returning
a Promise to QUnit.test, or by using assert.async().
However two tests did not.
* mediawiki.jqueryMsg.test: Previously the async() handles were
obtained within the task execution loop. Before jQuery 3.0,
simple .then() operations when they are already resolved happen
synchronously, so the current handle was resolved and the next
handle obtained in the same go and QUnit never saw the state
as having no unresolved async handles.
With jQuery 3.0 the test fails because QUnit would end the test
after the first iteration.
Fix by simply obtaining all the async() handles when creating the
list of tasks, instead of within the individual task execution.
This way they're all reserved and they'll count down as we go.
* mediawiki.api.test: Consistently use 'respondImmediately' for
the tests that were missing it, and return promise to QUnit.test()
Also update hardcoded API urls that encoded space as '+', which may
now be encoded as '%20'.
Bug: T124742
Change-Id: If7ee1c6025be70fecc0a93d4ac155da4db6571ab
jenkins-bot [Wed, 30 Nov 2016 02:03:14 +0000 (02:03 +0000)]
Merge "mediawiki.api: Fix getToken() incompat with jQuery 3.0"
jenkins-bot [Wed, 30 Nov 2016 00:55:17 +0000 (00:55 +0000)]
Merge "Remove $wgSessionsInMemcached"
James D. Forrester [Wed, 30 Nov 2016 00:12:08 +0000 (16:12 -0800)]
Update OOjs UI to v0.18.1
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.18.1
Change-Id: I5fe3129c9ccf3fa20494b5934bca7487d8d36879
Reedy [Wed, 30 Nov 2016 00:07:19 +0000 (00:07 +0000)]
Remove $wgSessionsInMemcached
Change-Id: Ia2b4d62ea504a3cb04f4c2bec49b16f155c8b0c9
jenkins-bot [Wed, 30 Nov 2016 00:05:06 +0000 (00:05 +0000)]
Merge "Make protect.php maintenance script not ignore --user and --reason parameters"
Erik Bernhardson [Wed, 9 Nov 2016 00:41:11 +0000 (16:41 -0800)]
Accept 'OK' status results from search engine
Historically code that talks to the SearchEngine has been treating
anything other than a 'Good' result, such as results but with a warning
(perhaps the query timed out and only gave partial results) as a
complete failure. Adjust the handling to report results from an 'OK'
status response while attaching any warnings to the api response, or
in a notiable red box on Special:Search.
Bug: T134157
Change-Id: Ic5e0db727790f4fd189caa54ea5f01672d6a8ea4
Stanislav Malyshev [Tue, 29 Nov 2016 21:54:15 +0000 (13:54 -0800)]
Rank aliases in search in order they appear in the messages file.
This will ensure the local page name (which is the first alias) is prioritized.
Bug: T151660
Change-Id: I3cc266024f5e052d20ff55c4b2c6cbd2945e3dd3
jenkins-bot [Tue, 29 Nov 2016 23:03:55 +0000 (23:03 +0000)]
Merge "Use isDisabled() instead of isBlank() in getGrantName in User.php"
jenkins-bot [Tue, 29 Nov 2016 22:57:48 +0000 (22:57 +0000)]
Merge "Allow API endpoint customization for mw.widgets.TitleWidget"
jenkins-bot [Tue, 29 Nov 2016 22:53:10 +0000 (22:53 +0000)]
Merge "Rewrite logstash key conflict warning from I6677dbf6"
jenkins-bot [Tue, 29 Nov 2016 22:49:21 +0000 (22:49 +0000)]
Merge "List grant codenames next to grants on Special:ListGrants"
Justin Du [Tue, 29 Nov 2016 22:36:21 +0000 (16:36 -0600)]
Use isDisabled() instead of isBlank() in getGrantName in User.php
Bug: T151956
Change-Id: Ic23c75b784c725f8f73eb1cf98d2bdb3763ab09d
MtDu [Mon, 28 Nov 2016 23:46:44 +0000 (17:46 -0600)]
List grant codenames next to grants on Special:ListGrants
Bug: T145351
Change-Id: Ia07de6269fa6192071aaea5d750362685389001c
L10n-bot [Tue, 29 Nov 2016 20:59:14 +0000 (20:59 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 29 Nov 2016 20:54:08 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I684af6c0af26bfcc3826be4ab644c131637a7245
jenkins-bot [Tue, 29 Nov 2016 20:34:39 +0000 (20:34 +0000)]
Merge "mediawiki.UI: Tweak destructive reds for background-independent contrast"
Amir Sarabadani [Tue, 29 Nov 2016 13:53:22 +0000 (17:23 +0330)]
mediawiki.UI: Tweak destructive reds for background-independent contrast
Reds of color palette have been changed by WMF designers to provide more
contrast on dark and light backgrounds (WCAG 2.0 level AA on black and
white). Among other things this will help with error messages of
coming patches. Following-up I73d336900.
Change-Id: I62a1d1c6bbd52973883789e1fcb9927cccd3f6a6
jenkins-bot [Tue, 29 Nov 2016 20:21:58 +0000 (20:21 +0000)]
Merge "Serve 400 instead of 500 when invalid thumbnail parameters are requested"
jenkins-bot [Tue, 29 Nov 2016 20:03:54 +0000 (20:03 +0000)]
Merge "Bring in MediaSearchWidget from VE"
Brad Jorsch [Tue, 29 Nov 2016 16:32:48 +0000 (11:32 -0500)]
API: Make action=clearhasmsg require POST
Bug: T146526
Change-Id: I341b395e532e7bdc7816f0deae8c6e5e8c9e8f3b
Ed Sanders [Thu, 17 Nov 2016 15:32:06 +0000 (15:32 +0000)]
Bring in MediaSearchWidget from VE
Bug: T140166
Change-Id: If53ef7f4b62c7a5d4da565c14dd2a353778694e5
jenkins-bot [Tue, 29 Nov 2016 16:21:09 +0000 (16:21 +0000)]
Merge "Upgrade QUnit from v1.22.0 to v1.23.1"
rlot [Tue, 29 Nov 2016 13:38:01 +0000 (14:38 +0100)]
Make protect.php maintenance script not ignore --user and --reason parameters
Google Code-In task
Bug: T89713
Change-Id: If4832fb54011af171a74b0b1a59df207b5209044
Gergő Tisza [Wed, 23 Nov 2016 01:01:07 +0000 (01:01 +0000)]
Rewrite logstash key conflict warning from I6677dbf6
* do not warn if something is overwritten with an identical value
(happens a lot with 'ip')
* move to LogstashFormatter so we can check for the value
* instead of spamming errors, just add a flag to the logstash data
Bug: T145133
Change-Id: I31caee865cd60c785126478ac75c9aefce78eaaf
jenkins-bot [Tue, 29 Nov 2016 09:42:36 +0000 (09:42 +0000)]
Merge "Fallback tarantino (roa-tara) to Italian (it)"
Gilles Dubuc [Thu, 24 Nov 2016 12:14:11 +0000 (13:14 +0100)]
Serve 400 instead of 500 when invalid thumbnail parameters are requested
This was requested because of 0px thumbnail requests, but there are
other cases where parameters are detected as invalid and 400 is
semantically more correct than 500 in that situation.
Bug: T147784
Change-Id: I4d24a93e655f04d8119e77798d5df5a45caaafcf
Amire80 [Tue, 29 Nov 2016 08:43:30 +0000 (10:43 +0200)]
Release notes about Ukrainian fallback
Follow up to
I7c72702524bb75bb939a30b6c8e451ae8f89e906
Bug: T39314
Change-Id: Ie4ba59d2f875b53119ac85b96f12b3ba7f0409aa
jenkins-bot [Tue, 29 Nov 2016 08:00:43 +0000 (08:00 +0000)]
Merge "Don't fallback from uk to ru"
jenkins-bot [Tue, 29 Nov 2016 03:31:23 +0000 (03:31 +0000)]
Merge "Revert "MessageCache invalidation improvements" (temporary)"
Timo Tijhof [Tue, 29 Nov 2016 03:17:26 +0000 (19:17 -0800)]
Upgrade QUnit from v1.22.0 to v1.23.1
Source
https://code.jquery.com/qunit/qunit-1.23.1.js
https://code.jquery.com/qunit/qunit-1.23.1.css
Changelog
https://github.com/qunitjs/qunit/blob/1.23.1/History.md
Change-Id: I03b4e1de699ef9f33a8db3dec605c8e32f823a93
Timo Tijhof [Wed, 23 Nov 2016 20:13:06 +0000 (12:13 -0800)]
mediawiki.api: Fix getToken() incompat with jQuery 3.0
* getToken()'s fail() handler deletes property from promiseGroup.
However sometimes this doesn't exist yet for the current api url.
Move the block that creates this object higher up.
* Deferred.then() used to have an undocumented 'this' context.
No longer exists in jQuery 3.0, but we weren't supposed to be
using returning it as-is anyway.
Return a new Deferred instead, like we do elsewhere.
Bug: T124742
Change-Id: I52c6bb779c5e79161e38a5d0c7c2cb3b458be9ba
Andrew Green [Tue, 29 Nov 2016 01:06:00 +0000 (19:06 -0600)]
Revert "MessageCache invalidation improvements" (temporary)
This reverts commit
9339a08b72c918d7743a9cb286161adb9399a77b
(Change-Id: Idc337a787171949c4f70186b13d7b65304c9b57f).
This is a temporary revert to prevent the change's inclusion in
wmf/1.29.0-wmf.4. That branch is scheduled to be deployed to WMF wikis
during the first week of the WMF's 2016 year-end fundraiser. Since
CentralNotice relies on MessageCache to fetch fundraising banners,
it is preferable not to deploy changes of any significant complexity in
that system at this time.
The original change should be re-applied at a later date. Sincere
apologies to the change's authors! :)
Change-Id: I8330838bbe03ce6ed38fa2e755b44519211d9d43
jenkins-bot [Tue, 29 Nov 2016 00:53:17 +0000 (00:53 +0000)]
Merge "populateContentModel: Invalidate content model and revision cache"
Matthew Flaschen [Thu, 17 Nov 2016 22:51:07 +0000 (17:51 -0500)]
populateContentModel: Invalidate content model and revision cache
The cache is computed from both the default values and the DB.
If someone visits the page when the wrong default value is there,
it will be cached.
When we populate the DB with the correct value (usually in preparation
for changing the namespace default), we need to invalidate the
potentially broken cache.
Change-Id: I995c0d9fdec529a456762571d5406d0bd0d33aed
Santhosh Thottingal [Fri, 25 Nov 2016 07:02:37 +0000 (12:32 +0530)]
Allow API endpoint customization for mw.widgets.TitleWidget
Currently the API is not customizable and always points to
current wiki's api returned by `new mw.Api()`.
This patch allows users to specify their own API object for
querying titles e.g. searching for titles on a different
language Wikipedia when translating pages.
Change-Id: I81811cdd1a0750a8335432eee8f971ab9e0b8ee7
Reedy [Mon, 28 Nov 2016 21:20:05 +0000 (21:20 +0000)]
Bring REL1_28 into HISTORY
Remove RELEASE-NOTES-1.28 from master
Change-Id: I553cd5eef5f38d163e6a73fb176b0c561d276bc9
L10n-bot [Mon, 28 Nov 2016 21:06:04 +0000 (21:06 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Mon, 28 Nov 2016 21:04:28 +0000 (22:04 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I00993a0d19ffe9054ea307d550ecd83d54be31d7
Nemo bis [Mon, 28 Nov 2016 19:45:29 +0000 (20:45 +0100)]
Fallback tarantino (roa-tara) to Italian (it)
Like all italic languages. All speakers know Italian.
Also discussed at
https://translatewiki.net/wiki/Thread:Portal_talk:Roa-tara/Usare_l%27italiano_quando_non_c%27%C3%A8_traduzione
Change-Id: I6fe82153b28fedba9d443c8a95f9155a299acd54
Kaldari [Mon, 28 Nov 2016 19:44:36 +0000 (11:44 -0800)]
Prevent fatal error if $wgCookieSetOnAutoblock is changed to false
... and user still has a block cookie set.
Bug: T151097
Change-Id: I5a2fdc53250f629579428efbed39f6fb1f1531f3
jenkins-bot [Mon, 28 Nov 2016 17:58:24 +0000 (17:58 +0000)]
Merge "Always preserve uselang in login form"
Gergő Tisza [Fri, 25 Nov 2016 04:08:40 +0000 (04:08 +0000)]
Always preserve uselang in login form
If $wgLoginLanguageSelector is false, we don't show the language
selector; but there's no reason to ignore a uselang URL parameter.
Change-Id: I66c3c2cf50d4071e82bfe736dfe5480686d763f3
Brad Jorsch [Mon, 28 Nov 2016 17:01:27 +0000 (12:01 -0500)]
ApiSandbox: Better handling of parsed messages
There are several places where we're parsing a message to an HTML string
and passing it into ooui in a way that it'll interpret it as text. There
are more where we're handling it properly, but by parsing HTML strings
outselves instead of letting mw.Message do it.
So, let's add a Util function that will parse a message using
.parseDom() and apply our fixups.
Change-Id: I1f71916ac2fb3567c2fa2dffc64c4c8c91050ee9
jenkins-bot [Mon, 28 Nov 2016 11:57:39 +0000 (11:57 +0000)]
Merge "Add $linkTrail for Bengali (bn)"
MarcoAurelio [Sun, 27 Nov 2016 12:28:08 +0000 (13:28 +0100)]
Add $linkTrail for Bengali (bn)
Bug: T151111
Change-Id: I3723a10022de0c53a99d7275390e86a2c66c862c
L10n-bot [Sun, 27 Nov 2016 21:08:38 +0000 (21:08 +0000)]
Merge "Localisation updates from https://translatewiki.net."