lhc/web/wiklou.git
8 years agoRemove deprecated Language::specialPage()
Siebrand Mazeland [Mon, 7 Mar 2016 17:37:27 +0000 (18:37 +0100)]
Remove deprecated Language::specialPage()

Was deprecated since 1.24. There were no uses in Gerrit extensions

Change-Id: If67456a62cb7d9688793d876508f0f168f3bb1ff

8 years agoRemove deprecated Language::GetLanguageName()
Siebrand Mazeland [Mon, 7 Mar 2016 17:35:46 +0000 (18:35 +0100)]
Remove deprecated Language::GetLanguageName()

Was deprecated since 1.20. Uses in Gerrit extensions have been replaced.

Change-Id: I623e82ec1d9ade4da05f2eae15afdf65aa04109b

8 years agoRemove deprecated Language::getTranslatedLanguageNames()
Siebrand Mazeland [Mon, 7 Mar 2016 17:30:21 +0000 (18:30 +0100)]
Remove deprecated Language::getTranslatedLanguageNames()

Was deprecated since 1.20. There were no uses in Gerrit extensions

Change-Id: I0b16c0f146ecbee81921b5823b32776414f6945c

8 years agoRemove deprecated Language::getLanguageNames()
Siebrand Mazeland [Mon, 7 Mar 2016 17:25:49 +0000 (18:25 +0100)]
Remove deprecated Language::getLanguageNames()

Was deprecated since 1.20. Uses in Gerrit extensions have been replaced.

Change-Id: I2011d3e209915ddbbafdbdfff0279ea7cc5b9125

8 years agoMerge "ChangesList: Use context language for LogPage::getName() message"
jenkins-bot [Tue, 8 Mar 2016 20:15:29 +0000 (20:15 +0000)]
Merge "ChangesList: Use context language for LogPage::getName() message"

8 years agoMerge "initSiteStats.php: Make it obvious you need to use --update"
jenkins-bot [Tue, 8 Mar 2016 19:30:06 +0000 (19:30 +0000)]
Merge "initSiteStats.php: Make it obvious you need to use --update"

8 years agoMerge "DB: Correct argument documentation to match code."
jenkins-bot [Tue, 8 Mar 2016 19:19:19 +0000 (19:19 +0000)]
Merge "DB: Correct argument documentation to match code."

8 years agoMerge "Move EmailNotification::updateWatchlistTimestamp to WatchedItemStore"
jenkins-bot [Tue, 8 Mar 2016 19:19:12 +0000 (19:19 +0000)]
Merge "Move EmailNotification::updateWatchlistTimestamp to WatchedItemStore"

8 years agoinitSiteStats.php: Make it obvious you need to use --update
Kunal Mehta [Tue, 8 Mar 2016 19:11:06 +0000 (11:11 -0800)]
initSiteStats.php: Make it obvious you need to use --update

Otherwise people will run the script a few times and be totally confused
as to why their statistics aren't being saved. The wording is taken from
updateArticleCount.php, which has a similar parameter.

Change-Id: I802553120c1bf4d8f6234ccced5f19ecd5cd9b66

8 years agoMove EmailNotification::updateWatchlistTimestamp to WatchedItemStore
addshore [Fri, 5 Feb 2016 12:14:13 +0000 (13:14 +0100)]
Move EmailNotification::updateWatchlistTimestamp to WatchedItemStore

Flow is the only thing remaining that uses this deprecated method.

Change-Id: Iaa4e1e34cb3f2a91c163565fb0107c500e3852d7

8 years agoDB: Correct argument documentation to match code.
Jan Zerebecki [Tue, 8 Mar 2016 18:37:33 +0000 (19:37 +0100)]
DB: Correct argument documentation to match code.

Change-Id: I1cc3910932d8c4f04b1dbbc05ada88299c3ce10b

8 years agoReplace uses of join() by implode()
Siebrand Mazeland [Tue, 8 Mar 2016 08:13:12 +0000 (09:13 +0100)]
Replace uses of join() by implode()

All of core uses implode() consistently now.

Change-Id: Iba50898c64c43f356d1caf8869f484e90d9ff651

