lhc/web/wiklou.git
10 years agoFixed field name
Aaron Schulz [Tue, 3 Dec 2013 16:56:48 +0000 (08:56 -0800)]
Fixed field name

Change-Id: Ic7fd20309c0160b600a93913ddc5290d2be5f07c

10 years agoMerge "Fix comment"
jenkins-bot [Tue, 3 Dec 2013 16:26:24 +0000 (16:26 +0000)]
Merge "Fix comment"

10 years agoMerge "Break long lines and suppress false posive"
jenkins-bot [Tue, 3 Dec 2013 16:16:29 +0000 (16:16 +0000)]
Merge "Break long lines and suppress false posive"

10 years agoMerge "Show minor edits and tags in Special:Undelete"
jenkins-bot [Tue, 3 Dec 2013 14:50:17 +0000 (14:50 +0000)]
Merge "Show minor edits and tags in Special:Undelete"

10 years agoFix comment
Siebrand Mazeland [Tue, 3 Dec 2013 13:38:39 +0000 (14:38 +0100)]
Fix comment

Change-Id: Icb52c2d236827d78eb420be9a1bcee9664d3bc4e

10 years agojquery.spinner: Wrestling with JSDuck
Bartosz Dziewoński [Tue, 3 Dec 2013 13:39:41 +0000 (14:39 +0100)]
jquery.spinner: Wrestling with JSDuck

See comments on Ib06344c1. Hopefully this will work.

Change-Id: I7faeadab90db7a533f777f2ef523d0b1608898e4

10 years agoBreak long lines and suppress false posive
Siebrand Mazeland [Tue, 3 Dec 2013 13:31:04 +0000 (14:31 +0100)]
Break long lines and suppress false posive

Change-Id: I14c61d8060cd3a3a2a15193f6721e7f87b783538

10 years agoMerge "Handle explicit plural forms in custom convertPlural in language classes"
jenkins-bot [Tue, 3 Dec 2013 13:23:42 +0000 (13:23 +0000)]
Merge "Handle explicit plural forms in custom convertPlural in language classes"

10 years agoHandle explicit plural forms in custom convertPlural in language classes
Pavel Selitskas [Tue, 3 Dec 2013 08:37:14 +0000 (14:07 +0530)]
Handle explicit plural forms in custom convertPlural in language classes

A new protected method looks for explicitly defined forms.
Every overriden language class is required to use this method.

Includes tests.

Redoing old patch I6dc759e3dfb05d6673209ba00da6592a384d5300

Bug: 46422
Change-Id: I2a9f93567087babb896999f1214d3c56afc67c96

10 years agoMerge "jquery.spinner: Improve documentation formatting"
jenkins-bot [Tue, 3 Dec 2013 11:47:25 +0000 (11:47 +0000)]
Merge "jquery.spinner: Improve documentation formatting"

10 years agoAdded wfProfileOut for early returns in ResourceLoaderModule::getDefinitionMtime
Ori Livneh [Tue, 3 Dec 2013 06:10:44 +0000 (22:10 -0800)]
Added wfProfileOut for early returns in ResourceLoaderModule::getDefinitionMtime

I added the profiling calls in PS13 of I00cf086c9 but forgot to add
wfProfileOuts for the early returns.

Change-Id: Ibcd22daba8da0e087376553bca271796e0d207e5

10 years agoresourceloader: Add definition hashing to improve cache invalidation
Timo Tijhof [Fri, 18 Oct 2013 13:34:50 +0000 (15:34 +0200)]
resourceloader: Add definition hashing to improve cache invalidation

Currently we invalidate module caches based on timestamps from
various places (including message blob, file mtimes and more).

This meant that when a module changes such that the maximum
detectable timestamp is still the same, the cache would not
invalidate.

Module classes can now implement a method to build a summary.
In most cases this should be (a normalised version of) the
definition array originally given to ResourceLoader::register
(such as $wgResourceModules items).

The most common scenarios this addresses:

* File lists (scripts, styles) being re-ordered.
* Files being removed when more recently changed files remain
  part of the module (e.g. removing an older file).
