lhc/web/wiklou.git
9 years agoAdd tests for disabled actions in ActionTest
Thiemo Mättig [Thu, 17 Jul 2014 07:42:19 +0000 (09:42 +0200)]
Add tests for disabled actions in ActionTest

Change-Id: I2c742fca0fa87604c1d503b938ecc495aafd8376

9 years agoAdd more test cases to ActionTest
Thiemo Mättig [Thu, 17 Jul 2014 07:36:54 +0000 (09:36 +0200)]
Add more test cases to ActionTest

1. The 'dummy' test case already tested ucfirst(), but strtolower()
was not tested. The new 'DUMMY' tests fixes that.

2. Add a new test where the requested action is false.

3. Refactored the dummy builder a bit to make it easier to reuse.

Change-Id: Id7d9adac064b307b04bf6accb83ffd7f217a857c

9 years agoMake if checks in RequestContext.php more concise
withoutaname [Sun, 13 Jul 2014 06:41:25 +0000 (23:41 -0700)]
Make if checks in RequestContext.php more concise

Change-Id: Ieb1eaeb595fc77ba926ba6ff96140dff44ba840f

9 years agoFixed column name typo
Aaron Schulz [Mon, 21 Jul 2014 23:44:57 +0000 (16:44 -0700)]
Fixed column name typo

Change-Id: I30bc66c0fdd8c2f787b0796f7ecb00a6fea3a924

9 years agoAdded me to credits
Leon Liesener [Mon, 21 Jul 2014 21:48:17 +0000 (23:48 +0200)]
Added me to credits

Added my name to CREDITS, as suggested by legoktm.

Change-Id: I9a197d345c74bb3fe274cf5eeb34b0716760e1c1

9 years agoAdjusted show/hide links
Leon Liesener [Sun, 20 Jul 2014 17:13:38 +0000 (19:13 +0200)]
Adjusted show/hide links

This change replaces checkboxes with show links for users
with the 'viewsuppressed' right assigned who cannot
hide/unhide suppressed revisions.

Change-Id: Id575b9830c84a17075ba6d10a5a305a38afd94e2

9 years agoMerge "maintenance/README: Remove importTextFile.php"
jenkins-bot [Mon, 21 Jul 2014 21:46:49 +0000 (21:46 +0000)]
Merge "maintenance/README: Remove importTextFile.php"

9 years agoMerge "Made ViewCountUpdate do the page table updates in auto-commit mode"
jenkins-bot [Mon, 21 Jul 2014 21:42:47 +0000 (21:42 +0000)]
Merge "Made ViewCountUpdate do the page table updates in auto-commit mode"

9 years agomaintenance/README: Remove importTextFile.php
Kevin Israel [Mon, 21 Jul 2014 21:07:50 +0000 (17:07 -0400)]
maintenance/README: Remove importTextFile.php

Follows-up 14303bfea4fd.

Also corrected the capitalization of findHooks.php.

Change-Id: I6de35e368b8b091592b150a17cbce92b49c5ecf2

9 years agoMake sure $doUserRightsLogLike is set all the times
Marius Hoch [Mon, 21 Jul 2014 20:42:09 +0000 (22:42 +0200)]
Make sure $doUserRightsLogLike is set all the times

This fixes a PHP notice

Change-Id: I09b0b0c051b250b1e0a8e937948aaf2c48d17f7c

9 years agoRemove <div id="mw-js-message"> (again)
Bartosz Dziewoński [Sun, 20 Jul 2014 13:33:01 +0000 (15:33 +0200)]
Remove <div id="mw-js-message"> (again)

It has been previously removed in d4d519c4, then accidentally readded
in a96afeb2.

Change-Id: I23d228bf05ad8c632da38c4a194981044af6cc6b

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

Change-Id: I2dd8d41e3ea4e38a4afd4dd6f59ddab83cb81edd

9 years agoRedo WhatLinksHere query and add a *_from_namespace field to link tables
Aaron Schulz [Thu, 6 Mar 2014 23:01:35 +0000 (15:01 -0800)]
Redo WhatLinksHere query and add a *_from_namespace field to link tables

* Also tweaked the query so MySQL avoids doing a page_name
  index scan when it should start with the link table index
* Added population script (triggered by update.php)
* Also removed uniqueness from some indexes where it is redundant
* Renamed two confusing variables

