lhc/web/wiklou.git
9 years agoFix off-by-one error in the "previous 200" link in category listings
Rohan [Mon, 14 Jul 2014 14:16:50 +0000 (19:46 +0530)]
Fix off-by-one error in the "previous 200" link in category listings
with until=param

When an until parameter is given i.e. going to a previous page, the
category page does the sql query in descending order. In that case,
the previous page link was given an until paramter that was one more
than the last needed result, since until= is interpreted as up-to but
not including, unlike from=, which is starting from and including.

Bug: 36964
Change-Id: I7eaf58d78136ac069a2d9122bca03f87863d2c0b

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 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"

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sun, 13 Jul 2014 20:44:59 +0000 (20:44 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 13 Jul 2014 20:06:55 +0000 (22:06 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ibc7305f1089f5d69fe455cffadc602c1b894239c

9 years agoMerge "Skin: Make normalizeKey() accept non-canonical case variants of keys"
jenkins-bot [Sun, 13 Jul 2014 20:06:31 +0000 (20:06 +0000)]
Merge "Skin: Make normalizeKey() accept non-canonical case variants of keys"

9 years agoAdd tzm (ⵜⴰⵎⴰⵣⵉⵖⵜ) (Tamazight) to Names.php
Federico Leva [Sun, 13 Jul 2014 17:53:18 +0000 (19:53 +0200)]
Add tzm (ⵜⴰⵎⴰⵣⵉⵖⵜ) (Tamazight) to Names.php

The tzm.json file was committed in 2014-06-26 and has over 600 lines,
but the language can't be selected in Special:Preferences.

Change-Id: Ie362dbd46132397763382bf102b17e63c6a088cb

9 years agoMerge "Make OutputPageTest more independent from global state"
jenkins-bot [Sun, 13 Jul 2014 16:51:04 +0000 (16:51 +0000)]
Merge "Make OutputPageTest more independent from global state"

9 years agoWhitespace cleanup in mediawiki.feedback.js
Amir E. Aharoni [Sun, 13 Jul 2014 12:28:03 +0000 (15:28 +0300)]
Whitespace cleanup in mediawiki.feedback.js

Change-Id: I6eca6f0008abdbf5503196627faaab22df9e51c5

9 years agoCleanup whtespace and comments in mediawiki.api.edit.js
Amir E. Aharoni [Sun, 13 Jul 2014 12:22:22 +0000 (15:22 +0300)]
Cleanup whtespace and comments in mediawiki.api.edit.js

Change-Id: I61419bae4286317dbd6ca3c2e0596184e7953392

9 years agoRename Wiki.php to MediaWiki.php
withoutaname [Sun, 13 Jul 2014 08:22:30 +0000 (01:22 -0700)]
Rename Wiki.php to MediaWiki.php

This only renames the file, not the class itself.

Change-Id: I53dfa5ae98c8f45b32f911419217692cfd760cd7

9 years agoFold RevertFileAction class into RevertAction
withoutaname [Thu, 10 Jul 2014 01:26:16 +0000 (18:26 -0700)]
Fold RevertFileAction class into RevertAction

RevertAction was simply a dummy class for outputting an error message
if the action was not done in the file namespace. I've instead
moved RevertFileAction to RevertAction and threw an exception
from within checkCanExecute().

Change-Id: I7b87de60680009bf4e74d33342cbe81cc0d211b5

9 years agoGeneralize Installer::showStatusMessage()
withoutaname [Fri, 4 Jul 2014 07:34:17 +0000 (00:34 -0700)]
Generalize Installer::showStatusMessage()

Folds functionality from child classes back into a
concrete implementation in the parent class, reducing code duplication.

Change-Id: I697fe697dbd59d5db6fc77aba20af322e6011782

9 years agoSkin: Make normalizeKey() accept non-canonical case variants of keys
Bartosz Dziewoński [Sun, 13 Jul 2014 01:23:55 +0000 (03:23 +0200)]
Skin: Make normalizeKey() accept non-canonical case variants of keys

For example, passing 'MonoBook' and 'monobook' will now both yield
'monobook'; previously, the former yielded the default skin ('vector').

This magically fixes casing issues in the &useskin= URL parameter, as
well as in configuration variables like $wgDefaultSkin.

(This is per agreement on wikitech-l discussion a few weeks ago,
"What should be the recommended / supported way to do skins?").

Change-Id: I0df77b6d42726605b56d52b34e204113e8089e80

9 years agoEnforce type hinting for setTitle() in IContextSource subclasses
withoutaname [Tue, 8 Jul 2014 08:09:19 +0000 (01:09 -0700)]
Enforce type hinting for setTitle() in IContextSource subclasses

Change-Id: Iecd8535b04072823a6f4efe33697148f4d20118e

9 years agoRemove $wgEnableSorbs and $wgSorbsUrl
withoutaname [Sat, 12 Jul 2014 00:31:08 +0000 (17:31 -0700)]
Remove $wgEnableSorbs and $wgSorbsUrl

They were deprecated in version 1.17.

Change-Id: I8489c0cb4a041d081283fa3551377ef81ef36549

9 years agoVector: Use .mediawiki instead of .skin-vector in notification styles
Daniel Friesen [Tue, 13 May 2014 00:57:56 +0000 (17:57 -0700)]
Vector: Use .mediawiki instead of .skin-vector in notification styles

What was I thinking when I did this in I2b3d9cbc?

The extra class is present as mediawiki.notification's css is loaded later
thus overriding the skin's css. However using .skin-vector for that
purpose breaks Vector derived skins since they don't have it. The .mediawiki
class is always present so it should be an acceptable weight.

Change-Id: Ica2a3d3a2ef25aabb38fac36e9eaf142c8bbd388

9 years agomediawiki.feedback: Remove inline definition of link color
Fomafix [Sat, 12 Jul 2014 22:46:32 +0000 (22:46 +0000)]
mediawiki.feedback: Remove inline definition of link color

Change-Id: Iaf26b13011d3a46959fa3228792aece9f45a807f
Follows-up: b9d6456cb8ebf63244ca2fe1a48fafac0fbe543f

9 years agoMerge "installer: Recompute wgStylePath etc. after setting wgScriptPath"
jenkins-bot [Sat, 12 Jul 2014 22:23:23 +0000 (22:23 +0000)]
Merge "installer: Recompute wgStylePath etc. after setting wgScriptPath"

9 years agoMerge "installer: Move Server/Extension/Path preparations out of envChecks"
jenkins-bot [Sat, 12 Jul 2014 22:23:07 +0000 (22:23 +0000)]
Merge "installer: Move Server/Extension/Path preparations out of envChecks"

9 years agomediawiki.feedback: Resolve redirects when posting
Bartosz Dziewoński [Mon, 30 Jun 2014 21:57:01 +0000 (23:57 +0200)]
mediawiki.feedback: Resolve redirects when posting

To make this possible, extended mw.Api#newSection with an
'additionalParams' parameters.

Change-Id: I64102c920870e9d3ca6f1a6a712044b22029709e

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sat, 12 Jul 2014 21:28:10 +0000 (21:28 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 12 Jul 2014 21:07:11 +0000 (23:07 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ibf985c7870387ab6f7b47e626732edb359d2b9bb

9 years agoLocalSettingsGenerator: Remove unused commented-out code
Bartosz Dziewoński [Mon, 7 Jul 2014 21:59:20 +0000 (23:59 +0200)]
LocalSettingsGenerator: Remove unused commented-out code

This is unused and unnecessary, $wgRightsUrl is always checked before
it's used in code and it can be an empty string.

Change-Id: Ia2e2af0162004b7e19a028ba8e648f8b2ef02a12