* Files or messages being added to a module while other more
  recently changed things are already part of the module.
  E.g. you create a message and use it in a js file, but forget
  to add the message to the module. Then later you add the msg
  key. This last update would be ignored, because the mtime of
  the message is no newer than the total which already included
  the (same) mtime of the js file added in the previous update.
* Change the concatenation order of pages in a Gadget definition.

Bug: 37812
Change-Id: I00cf086c981a84235623bf58fb83c9c23aa2d619

10 years agoChange the reset button text in Special: PasswordReset to 'Reset Password'
Alex Ivanov [Mon, 2 Dec 2013 23:45:16 +0000 (01:45 +0200)]
Change the reset button text in Special: PasswordReset to 'Reset Password'

This change is due to the fact that in some languages the text of the button overflows.

Bug: 56194
Change-Id: I16ef4851921365c5a93503fe2d9cd0a4e15a021b

10 years agoMerge "Revert "Add $robotPolicy parameter to SpecialPage::setHeaders()""
jenkins-bot [Mon, 2 Dec 2013 21:27:16 +0000 (21:27 +0000)]
Merge "Revert "Add $robotPolicy parameter to SpecialPage::setHeaders()""

10 years agoRevert "Add $robotPolicy parameter to SpecialPage::setHeaders()"
Parent5446 [Mon, 2 Dec 2013 21:20:11 +0000 (21:20 +0000)]
Revert "Add $robotPolicy parameter to SpecialPage::setHeaders()"

This reverts commit 8c7541da3b12d4727743ed1d3447f6ac6c3b6846.