Bug: 60618
Change-Id: Icca99b6ae0ef76cb77695faf82c615516191da36

9 years agoMerge "Remove deprecated RawPage class"
jenkins-bot [Mon, 21 Jul 2014 18:47:16 +0000 (18:47 +0000)]
Merge "Remove deprecated RawPage class"

9 years agoMerge "Allow wildcard searching in wiki IDs for interwiki user rights logs"
jenkins-bot [Mon, 21 Jul 2014 18:39:20 +0000 (18:39 +0000)]
Merge "Allow wildcard searching in wiki IDs for interwiki user rights logs"

9 years agoMerge "Stop using a suboptimal structure for Vector's variants menu"
jenkins-bot [Mon, 21 Jul 2014 18:30:09 +0000 (18:30 +0000)]
Merge "Stop using a suboptimal structure for Vector's variants menu"

9 years agoMerge "WebInstaller::setVarsFromRequest() do not trim passwords"
jenkins-bot [Mon, 21 Jul 2014 18:24:36 +0000 (18:24 +0000)]
Merge "WebInstaller::setVarsFromRequest() do not trim passwords"

9 years agoStop using a suboptimal structure for Vector's variants menu
Bartosz Dziewoński [Mon, 9 Jun 2014 16:55:24 +0000 (18:55 +0200)]
Stop using a suboptimal structure for Vector's variants menu

One label is enough.

We need to keep the styles and some inline hacks in the HTML for a
while to keep current CSS compatible with old HTML, which is cached in
WMF environment for up to 30 days.

Follow-up to clean up the mess: I2817c6e9eb52ffc785a04bb9d23b0802a553fd45.

Bug: 43406
Change-Id: Idf43d77dccff83ad81db776f3262e0ef12d25c92

9 years agoMerge "Remove Fallback::iconv()"
jenkins-bot [Mon, 21 Jul 2014 18:22:23 +0000 (18:22 +0000)]
Merge "Remove Fallback::iconv()"

9 years agoMerge "Remove old maintenance script importTextFile.php"
jenkins-bot [Mon, 21 Jul 2014 18:20:49 +0000 (18:20 +0000)]
Merge "Remove old maintenance script importTextFile.php"

9 years agoMerge "Reformat function chains in FileTest.php"
jenkins-bot [Mon, 21 Jul 2014 18:17:41 +0000 (18:17 +0000)]
Merge "Reformat function chains in FileTest.php"

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 agoRemove old maintenance script importTextFile.php
withoutaname [Sun, 20 Jul 2014 04:09:26 +0000 (21:09 -0700)]
Remove old maintenance script importTextFile.php

Functionality is largely redundant to edit.php script.

Change-Id: Idca2d0e3c38dc000618be9176072dd13757920b2

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 agoRemove deprecated RawPage class
withoutaname [Thu, 17 Jul 2014 08:01:51 +0000 (01:01 -0700)]
Remove deprecated RawPage class

Change-Id: I7a75a09de934250604317983a4446ecaa9fa6550

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 agoRemove Fallback::iconv()
Kevin Israel [Mon, 2 Jun 2014 05:30:21 +0000 (01:30 -0400)]
Remove Fallback::iconv()

The iconv fallback is, for the most part, a remnant of PHP 4 support.
Though iconv was not enabled by default in PHP 4, it is in PHP 5. This
is the case even for Windows builds, which use GNU libiconv.

As for the major Linux distributions:

* Debian, CentOS, Ubuntu -> always enabled
* Fedora, Slackware -> .so in the same package, enabled by default
* Arch -> .so in the same package, disabled by default
* openSUSE -> separate package

Change-Id: Ie1112a5742646a0e1f951e188480c23851859320

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 agoReformat function chains in FileTest.php
umherirrender [Fri, 18 Jul 2014 22:56:35 +0000 (00:56 +0200)]
Reformat function chains in FileTest.php

This makes the mock code more readable.
Also break a long line phpcs mentioned.

Change-Id: I6de5f05e5ab3fb18bd15518409334d39beba71cb

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 ViewCountUpdate do the page table updates in auto-commit mode
Aaron Schulz [Wed, 16 Jul 2014 09:15:07 +0000 (02:15 -0700)]
Made ViewCountUpdate do the page table updates in auto-commit mode

Change-Id: I3c52e61507eb8ccc7d46e70e24a2bdd573cf1fe2

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