lhc/web/wiklou.git
9 years agoMerge "Update OOjs UI to v0.1.0-pre (5ab041a801)"
jenkins-bot [Mon, 21 Jul 2014 17:53:44 +0000 (17:53 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (5ab041a801)"

9 years agoMerge "Support for enabling skins in the installer"
jenkins-bot [Mon, 21 Jul 2014 17:23:25 +0000 (17:23 +0000)]
Merge "Support for enabling skins in the installer"

9 years agomaintenance: Update comment in the OOjs UI pull through script
James D. Forrester [Sat, 12 Jul 2014 22:32:26 +0000 (15:32 -0700)]
maintenance: Update comment in the OOjs UI pull through script

Follows-up I05967ab7.

Change-Id: Ibbdb77f720a22cd087e3a1d18d92748bb63069e4

9 years agoMerge "oojs update scripts: Use quotes to prevent globbing and word splitting"
jenkins-bot [Mon, 21 Jul 2014 16:53:43 +0000 (16:53 +0000)]
Merge "oojs update scripts: Use quotes to prevent globbing and word splitting"

9 years agoMerge "Always return bool in BackupReader::handleUpload"
jenkins-bot [Mon, 21 Jul 2014 14:48:49 +0000 (14:48 +0000)]
Merge "Always return bool in BackupReader::handleUpload"

9 years agoMerge "Leave table names with numbers untouched in DatabaseBase::generalizeSQL"
jenkins-bot [Mon, 21 Jul 2014 14:47:35 +0000 (14:47 +0000)]
Merge "Leave table names with numbers untouched in DatabaseBase::generalizeSQL"

9 years agoMerge "Remove check for wikimedia-mode file, which no longer exists"
jenkins-bot [Mon, 21 Jul 2014 14:47:06 +0000 (14:47 +0000)]
Merge "Remove check for wikimedia-mode file, which no longer exists"

9 years agoMerge "For xcf files, compose layers before scaling"
jenkins-bot [Mon, 21 Jul 2014 12:29:59 +0000 (12:29 +0000)]
Merge "For xcf files, compose layers before scaling"

9 years agoAlways return bool in BackupReader::handleUpload
umherirrender [Mon, 21 Jul 2014 09:32:34 +0000 (11:32 +0200)]
Always return bool in BackupReader::handleUpload

Change-Id: I476a1668b3a1ff9148ff335c9d7c9aa0c8ca3d11

9 years agoRemove deprecated Title::userCanRead()
withoutaname [Wed, 16 Jul 2014 08:49:05 +0000 (01:49 -0700)]
Remove deprecated Title::userCanRead()

Change-Id: I574babf4534c849d1e1491724ea537d53ea1d1d5

9 years agoMerge "Collation: Workaround for incorrect collation of Estonian"
jenkins-bot [Mon, 21 Jul 2014 05:05:50 +0000 (05:05 +0000)]
Merge "Collation: Workaround for incorrect collation of Estonian"

9 years agoRemove deprecated HistoryPage class
withoutaname [Thu, 17 Jul 2014 08:10:50 +0000 (01:10 -0700)]
Remove deprecated HistoryPage class

Change-Id: I3db4d5a1a2c574a73e2fcfe1fd1da49f3570e4b6

9 years agoMark relevant tests with @group GlobalFunctions
Max Semenik [Fri, 18 Jul 2014 19:35:43 +0000 (12:35 -0700)]
Mark relevant tests with @group GlobalFunctions

Change-Id: I4133ad7e5e042a8c24d4836ae2bf9f1880a56e70

9 years agoMerge "jquery.accessKeyLabel: Add missing word in inline comment"
jenkins-bot [Sun, 20 Jul 2014 23:02:22 +0000 (23:02 +0000)]
Merge "jquery.accessKeyLabel: Add missing word in inline comment"

9 years agojquery.accessKeyLabel: Add missing word in inline comment
Timo Tijhof [Sun, 20 Jul 2014 22:18:32 +0000 (00:18 +0200)]
jquery.accessKeyLabel: Add missing word in inline comment

Follows-up 6a81b0e5.

Change-Id: I4558a224746b416feca2de7afa159aa90b5dfc33

9 years agoMerge "Revert "Adding a bit more documentation to mw.loader.using""
jenkins-bot [Sun, 20 Jul 2014 22:08:49 +0000 (22:08 +0000)]
Merge "Revert "Adding a bit more documentation to mw.loader.using""

9 years agoRevert "Adding a bit more documentation to mw.loader.using"
Krinkle [Sun, 20 Jul 2014 22:03:28 +0000 (22:03 +0000)]
Revert "Adding a bit more documentation to mw.loader.using"

This isn't relevant or specific to mw.loader.using. All of ResourceLoader
revolves around this idea. If two separate modules have a common
dependency, that's not loaded twice either. Whether they were passed to
loader.using(), loader.load(), or as dependencies, it doesn't matter.

The callback executes when the requires modules are ready. The
documentation never said it would load them on demand, so this bit of
supposed clarification only leads functions as noise in my opinion.

Perhaps we need to clarify elsewhere in the documentation for mw.loader
as a whole this concept, but not in this method in this way.

This reverts commit 657fab8d8388a475d850d84d8244da5e0ccfa8e7.

Change-Id: I30b3d6769f72aaab47c0b987bbb58898612206bd

9 years agoMerge "Fixed spacing"
jenkins-bot [Sun, 20 Jul 2014 20:03:01 +0000 (20:03 +0000)]
Merge "Fixed spacing"

9 years agoMerge "Merge two FileTest.php files"
jenkins-bot [Sun, 20 Jul 2014 20:02:22 +0000 (20:02 +0000)]
Merge "Merge two FileTest.php files"

9 years agooojs update scripts: Use quotes to prevent globbing and word splitting
Timo Tijhof [Sun, 20 Jul 2014 19:54:00 +0000 (21:54 +0200)]
oojs update scripts: Use quotes to prevent globbing and word splitting

Change-Id: I69a0782fafbf2e8ce943ab819ccba83ac3e92f71

9 years agoTests: setMWGlobals -> setMwGlobals
umherirrender [Sun, 20 Jul 2014 19:50:34 +0000 (21:50 +0200)]
Tests: setMWGlobals -> setMwGlobals

Change-Id: I6441668fdbc62596efba21d736a73071a46bfe45

9 years agoMerge two FileTest.php files
umherirrender [Thu, 17 Jul 2014 10:57:07 +0000 (12:57 +0200)]
Merge two FileTest.php files

The correct folder is /file not /files

Follow-Up: Id03e1a0e1c151d3c575a695a42c54b709187d10a
Change-Id: If3d896aa792e77ba8198b8eb8ad2d874e52584fb

9 years agoFixed spacing
umherirrender [Sun, 20 Jul 2014 19:41:41 +0000 (21:41 +0200)]
Fixed spacing

- use tab as indent instead of spaces
- Added space after closures "function"
- Added spaces around string_concat
- Added newline inside empty blocks
- Removed four spaces after comma

Change-Id: I4425b0c6a69b36f40acfea6511b8950cf09ce2b2

9 years agoCollation: Workaround for incorrect collation of Estonian
Bartosz Dziewoński [Sun, 20 Jul 2014 18:34:34 +0000 (20:34 +0200)]
Collation: Workaround for incorrect collation of Estonian

'W' and 'V' should not be considered the same letter for the purposes
of collation in modern Estonian. We work around this by replacing 'W'
and 'w' with 'ᴡ' U+1D21 'LATIN LETTER SMALL CAPITAL W' for sortkey
generation, which is collated like 'W' and is not tailored to have the
same primary weight as 'V' in Estonian.

Bug: 54168
Change-Id: I3e8031b9d1dc18fdb7595fb9fd23e5f930106fa4

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 20 Jul 2014 18:54:03 +0000 (20:54 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If486a0d92a03060d51bd38129b42f00194339ac9

9 years agoMerge "Shortened too long lines"
jenkins-bot [Sun, 20 Jul 2014 18:18:40 +0000 (18:18 +0000)]
Merge "Shortened too long lines"

9 years agoMerge "mw.loader: Create 'skipped' property in registry for debugging"
jenkins-bot [Sun, 20 Jul 2014 18:11:17 +0000 (18:11 +0000)]
Merge "mw.loader: Create 'skipped' property in registry for debugging"

9 years agoShortened too long lines
Leon Liesener [Sun, 20 Jul 2014 17:43:39 +0000 (19:43 +0200)]
Shortened too long lines

Change-Id: Ia82162dd52b3fea7e76c1f47cb66bce3b7927cef

9 years agoSupport for enabling skins in the installer
Bartosz Dziewoński [Tue, 10 Jun 2014 11:41:29 +0000 (13:41 +0200)]
Support for enabling skins in the installer

Let the user choose the skins to install (like extensions)
and decide which one will be the default for the new wiki.

Right now core skins are always enabled regardless of user
choices there, but I'm working on that.

Bug: 66440
Change-Id: I2e10720a6ac327e66c415bb91dc897885f952738

9 years agoFor xcf files, compose layers before scaling
Brian Wolff [Sun, 20 Jul 2014 14:44:50 +0000 (11:44 -0300)]
For xcf files, compose layers before scaling

Otherwise if some layers are a different size than the overall
image, the output will be distorted as all the layers will be
resized.

An example of such a file is the 2007 version of
[[File:Blason_Saint-Malo.xcf]] (Need a version of image magick
newer than production to see the issue).

Bug: 35622
Change-Id: Ibbe8645afc151b0e9b658f762497071d67be3836

9 years agoRemove check for wikimedia-mode file, which no longer exists
withoutaname [Sun, 20 Jul 2014 04:31:08 +0000 (21:31 -0700)]
Remove check for wikimedia-mode file, which no longer exists

Change-Id: Ib463e7687b7b35147bddef68b9548e7b86c5ef52

9 years agoAdd OutputPageScriptsForBottomQueue hook
Kunal Mehta [Sun, 22 Jun 2014 08:48:16 +0000 (01:48 -0700)]
Add OutputPageScriptsForBottomQueue hook

This allows for extensions to add specific modules into the bottom
queue.

Bug: 62602
Change-Id: Ifccac7889e80b2f674cd54bb4ad3e53c6aa1dfa1

9 years agoOutputPage: Support foreign module sources in makeResourceLoaderLink
Kunal Mehta [Sat, 28 Jun 2014 02:57:40 +0000 (19:57 -0700)]
OutputPage: Support foreign module sources in makeResourceLoaderLink

To do so, created ResourceLoader::createLoaderURL(), which takes a
ResourceLoaderContext object. ResourceLoader::makeLoaderURL() was
deprecated.

While reviewing usage of the old function, many of the callers only
differed by one or two parameters from their respective
ResourceLoaderContext object. To simplify that use case, I created
DerivativeResourceLoaderContext, based of off DerivativeContext for
IContextSource.

Change-Id: I961c641ab953153057be3e3b8cf6c07435e9a0b0

9 years agoMerge "Added a hasMasterConnection() method to LoadBalancer"
jenkins-bot [Sat, 19 Jul 2014 23:29:36 +0000 (23:29 +0000)]
Merge "Added a hasMasterConnection() method to LoadBalancer"

9 years agomw.loader: Create 'skipped' property in registry for debugging
Timo Tijhof [Wed, 16 Jul 2014 02:14:17 +0000 (04:14 +0200)]
mw.loader: Create 'skipped' property in registry for debugging

Follows-up 75c08916b02ac8706.

Makes it easier to debug when a module is skipped as right now
they are indistinguishable from regularly loaded modules (other
then checking the network for load.php requests, though those
may not show up either if mw.loader.store is used).

Change-Id: Ic7d2efbf74e0fbf1334f02ecad797e63d0ae2857

9 years agoAdded a hasMasterConnection() method to LoadBalancer
Aaron Schulz [Sat, 19 Jul 2014 23:19:43 +0000 (16:19 -0700)]
Added a hasMasterConnection() method to LoadBalancer

* Made wfWaitForSlaves() use it instead of using isOpen() incorrectly.
  The index for the master is 0, not DB_MASTER. This fixes 2979f0b6.

Change-Id: I48e5c7f10d8fe6b8bf6e830282352e3238b5d3ae

9 years agomw.loader: Don't create addScript() callback if we don't need one
Timo Tijhof [Wed, 16 Jul 2014 02:12:12 +0000 (04:12 +0200)]
mw.loader: Don't create addScript() callback if we don't need one

$.Deferred#always ($.Callbacks#add) ignores undefined/null. No
need to create an inline function that does nothing.

Change-Id: Ifd96ac13e03242279e7d584cf91d899adadfed91

9 years agoMerge "Avoid useless delay and master connections in wfWaitForSlaves() in runJobs...
jenkins-bot [Sat, 19 Jul 2014 23:06:08 +0000 (23:06 +0000)]
Merge "Avoid useless delay and master connections in wfWaitForSlaves() in runJobs.php"

9 years agoUpdate OOjs UI to v0.1.0-pre (5ab041a801)
James D. Forrester [Sat, 19 Jul 2014 22:45:44 +0000 (15:45 -0700)]
Update OOjs UI to v0.1.0-pre (5ab041a801)

New changes:
a30c514 Localisation updates from https://translatewiki.net.
e2e1a12 Localisation updates from https://translatewiki.net.
a6248f0 build: Update grunt-jscs (formerly grunt-jscs-checker) from 0.6.0 to 0.6.1
7710fe7 Set actions buttons to be framed by default
59ef352 Localisation updates from https://translatewiki.net.

Change-Id: I3172324ee6c17aa0951e7c4695bf89af47addf07

9 years agoAvoid useless delay and master connections in wfWaitForSlaves() in runJobs.php
Aaron Schulz [Sat, 19 Jul 2014 22:19:36 +0000 (15:19 -0700)]
Avoid useless delay and master connections in wfWaitForSlaves() in runJobs.php

* Some jobs, like Parsoid ones, do not actually do master DB updates

Change-Id: I1a8830eafd7760d081df966bb423030dcdc96408

9 years agoMerge "Move function xmlsafe() from Export.php to OAI extension"
jenkins-bot [Sat, 19 Jul 2014 21:32:04 +0000 (21:32 +0000)]
Merge "Move function xmlsafe() from Export.php to OAI extension"

9 years agoMove function xmlsafe() from Export.php to OAI extension
withoutaname [Thu, 17 Jul 2014 22:34:39 +0000 (15:34 -0700)]
Move function xmlsafe() from Export.php to OAI extension

Exporting function from Export.php.

Change-Id: I82a78ff7a34402f2cc065643d90b064b996c525d

9 years agoMerge "Fixed spacing"
jenkins-bot [Sat, 19 Jul 2014 21:23:44 +0000 (21:23 +0000)]
Merge "Fixed spacing"

9 years agoFixed spacing
umherirrender [Sat, 19 Jul 2014 21:12:10 +0000 (23:12 +0200)]
Fixed spacing

- Added/removed spaces around parenthesis
- Added space after switch/if/foreach
- changed else if to elseif

Change-Id: I99cda543e0e077320091addd75c188cb6e3a42c2

9 years agomw.loader: Optimise away duplicate else branches in getMarker()
Timo Tijhof [Wed, 16 Jul 2014 02:10:57 +0000 (04:10 +0200)]
mw.loader: Optimise away duplicate else branches in getMarker()

Change-Id: I2ea541c16befd3ea7ff2d23c6e059ac66d8ebb88

9 years agoMerge "Remove unused global declarations"
jenkins-bot [Sat, 19 Jul 2014 21:04:12 +0000 (21:04 +0000)]
Merge "Remove unused global declarations"

9 years agoRemove unused global declarations
umherirrender [Sat, 19 Jul 2014 20:44:54 +0000 (22:44 +0200)]
Remove unused global declarations

Change-Id: I05a9bc5c0c0447c045714a445b0ed44f001db1dc

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sat, 19 Jul 2014 20:34:45 +0000 (20:34 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoMerge "Rework mediawiki.feedback.js"
jenkins-bot [Sat, 19 Jul 2014 20:10:13 +0000 (20:10 +0000)]
Merge "Rework mediawiki.feedback.js"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 19 Jul 2014 19:42:35 +0000 (21:42 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie56bee3e7090bc844996d228736a938478e86929

9 years agoMerge "Updated spelling dictionary"
jenkins-bot [Sat, 19 Jul 2014 17:29:28 +0000 (17:29 +0000)]
Merge "Updated spelling dictionary"

9 years agoSplit "suppressrevision" into two user rights
eikes [Thu, 12 Jun 2014 22:18:51 +0000 (00:18 +0200)]
Split "suppressrevision" into two user rights

In this change, a new passive user right named "viewsuppressed"
which can be used in order to view suppressed page content was added
to MediaWiki core.
Furthermore, this right was also added to the list of available rights,
to qqq.json and to en.json where also the description of the
"suppressrevision" right was adjusted in order to reflect reality.

Bug: 20476
Change-Id: Id1baacb9c782763db5e05ef8b5c1b761997efcc9

9 years agoLeave table names with numbers untouched in DatabaseBase::generalizeSQL
Rohan [Sat, 19 Jul 2014 15:10:17 +0000 (20:40 +0530)]
Leave table names with numbers untouched in DatabaseBase::generalizeSQL

The function converts numbers to general forms
Eg. 10 => N
but creates a problem for tables whose names have digits in them
Eg. l10n_cache => lNn_cache

This was fixed using regex lookarounds

Bug: 67925
Change-Id: I0e97e211f6d60ba0d639b91d3a68c5e42bfb3f78

9 years agoMerge "mediawiki.user: Simplify callback"
jenkins-bot [Sat, 19 Jul 2014 13:37:17 +0000 (13:37 +0000)]
Merge "mediawiki.user: Simplify callback"

9 years agoMerge "Some misc cleanup to ProtectionForm"
jenkins-bot [Sat, 19 Jul 2014 13:27:54 +0000 (13:27 +0000)]
Merge "Some misc cleanup to ProtectionForm"

9 years agoMerge "ContextSource::getContext() can return any IContextSource"
jenkins-bot [Sat, 19 Jul 2014 13:06:02 +0000 (13:06 +0000)]
Merge "ContextSource::getContext() can return any IContextSource"

9 years agoMerge "Block: $row is a stdClass, not a ResultWrapper"
jenkins-bot [Sat, 19 Jul 2014 03:14:04 +0000 (03:14 +0000)]
Merge "Block: $row is a stdClass, not a ResultWrapper"

9 years agoMerge "Language::isValidBuiltInCode() should not accept uppercase input"
jenkins-bot [Fri, 18 Jul 2014 22:30:31 +0000 (22:30 +0000)]
Merge "Language::isValidBuiltInCode() should not accept uppercase input"

9 years agoMerge "Remove deprecated global function wfViewPrevNext()"
jenkins-bot [Fri, 18 Jul 2014 22:05:00 +0000 (22:05 +0000)]
Merge "Remove deprecated global function wfViewPrevNext()"

9 years agoRemove deprecated global function wfViewPrevNext()
withoutaname [Thu, 17 Jul 2014 07:29:22 +0000 (00:29 -0700)]
Remove deprecated global function wfViewPrevNext()

Deprecated since 1.19, alternative is Language::viewPrevNext().

Change-Id: I26d8dec1475ac3f6592f8d0ef7936440c1a0f14d

9 years agobuild: Update grunt-jscs (formerly grunt-jscs-checker) from 0.4.4 to 0.6.1
James D. Forrester [Fri, 18 Jul 2014 20:22:57 +0000 (13:22 -0700)]
build: Update grunt-jscs (formerly grunt-jscs-checker) from 0.4.4 to 0.6.1

Also switch to the new 'wikimedia' preset in jscs to make .jscsrc shorter
(but with a number of exemptions that need to be cleaned up later).

Change-Id: I836f3e96f2126f3684c3e60b7fa11de8724b5262

9 years agoMove CacheHelper to includes/cache/ folder
withoutaname [Wed, 16 Jul 2014 18:04:21 +0000 (11:04 -0700)]
Move CacheHelper to includes/cache/ folder

Change-Id: I13c9cf1be7fe0d436ea1a5d23f162abac7d97a29

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 18 Jul 2014 19:12:46 +0000 (21:12 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Iea9d17b3dfd8f354c9cb51eb4bab2edd369ef28c

9 years agoMade --maxtime a soft limit again
Aaron Schulz [Fri, 18 Jul 2014 18:01:01 +0000 (11:01 -0700)]
Made --maxtime a soft limit again

* The new job loop already manages timeouts and this version caused
  some problems with the time-sharing approach that used --maxtime.
  This killed runners too fast for some jobs and only handled CPU
  time anyway, not wall clock time.

Change-Id: Id3462554b1ecba9ecdf7d49673645d54c0555cd6

9 years agoMerge "Migrate 'wgBreakFrames' from wikibits.js to mediawiki.page.ready"
jenkins-bot [Fri, 18 Jul 2014 16:24:44 +0000 (16:24 +0000)]
Merge "Migrate 'wgBreakFrames' from wikibits.js to mediawiki.page.ready"

9 years agoMerge "Add SpecialListUsers::prefixSearchSubpages"
jenkins-bot [Fri, 18 Jul 2014 16:22:02 +0000 (16:22 +0000)]
Merge "Add SpecialListUsers::prefixSearchSubpages"

9 years agoMerge "mediawiki.htmlform: Fix broken $() call"
jenkins-bot [Fri, 18 Jul 2014 16:08:50 +0000 (16:08 +0000)]
Merge "mediawiki.htmlform: Fix broken $() call"

9 years agoImprove tests for Action::exists
Thiemo Mättig [Wed, 16 Jul 2014 16:56:35 +0000 (18:56 +0200)]
Improve tests for Action::exists

Change-Id: I905fd8e88ff625cd88c672ddac7a5ac4f4a94b36

9 years agoMerge "Add ActionTest for static Action methods"
jenkins-bot [Fri, 18 Jul 2014 14:40:25 +0000 (14:40 +0000)]
Merge "Add ActionTest for static Action methods"

9 years agoMerge "Fix doc of ChangesListSpecialPage::doHeader"
jenkins-bot [Fri, 18 Jul 2014 13:40:39 +0000 (13:40 +0000)]
Merge "Fix doc of ChangesListSpecialPage::doHeader"

9 years agoAdd ActionTest for static Action methods
Thiemo Mättig [Fri, 27 Jun 2014 13:39:23 +0000 (15:39 +0200)]
Add ActionTest for static Action methods

Change-Id: Ifea52280486b8aa29fbab42e4c7d3ea907849b52

9 years agoMerge "Reduce revdelete-text-others verbosity"
jenkins-bot [Fri, 18 Jul 2014 12:41:43 +0000 (12:41 +0000)]
Merge "Reduce revdelete-text-others verbosity"

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 agomediawiki.htmlform: Fix broken $() call
Brad Jorsch [Tue, 8 Jul 2014 19:15:49 +0000 (15:15 -0400)]
mediawiki.htmlform: Fix broken $() call

Follows-up c310e7b40cdaa92bb06e.

The $( Array ) signature requires the list to contain DOM nodes,
not jQuery objects. The fields variable should be a list of
nodes, not jQuery collections.

Also:
* Improve @return documentation for hideIfParse().
* Flag hideIfParse() and hideIfGetField() as private to remove them
  from the jQuery#htmlform API documentation as methods that would
  be mixed into the jQuery prototype (they're not).

Bug: 67685
Change-Id: I4bb93ad234cdd4a1f412b759065138e2831be2a6

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