Bug: 57883
Change-Id: I582088528286ff34da164fa4457dd203f11df7ef

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 2 Dec 2013 20:32:58 +0000 (20:32 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I5c7c2cde9b44ccfd3edd8101d677e2d8f1797982

10 years agoMerge "Avoid parsing more in refreshLinksJobs"
jenkins-bot [Mon, 2 Dec 2013 20:25:38 +0000 (20:25 +0000)]
Merge "Avoid parsing more in refreshLinksJobs"

10 years agoAdd $robotPolicy parameter to SpecialPage::setHeaders()
tisane [Sat, 30 Nov 2013 02:34:10 +0000 (21:34 -0500)]
Add $robotPolicy parameter to SpecialPage::setHeaders()

Also fix docs for OutputPage::setRobotPolicy()

Bug: 57764
Change-Id: I8b780ca349a2f5d18e857ed707f682d19be0054c

10 years agoMerge "Fixed api.php fatals due to protected field usage"
jenkins-bot [Mon, 2 Dec 2013 18:58:20 +0000 (18:58 +0000)]
Merge "Fixed api.php fatals due to protected field usage"

10 years agoMerge "(minor) Make ApiFeedContributions respect $wgFeedLimit"
Brian Wolff [Mon, 2 Dec 2013 18:57:27 +0000 (18:57 +0000)]
Merge "(minor) Make ApiFeedContributions respect $wgFeedLimit"

10 years ago(minor) Make ApiFeedContributions respect $wgFeedLimit
mrbluesky [Fri, 21 Dec 2012 22:40:45 +0000 (23:40 +0100)]
(minor) Make ApiFeedContributions respect $wgFeedLimit

Change-Id: I67e6e30d9fa9b4998de720a2a444c7846003266e

10 years agoMerge "Avoid calling oldFileFromRowFactory field directly"
jenkins-bot [Mon, 2 Dec 2013 18:52:53 +0000 (18:52 +0000)]
Merge "Avoid calling oldFileFromRowFactory field directly"

10 years agoFixed api.php fatals due to protected field usage
Aaron Schulz [Mon, 2 Dec 2013 18:52:10 +0000 (10:52 -0800)]
Fixed api.php fatals due to protected field usage

bug: 57865
Change-Id: Idafdc353c6b0a2fe6657b3887de4b9d6f1eb1dfd

10 years agoAvoid calling oldFileFromRowFactory field directly
Aaron Schulz [Fri, 29 Nov 2013 16:47:43 +0000 (08:47 -0800)]
Avoid calling oldFileFromRowFactory field directly

Change-Id: Ibbd5a8baa27015eec443349a67edc57ede5d174d

10 years agoMerge "Add mediawiki.org to default $wgNoFollowDomainExceptions"
jenkins-bot [Mon, 2 Dec 2013 18:28:35 +0000 (18:28 +0000)]
Merge "Add mediawiki.org to default $wgNoFollowDomainExceptions"

10 years agoAdd mediawiki.org to default $wgNoFollowDomainExceptions
Federico Leva [Thu, 28 Nov 2013 11:47:19 +0000 (12:47 +0100)]
Add mediawiki.org to default $wgNoFollowDomainExceptions

It doesn't make sense to apply nofollow to links included by default,
for instance on Special:Version. It kind of defeats the purpose of those
links and makes MediaWiki and all MediaWiki wikis less connected and more
sparse, harder to find.

Make some assumptions of SideBarTest explicit so that it tests what is should.

Change-Id: I5e7ad67c0037b099236cf7e1b73ae669ebcec0f1

10 years agoUse canonical class name for SvgHandler and rename the test for consistency.
Platonides [Sat, 23 Nov 2013 18:24:14 +0000 (19:24 +0100)]
Use canonical class name for SvgHandler and rename the test for consistency.

Change-Id: I2f7582a73968687b92f5f45b2026aa27e043281f

10 years agoMerge "Update type hints in TraditionalImageGallery"
Brian Wolff [Mon, 2 Dec 2013 16:44:56 +0000 (16:44 +0000)]
Merge "Update type hints in TraditionalImageGallery"

10 years agoMerge "Additional styling for CAPTCHA on Special:UserLogin"
jenkins-bot [Mon, 2 Dec 2013 13:35:56 +0000 (13:35 +0000)]
Merge "Additional styling for CAPTCHA on Special:UserLogin"

10 years agoAdditional styling for CAPTCHA on Special:UserLogin
Jared Flores [Sun, 1 Dec 2013 01:19:15 +0000 (17:19 -0800)]
Additional styling for CAPTCHA on Special:UserLogin

Bug: 56370
Change-Id: Ic1d021e8e3604777e20a08a0e07281567ef522c4

10 years agoMerge changes I9b0e0ea4,If3b41a80
jenkins-bot [Mon, 2 Dec 2013 12:27:43 +0000 (12:27 +0000)]
Merge changes I9b0e0ea4,If3b41a80

* changes:
  Add missing version comment to SqliteUpdater
  Correct version section for rc_source in the updaters

10 years agoMerge "Add fallback languages for cdo, hak and nan"
jenkins-bot [Mon, 2 Dec 2013 11:51:53 +0000 (11:51 +0000)]
Merge "Add fallback languages for cdo, hak and nan"

10 years agoAdd fallback languages for cdo, hak and nan
Liangent [Mon, 2 Dec 2013 11:42:04 +0000 (11:42 +0000)]
Add fallback languages for cdo, hak and nan

Change-Id: I2d22bfa82e94c86f19758e5c6bb2706e274d44a0

10 years agoMerge "Cleaning up English messages for clarity and correctness"
jenkins-bot [Mon, 2 Dec 2013 11:25:37 +0000 (11:25 +0000)]
Merge "Cleaning up English messages for clarity and correctness"

10 years agoUpdate type hints in TraditionalImageGallery
Siebrand Mazeland [Sun, 24 Nov 2013 19:20:29 +0000 (20:20 +0100)]
Update type hints in TraditionalImageGallery

Change-Id: I09c7d15c8717277c0a84c63f1ebdbffb066d8910

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Mon, 2 Dec 2013 09:53:51 +0000 (10:53 +0100)]
Localisation updates from https://translatewiki.net.

Updates for translations of namespace names.

Change-Id: I4663a6b549ca5423683d4f3ccc64b08a8b8ed635

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Mon, 2 Dec 2013 09:17:43 +0000 (10:17 +0100)]
Localisation updates from https://translatewiki.net.

Updates for translations of magic words.

Change-Id: I90308108ef2aba3bce7c62afe6e536b8e2180271

10 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Mon, 2 Dec 2013 08:38:25 +0000 (09:38 +0100)]
Localisation updates from https://translatewiki.net.