8 years agoMerge "Hooks do not have to return true any more, they can return null"
jenkins-bot [Tue, 8 Mar 2016 18:09:03 +0000 (18:09 +0000)]
Merge "Hooks do not have to return true any more, they can return null"

8 years agoMerge "Move WatchedItem logic to WatchedItemStore"
jenkins-bot [Tue, 8 Mar 2016 18:04:11 +0000 (18:04 +0000)]
Merge "Move WatchedItem logic to WatchedItemStore"

8 years agoMerge "Add WatchedItemIntegrationTest"
jenkins-bot [Tue, 8 Mar 2016 18:03:44 +0000 (18:03 +0000)]
Merge "Add WatchedItemIntegrationTest"

8 years agoMerge "Guard against allowing intermediate caching when cookies are present"
jenkins-bot [Tue, 8 Mar 2016 17:12:19 +0000 (17:12 +0000)]
Merge "Guard against allowing intermediate caching when cookies are present"

8 years agoChangesList: Use context language for LogPage::getName() message
Timo Tijhof [Tue, 8 Mar 2016 16:53:32 +0000 (16:53 +0000)]
ChangesList: Use context language for LogPage::getName() message

Was calling escaped() directly on a Message object which resulted
in a $wgLang lookup, thus ignoring the context language given to the
class constructor.

Change-Id: Ia8ce739178924299ca559088fc40a2b048d7ed72

8 years agoMerge "Use single quotes in API where possible"
jenkins-bot [Tue, 8 Mar 2016 17:03:24 +0000 (17:03 +0000)]
Merge "Use single quotes in API where possible"

8 years agoMerge "MemoizedCallable: Add test for memoized closure"
jenkins-bot [Tue, 8 Mar 2016 16:56:24 +0000 (16:56 +0000)]
Merge "MemoizedCallable: Add test for memoized closure"

8 years agoMerge "SpecialPageFactory: Update main RequestContext in addition to globals"
jenkins-bot [Tue, 8 Mar 2016 16:50:09 +0000 (16:50 +0000)]
Merge "SpecialPageFactory: Update main RequestContext in addition to globals"

8 years agoMemoizedCallable: Add test for memoized closure
Timo Tijhof [Wed, 2 Mar 2016 00:47:05 +0000 (00:47 +0000)]
MemoizedCallable: Add test for memoized closure

Follows-up da3443bfa2a.

It won't work across different requests due to use of uniqid()
internally (so we may want to use a HashBagOStuff for closure
instead to save memory in APC). But at least assert that it does
and is intended to work.

Change-Id: Id4b42e8717f62f733eee8fcc9a4ab6c0f5c1f2fe

8 years agoMerge "Declare functions with access modifiers"
jenkins-bot [Tue, 8 Mar 2016 16:38:13 +0000 (16:38 +0000)]
Merge "Declare functions with access modifiers"

8 years agoMerge "Explicitly declare ApiQueryImageInfo::getInfo() public"
jenkins-bot [Tue, 8 Mar 2016 16:38:09 +0000 (16:38 +0000)]
Merge "Explicitly declare ApiQueryImageInfo::getInfo() public"

8 years agoMerge "Remove deprecated methods in ApiQuery"
jenkins-bot [Tue, 8 Mar 2016 16:38:05 +0000 (16:38 +0000)]
Merge "Remove deprecated methods in ApiQuery"

8 years agoMerge "Explicitly declare ApiImport::getData() public"
jenkins-bot [Tue, 8 Mar 2016 16:38:00 +0000 (16:38 +0000)]
Merge "Explicitly declare ApiImport::getData() public"

8 years agoMerge "Explicitly declare ImportReporter::reportPage() and override public"
jenkins-bot [Tue, 8 Mar 2016 16:37:56 +0000 (16:37 +0000)]
Merge "Explicitly declare ImportReporter::reportPage() and override public"

8 years agoMerge "Explicitly declare ApiFormatXml::addXslt() protected"
jenkins-bot [Tue, 8 Mar 2016 16:37:51 +0000 (16:37 +0000)]
Merge "Explicitly declare ApiFormatXml::addXslt() protected"

