lhc/web/wiklou.git
9 years agoMerge "i18n: use int: for consistency"
jenkins-bot [Fri, 18 Jul 2014 12:33:34 +0000 (12:33 +0000)]
Merge "i18n: use int: for consistency"

9 years agoDefaultSettings: Rewrap $wgThumbnailMinimumBucketDistance comment
Kevin Israel [Fri, 18 Jul 2014 06:49:05 +0000 (02:49 -0400)]
DefaultSettings: Rewrap $wgThumbnailMinimumBucketDistance comment

To avoid a PHPCS warning. Also fixed some small errors in the text.

Change-Id: I7d9b1bde971b7ae66f93a1025a0cbcc1d809e69b

9 years agoMerge "Revert "Breaking out disallowed CSS into a global variable""
jenkins-bot [Fri, 18 Jul 2014 02:50:16 +0000 (02:50 +0000)]
Merge "Revert "Breaking out disallowed CSS into a global variable""

9 years agoRevert "Breaking out disallowed CSS into a global variable"
Krinkle [Fri, 18 Jul 2014 02:39:41 +0000 (02:39 +0000)]
Revert "Breaking out disallowed CSS into a global variable"

This reverts commit ad4f512c7452d91c7743de1dbbfad470a1226b9f.

Change-Id: I1dbb927997693d686b4677b9c2107be99dedd7b2

9 years agoMerge "Breaking out disallowed CSS into a global variable"
jenkins-bot [Fri, 18 Jul 2014 00:13:11 +0000 (00:13 +0000)]
Merge "Breaking out disallowed CSS into a global variable"

9 years agoEditing unit tests: set title in context
Max Semenik [Thu, 17 Jul 2014 22:28:46 +0000 (15:28 -0700)]
Editing unit tests: set title in context

It is assumed that users of EditFilterMergedContent hook need to get
the page being edited from context as it happens during normal functioning,
tests shouldn't violate this convention.

Bug: 66930
Change-Id: I8d453d819aad8630d4934a15e7bf512fa828fe24