Updates for translations of special page aliases.

Change-Id: I061d2f9c8f5b3f4df58060fae4101e340c68a04d

10 years agoFixed key name typo
Aaron Schulz [Mon, 2 Dec 2013 07:09:06 +0000 (23:09 -0800)]
Fixed key name typo

Change-Id: I650fa1d2eea9817c47f885d3be0465f9108fad22

10 years agoFixed spacing of exception message in Revision::checkContentModel
umherirrender [Fri, 29 Nov 2013 14:54:54 +0000 (15:54 +0100)]
Fixed spacing of exception message in Revision::checkContentModel

Change-Id: Ibbd693719d03569a4d9c5cf0b61079edd4bc40ff

10 years agoMerge "Move closing parenthesis from multi line if and function to own line"
jenkins-bot [Mon, 2 Dec 2013 06:33:48 +0000 (06:33 +0000)]
Merge "Move closing parenthesis from multi line if and function to own line"

10 years agoMerge "Fixed spacing"
jenkins-bot [Mon, 2 Dec 2013 06:32:10 +0000 (06:32 +0000)]
Merge "Fixed spacing"

10 years agoMerge "update.php: Add a full stop"
jenkins-bot [Mon, 2 Dec 2013 06:14:52 +0000 (06:14 +0000)]
Merge "update.php: Add a full stop"

10 years agoFixed fatal error when getLocalCopy() fails
Aaron Schulz [Wed, 20 Nov 2013 21:37:16 +0000 (13:37 -0800)]
Fixed fatal error when getLocalCopy() fails

bug: 40166
Change-Id: Ibfcddc1a9c05fad4ac0b51a5a046d1ffaeb49db8

10 years agoMade Lua code in JobQueueRedis more readable with unpack()
Aaron Schulz [Fri, 8 Nov 2013 18:16:25 +0000 (10:16 -0800)]
Made Lua code in JobQueueRedis more readable with unpack()

Change-Id: I52fb765a153acc7f16baa804ab2342e9b5dd9fd6

10 years agoupdate.php: Add a full stop
Bartosz Dziewoński [Sun, 1 Dec 2013 22:23:58 +0000 (23:23 +0100)]
update.php: Add a full stop

Change-Id: I64810380cc56e0c63901062b5bd566ab98d591a1

10 years agoMove closing parenthesis from multi line if and function to own line
umherirrender [Sun, 1 Dec 2013 20:39:00 +0000 (21:39 +0100)]
Move closing parenthesis from multi line if and function to own line

The Line continuation Coding conventions prefers the closing parenthesis
on the same line than the beginning curly braces. This is done for ifs
and functions.
Also move some boolean operator from the end of a line to the beginning
and changed some indentation to make the condition hopefully better
readable.

Change-Id: Id0437b06bde86eb5a75bc59eefa19e7edb624426

10 years agoMerge "Simplify switch in BacklinkCache::getConditions"
jenkins-bot [Sun, 1 Dec 2013 20:16:39 +0000 (20:16 +0000)]
Merge "Simplify switch in BacklinkCache::getConditions"

10 years agoFixed spacing
umherirrender [Sun, 1 Dec 2013 19:58:51 +0000 (20:58 +0100)]
Fixed spacing

- Place commas correct
- Moved comments
- Add space after if/foreach/catch
- Reformat some conditions
- Removed trailing spaces/tabs