8 years agoSpecialPageFactory: Update main RequestContext in addition to globals
Timo Tijhof [Fri, 4 Mar 2016 18:49:58 +0000 (18:49 +0000)]
SpecialPageFactory: Update main RequestContext in addition to globals

Change-Id: I5fd7bbf0fea0e6bd8b23b8be6d47017682a31d69

8 years agoUse single quotes in API where possible
Siebrand Mazeland [Tue, 8 Mar 2016 08:04:45 +0000 (09:04 +0100)]
Use single quotes in API where possible

Change-Id: I972e296f4820f78f5dfcecc27bc4912ca84a3178

8 years agoMerge "Explicitly declare ApiFormatBase::initPrinter public"
jenkins-bot [Tue, 8 Mar 2016 16:26:23 +0000 (16:26 +0000)]
Merge "Explicitly declare ApiFormatBase::initPrinter public"

8 years agoMerge "Call static functions statically in API"
jenkins-bot [Tue, 8 Mar 2016 16:24:14 +0000 (16:24 +0000)]
Merge "Call static functions statically in API"

8 years agoMerge "Use Elvis operator where possible in API"
jenkins-bot [Tue, 8 Mar 2016 16:24:10 +0000 (16:24 +0000)]
Merge "Use Elvis operator where possible in API"

8 years agoMerge "Remove unused local variables in API"
jenkins-bot [Tue, 8 Mar 2016 16:20:19 +0000 (16:20 +0000)]
Merge "Remove unused local variables in API"

8 years agoDeclare functions with access modifiers
Siebrand Mazeland [Tue, 8 Mar 2016 07:46:02 +0000 (08:46 +0100)]
Declare functions with access modifiers

Parents have this visibility.

Change-Id: Icb4d0a112def0ac02f9aa42723c81bc63c085450

8 years agoExplicitly declare ApiQueryImageInfo::getInfo() public
Siebrand Mazeland [Tue, 8 Mar 2016 07:43:57 +0000 (08:43 +0100)]
Explicitly declare ApiQueryImageInfo::getInfo() public

Used as such in core and TimedMediaHandler.

Change-Id: I0ec90d2cf9ae4cca31e93522e0f68e4d55a7bcfe

8 years agoRemove deprecated methods in ApiQuery
Siebrand Mazeland [Tue, 8 Mar 2016 07:40:18 +0000 (08:40 +0100)]
Remove deprecated methods in ApiQuery

No more uses found in core or Gerrit extensions for the following methods:

* ApiQuery::getGenerators() was removed (deprecated since 1.21).
* ApiQuery::getModuleType() was removed (deprecated since 1.21).
* ApiQuery::setGeneratorContinue() was removed (deprecated since 1.24).

Change-Id: I1d46adc9ecad598c7d7726a2243bba4f7a04531a

8 years agoExplicitly declare ApiImport::getData() public
Siebrand Mazeland [Tue, 8 Mar 2016 07:38:08 +0000 (08:38 +0100)]
Explicitly declare ApiImport::getData() public

Used as such in this file.

Change-Id: I52cae5763132b606f0e4b67f1359baee9fdad1c8

8 years agoExplicitly declare ImportReporter::reportPage() and override public
Siebrand Mazeland [Tue, 8 Mar 2016 07:33:38 +0000 (08:33 +0100)]
Explicitly declare ImportReporter::reportPage() and override public

Used as such in SpecialImport.php.

Change-Id: Ia8cb1f4b95f43a50ff7ddd9aa4cb3ffc90f916c8

8 years agoExplicitly declare ApiFormatXml::addXslt() protected
Siebrand Mazeland [Tue, 8 Mar 2016 07:32:10 +0000 (08:32 +0100)]
Explicitly declare ApiFormatXml::addXslt() protected

Only used in private/protected context.

Change-Id: Ic44d6e70e89c3d229d79aa08d2a0092609e7d62e

8 years agoExplicitly declare ApiFormatBase::initPrinter public
Siebrand Mazeland [Tue, 8 Mar 2016 07:30:25 +0000 (08:30 +0100)]
Explicitly declare ApiFormatBase::initPrinter public