9 years agoMerge "Update OOjs UI to v0.1.0-pre (a1b99bb256)"
jenkins-bot [Thu, 17 Jul 2014 22:02:38 +0000 (22:02 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (a1b99bb256)"

9 years agoMerge "Removed NextJobDB, which was only used by the old jobs-loop.sh script"
jenkins-bot [Thu, 17 Jul 2014 21:57:04 +0000 (21:57 +0000)]
Merge "Removed NextJobDB, which was only used by the old jobs-loop.sh script"

9 years agoMerge "mediawiki.ui: Update color palette"
jenkins-bot [Thu, 17 Jul 2014 21:54:04 +0000 (21:54 +0000)]
Merge "mediawiki.ui: Update color palette"

9 years agoRemoved NextJobDB, which was only used by the old jobs-loop.sh script
Aaron Schulz [Thu, 17 Jul 2014 19:18:13 +0000 (12:18 -0700)]
Removed NextJobDB, which was only used by the old jobs-loop.sh script

Change-Id: Ia74386c65011ecca2bd4a0fae6509febd1b2d523

9 years agomediawiki.ui: Update color palette
kaldari [Wed, 5 Mar 2014 23:02:34 +0000 (15:02 -0800)]
mediawiki.ui: Update color palette

New variables have been added to encourage reuse of the preferred
color palette.

See https://trello.com/c/IRqbu8p4/15-color-swatches

Also replacing deprecated LESS variables.

Change-Id: I03620cc4acb1ea0c7c0d2e951a9913396276c27a

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Thu, 17 Jul 2014 21:19:23 +0000 (21:19 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoHygiene: Remove useless commented out code.
jdlrobson [Thu, 17 Jul 2014 21:12:08 +0000 (14:12 -0700)]
Hygiene: Remove useless commented out code.

Added in Thu May 10 17:51:44 2012
2 years later still commented.
Clearly not useful.

Change-Id: I07cd3853d40ff7a9710adff7c7d8ff8c9b717ff1

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 17 Jul 2014 20:43:21 +0000 (22:43 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I954577ed575ca296601cc974fd8ff43461576be1

9 years agoMerge "Fixed initial as-of cache time shown at Special:ActiveUsers"
jenkins-bot [Thu, 17 Jul 2014 19:41:39 +0000 (19:41 +0000)]
Merge "Fixed initial as-of cache time shown at Special:ActiveUsers"

9 years agoFixed initial as-of cache time shown at Special:ActiveUsers
Aaron Schulz [Thu, 17 Jul 2014 19:32:51 +0000 (12:32 -0700)]
Fixed initial as-of cache time shown at Special:ActiveUsers

Change-Id: I97c662a0c2b912924df07bd2cde790535026005c

9 years agoUpdate OOjs UI to v0.1.0-pre (a1b99bb256)
James D. Forrester [Thu, 17 Jul 2014 19:17:19 +0000 (12:17 -0700)]
Update OOjs UI to v0.1.0-pre (a1b99bb256)

New changes:
a1b99bb Dialog title alignment and iframe size fixes

Change-Id: Ifde08d648c2a5f6fd4d54264e0a153d899e2f1d3

9 years agoMerge "Remove oldTablePrefix from ParserTest"
jenkins-bot [Thu, 17 Jul 2014 16:06:08 +0000 (16:06 +0000)]
Merge "Remove oldTablePrefix from ParserTest"

9 years agoMerge "Remove some PHP4 microtime() compat wrappers"
jenkins-bot [Thu, 17 Jul 2014 14:57:58 +0000 (14:57 +0000)]
Merge "Remove some PHP4 microtime() compat wrappers"

9 years agoRemove oldTablePrefix from ParserTest
umherirrender [Thu, 17 Jul 2014 09:20:05 +0000 (11:20 +0200)]
Remove oldTablePrefix from ParserTest

Unused since r79094

Change-Id: I478b4624125b5103065c0244b3f471e96b2ba1ef

9 years agoAdd missing rollback to LocalFile::recordUpload2
umherirrender [Thu, 17 Jul 2014 08:39:40 +0000 (10:39 +0200)]
Add missing rollback to LocalFile::recordUpload2

When begin was called, all returns should have rollback called to
close the transaction.

Change-Id: I8197f73fb45c2e2900db6d5e588623f9b0c46ea5

9 years agoMerge "Installer: Minor change to "config-register-globals-error" message"
jenkins-bot [Thu, 17 Jul 2014 06:36:11 +0000 (06:36 +0000)]
Merge "Installer: Minor change to "config-register-globals-error" message"

9 years agoMerge "mediawiki.action.watch.ajax: Don't get wgPageName"
jenkins-bot [Thu, 17 Jul 2014 06:24:55 +0000 (06:24 +0000)]
Merge "mediawiki.action.watch.ajax: Don't get wgPageName"

9 years agoInstaller: Minor change to "config-register-globals-error" message
Kunal Mehta [Thu, 17 Jul 2014 05:09:18 +0000 (22:09 -0700)]
Installer: Minor change to "config-register-globals-error" message

Suggested in If951d152 post-merge

Change-Id: Ifca6bd7af37f8cc55c759bd066860b3e93cf2962

9 years agomediawiki.action.watch.ajax: Don't get wgPageName
Kevin Israel [Thu, 17 Jul 2014 04:59:52 +0000 (00:59 -0400)]
mediawiki.action.watch.ajax: Don't get wgPageName

Follows-up r113737 / 72c33b452369. Client-side page caching
for logged-in users should no longer be a concern by now :)

Change-Id: Ifeefa22fb2e0fc05833bf89123d744314429fe36

9 years agoRemove some PHP4 microtime() compat wrappers
Kevin Israel [Thu, 17 Jul 2014 03:21:00 +0000 (23:21 -0400)]
Remove some PHP4 microtime() compat wrappers

Trivially replaced with microtime( true ).

The following classes still use microtime() without the
argument, though I have chosen not to change them in this
commit because of a possible loss of precision:

* MWCryptHKDF
* UIDGenerator
* UpdateSpecialPages
* UploadStash

Change-Id: I4f594f6ada9e8fce3319b61844b9857d87e9aa99

9 years agoRemove AjaxAddScript hook
Chad Horohoe [Thu, 17 Jul 2014 01:46:56 +0000 (18:46 -0700)]
Remove AjaxAddScript hook

Has been obsolete since the introduction of ResourceLoader and
is unused by any extension in Git.

Change-Id: Ia8ce6a0f1c5d46811897bd75670a3d5ea76caf7d

9 years agoMerge "Added missing unlock() calls in LocalFile"
jenkins-bot [Thu, 17 Jul 2014 00:44:31 +0000 (00:44 +0000)]
Merge "Added missing unlock() calls in LocalFile"

9 years agoMerge "Fix navigation buttons on Special:Listfiles for first and last page"
jenkins-bot [Thu, 17 Jul 2014 00:20:43 +0000 (00:20 +0000)]
Merge "Fix navigation buttons on Special:Listfiles for first and last page"

9 years agoAdded missing unlock() calls in LocalFile
Aaron Schulz [Thu, 17 Jul 2014 00:14:19 +0000 (17:14 -0700)]
Added missing unlock() calls in LocalFile

Change-Id: Id427fb424bfb46670f2074664aca750014c70225

9 years agoFix navigation buttons on Special:Listfiles for first and last page
Rohan [Wed, 9 Jul 2014 11:40:35 +0000 (17:10 +0530)]
Fix navigation buttons on Special:Listfiles for first and last page

The listfiles pager was appending the username to the paging queries
for all paging queries. On the first/last page, this was appending
the username to false, thus marking the first/last page as still having
further results despite that not being the case.

Bug: 67627
Change-Id: Ib302a826fa638d7ae25c6d37951277fa8701ab69

9 years agoMerge "Adding css styling option for help option in HTMLForm"
jenkins-bot [Wed, 16 Jul 2014 23:22:00 +0000 (23:22 +0000)]
Merge "Adding css styling option for help option in HTMLForm"

9 years agoAdding css styling option for help option in HTMLForm
Derric Atzrott [Wed, 16 Jul 2014 13:38:37 +0000 (09:38 -0400)]
Adding css styling option for help option in HTMLForm

There is now a new option named csshelpclass that can be passed in form
descriptors for HTMLForm objects.  This option accepts a css class and
applies it to the help text that is provided with the help option in the
form descriptor.

Bug: 65087
Change-Id: If1bd1d12a9159895f45c9cf0fbb7992e4c7e3526

9 years agoUpdate OOjs UI to v0.1.0-pre (97dbb50137)
James D. Forrester [Wed, 16 Jul 2014 22:59:49 +0000 (15:59 -0700)]
Update OOjs UI to v0.1.0-pre (97dbb50137)

New changes:
54460ce Prevent disabled tools from stealing focus
436ac66 MenuWidget: Add option to specify an extra widget for mouse events
e67bb70 Localisation updates from https://translatewiki.net.
a2ba412 Mellow out the shadows being applied to dialog content
085d3a5 Split toolbar demo in two and add action button demo, with labels
dfd5100 Allow FieldLayouts to have help text
5f30488 Localisation updates from https://translatewiki.net.
d544ffe Remove useless documentation, add more useful documentation
e93e7cd Get OOUI working with mobile again
eb6c68b demos: Add LTR/RTL switcher to icons demo
4b874d4 Use SVG check icon

Change-Id: I03517e3aa026d9bc109dd252e489cdda1c478026

9 years agoMerge "Added "daemonized" flag to JobQueueRedis"
jenkins-bot [Wed, 16 Jul 2014 22:30:17 +0000 (22:30 +0000)]
Merge "Added "daemonized" flag to JobQueueRedis"

9 years agoAdded "daemonized" flag to JobQueueRedis
Aaron Schulz [Wed, 16 Jul 2014 00:43:29 +0000 (17:43 -0700)]
Added "daemonized" flag to JobQueueRedis

Change-Id: I6df1004a7872809bfd28ad1477b9504e76f75a92

9 years agoFix incorrect function call scope in Title.php
withoutaname [Wed, 16 Jul 2014 22:17:47 +0000 (15:17 -0700)]
Fix incorrect function call scope in Title.php

Calls to getTitleParser() and getTitleFormatter() were using $this->
but the functions were declared static.

Change-Id: If21be84c68725b2afe181229cb697b948d26d6c6

9 years agoRemove execute() from Action and subclasses
withoutaname [Tue, 15 Jul 2014 18:53:50 +0000 (11:53 -0700)]
Remove execute() from Action and subclasses

Since show() is always the preferred entry point, this is never used
nor implemented properly.

Change-Id: I5fde4bbd420a6695b01fb9220542fd3b49060675

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 16 Jul 2014 19:47:17 +0000 (21:47 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I3e6fc96353152ad5a814dda8b1ea6eee2ee82b57

9 years agoMerge "In AutoLoader, move LC and UserCache to includes/cache section"
jenkins-bot [Wed, 16 Jul 2014 18:34:11 +0000 (18:34 +0000)]
Merge "In AutoLoader, move LC and UserCache to includes/cache section"

9 years agoIn AutoLoader, move LC and UserCache to includes/cache section
withoutaname [Wed, 16 Jul 2014 18:08:37 +0000 (11:08 -0700)]
In AutoLoader, move LC and UserCache to includes/cache section

Change-Id: I22d2dbe105d30c78d2d6622e708b9f1344c9cff4

9 years agoAvoid breaking DB transactions in SqlBagOStuff
Aaron Schulz [Wed, 16 Jul 2014 02:07:58 +0000 (19:07 -0700)]
Avoid breaking DB transactions in SqlBagOStuff

* Callers still sees some decent time ordering since writes block
  until committed. This will not blindly flush transactions though.
* Basically reverts 59e8032

Change-Id: Ib9a91ac023f8e3fafb0bf0eef9dca6e31b867be9

9 years agoMerge "Made LCStoreDB try to use a separate DB connection"
jenkins-bot [Wed, 16 Jul 2014 17:55:35 +0000 (17:55 +0000)]
Merge "Made LCStoreDB try to use a separate DB connection"

9 years agoMerge "Remove getFormFields(), onSubmit() and onSuccess() from FormlessAction"
jenkins-bot [Wed, 16 Jul 2014 17:49:32 +0000 (17:49 +0000)]
Merge "Remove getFormFields(), onSubmit() and onSuccess() from FormlessAction"

9 years agoMerge "Make AutoLoaderTest handle namespaces"
jenkins-bot [Wed, 16 Jul 2014 17:39:19 +0000 (17:39 +0000)]
Merge "Make AutoLoaderTest handle namespaces"

9 years agoMerge "mediawiki.hidpi: Add skipFunction to forgo loading in modern browsers"
Reedy [Wed, 16 Jul 2014 17:35:41 +0000 (17:35 +0000)]
Merge "mediawiki.hidpi: Add skipFunction to forgo loading in modern browsers"

9 years agoMerge "fix args for messages mergehistory-no-source/-destination"
jenkins-bot [Wed, 16 Jul 2014 17:34:13 +0000 (17:34 +0000)]
Merge "fix args for messages mergehistory-no-source/-destination"

9 years agoMake AutoLoaderTest handle namespaces
Chad Horohoe [Wed, 16 Jul 2014 00:49:18 +0000 (17:49 -0700)]
Make AutoLoaderTest handle namespaces

Bug: 67644
Change-Id: Ibeb0833742c574afac13bfebd278f9d2b8410de6

9 years agomediawiki.hidpi: Add skipFunction to forgo loading in modern browsers
Timo Tijhof [Wed, 16 Jul 2014 02:19:04 +0000 (04:19 +0200)]
mediawiki.hidpi: Add skipFunction to forgo loading in modern browsers

Chromium 34 (stable release April 8, 2014) introduced support
for the srcset attribute.

Chroem 34+ and Opera 21+ support this now. While the jquery.hidpi
module doesn't emulate srcset in browser that support it, we do
still load it.

http://blog.chromium.org/2014/02/chrome-34-responsive-images-and_9316.html
http://googlechromereleases.blogspot.com/2014/04/stable-channel-update.html
http://caniuse.com/srcset

Change-Id: I0498c9cc0f25e3d366879d9d3430ee8371efcf11

9 years agoMerge "Use job backoff times in the case of high failure rates"
jenkins-bot [Wed, 16 Jul 2014 13:23:02 +0000 (13:23 +0000)]
Merge "Use job backoff times in the case of high failure rates"

9 years agofix args for messages mergehistory-no-source/-destination
umherirrender [Wed, 16 Jul 2014 09:38:09 +0000 (11:38 +0200)]
fix args for messages mergehistory-no-source/-destination

Change-Id: I2502a5056a09ff1373ddfc6a0e59d35aac1647b7

9 years agoMade LCStoreDB try to use a separate DB connection
Aaron Schulz [Wed, 16 Jul 2014 02:19:54 +0000 (19:19 -0700)]
Made LCStoreDB try to use a separate DB connection

* This avoids breaking the main transaction in finishWrite().
* Also removed an unused variable in SqlBagOStuff.

Change-Id: Ia330ac362b080c1338616d95b793032c4752dc23

9 years agomw.loader: Document registry#skip
Timo Tijhof [Wed, 16 Jul 2014 02:10:19 +0000 (04:10 +0200)]
mw.loader: Document registry#skip

Follows-up 75c08916b02ac8706.

Change-Id: I98c51776f72825ee200e470faa2551f762b3a310

9 years agoMerge "benchmarkParse.php: add options for HHVM testing"
jenkins-bot [Wed, 16 Jul 2014 01:05:03 +0000 (01:05 +0000)]
Merge "benchmarkParse.php: add options for HHVM testing"

9 years agoMerge "Move ChangesFeed to includes/changes/ folder"
jenkins-bot [Wed, 16 Jul 2014 00:49:09 +0000 (00:49 +0000)]
Merge "Move ChangesFeed to includes/changes/ folder"

9 years agoMove ChangesFeed to includes/changes/ folder
withoutaname [Wed, 16 Jul 2014 00:30:46 +0000 (17:30 -0700)]
Move ChangesFeed to includes/changes/ folder

Change-Id: I4ec541e8fe4234970972904592af2e11375e974d

9 years agobenchmarkParse.php: add options for HHVM testing
Max Semenik [Wed, 16 Jul 2014 00:23:27 +0000 (17:23 -0700)]
benchmarkParse.php: add options for HHVM testing

--warmup makes a specified number of loops before measuring;
--loops repeats parsing given number of times

Change-Id: I18bff702fce1f97c4afc6c9fd618fdc1f3272732

9 years agoUse job backoff times in the case of high failure rates
Aaron Schulz [Wed, 16 Jul 2014 00:22:39 +0000 (17:22 -0700)]
Use job backoff times in the case of high failure rates

Change-Id: Ica0c81bfb127e858ec6f1aa193da351930493b2d

9 years agoMerge "Fix DjVu tests isolation"
jenkins-bot [Wed, 16 Jul 2014 00:01:54 +0000 (00:01 +0000)]
Merge "Fix DjVu tests isolation"

9 years agoFix DjVu tests isolation
Max Semenik [Tue, 15 Jul 2014 23:56:34 +0000 (16:56 -0700)]
Fix DjVu tests isolation

Change-Id: I97177572fc025c5ab4361146253d7df9c487c291

9 years agoRemove getFormFields(), onSubmit() and onSuccess() from FormlessAction
withoutaname [Sun, 13 Jul 2014 07:19:43 +0000 (00:19 -0700)]
Remove getFormFields(), onSubmit() and onSuccess() from FormlessAction

Leftovers from the FormAction class which has since split off

Change-Id: I519566205bd39f4c511b0418a0564e9ef1eec6d0

9 years agoMerge "Revert "Make UserNotLoggedIn redirect to login page""
jenkins-bot [Tue, 15 Jul 2014 23:18:53 +0000 (23:18 +0000)]
Merge "Revert "Make UserNotLoggedIn redirect to login page""

9 years agoRevert "Make UserNotLoggedIn redirect to login page"
Bartosz Dziewoński [Tue, 15 Jul 2014 23:12:27 +0000 (23:12 +0000)]
Revert "Make UserNotLoggedIn redirect to login page"

Lots of small issues that could be very annoying:

* Usability regression: the user is not informed *why* they were
  redirected to the login screen. Not even a generic "You must log in
  to complete this action".
* When testing this on my watchlist, after logging in I am now redirected
  to http://localhost/wiki/index.php?title=Watchlist&title=Special%3AWatchlist
  (the title is repeated twice and one of them is incorrect). This
  worked correctly before.
* SpecialPage::requireLogin() needs documentation and code updates.
* A whole ton of messages used in these prompts is now unused.
* Probably needs release notes.

I don't have the time to fix up myself right now, and a WMF
branch cut is looming. Let's just try this again later.

This reverts commit e0af129cbdb7421b4d9d7858cc63125e12f35a4a.

Bug: 15484
Change-Id: I728e477cf6e10b90846ee0b2d9e5087bc3a0af3e

9 years agoPopulate $extensionPath if isset( $extension['path'] )
Bryan Davis [Tue, 15 Jul 2014 21:47:32 +0000 (15:47 -0600)]
Populate $extensionPath if isset( $extension['path'] )

$extensionPath is initialized to null and then only set when no cached
vcs information was found. Instead set it to the proper value as soon as
we know that $extension['path'] exists. This will fix display of license
file links for most extensions.

Change-Id: I93bfedf3ae0cb7e6f9e077aa1d83906f7a3283b2

9 years agoRename MWNamespace, MWDebug and MWTidy files to match their class
Timo Tijhof [Tue, 15 Jul 2014 20:58:51 +0000 (22:58 +0200)]
Rename MWNamespace, MWDebug and MWTidy files to match their class

Change-Id: I3e6d13ce366861c865401dde272bc2834a1de670

9 years agoMerge "mediawiki.ui: Remove remaining stray references to Vector"
jenkins-bot [Tue, 15 Jul 2014 20:56:06 +0000 (20:56 +0000)]
Merge "mediawiki.ui: Remove remaining stray references to Vector"

9 years agoMerge "Rename Wiki.php to MediaWiki.php"
jenkins-bot [Tue, 15 Jul 2014 20:54:49 +0000 (20:54 +0000)]
Merge "Rename Wiki.php to MediaWiki.php"

9 years agomediawiki.ui: Remove remaining stray references to Vector
Bartosz Dziewoński [Tue, 15 Jul 2014 20:45:05 +0000 (22:45 +0200)]
mediawiki.ui: Remove remaining stray references to Vector

Change-Id: Ic85073314c8155c48c3cabb3d8ecb5e51f7669ea

9 years agomediawiki.ui: One mixin file to rule them all
jdlrobson [Fri, 11 Jul 2014 21:56:18 +0000 (14:56 -0700)]
mediawiki.ui: One mixin file to rule them all

Change-Id: I10a78148c1c34d442c1655b6b3a0009aff3fdcc7

9 years agoSimplify MediaWiki UI codebase
jdlrobson [Fri, 11 Jul 2014 21:24:53 +0000 (14:24 -0700)]
Simplify MediaWiki UI codebase

* Stop thinking in terms of skins. Apply same styles to all uses of
  MediaWiki. MediaWiki UI should be able to be slotted in anywhere.
* Kill unused mixins
* Move variables into single separate file
** Kill unused variables
* Do not load variables in mixin files (skins should tweak if necessary)
* Create a single variables file

Change-Id: Ib6c2485aca9a6a7c88f1a5326d9990647a1a26fb

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 15 Jul 2014 19:50:40 +0000 (21:50 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If9a0f2e33272075d5bc35923357c9347933bb4f7

9 years agoMerge "Make UserNotLoggedIn redirect to login page"
jenkins-bot [Tue, 15 Jul 2014 19:47:15 +0000 (19:47 +0000)]
Merge "Make UserNotLoggedIn redirect to login page"

9 years agoMerge "RevDelArchivedFileItem needs to override getApiData"
jenkins-bot [Tue, 15 Jul 2014 18:54:37 +0000 (18:54 +0000)]
Merge "RevDelArchivedFileItem needs to override getApiData"

9 years agoMake UserNotLoggedIn redirect to login page
Tyler Romeo [Tue, 15 Jul 2014 18:48:09 +0000 (14:48 -0400)]
Make UserNotLoggedIn redirect to login page

For pages like Special:Watchlist that throw
a UserNotLoggedIn exception when the user is
anonymous, this patch makes the page redirect
to the login page automatically.

This is instead
of the current behavior of showing a link to
the login page that the user must click.

(Also, Special:Userlogin has existing functionality
that will redirect the user back once they are
logged in.)

Bug: 15484
Change-Id: Ic7e1d5a8984e1b42c8f2ebceff094106a3ed1efa

9 years agoRevDelArchivedFileItem needs to override getApiData
Brad Jorsch [Tue, 15 Jul 2014 15:39:27 +0000 (11:39 -0400)]
RevDelArchivedFileItem needs to override getApiData

Why is ArchivedFile so different from OldLocalFile?

Bug: 68034
Change-Id: I89a41a47ea2720e5302be5b463e6ff89737fa089

9 years agoMerge "Allow importing of LESS from MediaWiki.UI"
jenkins-bot [Tue, 15 Jul 2014 18:39:49 +0000 (18:39 +0000)]
Merge "Allow importing of LESS from MediaWiki.UI"

9 years agoMerge "API: Cleanup list=filearchive"
jenkins-bot [Tue, 15 Jul 2014 18:34:58 +0000 (18:34 +0000)]
Merge "API: Cleanup list=filearchive"

9 years agoAllow importing of LESS from MediaWiki.UI
jdlrobson [Wed, 9 Jul 2014 18:12:13 +0000 (11:12 -0700)]
Allow importing of LESS from MediaWiki.UI

This allows Flow to reuse colors defined here.
See: I519beb8b0ffae0bef387cefa5026ee94282001df

Change-Id: I68cd4de1df515cf059a1d9e45cd3ff801a0a1c84

9 years agoMerge "Small tweaks to media handler tests"
jenkins-bot [Tue, 15 Jul 2014 17:58:11 +0000 (17:58 +0000)]
Merge "Small tweaks to media handler tests"

9 years agoSmall tweaks to media handler tests
Max Semenik [Tue, 15 Jul 2014 17:31:07 +0000 (10:31 -0700)]
Small tweaks to media handler tests

* Whack @group Media everywhere
* If testing access to a nonexistent file, make it obvious from its name
* Grammar

Change-Id: I845b484b78b3eb1e5a97f339777d3b7c9ee17712

9 years agoAPI: Cleanup list=filearchive
Brad Jorsch [Tue, 15 Jul 2014 16:24:26 +0000 (12:24 -0400)]
API: Cleanup list=filearchive

It should return fa_id so that a client can know what to pass to
action=revisiondelete and (soon) action=undelete. And the continuation
was very broken.

Change-Id: Icf93293f312d41b44d1c4972d75acf2ff2dc1b80

9 years agoMerge "jquery.textSelection: Remove references to iframe"
jenkins-bot [Tue, 15 Jul 2014 16:05:43 +0000 (16:05 +0000)]
Merge "jquery.textSelection: Remove references to iframe"

9 years agoMerge "Add link on Special:Upload to edit MediaWiki:Licenses"
jenkins-bot [Tue, 15 Jul 2014 15:30:55 +0000 (15:30 +0000)]
Merge "Add link on Special:Upload to edit MediaWiki:Licenses"

9 years agoDeclare 2 variables to be global to avoid reference error
rillke [Tue, 15 Jul 2014 07:59:11 +0000 (09:59 +0200)]
Declare 2 variables to be global to avoid reference error

This fixes a bug introduced in Ic7fc3bd8362 resulting in the updater
aborting when attempting to update the constraints with a fatal error
due to missing $wgDBname, $wgDBmwschema in the current scope.

Change-Id: I7bbaef2175f81ab843ad09fe92c10dba1257a184

9 years agoMerge "Avoid wfWaitForSlaves() call when in a transaction in ActiveUsers"
jenkins-bot [Tue, 15 Jul 2014 00:04:40 +0000 (00:04 +0000)]
Merge "Avoid wfWaitForSlaves() call when in a transaction in ActiveUsers"

9 years agoMerge "Defer addAutopromoteOnceGroups to transaction idle"
jenkins-bot [Mon, 14 Jul 2014 23:21:28 +0000 (23:21 +0000)]
Merge "Defer addAutopromoteOnceGroups to transaction idle"

9 years agoMerge "Update OOjs UI to v0.1.0-pre (d2451ac748)"
jenkins-bot [Mon, 14 Jul 2014 23:03:30 +0000 (23:03 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (d2451ac748)"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 14 Jul 2014 19:44:47 +0000 (21:44 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I482feffd1fb7bdde774d146304d9efe63a833aaa

9 years agoMerge "LocalSettingsGenerator: Remove unused commented-out code"
jenkins-bot [Mon, 14 Jul 2014 18:46:33 +0000 (18:46 +0000)]
Merge "LocalSettingsGenerator: Remove unused commented-out code"

9 years agoMerge "Force default search backend on search test"
Chad Horohoe [Mon, 14 Jul 2014 18:37:37 +0000 (18:37 +0000)]
Merge "Force default search backend on search test"

9 years agoMerge "Actually detect duplicate section=new submissions"
jenkins-bot [Mon, 14 Jul 2014 18:13:42 +0000 (18:13 +0000)]
Merge "Actually detect duplicate section=new submissions"

9 years agoUpdate OOjs UI to v0.1.0-pre (d2451ac748)
Trevor Parscal [Mon, 14 Jul 2014 16:49:52 +0000 (09:49 -0700)]
Update OOjs UI to v0.1.0-pre (d2451ac748)

New changes:
0e94342 GridLayout: Hide panels with zero width or zero height
ef77c68 Localisation updates from https://translatewiki.net.
d3f26e6 cleanup: Use local var instead of bind() for inline functions
2c6958f Mobile-friendly styling for demos
a785a70 Add OO.ui.Error
b490fb6 [BREAKING CHANGE] Change how delay works for OO.ui.Process
c34ab93 [BREAKING CHANGE] Split part of OptionWidget into DecoratedOptionWidget
17f297e Add flag event to OO.ui.FlaggableElement
c4d3694 Add AccessKey API to OO.ui.ButtonedElement
f1fd828 Add API for tabIndex to OO.ui.ButtonedElement
bd3a0cf Add support for using arguments with OO.ui.deferMsg
38b8001 Add OO.ui.FormLayout
ac01705 [BREAKING CHANGE] Separate setup from setOutlineItem in OO.ui.PageLayout
1d46771 Make OO.ui.FieldLayout labels display inline-block when aligned top
a7e3798 Change color of text on frameless buttons
49f3438 Add href and target API to OO.ui.ButtonWidget
667d951 OptionWidget: Fix double icons/indicators
a8e7ede Add blur method to OO.ui.InputWidget
3ba36b9 [BREAKING CHANGE] The great and terrible dialog refactor
43f1541 Localisation updates from https://translatewiki.net.
f245c8d Localisation updates from https://translatewiki.net.
aa8a74b demos: Omit value for disabled attribute, use attr() instead of prop()
12d43c1 OptionWidget: Simplify code by using toggleClass instead of if/else
9690115 SelectWidget: Minor coding style clean up
912cbb7 Split dialog demos by theme
d2451ac ProcessDialog: "Other" action buttons should be framed.

Change-Id: I0f5cd74a5299dd97addc15737faceca36caf87b4

9 years agoMerge "Properly check whether a user exists"
jenkins-bot [Mon, 14 Jul 2014 16:14:47 +0000 (16:14 +0000)]
Merge "Properly check whether a user exists"

9 years agoPrefixSearch: Avoid notice when no subpage exists
Chad Horohoe [Mon, 14 Jul 2014 15:42:59 +0000 (08:42 -0700)]
PrefixSearch: Avoid notice when no subpage exists

Change-Id: I9e09b1c082e099f3b79716da5ab16239e256e4b2

9 years agoProperly check whether a user exists
Kunal Mehta [Mon, 14 Jul 2014 05:03:00 +0000 (22:03 -0700)]
Properly check whether a user exists

User::newFromId() will never return false. We have to actually
load from the database to see whether the user still exists.

Change-Id: Id9329635717e6a4f1f34d0b2b665bb790685d2fa

9 years agoMerge "Display MediaWiki:Loginprompt on the login page"
jenkins-bot [Mon, 14 Jul 2014 03:37:51 +0000 (03:37 +0000)]
Merge "Display MediaWiki:Loginprompt on the login page"

9 years agoDisplay MediaWiki:Loginprompt on the login page
This, that and the other [Thu, 10 Jul 2014 12:32:18 +0000 (22:32 +1000)]
Display MediaWiki:Loginprompt on the login page

This reinstates functionality removed in 44840d1.

There is no longer a default message, and must
be created on wikis locally.

Bug: 66574
Change-Id: Ife39fe868b46ef054101c2db2e4e901380998c0e
Co-Authored-By: Dan Poltawski <dan@moodle.com>
9 years agomediawiki.mixins: Document browser support
Timo Tijhof [Sun, 13 Jul 2014 22:30:26 +0000 (00:30 +0200)]
mediawiki.mixins: Document browser support

Follows-up 9850db976c38a.

* http://caniuse.com/css-boxshadow
* http://caniuse.com/css3-boxsizing
* http://caniuse.com/css-transitions

Change-Id: I49454afdf9b9465948b46830ae4cf9b320ca5cd8

9 years agoMerge "Whitespace cleanup in mediawiki.feedback.js"
jenkins-bot [Sun, 13 Jul 2014 21:06:15 +0000 (21:06 +0000)]
Merge "Whitespace cleanup in mediawiki.feedback.js"

9 years agoMerge "Cleanup whtespace and comments in mediawiki.api.edit.js"
jenkins-bot [Sun, 13 Jul 2014 21:06:11 +0000 (21:06 +0000)]
Merge "Cleanup whtespace and comments in mediawiki.api.edit.js"