Change-Id: I40ccda72c418c4a33fcd675773cb08d971510cdb

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 1 Dec 2013 19:46:18 +0000 (19:46 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie9ae2a0ce2d343bcc5687b5c0f61a3f3a0651433

10 years ago(bug 40588) LinkSearch cannot search with a port in the url
mrbluesky [Sun, 21 Oct 2012 13:01:56 +0000 (15:01 +0200)]
(bug 40588) LinkSearch cannot search with a port in the url

Special:LinkSearch doesn't handle urls with a port correctly.

The detection of the protocol to search for (in LinkSearchPage::execute()) cant handle
the extra colon a port introduces in the url. Fixed by making LinkSearchPage::execute
use wfParseUrl() to detect the protocol.

LinkFilter::makeLikeArray didn't handle the port correctly too, putting it in the
domain part of the url. Fixed by rewriting makeLikeArray to make use of wfParseUrl().
This also fixes the problem of makeLikeArray not removing username and pass from
the search pattern.

Allow queries like 'ftp://*' or 'mailto:*' to find all links with specific protocols

Bug: 40588
Change-Id: Id3dd31993456bf6cbba4cf17962cf0083b612bed

10 years agojquery.spinner: Improve documentation formatting
Bartosz Dziewoński [Sun, 1 Dec 2013 15:21:14 +0000 (16:21 +0100)]
jquery.spinner: Improve documentation formatting

Follow-up to I1dc2cdc2. I just learned this is possible, which is awesome.

Change-Id: Ib06344c19bb0637c885441aec5e5296efe7d019f

10 years agoMerge "Avoid repeat of class name when appending in Linker"
jenkins-bot [Sun, 1 Dec 2013 14:13:12 +0000 (14:13 +0000)]
Merge "Avoid repeat of class name when appending in Linker"

10 years agoMerge "Add JavaScript variable wgContentNamespaces"
jenkins-bot [Sun, 1 Dec 2013 13:55:26 +0000 (13:55 +0000)]
Merge "Add JavaScript variable wgContentNamespaces"

10 years agoAvoid repeat of class name when appending in Linker
umherirrender [Sun, 1 Dec 2013 11:52:19 +0000 (12:52 +0100)]
Avoid repeat of class name when appending in Linker

Simplify the line to make it easier to read, the current way can be read
wrong, see the removed todo.

Change-Id: I71c91acac39b1bacf208c93410da3a2bf576b725

10 years agoSimplify switch in BacklinkCache::getConditions
umherirrender [Sun, 1 Dec 2013 10:55:44 +0000 (11:55 +0100)]
Simplify switch in BacklinkCache::getConditions

Change-Id: I9f1ddad705d1697dd81f74eb735dc386bab9d200

10 years agoCleaning up English messages for clarity and correctness
Amir E. Aharoni [Sun, 1 Dec 2013 07:24:47 +0000 (09:24 +0200)]
Cleaning up English messages for clarity and correctness

Some improvements in punctuations and wording.

Change-Id: I44bf21d813162d5801500f97674d83409a344466

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 30 Nov 2013 19:49:29 +0000 (19:49 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I0f952dcf03a24ee19c287a5c31b432fd1b5ebba9

10 years agomw.Title.js: substr() with negative value not working in IE
umherirrender [Sat, 30 Nov 2013 16:33:42 +0000 (17:33 +0100)]
mw.Title.js: substr() with negative value not working in IE

Change-Id: I78a9f55ffb8e1d421ee81a101ed18c626f679210

10 years agoMerge "Merge jquery.placeholder with github.com/mathiasbynens/jquery-placeholder"
jenkins-bot [Sat, 30 Nov 2013 14:25:07 +0000 (14:25 +0000)]
Merge "Merge jquery.placeholder with github.com/mathiasbynens/jquery-placeholder"

10 years agoMerge jquery.placeholder with github.com/mathiasbynens/jquery-placeholder
Alex Ivanov [Thu, 28 Nov 2013 22:50:46 +0000 (00:50 +0200)]
Merge jquery.placeholder with github.com/mathiasbynens/jquery-placeholder

This is a fork from Mathias Bynens' jquery.placeholder as of this commit
https://github.com/mathiasbynens/jquery-placeholder/blob/47f05d400e2dd16b59d144141a2cf54a9a77c502/jquery.placeholder.js

New features added:
* Support for valHooks and propHooks
* Clearing placeholders upon for submission
* jquery.placeholder QUnit test suite

Bug: 57179
Change-Id: I1ecca3d89bb964414ad8765caaa7e1958b94f762

10 years agoMerge "jquery.makeCollapsible: Remove useless debug logging"
TheDJ [Fri, 29 Nov 2013 22:07:58 +0000 (22:07 +0000)]
Merge "jquery.makeCollapsible: Remove useless debug logging"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 29 Nov 2013 19:23:56 +0000 (19:23 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I9b179d83f878628ec64eb1699f94be7d2d809d99

10 years agoRewrite CSSMin::remap to support multiple url() values in one rule
Bartosz Dziewoński [Sat, 9 Nov 2013 17:59:45 +0000 (18:59 +0100)]
Rewrite CSSMin::remap to support multiple url() values in one rule

Each can be selectively embedded by placing the /* @embed */ comment
just before the url() value. /* @embed */ at the beginning of the rule
affects all url() values appearing in it.

Three changes in existing behavior for previously supported syntax:
* /* @embed */ comments are no longer preserved in output
* rules not terminated by semicolons are correctly supported
* spaces within url() values are correctly supported

Bug: 46757
Bug: 56514
Change-Id: If9082f553fa920c606f12093f39f4a163ebacc32

10 years agoMore tests for CSSMin::remap
Bartosz Dziewoński [Sat, 9 Nov 2013 23:52:14 +0000 (00:52 +0100)]
More tests for CSSMin::remap

Also added commented-out tests which should work, but don't.
Making them work in subsequent patch If9082f55.

Change-Id: I65f62493e6d10e7e90af8844f8a26e3982d75f51

10 years agoAdd missing version comment to SqliteUpdater
umherirrender [Fri, 29 Nov 2013 15:01:05 +0000 (16:01 +0100)]
Add missing version comment to SqliteUpdater

Change-Id: I9b0e0ea430299f7fae91ec0a23628f66b9048e77

10 years agoAdd JavaScript variable wgContentNamespaces
This, that and the other [Fri, 29 Nov 2013 10:19:58 +0000 (21:19 +1100)]
Add JavaScript variable wgContentNamespaces

Intended to be used in WikiEditor to hide the signature button in content
namespaces. Other uses could be for gadgets or extensions that only need
to work on content pages, or that are internally-facing and should only
be seen on non-content pages.

It is an array of namespace IDs, so that end-users can quickly check
whether wgNamespaceNumber is in this array.

Change-Id: I01d9671dd14aa79e79ed887299c2f5de766f7375

10 years agoIgnore root level .htaccess and .htpasswd files
Marius Hoch [Thu, 28 Nov 2013 23:31:18 +0000 (00:31 +0100)]
Ignore root level .htaccess and .htpasswd files

One might want to have those in there in a development
environment.

Change-Id: Ie5f4bbc15cb738c9801490e800255470ceb42d79

10 years agoMerge "Add .gitignore to the /skins directory"
jenkins-bot [Thu, 28 Nov 2013 23:25:44 +0000 (23:25 +0000)]
Merge "Add .gitignore to the /skins directory"

10 years agoAdd .gitignore to the /skins directory
huji [Tue, 8 Oct 2013 23:42:55 +0000 (19:42 -0400)]
Add .gitignore to the /skins directory

To make it easier to work on extensions.

Bug: 55486
Change-Id: I92d70ba851970cbc147598d76809d845c3b43c6b

10 years agoMake $oldFileFromRowFactory public
Siebrand Mazeland [Thu, 28 Nov 2013 10:12:08 +0000 (11:12 +0100)]
Make $oldFileFromRowFactory public

It was erroneously set to protected, and is being referenced from
LocalFile::getHistory.

Change-Id: Ib2095068b29309b2b7c52b7a8bf93d2bdd008fc3

10 years agoAvoid parsing more in refreshLinksJobs
Aaron Schulz [Thu, 28 Nov 2013 06:43:00 +0000 (22:43 -0800)]
Avoid parsing more in refreshLinksJobs

* This reuses the parser cache in some cases when possible
* Clarified the return value of CacheTime::getCacheTime()
* A few documentation tweaks

Change-Id: I80b7c6404b3f8c48b53c3bba96115dbf94d80873

10 years agoMerge "Declare visibility on class properties of ImageGalleryBase"
jenkins-bot [Thu, 28 Nov 2013 04:29:55 +0000 (04:29 +0000)]
Merge "Declare visibility on class properties of ImageGalleryBase"

10 years agoMerge "Update documentation for gallery related files"
jenkins-bot [Thu, 28 Nov 2013 04:28:40 +0000 (04:28 +0000)]
Merge "Update documentation for gallery related files"

10 years agoMerge changes I70b15ea6,I5989410f,I49d96181,Ib3381bca,Ia608df21
jenkins-bot [Thu, 28 Nov 2013 04:26:55 +0000 (04:26 +0000)]
Merge changes I70b15ea6,I5989410f,I49d96181,Ib3381bca,Ia608df21

* changes:
  Replace Linker::link() by linkKnown()
  Remove commented out code
  Break long lines in gallery classes
  Update formatting for gallery related files
  Declare visibility on class properties of file repo classes

10 years agoMerge "Use 'pagetitle' in content language"
jenkins-bot [Wed, 27 Nov 2013 19:49:00 +0000 (19:49 +0000)]
Merge "Use 'pagetitle' in content language"

10 years agoMerge "Update formatting and comments in FormatJson"
jenkins-bot [Wed, 27 Nov 2013 19:46:45 +0000 (19:46 +0000)]
Merge "Update formatting and comments in FormatJson"

10 years agoMerge "Remove unused local variables, update formatting and documentation"
jenkins-bot [Wed, 27 Nov 2013 19:45:01 +0000 (19:45 +0000)]
Merge "Remove unused local variables, update formatting and documentation"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 27 Nov 2013 19:23:03 +0000 (19:23 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I104da0408a6eeadb9793a8a20a13a61681b7b11c

10 years agoMerge "Cleanup variable use in getLanguages"
jenkins-bot [Wed, 27 Nov 2013 18:32:07 +0000 (18:32 +0000)]
Merge "Cleanup variable use in getLanguages"

10 years agoMerge "Make setUp and tearDown protected in tests"
jenkins-bot [Wed, 27 Nov 2013 18:29:08 +0000 (18:29 +0000)]
Merge "Make setUp and tearDown protected in tests"

10 years agoFix notices on undefined $fileHandle and $res
Chad Horohoe [Wed, 27 Nov 2013 18:02:34 +0000 (10:02 -0800)]
Fix notices on undefined $fileHandle and $res

Change-Id: If9f37549af85df0a418dbd12a7793e5a45868f61

10 years agoShow minor edits and tags in Special:Undelete
Jackmcbarn [Tue, 26 Nov 2013 22:46:42 +0000 (17:46 -0500)]
Show minor edits and tags in Special:Undelete

Show minor edit marks and change tags when viewing deleted history
and diffs in Special:Undelete, in the same way that minor edits and
tags are seen for non-deleted history and diffs.

Bug: 57510
Change-Id: I99e81b8255c663df2679e3b31a693c12745878c3

10 years agoAPI: Add $wgAPIFormatModules
Brad Jorsch [Wed, 27 Nov 2013 16:40:17 +0000 (11:40 -0500)]
API: Add $wgAPIFormatModules

The API currently allows for adding action modules with
$wgAPIModules and query modules with various other $wgAPI*Modules
variables. But there's no way to add a formatting module from an
extension. For parallelism, let's add $wgAPIFormatModules to do just
that.

Bug: 57637
Change-Id: Ia0bd253104a4b5bc56d4fe0dc6736e2129b126f3

10 years agoCleanup variable use in getLanguages
Amir E. Aharoni [Tue, 26 Nov 2013 13:42:34 +0000 (15:42 +0200)]
Cleanup variable use in getLanguages

Change-Id: Ie480f701aa2b117fd73f3f1e2cca1cc9994b2605

10 years agoMerge "jquery.spinner: Fix documentation formatting"
jenkins-bot [Wed, 27 Nov 2013 13:55:25 +0000 (13:55 +0000)]
Merge "jquery.spinner: Fix documentation formatting"

10 years agojquery.spinner: Fix documentation formatting
Bartosz Dziewoński [Wed, 27 Nov 2013 13:49:44 +0000 (14:49 +0100)]
jquery.spinner: Fix documentation formatting

This syntax is a really fickle beast.

Plus assorted doc fixes.

Change-Id: I1dc2cdc2244db8499bd3f10377b6076955b9765b

10 years agojquery.makeCollapsible: Remove useless debug logging
Bartosz Dziewoński [Wed, 27 Nov 2013 13:30:19 +0000 (14:30 +0100)]
jquery.makeCollapsible: Remove useless debug logging

Custom togglers are nowhere near exciting enough to log the fact that
we're looking for them.

Added ages ago in r78989 when this script was more hairy.

Change-Id: Ieec216e5f203f4d808194733d96dcb3ebe9aaf9b

10 years agoMerge "Document the block duration tooltip"
jenkins-bot [Wed, 27 Nov 2013 13:21:38 +0000 (13:21 +0000)]
Merge "Document the block duration tooltip"

10 years agoMerge "Simplify interlanguage links creation by early return"
jenkins-bot [Wed, 27 Nov 2013 13:19:26 +0000 (13:19 +0000)]
Merge "Simplify interlanguage links creation by early return"

10 years agoImproved partitioning scheme for refreshLinks jobs
Aaron Schulz [Tue, 19 Nov 2013 00:12:12 +0000 (16:12 -0800)]
Improved partitioning scheme for refreshLinks jobs

* The changes refreshLinks to handle both per-title (leaf) and backlink jobs.
  The base job now splits into some leaf jobs and a remaining partition job.
  The partition job does the same until there are only a small number
  of backlinks in the remaining range (so only leaf jobs are added).
  Since the leaf jobs are pushed first, this works well for FIFO queues
  to avoid bloating the queue. This also improves per-title job
  de-duplication, which isQueueDeprioritized() pretty much killed.
* The refreshLinks2 class is no longer used for new jobs.
* Fix process cache bug with JobQueueGroup::push with empty arrays.
* This adds a BacklinksJobUtils with helper functions for partitioning.
* RefreshLinksJob jobs now have a simple version parameter.
* Also moved refreshLinks2Job to its own file.

Change-Id: Id378d47df17248ae02938d5a54ef7ecd29efadbd

10 years agoMerge "Improved CdbException handling in Interwiki"
jenkins-bot [Tue, 26 Nov 2013 23:37:52 +0000 (23:37 +0000)]
Merge "Improved CdbException handling in Interwiki"

10 years agoImproved CdbException handling in Interwiki
Chad Horohoe [Tue, 26 Nov 2013 21:20:30 +0000 (13:20 -0800)]
Improved CdbException handling in Interwiki

Change-Id: I6461b64dc77b3ecc641db39da1e9be306100fda3

10 years agoMerge "Improved CdbException handling in LocalisationCache"
jenkins-bot [Tue, 26 Nov 2013 23:16:59 +0000 (23:16 +0000)]
Merge "Improved CdbException handling in LocalisationCache"

10 years agoImproved CdbException handling in LocalisationCache
Chad Horohoe [Thu, 21 Nov 2013 23:37:18 +0000 (15:37 -0800)]
Improved CdbException handling in LocalisationCache

Change-Id: If1ad9a982c2a4a7a1e9ca7739b3c215bb821211a

10 years agoCorrect version section for rc_source in the updaters
umherirrender [Thu, 21 Nov 2013 20:54:30 +0000 (21:54 +0100)]
Correct version section for rc_source in the updaters

The patch for rc_source was reverted and at the end was merged for
version 1.23 (I5412466444526986e1209d0982dd62cd5b387ad1).

Release notes was already moved with
I5113828701fde7d21c81ef3219d04202a9073f00

Change-Id: If3b41a800f4982745eb883d5c4ac270ac75ffaa9

10 years agoMerge "Remove experiment code for moduleStorage"
jenkins-bot [Tue, 26 Nov 2013 20:49:31 +0000 (20:49 +0000)]
Merge "Remove experiment code for moduleStorage"

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Tue, 26 Nov 2013 20:25:46 +0000 (20:25 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 26 Nov 2013 20:19:04 +0000 (20:19 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I37ce20bf0f820c38a807c567fb6e7a353c3700a3

10 years agoMerge "Clean up MimeMagic singleton handling"
jenkins-bot [Tue, 26 Nov 2013 20:15:12 +0000 (20:15 +0000)]
Merge "Clean up MimeMagic singleton handling"