lhc/web/wiklou.git
10 years agoMerge "filebackend: cleaned up the FileBackend constructor"
jenkins-bot [Tue, 3 Dec 2013 20:22:10 +0000 (20:22 +0000)]
Merge "filebackend: cleaned up the FileBackend constructor"

10 years agoMerge "Set $wgNoFollowLinks to false iff "Authorized editors only" selected"
jenkins-bot [Tue, 3 Dec 2013 20:17:36 +0000 (20:17 +0000)]
Merge "Set $wgNoFollowLinks to false iff "Authorized editors only" selected"

10 years agoMerge "Document future removal of action=parse&prop=languageshtml"
jenkins-bot [Tue, 3 Dec 2013 20:13:03 +0000 (20:13 +0000)]
Merge "Document future removal of action=parse&prop=languageshtml"

10 years agoAdded MapCacheLRU class, a simpler cousin to ProcessCacheLRU
Aaron Schulz [Sat, 5 Oct 2013 03:47:33 +0000 (20:47 -0700)]
Added MapCacheLRU class, a simpler cousin to ProcessCacheLRU

Change-Id: Ibe1b44c8e168a086afb3481b4bb7660dc7d31ae7

10 years agoMerge changes I14044f14,Idd9eff2f,I6535467e
jenkins-bot [Tue, 3 Dec 2013 19:44:13 +0000 (19:44 +0000)]
Merge changes I14044f14,Idd9eff2f,I6535467e

* changes:
  Break long lines in logging related classes
  Localise brackets in log entry
  Update formatting for log related classes

10 years agoMake sure $content is always defined
Aaron Schulz [Tue, 3 Dec 2013 17:24:15 +0000 (09:24 -0800)]
Make sure $content is always defined

* Fixes 48a77e1

bug: 57916
Change-Id: I3cc0f36467da31a668bf27d5033555fa59e43c39

10 years agoMerge "Update some documentation"
jenkins-bot [Tue, 3 Dec 2013 17:10:21 +0000 (17:10 +0000)]
Merge "Update some documentation"

10 years agoMerge "Fixed field name"
jenkins-bot [Tue, 3 Dec 2013 17:07:08 +0000 (17:07 +0000)]
Merge "Fixed field name"

10 years agoMerge "Remove unused local variable"
jenkins-bot [Tue, 3 Dec 2013 17:04:24 +0000 (17:04 +0000)]
Merge "Remove unused local variable"

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 "ExternalStoreDB: update for PHP 5"
jenkins-bot [Tue, 3 Dec 2013 16:54:07 +0000 (16:54 +0000)]
Merge "ExternalStoreDB: update for PHP 5"

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 agoBreak long lines in logging related classes
Siebrand Mazeland [Tue, 3 Dec 2013 14:58:51 +0000 (15:58 +0100)]
Break long lines in logging related classes

Also:
* Take function call out of for loop test part.
* Suppress CodeSniffer warnings for unavoidable long lines.

Change-Id: I14044f14b30d494d910541a1dac50921254a7398

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 agoLocalise brackets in log entry
Siebrand Mazeland [Tue, 3 Dec 2013 14:46:51 +0000 (15:46 +0100)]
Localise brackets in log entry

Change-Id: Idd9eff2f09f8764dbc8cc958a0165f1a94983cc6

10 years agoUpdate formatting for log related classes
Siebrand Mazeland [Tue, 3 Dec 2013 14:36:21 +0000 (15:36 +0100)]
Update formatting for log related classes

Change-Id: I6535467ed9b22d61b7c5caf3f18067a988871751

10 years agoRemove unused local variable
Siebrand Mazeland [Tue, 3 Dec 2013 14:00:43 +0000 (15:00 +0100)]
Remove unused local variable

Change-Id: I5f13b3bf7e769d0b0960b44e15b9c2454d9eb165

10 years agoUpdate some documentation
Siebrand Mazeland [Tue, 3 Dec 2013 13:59:09 +0000 (14:59 +0100)]
Update some documentation

Change-Id: I6a75964d2048de451e9b01a08f87cfe1ebd842ba

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 agoExternalStoreDB: update for PHP 5
Tim Starling [Tue, 3 Dec 2013 03:50:32 +0000 (14:50 +1100)]
ExternalStoreDB: update for PHP 5

Support for PHP 4 was dropped in 2006, so the ampersands are no longer
needed. I guess this code doesn't get looked at very often.

Change-Id: I344043d17061014d4370d8f68b3bc86b8c4f9453

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 agoDocument future removal of action=parse&prop=languageshtml
Siebrand Mazeland [Tue, 19 Nov 2013 21:04:26 +0000 (22:04 +0100)]
Document future removal of action=parse&prop=languageshtml

Change-Id: I600bbac02633f3b17044602917d062106ae83867

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