It's overridden three times, and in all cases it's public.

Change-Id: I1712319076b38bbb5418c60b954e174354831be3

8 years agoCall static functions statically in API
Siebrand Mazeland [Tue, 8 Mar 2016 07:28:54 +0000 (08:28 +0100)]
Call static functions statically in API

Change-Id: I5952acb932c1e7337dc85226a898da3472e799e9

8 years agoUse Elvis operator where possible in API
Siebrand Mazeland [Tue, 8 Mar 2016 07:27:13 +0000 (08:27 +0100)]
Use Elvis operator where possible in API

Change-Id: I0a26c04cf2ded2c1bd74d8dabd131ae8e20117f3

8 years agoRemove unused local variables in API
Siebrand Mazeland [Tue, 8 Mar 2016 07:03:49 +0000 (08:03 +0100)]
Remove unused local variables in API

Change-Id: Ia94ae232308ad47ee88dbd30675cfcbdb6b371ed

8 years agoMove WatchedItem logic to WatchedItemStore
addshore [Mon, 1 Feb 2016 11:53:01 +0000 (12:53 +0100)]
Move WatchedItem logic to WatchedItemStore

This also removes assumptions that when a page
in one Namespace should be watched / removed
that the page in the talk / subject ns for the
page should have the same action applied

This should maintain all backward compatability
for the WatchedItem class

This also includes tests written by:
 - WMDE-leszek
 - Addshore

Bug: T127956
Change-Id: Iad9abafe4417bb479151a3bfbee6e1c78a3afe3c

8 years agoAdd WatchedItemIntegrationTest
addshore [Tue, 8 Mar 2016 14:51:42 +0000 (14:51 +0000)]
Add WatchedItemIntegrationTest

Change-Id: I4760820fe075a29319e64c4dbc5d44f69848a351

8 years agoMerge "Fixes to masterPosWait() for master switchovers"
jenkins-bot [Tue, 8 Mar 2016 12:09:57 +0000 (12:09 +0000)]
Merge "Fixes to masterPosWait() for master switchovers"

8 years agoMerge "Fix some JobQueue IDEA errors"
jenkins-bot [Tue, 8 Mar 2016 12:04:15 +0000 (12:04 +0000)]
Merge "Fix some JobQueue IDEA errors"

8 years agoFixes to masterPosWait() for master switchovers
Aaron Schulz [Wed, 17 Feb 2016 22:31:31 +0000 (14:31 -0800)]
Fixes to masterPosWait() for master switchovers

* Clean up return value types and docs.
* Handle master switch-over better w.r.t the job queue due
  to binlog name changes (the host portion). Previously the method
  would fail and trigger read-only mode when waiting on former
  master positions. Assume the the switch-over was done properly
  and thus return immediately.

Bug: T126436
Change-Id: Ib8c05a5c72d03a5c98e41b23c5653fc194b6d130

8 years agoMerge "Correcting comments regarding $wgCacheDirectory in DefaultSettings"
jenkins-bot [Tue, 8 Mar 2016 11:31:51 +0000 (11:31 +0000)]
Merge "Correcting comments regarding $wgCacheDirectory in DefaultSettings"

8 years agoFix some JobQueue IDEA errors
Aaron Schulz [Fri, 4 Mar 2016 19:33:52 +0000 (11:33 -0800)]
Fix some JobQueue IDEA errors

Change-Id: I624f65ee1ca97c1acae9b54ca36d910eb4e42a70

8 years agoMerge "Add FileOperationReplication log to improve multiwrite backend logging"
jenkins-bot [Tue, 8 Mar 2016 10:36:52 +0000 (10:36 +0000)]
Merge "Add FileOperationReplication log to improve multiwrite backend logging"

8 years agoMerge "Clarify FileRepo::concatenate() docs a bit"
jenkins-bot [Tue, 8 Mar 2016 10:12:21 +0000 (10:12 +0000)]
Merge "Clarify FileRepo::concatenate() docs a bit"

