lhc/web/wiklou.git
10 years agoMerge "Fix "UTPage" creation in tests"
jenkins-bot [Tue, 22 Apr 2014 17:56:32 +0000 (17:56 +0000)]
Merge "Fix "UTPage" creation in tests"

10 years agoMerge "Explain make kss environment variable in README"
jenkins-bot [Tue, 22 Apr 2014 17:54:51 +0000 (17:54 +0000)]
Merge "Explain make kss environment variable in README"

10 years agoMerge "Drop -{webkit,moz}-box-shadow"
jenkins-bot [Tue, 22 Apr 2014 17:53:49 +0000 (17:53 +0000)]
Merge "Drop -{webkit,moz}-box-shadow"

10 years agoFix "UTPage" creation in tests
Andrew Garrett [Mon, 10 Mar 2014 02:04:53 +0000 (13:04 +1100)]
Fix "UTPage" creation in tests

Change-Id: If414c633a3abb6019f9d677b70e6bc790c0c241d

10 years agoMerge "API: Don't rollback changes if the exception was a UsageException"
jenkins-bot [Tue, 22 Apr 2014 17:13:58 +0000 (17:13 +0000)]
Merge "API: Don't rollback changes if the exception was a UsageException"

10 years agoAPI: Don't rollback changes if the exception was a UsageException
Kunal Mehta [Tue, 22 Apr 2014 16:56:40 +0000 (09:56 -0700)]
API: Don't rollback changes if the exception was a UsageException

In I1b7396ceb, we were trying to log failures to Special:Log, but
since $this->dieUsage throws an exception, the log entry insertion
was being rolled back.

This is similar to I36cd645d which was for index.php calls.

Change-Id: I136ba66d2f939fcdd0c9326e04d686a30449bf4c
Follows-Up: I8f1da51187b281fe4afc0d5a0c49f5caf3612e92

10 years agoMerge "Made TempFSFile try to purge files on fatals too"
jenkins-bot [Tue, 22 Apr 2014 16:48:56 +0000 (16:48 +0000)]
Merge "Made TempFSFile try to purge files on fatals too"

10 years agoMerge "Make languages/utils pass phpcs-strict"
jenkins-bot [Tue, 22 Apr 2014 16:27:44 +0000 (16:27 +0000)]
Merge "Make languages/utils pass phpcs-strict"

10 years agoMerge "Remove unused message 'livepreview-loading'"
jenkins-bot [Tue, 22 Apr 2014 16:27:26 +0000 (16:27 +0000)]
Merge "Remove unused message 'livepreview-loading'"

10 years agoMerge "Make languages/classes pass phpcs-strict"
jenkins-bot [Tue, 22 Apr 2014 16:25:33 +0000 (16:25 +0000)]
Merge "Make languages/classes pass phpcs-strict"

10 years agoMerge "Include pool type in pool counter log entries"
jenkins-bot [Tue, 22 Apr 2014 15:59:31 +0000 (15:59 +0000)]
Merge "Include pool type in pool counter log entries"

10 years agoMerge "Avoid uncommitted transaction notices in thumb.php and img_auth.php"
jenkins-bot [Tue, 22 Apr 2014 15:45:58 +0000 (15:45 +0000)]
Merge "Avoid uncommitted transaction notices in thumb.php and img_auth.php"

10 years agoAvoid uncommitted transaction notices in thumb.php and img_auth.php
Aaron Schulz [Tue, 22 Apr 2014 04:59:43 +0000 (21:59 -0700)]
Avoid uncommitted transaction notices in thumb.php and img_auth.php

bug: 56269
Change-Id: I8cf5c070899d281c7efbac853f04c2fea9374e4d

10 years agoMake languages/classes pass phpcs-strict
Siebrand Mazeland [Mon, 21 Apr 2014 18:43:15 +0000 (20:43 +0200)]
Make languages/classes pass phpcs-strict

Change-Id: I0985f3c7e4b36338c68a4a63cfba4eaa4af567c0

10 years agoMake languages/utils pass phpcs-strict
Siebrand Mazeland [Mon, 21 Apr 2014 18:44:40 +0000 (20:44 +0200)]
Make languages/utils pass phpcs-strict

Change-Id: I5e6521e30384f46575573647b24217d4301fcd59

10 years agoFixed some @params documentation (includes/*)
umherirrender [Tue, 22 Apr 2014 11:07:02 +0000 (13:07 +0200)]
Fixed some @params documentation (includes/*)

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: I0056b4a8df243cfc0c5f25378de48f7a35170aca

10 years agoMerge "Put class FakeConverter in its own file"
jenkins-bot [Tue, 22 Apr 2014 10:20:02 +0000 (10:20 +0000)]
Merge "Put class FakeConverter in its own file"

10 years agoMerge "JSON i18n shim: Only register LocalisationCacheRecache handler once"
jenkins-bot [Tue, 22 Apr 2014 10:11:33 +0000 (10:11 +0000)]
Merge "JSON i18n shim: Only register LocalisationCacheRecache handler once"

10 years agoMerge "Fixed some @params documentation (includes/*)"
jenkins-bot [Tue, 22 Apr 2014 10:05:49 +0000 (10:05 +0000)]
Merge "Fixed some @params documentation (includes/*)"

10 years agoMerge "Fixed some @params documentation (includes/*)"
jenkins-bot [Tue, 22 Apr 2014 09:57:32 +0000 (09:57 +0000)]
Merge "Fixed some @params documentation (includes/*)"

10 years agoMerge "Fixed some @params documentation (includes/parser)"
jenkins-bot [Tue, 22 Apr 2014 09:43:43 +0000 (09:43 +0000)]
Merge "Fixed some @params documentation (includes/parser)"

10 years agoMerge "Remove useless comments from search output"
jenkins-bot [Tue, 22 Apr 2014 09:13:52 +0000 (09:13 +0000)]
Merge "Remove useless comments from search output"

10 years agoPut class FakeConverter in its own file
Siebrand Mazeland [Tue, 22 Apr 2014 09:07:03 +0000 (11:07 +0200)]
Put class FakeConverter in its own file

Change-Id: I84b256d668579a76034ad08c3bb763d33e7ffe31

10 years agoMake languages/ pass phpcs-strict
Siebrand Mazeland [Mon, 21 Apr 2014 18:44:54 +0000 (20:44 +0200)]
Make languages/ pass phpcs-strict

Change-Id: I0c4a68d140fae27857cbc3684fe51d7880d92118

10 years agoRemove unused message 'livepreview-loading'
Siebrand Mazeland [Tue, 22 Apr 2014 08:57:17 +0000 (10:57 +0200)]
Remove unused message 'livepreview-loading'

Follow-up to 53bd3da58fc5c3f. The message has been added to
SemanticMediaWiki in change I14448aecbbef2cfcfb5f47bd882046f0cc3c3ad1

Change-Id: I76d10534c64d3308423611a8288f7f7335cff1d3

10 years agoRemove useless comments from search output
Chad Horohoe [Tue, 22 Apr 2014 08:52:11 +0000 (01:52 -0700)]
Remove useless comments from search output

They show up when results are broken, but it's better to skip
the broken result entirely and not put in a pointless comment.

Change-Id: I691b04f31e2e439f9481c954f177e21b7f80ca2c

10 years agoMerge "Remove 4 unused live preview messages"
jenkins-bot [Tue, 22 Apr 2014 08:51:19 +0000 (08:51 +0000)]
Merge "Remove 4 unused live preview messages"

10 years agoMerge "generateJsonI18n.php: Use tabs for indentation"
jenkins-bot [Tue, 22 Apr 2014 08:16:55 +0000 (08:16 +0000)]
Merge "generateJsonI18n.php: Use tabs for indentation"

10 years agoMerge "Remove 3 unused upload related error messages"
jenkins-bot [Tue, 22 Apr 2014 07:55:48 +0000 (07:55 +0000)]
Merge "Remove 3 unused upload related error messages"

10 years agoMerge "Remove unused message 'dberr-header'"
jenkins-bot [Tue, 22 Apr 2014 07:52:46 +0000 (07:52 +0000)]
Merge "Remove unused message 'dberr-header'"

10 years agoMerge "Remove unused message 'notacceptable'"
jenkins-bot [Tue, 22 Apr 2014 07:47:58 +0000 (07:47 +0000)]
Merge "Remove unused message 'notacceptable'"

10 years agoFixed slow query in LocalFileDeleteBatch::getHashes()
Aaron Schulz [Tue, 22 Apr 2014 05:58:36 +0000 (22:58 -0700)]
Fixed slow query in LocalFileDeleteBatch::getHashes()

* All the old files will have the oi_name of the $file

bug: 62360
Change-Id: Ie3aeee44a7ec1ef4cad0c0fcde9b7d0dba003da2

10 years agoRemove unnecessary h2 element on create account
swalling [Mon, 21 Apr 2014 23:00:08 +0000 (16:00 -0700)]
Remove unnecessary h2 element on create account

We added these headings during the last account creation and login form
redesign but on recollection I'm not sure they're needed.

The messages are pretty much redundant with the h1 heading,
and now h2 elements have a margin-top of 1em it adds too much whitespace.

Change-Id: Ice5e8bf23cc00bf00835e7dc26acc33182654ec5

10 years agoMerge "Remove 2 unused search related messages"
jenkins-bot [Tue, 22 Apr 2014 03:28:19 +0000 (03:28 +0000)]
Merge "Remove 2 unused search related messages"

10 years agoExplain make kss environment variable in README
Matthew Flaschen [Fri, 11 Apr 2014 02:39:28 +0000 (22:39 -0400)]
Explain make kss environment variable in README

Change-Id: I9e83187050ed360c57a1c3d4aeba913d69211349

10 years agoRemove 3 unused upload related error messages
Kevin Israel [Mon, 21 Apr 2014 22:39:53 +0000 (18:39 -0400)]
Remove 3 unused upload related error messages

Follows-up r106752 (5275f9b097cd):
* fileappenderrorread
* fileappenderror
* fileexistserror

Change-Id: I0b953827ca617ca123e1018d3e38c4df7b22a117

10 years agoRemove unused message 'notacceptable'
Kevin Israel [Tue, 22 Apr 2014 01:08:02 +0000 (21:08 -0400)]
Remove unused message 'notacceptable'

Follows-up 4ebd4debf407.

Change-Id: I887041bad0be4f0fe6167f35c6c55e72610e2aa8

10 years agoRemove 2 unused search related messages
Kevin Israel [Mon, 21 Apr 2014 23:33:44 +0000 (19:33 -0400)]
Remove 2 unused search related messages

Follows-up 7e8c48ac3d11 by removing 'powersearch-redir'.
Follows-up 11c04f9ecbaf by removing 'prefs-displaysearchoptions'.

Change-Id: I13ce4eb1f9431e23f983ec737a684213d1dcd235

10 years agoRemove unused message 'dberr-header'
Kevin Israel [Mon, 21 Apr 2014 22:25:15 +0000 (18:25 -0400)]
Remove unused message 'dberr-header'

Follows-up 2bcffe8be420.

Change-Id: I55178414ebfec9cb6e7c0f97e3889637074556d7

10 years agoFixed some @params documentation (includes/parser)
umherirrender [Mon, 21 Apr 2014 23:38:39 +0000 (01:38 +0200)]
Fixed some @params documentation (includes/parser)

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: I49f8f48b521878de7abd9cc40efdeff6cf9a37e0

10 years agoRemove 4 unused live preview messages
Kevin Israel [Mon, 9 Dec 2013 01:14:33 +0000 (20:14 -0500)]
Remove 4 unused live preview messages

Most of these are obsolete because there is no longer a separate
"Live preview" button on the edit form.

* showlivepreview
* livepreview-ready
* livepreview-failed
* livepreview-error

SemanticMediaWiki uses 'livepreview-loading', so I left that message
in for now.

Change-Id: I51d014eb2c3dcf5ff1b91a00d5dc3e5b0c580459

10 years agogenerateJsonI18n.php: Use tabs for indentation
Kevin Israel [Mon, 21 Apr 2014 20:54:31 +0000 (16:54 -0400)]
generateJsonI18n.php: Use tabs for indentation

Bug: 63444
Change-Id: Iaaf6b1a08c316f29c18fd5c9494decee401a43f1

10 years agoMerge "Expand the protocol for proto-relative links when printing"
jenkins-bot [Mon, 21 Apr 2014 20:47:28 +0000 (20:47 +0000)]
Merge "Expand the protocol for proto-relative links when printing"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 21 Apr 2014 20:11:44 +0000 (20:11 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I8a1715baff4ddbc098e202232db3b1c87d01ccef

10 years agoExpand the protocol for proto-relative links when printing
Bartosz Dziewoński [Fri, 18 Apr 2014 19:48:02 +0000 (21:48 +0200)]
Expand the protocol for proto-relative links when printing

Things like "User's Guide (//meta.wikimedia.org/wiki/Help:Contents)"
(on the default main page) don't look like the expected behavior to
me, and I think regular users expect links to start with either "www"
or "http".

Let's assume HTTPS for these and prepend the protocol to the URL.

Change-Id: If48f61de26a37eddbb134b824186706c08dabb72

10 years agoUpdate OOjs UI to v0.1.0-pre (d4baf57069)
James D. Forrester [Mon, 21 Apr 2014 19:42:09 +0000 (12:42 -0700)]
Update OOjs UI to v0.1.0-pre (d4baf57069)

New changes:
351db20 Localisation updates from https://translatewiki.net.
1a21253 Set up jsduck
d492a0f Revert "Add aggregate method"

Change-Id: Ida003c21a1f748f78ac0b36511d86e9dd3f8da58

10 years agoMerge "Lowered limit for wfThumbIsAttemptThrottled() to 4"
jenkins-bot [Mon, 21 Apr 2014 18:27:44 +0000 (18:27 +0000)]
Merge "Lowered limit for wfThumbIsAttemptThrottled() to 4"

10 years agoLowered limit for wfThumbIsAttemptThrottled() to 4
Aaron Schulz [Mon, 21 Apr 2014 18:19:52 +0000 (11:19 -0700)]
Lowered limit for wfThumbIsAttemptThrottled() to 4

Change-Id: I2d91647abdaff820eb87b0bd45505ffa1fbc25fe

10 years agoMade TempFSFile try to purge files on fatals too
Aaron Schulz [Mon, 21 Apr 2014 18:18:39 +0000 (11:18 -0700)]
Made TempFSFile try to purge files on fatals too

Change-Id: I3e80bea0d869be989c951dfb35a218bb66c9de17

10 years agoMerge "More Profiler class refactoring"
jenkins-bot [Mon, 21 Apr 2014 18:02:07 +0000 (18:02 +0000)]
Merge "More Profiler class refactoring"

10 years agoMerge "Update formatting for languages/utils/"
jenkins-bot [Mon, 21 Apr 2014 18:01:00 +0000 (18:01 +0000)]
Merge "Update formatting for languages/utils/"

10 years agoMerge "Remove underscore from classes CLDRPluralRule*"
jenkins-bot [Mon, 21 Apr 2014 18:00:42 +0000 (18:00 +0000)]
Merge "Remove underscore from classes CLDRPluralRule*"

10 years agoMerge "PostgreSQL: Improve speed for page edit in imports"
jenkins-bot [Mon, 21 Apr 2014 17:59:45 +0000 (17:59 +0000)]
Merge "PostgreSQL: Improve speed for page edit in imports"

10 years agoMore Profiler class refactoring
Aaron Schulz [Mon, 14 Apr 2014 20:30:58 +0000 (13:30 -0700)]
More Profiler class refactoring

* Factored a ProfilerStandard class out of Profiler
* Profiler is now an abstract base class
* For b/c, using Profiler as the profiler switches to ProfilerStub
  to avoid trying to instantiate an abstract class
* Also factored out a small TransactionProfiler class
* Fixed fatal in "new ProfilerStub()" line in getInstance();
  Profiler has long since type hinted $params as an array
* Removed bogus debug var usage left in ProfilerMwprof::getRawData()
* Removed useless mTimeMetric stuff

Change-Id: I854dabba6c8b1fb7d92baca59ebd4af25878d11d

10 years agoMerge "thumb.php and img_auth.php cleanups"
jenkins-bot [Mon, 21 Apr 2014 17:50:32 +0000 (17:50 +0000)]
Merge "thumb.php and img_auth.php cleanups"

10 years agoUpdate formatting for languages/utils/
Siebrand Mazeland [Mon, 21 Apr 2014 17:48:22 +0000 (19:48 +0200)]
Update formatting for languages/utils/

Change-Id: I54a19cff97067b71cb6531bc37802adb2d6c52ba

10 years agoInclude pool type in pool counter log entries
Aaron Schulz [Mon, 21 Apr 2014 17:37:14 +0000 (10:37 -0700)]
Include pool type in pool counter log entries

Change-Id: I1b0213b5af755208843cb2cd02d3446c480f6882

10 years agoRemove underscore from classes CLDRPluralRule*
Siebrand Mazeland [Mon, 21 Apr 2014 17:23:37 +0000 (19:23 +0200)]
Remove underscore from classes CLDRPluralRule*

Part of program to remove underscores from class names. Checked core and 675
extensions for occurrences. All uses are in core in core are updated in this
patch. There are no uses in Gerrit extensions.

Change-Id: Id3ff16710a11ce1909a83b58505b250736a073e8

10 years agoMerge "Make room for preloadFileStat() call in FileBackend::doOperationsInternal"
jenkins-bot [Mon, 21 Apr 2014 17:13:35 +0000 (17:13 +0000)]
Merge "Make room for preloadFileStat() call in FileBackend::doOperationsInternal"

10 years agoMerge "Bail out on FileBackend operations if the initial stat calls failed"
jenkins-bot [Mon, 21 Apr 2014 17:13:33 +0000 (17:13 +0000)]
Merge "Bail out on FileBackend operations if the initial stat calls failed"

10 years agoMerge "Update formatting of includes/title/"
jenkins-bot [Mon, 21 Apr 2014 17:11:39 +0000 (17:11 +0000)]
Merge "Update formatting of includes/title/"

10 years agoMerge "Avoid image table updates on file upload failure"
jenkins-bot [Mon, 21 Apr 2014 16:54:19 +0000 (16:54 +0000)]
Merge "Avoid image table updates on file upload failure"

10 years agoMerge "Call wfThumbIncrAttemptFailures() in thumb.php on fatals"
jenkins-bot [Mon, 21 Apr 2014 16:34:29 +0000 (16:34 +0000)]
Merge "Call wfThumbIncrAttemptFailures() in thumb.php on fatals"

10 years agoCall wfThumbIncrAttemptFailures() in thumb.php on fatals
Aaron Schulz [Mon, 21 Apr 2014 16:27:04 +0000 (09:27 -0700)]
Call wfThumbIncrAttemptFailures() in thumb.php on fatals

Change-Id: I3dbe07d12abdc265d377cd05bb87c837df156995

10 years agoMerge "Support tighter rate limiting for "non-standard" thumbnails"
jenkins-bot [Mon, 21 Apr 2014 16:21:04 +0000 (16:21 +0000)]
Merge "Support tighter rate limiting for "non-standard" thumbnails"

10 years agoUpdate formatting of includes/title/
Siebrand Mazeland [Mon, 21 Apr 2014 09:31:49 +0000 (11:31 +0200)]
Update formatting of includes/title/

Change-Id: I862dde47b569ca99f098d795e13b1999a33d790b

10 years agoMake includes/title pass phpcs-strict
Siebrand Mazeland [Mon, 21 Apr 2014 09:29:55 +0000 (11:29 +0200)]
Make includes/title pass phpcs-strict

Change-Id: Iac03d1f3d4ee622496b3cb0bf8086d2f362b52af

10 years agoDrop -{webkit,moz}-box-shadow
Ori Livneh [Mon, 21 Apr 2014 07:04:37 +0000 (00:04 -0700)]
Drop -{webkit,moz}-box-shadow

* The last version of Firefox to require the 'moz' prefix was 3.6, 25(!)
  versions ago.
* Most recent versions of WebKit that require the vendor prefix: Chrome 9,
  Safari 5.0, iOS Safari 4.3, Android 3.0.

Change-Id: If0c484444ef9db2f5435193cfe7a2e445862e956

10 years agoPostgreSQL: Improve speed for page edit in imports
Jeff [Mon, 21 Apr 2014 04:31:07 +0000 (21:31 -0700)]
PostgreSQL: Improve speed for page edit in imports

Whenever a new revision is added, a deferred update gets enqueued.
When it is fired, it clears the searchable text from all earlier
revisions for the article.  This becomes very slow for articles
with long revision histories, as it re-clears the textvector even
when it has already been cleared by earlier actions.  This leads to
very high load in the database for runs of importDump.php

This patch improves this situation by adding a condition to the WHERE
clause such that it does not update rows in which the textvector
is already NULL.

PostgreSQL cannot automatically remove such degenerate updates
in general because the updated rows must be locked and have their
transaction markers increased.  However, in this particular case
those things are unimportant.

This change improves the performance of importDump.php on a
wiki with long revision histories by 7 fold, and moves the
major bottleneck from the database to PHP.  It might also
improve the performance of ordinary page edits, but that
was not tested.

There are more improvements that could be made here.  For example,
a partial index or expression index could make it so that already
cleared rows do not have to be visited at all.  Or the deferred
update mechanism could have a notion of "idempotency" so that many
indentical updates enqueued during bulk loading would be condensed
to only a single execution.  However, this change is very much
simpler and is sufficient to shift the bottleneck elsewhere.

Change-Id: I458603767c6a86425010d02ffc1f8079c4b3c9a0

10 years agothumb.php and img_auth.php cleanups
Aaron Schulz [Sun, 20 Apr 2014 23:52:08 +0000 (16:52 -0700)]
thumb.php and img_auth.php cleanups

* Specifically check isDeleted() instead of relying on the file
  being moved to the deleted zone alone.
* Made img_auth.php skip some unnecessary checks for public wikis.
  Also made it set the private cache control headers only if needed.

Change-Id: If82589acd53c02943d5f3bbafd29381fd63f8f68

10 years agoFixed some @params documentation (includes/*)
umherirrender [Sun, 20 Apr 2014 21:33:05 +0000 (23:33 +0200)]
Fixed some @params documentation (includes/*)

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.

Change-Id: Ifbb1da2a6278b0bde2a6f6ce2e7bd383ee3fb28a

10 years agoMerge "Deprecate ResourceLoaderGetStartupModules"
jenkins-bot [Sun, 20 Apr 2014 21:23:04 +0000 (21:23 +0000)]
Merge "Deprecate ResourceLoaderGetStartupModules"

10 years agoDeprecate ResourceLoaderGetStartupModules
Ori Livneh [Sun, 20 Apr 2014 21:01:21 +0000 (14:01 -0700)]
Deprecate ResourceLoaderGetStartupModules

In bug 63240, Roan calls it a 'misfeature', which I think is exactly right. It
has been used as a lazy workaround for having to think about load-order,
dependency management, and race conditions.

Bug: 63240
Change-Id: Ic48ad39c6d3d166d6bb8f60dfdd5f95aa7ed16a6

10 years agomediawiki.mixins.less: Correctly embed images in .background-image-svg
Bartosz Dziewoński [Thu, 17 Apr 2014 20:09:28 +0000 (22:09 +0200)]
mediawiki.mixins.less: Correctly embed images in .background-image-svg

Using the /* @embed */ annotation twice for the same property
(background-image) confuses the LESS compiler, resulting in one of the
images not being embedded.

Let's use the embeddable() and embed() MediaWiki LESS functions,
like in the .background-image mixin.

And let's extend and clean up the documentation while we're here.

Bug: 61941
Change-Id: I39ea2004b9db34d096eed08b3ffdfcaf8d5fcd7d

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 20 Apr 2014 19:49:13 +0000 (19:49 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I7816dbccd7d162fc934cf36ff7c23d3b12f0fa9b

10 years agoFixed some @params documentation (includes/*)
umherirrender [Sun, 20 Apr 2014 19:16:57 +0000 (21:16 +0200)]
Fixed some @params documentation (includes/*)

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: I7f605aa9e117b5fd80d9b1440864fe526d2b14a5

10 years agoMerge "Allow additional interwiki prefixes on local interwiki links"
jenkins-bot [Sun, 20 Apr 2014 14:00:22 +0000 (14:00 +0000)]
Merge "Allow additional interwiki prefixes on local interwiki links"

10 years agoMerge "Fixed some @params documentation (includes/api)"
Addshore [Sun, 20 Apr 2014 13:32:27 +0000 (13:32 +0000)]
Merge "Fixed some @params documentation (includes/api)"

10 years agoMerge "Fixed some @params documentation (includes/[db|installer])"
Addshore [Sun, 20 Apr 2014 13:29:42 +0000 (13:29 +0000)]
Merge "Fixed some @params documentation (includes/[db|installer])"

10 years agoMerge "Fixed some @params documentation (includes/[file...|upload])"
Addshore [Sun, 20 Apr 2014 13:28:27 +0000 (13:28 +0000)]
Merge "Fixed some @params documentation (includes/[file...|upload])"

10 years agoMerge "Clarifying double-redirect messages"
jenkins-bot [Sun, 20 Apr 2014 12:24:50 +0000 (12:24 +0000)]
Merge "Clarifying double-redirect messages"

10 years agoClarifying double-redirect messages
Amir E. Aharoni [Sat, 19 Apr 2014 12:02:06 +0000 (15:02 +0300)]
Clarifying double-redirect messages

Change-Id: Ifbe13b4ed98d34ecbb6dc5b583422c2dc4ff307e

10 years agoMerge "jquery.suggestions: Handle CSS ellipsis when calculating suggestions' widths"
jenkins-bot [Sun, 20 Apr 2014 11:14:47 +0000 (11:14 +0000)]
Merge "jquery.suggestions: Handle CSS ellipsis when calculating suggestions' widths"

10 years agoMerge "Fixed some @params documentation (includes/*)"
Addshore [Sun, 20 Apr 2014 09:14:28 +0000 (09:14 +0000)]
Merge "Fixed some @params documentation (includes/*)"

10 years agoFixed some @params documentation (includes/*)
umherirrender [Sat, 19 Apr 2014 20:22:20 +0000 (22:22 +0200)]
Fixed some @params documentation (includes/*)

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: Iced714bca004756b461b66067a49a925a7e3b877

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 19 Apr 2014 19:36:03 +0000 (19:36 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I58e3db9db609509bd6c4de229c13524bc262cc88

10 years agoFixed typo of encyclopedic in qqq.json
Kartik Mistry [Sat, 19 Apr 2014 16:13:58 +0000 (21:43 +0530)]
Fixed typo of encyclopedic in qqq.json

Change-Id: I78861c584d224e915c015172dbc1430749583753

10 years agoFixed some @params documentation (includes/[file...|upload])
umherirrender [Sat, 19 Apr 2014 15:19:17 +0000 (17:19 +0200)]
Fixed some @params documentation (includes/[file...|upload])

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: I8804ebe0922d3a414863b162a2110e0b9e49b80f

10 years agoFixed some @params documentation (includes/[db|installer])
umherirrender [Sat, 19 Apr 2014 11:55:27 +0000 (13:55 +0200)]
Fixed some @params documentation (includes/[db|installer])

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: I3595e9aac69ac42fbb74b0783fae0ad9bcc831aa

10 years agoMerge "Fixed some @params documentation (includes/[specialpage|specials])"
jenkins-bot [Sat, 19 Apr 2014 10:23:41 +0000 (10:23 +0000)]
Merge "Fixed some @params documentation (includes/[specialpage|specials])"

10 years agoFixed some @params documentation (includes/[specialpage|specials])
umherirrender [Sat, 19 Apr 2014 08:16:52 +0000 (10:16 +0200)]
Fixed some @params documentation (includes/[specialpage|specials])

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: Icf6f36bb53322b39cd5c89523dbd0e4ab10b9ec9

10 years agodocs: closure -> Closure; callback -> callable
umherirrender [Sat, 19 Apr 2014 06:43:31 +0000 (08:43 +0200)]
docs: closure -> Closure; callback -> callable

Changed closure to capital word Closure in doc and type hint,
also changed callback in docs to callable

Change-Id: I52c8e8f13d38a837052101c38b9986be780ca057

10 years agoMerge "Purge removed OOjs UI files"
jenkins-bot [Sat, 19 Apr 2014 02:23:16 +0000 (02:23 +0000)]
Merge "Purge removed OOjs UI files"

10 years agoupdate-oojs-ui.sh: Replace target dir instead of adding file copies
Timo Tijhof [Sat, 19 Apr 2014 02:05:04 +0000 (04:05 +0200)]
update-oojs-ui.sh: Replace target dir instead of adding file copies

* A command like "cp dist/* $TARGET_DIR" does not remove files
  that were deleted in the release dist. Using rsync instead.

* Use bash -n or -z instead of "" and "x$VAR" == "x" tricks.

* The "git commit <dir>" doesn't properly take care of staging
  deletion of files removed by the update script, nor does it
  reliably (?) stage new files.
  Instead using a combination of "git add -u <dir>" (The -u
  stages deletion and modifcation of tracked files), and
  "git add <dir>" (stages modification and creation of files in
  that directory).

* Use "grunt test" instead of "grunt <default>" to make more
  explicit what is going on (no change in behaviour, default=test).
  And document why we don't use plain grunt-build without tests.

Change-Id: Id97a66df64d9e43e3c05388486b9f959108363c1

10 years agoPurge removed OOjs UI files
Timo Tijhof [Sat, 19 Apr 2014 02:07:30 +0000 (04:07 +0200)]
Purge removed OOjs UI files

The old update script didn't remove files in git if there were absent in
a newer version and left these behind.

Change-Id: I087657183c29ff7d9e2b636171961db62687b32f

10 years agooojs-update.sh: Replace target dir instead of adding file copies
Timo Tijhof [Sat, 19 Apr 2014 00:48:59 +0000 (02:48 +0200)]
oojs-update.sh: Replace target dir instead of adding file copies

* A command like "cp dist/* $TARGET_DIR" does not remove files
  that were deleted in the release dist. Using rsync instead.

  Though addition can happen, deletion should never happen as we
  refer to these files in Resources.php. But we also shouldn't
  leave behind old files mixed with new files, so delete them.
  Our structure unit tests for resources take care of catching
  references to files that don't (or no longer) exist.

* Use bash -n instead of != "".

* Refactor slightly to make it re-usable in other projects without
  too much modification (only REPO_DIR and TARGET_DIR need updating,
  the rest is generic now).

* The "git commit <dir>" doesn't properly take care of staging
  deletion of files removed by the update script, nor does it
  reliably (?) stage new files.
  Instead using a combination of "git add -u <dir>" (The -u
  stages deletion and modifcation of tracked files), and
  "git add <dir>" (stages modification and creation of files in
  that directory).

Change-Id: Ieb20978c887c5a141f31cab704b8d239f1572af0

10 years agoMake room for preloadFileStat() call in FileBackend::doOperationsInternal
Aaron Schulz [Sat, 19 Apr 2014 00:02:19 +0000 (17:02 -0700)]
Make room for preloadFileStat() call in FileBackend::doOperationsInternal

Change-Id: I60f71155abcf7f69423639b10ec301ac192df728

10 years agoMerge "Fixed some @params documentation (includes/[cache|objectcache])"
Addshore [Fri, 18 Apr 2014 23:54:17 +0000 (23:54 +0000)]
Merge "Fixed some @params documentation (includes/[cache|objectcache])"

10 years agoMerge "vector: Do styles the ResourceLoader way"
jenkins-bot [Fri, 18 Apr 2014 23:28:08 +0000 (23:28 +0000)]
Merge "vector: Do styles the ResourceLoader way"

10 years agoFixed some @params documentation (includes/[cache|objectcache])
umherirrender [Fri, 18 Apr 2014 23:19:46 +0000 (01:19 +0200)]
Fixed some @params documentation (includes/[cache|objectcache])

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: I86fd10e3f2d4bb80e7432533038d124693acfb3c