8 years agoMerge "context: Support setting title to null"
jenkins-bot [Tue, 8 Mar 2016 09:56:32 +0000 (09:56 +0000)]
Merge "context: Support setting title to null"

8 years agoHooks do not have to return true any more, they can return null
Thiemo Mättig [Mon, 7 Mar 2016 10:33:20 +0000 (11:33 +0100)]
Hooks do not have to return true any more, they can return null

Via the argument given by Krinkle in
https://gerrit.wikimedia.org/r/#/c/274751/1/ImageMap_body.php

Quote: "[Returning true is] obsolete for a while and slowly disappearing
from existing code. Only 'return false' is an explicit signal. The
default is true. This was done because it very often is forgotten and
causes broke in production in catastrophic ways on numerous occasions.
This better reflects the mental model of intent and also makes it more
natural when dealing with hooks such as these, which can't be aborted
and as such don't have a sensible purpose in returning false, which
means returning true can be confusing."

Change-Id: I98308ed9105d904e47db3ac7899412f239c2bf9d

8 years agoCorrecting comments regarding $wgCacheDirectory in DefaultSettings
Kaldari [Mon, 7 Mar 2016 22:20:54 +0000 (16:20 -0600)]
Correcting comments regarding $wgCacheDirectory in DefaultSettings

Both the i18n and Less caches fall back to wfTempDir(), but some
others don't, so we can't make any definitive statement about what
happens when this is set to false.

Change-Id: I72e8116e9e1a7ec251db555d820fc0684c8a33b3

8 years agoIgnore name-less inputs on preference page confirmCloseWindow check
Derk-Jan Hartman [Sun, 17 Jan 2016 17:24:28 +0000 (12:24 -0500)]
Ignore name-less inputs on preference page confirmCloseWindow check

Ignore any fields that will not be submitted when checking
if the user has made changes to the Preferences form.

Bug: T122702
Change-Id: I1cf27267e60f2077180b7bb6a3bc29fded4b67f6

8 years agocontext: Support setting title to null
Timo Tijhof [Mon, 7 Mar 2016 23:29:20 +0000 (23:29 +0000)]
context: Support setting title to null

We have various entry points without a title set:

* load.php: Setup.php defaults $wgTitle to null. When messages
  are parsed, MessageCache::parse() will emit a warning and uses
  $wgTitle which is then casted to Special:Badtitle.

* Parser tests: Work all with context now (or parser options)
  without ever setting $wgTitle. However, in order to allow SpecialPageFactory
  to getTitle() and then setTitle() the same value from context, context needs
  to support setting null as title, the same way it can get null as title.

Change-Id: I770f449fe67beedc3f7d4009ed2208e9dde4491c

8 years agoMerge "Log violations of load.php's no-session constraint"
jenkins-bot [Mon, 7 Mar 2016 23:17:04 +0000 (23:17 +0000)]
Merge "Log violations of load.php's no-session constraint"

8 years agoAdd FileOperationReplication log to improve multiwrite backend logging
Aaron Schulz [Mon, 7 Mar 2016 21:55:27 +0000 (13:55 -0800)]
Add FileOperationReplication log to improve multiwrite backend logging

Change-Id: I541eac740f4a07182067294c9597cdd49330e86c

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 7 Mar 2016 20:59:57 +0000 (21:59 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I11fb4866b2fc0c5daf9ee639d42feef2cdafe768

8 years agoLog violations of load.php's no-session constraint
Brad Jorsch [Thu, 25 Feb 2016 21:54:06 +0000 (16:54 -0500)]
Log violations of load.php's no-session constraint

Bug: T127233
Change-Id: I3d9538b36f707ed69c2d163ccf1f807af4b02fc0

8 years agoMerge "Improve change content model log entry for page creations"
jenkins-bot [Mon, 7 Mar 2016 19:15:41 +0000 (19:15 +0000)]
Merge "Improve change content model log entry for page creations"

8 years agoImprove change content model log entry for page creations
Kunal Mehta [Wed, 2 Mar 2016 21:31:18 +0000 (13:31 -0800)]
Improve change content model log entry for page creations

There really isn't a previous content model because the page didn't
exist beforehand, so say the page was created with a non-default
content model.

Bug: T128645
Change-Id: Ibe0b124e3f3ceaaf3775f82e2646b7639a146a42

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 6 Mar 2016 20:51:01 +0000 (21:51 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I683765945022afc8b9b4a839ab28f47f79d86f69

8 years agoMerge "Instrument diff timing"
jenkins-bot [Sat, 5 Mar 2016 23:31:25 +0000 (23:31 +0000)]
Merge "Instrument diff timing"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 5 Mar 2016 21:41:56 +0000 (22:41 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib49bf89dcc309086e521635db1198fe39e46b995

8 years agoMerge "qunit: Don't require expect() anymore"
jenkins-bot [Sat, 5 Mar 2016 00:37:40 +0000 (00:37 +0000)]
Merge "qunit: Don't require expect() anymore"

8 years agoMerge "Don't treat configured but absent engine as executable"
jenkins-bot [Sat, 5 Mar 2016 00:20:43 +0000 (00:20 +0000)]
Merge "Don't treat configured but absent engine as executable"

8 years agoqunit: Don't require expect() anymore
Timo Tijhof [Fri, 4 Mar 2016 02:29:55 +0000 (02:29 +0000)]
qunit: Don't require expect() anymore

This hasn't been useful in QUnit for a while now with the improved
assertion context object and tracking of asynchronous tests without
shared global state.

Change-Id: Icaf865b4d6e85e739bf79c4d1bacb8a71ec5a3da

8 years agoInstrument diff timing
Max Semenik [Fri, 4 Mar 2016 22:41:50 +0000 (14:41 -0800)]
Instrument diff timing

Bug: T128697
Change-Id: I748286abac025092abc33b3b7b8a0d3dabafdd25

8 years agoDon't treat configured but absent engine as executable
Max Semenik [Fri, 4 Mar 2016 19:21:53 +0000 (11:21 -0800)]
Don't treat configured but absent engine as executable

E.g. if you have $wgExternalDiffEngine = 'wikidiff2' but after
a PHP update you no longer have the module you still shouldn't attempt
to shell out to some nonexistent wikidiff2.

Bug: T74030
Change-Id: I745cd1cb2e152f4fbb95c8f782d70117f8c844f1

8 years agoMerge "SpecialUserlogin: Update main RequestContext in addition to globals"
jenkins-bot [Fri, 4 Mar 2016 21:26:29 +0000 (21:26 +0000)]
Merge "SpecialUserlogin: Update main RequestContext in addition to globals"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 4 Mar 2016 21:11:18 +0000 (22:11 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I62572d292497e21e7ffcaf6b8ab2524f469360a6

8 years agoMerge "Ditch support for original wikidiff"
jenkins-bot [Fri, 4 Mar 2016 21:01:58 +0000 (21:01 +0000)]
Merge "Ditch support for original wikidiff"

8 years agoDitch support for original wikidiff
Max Semenik [Fri, 4 Mar 2016 07:04:30 +0000 (23:04 -0800)]
Ditch support for original wikidiff

It's been unmaintained for a while and does not support
various languages adequately.
Also, document $wgExternalDiffEngine.

Change-Id: Ia8aeffd79d550fb7a1a7121456940446eea8bd4f

8 years agoMerge "Add additional tracking information to mediawiki.searchSuggest"
jenkins-bot [Fri, 4 Mar 2016 20:10:17 +0000 (20:10 +0000)]
Merge "Add additional tracking information to mediawiki.searchSuggest"

8 years agoClarify FileRepo::concatenate() docs a bit
Aaron Schulz [Fri, 4 Mar 2016 20:05:12 +0000 (12:05 -0800)]
Clarify FileRepo::concatenate() docs a bit

Change-Id: I6d978a7e6c8a3671192c346eaef590aa3033cf99

8 years agoAdd additional tracking information to mediawiki.searchSuggest
Erik Bernhardson [Mon, 15 Feb 2016 20:49:37 +0000 (12:49 -0800)]
Add additional tracking information to mediawiki.searchSuggest

Adds a few pieces of information to improve tracking of autocomplete
usage.

* When using Special:Search 'go' feature forward wprov parameter to redirect
* Include a data attribute indicating autocomplete location to
  differentiate usage of the header and Special:Search content autocompletes
* Report exact query string that was used for impression-results
* Add handling to allow searchSuggest subscribers to append tracking
  information to generated article links
* Add a new hook, SpecialSearchGoResult, that can either change the url
  redirected to in the 'go' feature or cancel it entirely.

Bug: T125915
Change-Id: Iec7171fcf301f1659d852afa87ce271f468177c1

8 years agoSpecialUserlogin: Update main RequestContext in addition to globals
Timo Tijhof [Fri, 4 Mar 2016 18:49:58 +0000 (18:49 +0000)]
SpecialUserlogin: Update main RequestContext in addition to globals

Change-Id: I835bb77938f7e02c862563ea38341cf5840aa367

8 years agoMerge "Follow-up e33d6f45a. Fix some mistakes w/ limit on QueryPage"
jenkins-bot [Fri, 4 Mar 2016 17:59:03 +0000 (17:59 +0000)]
Merge "Follow-up e33d6f45a. Fix some mistakes w/ limit on QueryPage"

8 years agoMerge "Revert "Allow auto suggestion for subpages of Special:BotPasswords""
jenkins-bot [Fri, 4 Mar 2016 16:42:18 +0000 (16:42 +0000)]
Merge "Revert "Allow auto suggestion for subpages of Special:BotPasswords""

8 years agoRevert "Allow auto suggestion for subpages of Special:BotPasswords"
Anomie [Fri, 4 Mar 2016 16:27:58 +0000 (16:27 +0000)]
Revert "Allow auto suggestion for subpages of Special:BotPasswords"

This is completely wrong. If you're going to auto-complete anything here (which is probably not really necessary), you need to auto-complete the "bot names" for the current user rather than every user name on the wiki.

This reverts commit aa8823ac4b58be611caf2595ad3c7b0ecacbc8ac.

Change-Id: I5d477198827c107f947d25dddc2513f12d2bfd62

8 years agoMerge "Revert "Templatize Special:Contributions lines""
jenkins-bot [Fri, 4 Mar 2016 15:29:30 +0000 (15:29 +0000)]
Merge "Revert "Templatize Special:Contributions lines""

8 years agoRevert "Templatize Special:Contributions lines"
Krinkle [Fri, 4 Mar 2016 15:14:58 +0000 (15:14 +0000)]
Revert "Templatize Special:Contributions lines"

Breaks RevisionDelete.

This reverts commit 1bce6db10e99840cfbd10fa074c93d8d96d88412.

Change-Id: I8f63e002e34a9d13e2597a27e3dd918a687d1e7c

8 years agoFix parserTests.php script
Arlo Breault [Fri, 4 Mar 2016 00:52:39 +0000 (16:52 -0800)]
Fix parserTests.php script

 * Follow up to 60e4f3fd

Change-Id: If1370a720da21c3662fda4100c96b1758ddc1dc0

8 years agoFollow-up e33d6f45a. Fix some mistakes w/ limit on QueryPage
Brian Wolff [Tue, 29 Dec 2015 07:55:21 +0000 (02:55 -0500)]
Follow-up e33d6f45a. Fix some mistakes w/ limit on QueryPage

Fix some rather embarrassing mistakes. See comments on e33d6f45a.

Also change the behaviour when someone sets an offset higher than
max allowed. Returning a page with 0 results and broken prev/next
links is poor UI imo.

Change-Id: Ibfc983675ae0c600eeccd5e361550e9b5f96f5fd

8 years agoMerge "mediawiki.ui: Button group active buttons unchanged on user interaction"
jenkins-bot [Thu, 3 Mar 2016 20:39:01 +0000 (20:39 +0000)]
Merge "mediawiki.ui: Button group active buttons unchanged on user interaction"

8 years agoMerge "Upstream `isElementInViewport` from MobileFrontend"
jenkins-bot [Thu, 3 Mar 2016 20:38:56 +0000 (20:38 +0000)]
Merge "Upstream `isElementInViewport` from MobileFrontend"

8 years agoMerge "Templatize Special:Contributions lines"
jenkins-bot [Thu, 3 Mar 2016 20:30:54 +0000 (20:30 +0000)]
Merge "Templatize Special:Contributions lines"

8 years agoMerge "MediaWiki Widgets: Add new SearchInputWidget"
jenkins-bot [Thu, 3 Mar 2016 20:30:49 +0000 (20:30 +0000)]
Merge "MediaWiki Widgets: Add new SearchInputWidget"

8 years agomediawiki.ui: Button group active buttons unchanged on user interaction
Volker E [Tue, 23 Feb 2016 04:21:36 +0000 (20:21 -0800)]
mediawiki.ui: Button group active buttons unchanged on user interaction

Applying default cursor and making active button's hover state behave same
as normal state for improved user experience.

Bug: T77916
Depends-On: Ib89500d70b3e79edcf9ba989f05a311e0edec82b
Change-Id: I8fd74c28ccb89df1e257aa3d63d362697c4542ed

8 years agoTemplatize Special:Contributions lines
Adam Roses Wight [Wed, 27 Jan 2016 05:17:21 +0000 (21:17 -0800)]
Templatize Special:Contributions lines

Bug: T122537
Change-Id: I11aac43de495881e10e393d075a231bd346ea547

8 years agoIntegrate Less helper `.mixin-screen-reader-text()`
Volker E [Wed, 30 Dec 2015 03:05:45 +0000 (04:05 +0100)]
Integrate Less helper `.mixin-screen-reader-text()`

Adding Less parametric helper mixin for screen reader users.
This will help with changes such as
I7db2d7e5387f1a4392d587764598dbd82dd0a5cd

Bug: T119444
Change-Id: Ie9bce512804385578361eb77579106c799d5ff57

8 years agoMerge "Prevent "Failed to create..." warnings when session loading fails"
jenkins-bot [Thu, 3 Mar 2016 17:11:05 +0000 (17:11 +0000)]
Merge "Prevent "Failed to create..." warnings when session loading fails"

8 years agoMediaWiki Widgets: Add new SearchInputWidget
Florian [Wed, 25 Nov 2015 20:01:58 +0000 (21:01 +0100)]
MediaWiki Widgets: Add new SearchInputWidget

SearchInputWidget is similar to a TitleInputWidget, but doesn't has
a visible loading indication, doesn't highlight the first result and
uses the opensearch api endpoint for suggestions, instead of
prefixsearch.

Extra points:
 * Improve documentation of mw.widgets.TitleInputWidget's configuration
   option validateTitle

Bug: T118443
Change-Id: I8b8098041fe2971389fa908d007d2e77255829ec

8 years agoMerge "Add tags support to patrol, protect, unblock, and undelete"
jenkins-bot [Thu, 3 Mar 2016 16:28:45 +0000 (16:28 +0000)]
Merge "Add tags support to patrol, protect, unblock, and undelete"

8 years agoMerge "installer: Update main RequestContext when updating $wgLang"
jenkins-bot [Thu, 3 Mar 2016 01:55:35 +0000 (01:55 +0000)]
Merge "installer: Update main RequestContext when updating $wgLang"

8 years agoMerge "tests: Ensure main RequestContext reflects custom $wgLang"
jenkins-bot [Thu, 3 Mar 2016 01:54:14 +0000 (01:54 +0000)]
Merge "tests: Ensure main RequestContext reflects custom $wgLang"

8 years agoMerge "maintenance: Remove odd use of $wgLang"
jenkins-bot [Thu, 3 Mar 2016 01:47:14 +0000 (01:47 +0000)]
Merge "maintenance: Remove odd use of $wgLang"

8 years agoinstaller: Update main RequestContext when updating $wgLang
Timo Tijhof [Tue, 1 Mar 2016 21:50:26 +0000 (21:50 +0000)]
installer: Update main RequestContext when updating $wgLang

Change-Id: I1e3b76b2358a90a551616dc84eb6f2be6bb41c0a