lhc/web/wiklou.git
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 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 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 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 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 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

10 years agoImproved HashRing usage in JobQueueFederated
Aaron Schulz [Tue, 8 Apr 2014 01:53:38 +0000 (18:53 -0700)]
Improved HashRing usage in JobQueueFederated

* Added proper ejection and caching in HashRing to avoid rebuilding
  the hash all the time (or doing manual caching).
* Made JobQueueFederated blacklist failing servers for a few seconds.
* Also made the JobQueueFederated root job methods properly respect
  the weights when they fail over.

Change-Id: Ifa4c03272c1777cfff2523ab21f780074ddcf359

10 years agoAdd forgotten OOjs UI i18n files
Roan Kattouw [Fri, 18 Apr 2014 20:12:54 +0000 (13:12 -0700)]
Add forgotten OOjs UI i18n files

Change-Id: I8387150a9caf09c16de2ad816ba5dcaa8b56af23

10 years agojquery.suggestions: Handle CSS ellipsis when calculating suggestions' widths
Bartosz Dziewoński [Fri, 18 Apr 2014 20:07:32 +0000 (22:07 +0200)]
jquery.suggestions: Handle CSS ellipsis when calculating suggestions' widths

This is so nasty :(

Bug: 64093
Change-Id: Ia6b1376dddf69a0faa214d5c9a756bdcd9658367

10 years agoUpdate OOjs UI to v0.1.0-pre (989950a4db)
Roan Kattouw [Fri, 18 Apr 2014 20:02:51 +0000 (13:02 -0700)]
Update OOjs UI to v0.1.0-pre (989950a4db)

New changes:
ff327f2 Localisation updates from https://translatewiki.net.
21bbbdb Add getCurrentItem method
ca0e453 Remove animation of grid layout inside booklets
b1c75fa Add aggregate method
df59f32 Add push/pop pending to Dialog
21c6d92 Make dialog overlays... overlaid?
989950a Localisation updates from https://translatewiki.net.

Change-Id: Iff681390616a2fa9ce5becf846365e7421f28433

10 years agoMerge "Remove # from dataProvider"
jenkins-bot [Fri, 18 Apr 2014 19:50:16 +0000 (19:50 +0000)]
Merge "Remove # from dataProvider"

10 years agoMerge "Remove superfluous # at end of line from languages.inc"
jenkins-bot [Fri, 18 Apr 2014 19:47:51 +0000 (19:47 +0000)]
Merge "Remove superfluous # at end of line from languages.inc"

10 years agoBail out on FileBackend operations if the initial stat calls failed
Aaron Schulz [Fri, 18 Apr 2014 18:34:39 +0000 (11:34 -0700)]
Bail out on FileBackend operations if the initial stat calls failed

* The preloadFileStat() call acts as a good canary for whether all
  affected servers are up. If anything failed in it, then it's not
  worth bothering to send the actual write requests.
* Also made FileBackend::preloadFileStat abstract while at it since
  the two subclasses implemented it and so should any others.
* Fixed a silly comment typo.

Change-Id: I5bd427f654aa4a9d6bfe4ed7566276e8ac520b30

10 years agoAvoid image table updates on file upload failure
Aaron Schulz [Fri, 18 Apr 2014 19:34:52 +0000 (12:34 -0700)]
Avoid image table updates on file upload failure

* If the publish() call did not really do anything, then there is
  no use in saving the page and file DB records. Previously the
  user would get an error but the description page would be made.

bug: 64071
Change-Id: I1959f8c1ef33dbd1b238f6020117d2862d4b0fd3

10 years agoMerge "Don't cache $wgResourceLoaderLESSVars in a static"
jenkins-bot [Fri, 18 Apr 2014 19:31:59 +0000 (19:31 +0000)]
Merge "Don't cache $wgResourceLoaderLESSVars in a static"

10 years agoMerge "WebInstallerOutput: Fix path to jquery.js"
Bartosz Dziewoński [Fri, 18 Apr 2014 19:29:52 +0000 (19:29 +0000)]
Merge "WebInstallerOutput: Fix path to jquery.js"

10 years agovector: Do styles the ResourceLoader way
Bartosz Dziewoński [Fri, 18 Apr 2014 14:15:01 +0000 (16:15 +0200)]
vector: Do styles the ResourceLoader way

It used to be done like this a few releases ago, but went
through some perturbation when the LESS rewrite happened
and afterwards during beta-testing the typography refresh.

The current way causes enough issues that I think the gain
from getting rid of it is worth losing some brevity.

Bug: 56592
Change-Id: Ibeff450fad789fbc67d95a1a9befd315f7405421

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 18 Apr 2014 19:17:26 +0000 (19:17 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I6945aedd9791855d4ed1cc62738d1b206d7b950e

10 years agoDon't cache $wgResourceLoaderLESSVars in a static
Ori Livneh [Fri, 18 Apr 2014 19:11:42 +0000 (12:11 -0700)]
Don't cache $wgResourceLoaderLESSVars in a static

Caching the value of $wgResourceLoaderLESSVars in a static variable that is
enclosed in a closure makes it harder to reset global state for test runs, and
it does so in the name of a performance benefit that is miniscule.

Change-Id: I0958b03818f56ab73c8c9124daa9e54cc59f2428

10 years agoMerge "Make HtmlFormatter return removed elements"
jenkins-bot [Fri, 18 Apr 2014 18:58:54 +0000 (18:58 +0000)]
Merge "Make HtmlFormatter return removed elements"

10 years agoMerge "Made runParallelBatches() fully set the status array on abort"
jenkins-bot [Fri, 18 Apr 2014 18:14:35 +0000 (18:14 +0000)]
Merge "Made runParallelBatches() fully set the status array on abort"

10 years agoMerge "mwjsduck-gen: Don't fail when running from different directory"
jenkins-bot [Fri, 18 Apr 2014 18:08:34 +0000 (18:08 +0000)]
Merge "mwjsduck-gen: Don't fail when running from different directory"

10 years agoMade runParallelBatches() fully set the status array on abort
Aaron Schulz [Fri, 18 Apr 2014 18:02:23 +0000 (11:02 -0700)]
Made runParallelBatches() fully set the status array on abort

Change-Id: Ie35b28b85e734db6910a42ed384374ba3d594a8e

10 years agoRemove # from dataProvider
umherirrender [Fri, 18 Apr 2014 17:10:38 +0000 (19:10 +0200)]
Remove # from dataProvider

Change-Id: Ie5414173b95e846d735827bffa34c73698e48c17

10 years agoRemove superfluous # at end of line from languages.inc
umherirrender [Fri, 18 Apr 2014 17:03:13 +0000 (19:03 +0200)]
Remove superfluous # at end of line from languages.inc

Change-Id: Ia625e8de5e4d04dd35b537fd905af53b66f4026b

10 years agoMerge "Remove 2 unused Special:Search hooks"
jenkins-bot [Fri, 18 Apr 2014 16:23:44 +0000 (16:23 +0000)]
Merge "Remove 2 unused Special:Search hooks"

10 years agoCleanup SpecialAllmessages.php according to conventions
Amir E. Aharoni [Fri, 18 Apr 2014 15:53:44 +0000 (18:53 +0300)]
Cleanup SpecialAllmessages.php according to conventions

Change-Id: I21a6d4359faf9d86ce3b01e423e8c3ab4c02658f

10 years agoWebInstallerOutput: Fix path to jquery.js
Bartosz Dziewoński [Fri, 18 Apr 2014 14:39:37 +0000 (16:39 +0200)]
WebInstallerOutput: Fix path to jquery.js

Follow-up to Id5ead145 and I335e4c08.

Bug: 64091
Change-Id: If40f479df7d68071d6ce5d2f3b8251e6bf3eb80e

10 years agoRemove 2 unused Special:Search hooks
Chad Horohoe [Wed, 16 Apr 2014 19:32:54 +0000 (12:32 -0700)]
Remove 2 unused Special:Search hooks

Nothing is listed on mw.org as using these and nothing in Git uses
them either. Less hooks is a good thing, we've still got 11 here :(

Change-Id: I2dd1dbb269820b192f8d9e9a496a161f4ef851bf

10 years agoMerge "Simplify SpecialVersion:listToText()"
jenkins-bot [Fri, 18 Apr 2014 14:48:09 +0000 (14:48 +0000)]
Merge "Simplify SpecialVersion:listToText()"

10 years agoFixed some @params documentation (includes/api)
umherirrender [Tue, 15 Apr 2014 18:12:09 +0000 (20:12 +0200)]
Fixed some @params documentation (includes/api)

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: I758fa4ad80ac95e2ddd3770bcb9b7d2e57ec34ea

10 years agoMerge "Make API action=rsd work on private wikis"
jenkins-bot [Fri, 18 Apr 2014 13:36:45 +0000 (13:36 +0000)]
Merge "Make API action=rsd work on private wikis"

10 years agoMake API action=rsd work on private wikis
Daniel Friesen [Fri, 18 Apr 2014 07:06:15 +0000 (00:06 -0700)]
Make API action=rsd work on private wikis

Tweak ApiRsd's settings so that it doesn't require read permissions to function.

Bug: 64085
Change-Id: I15288458ec3b0b583eece930d323f80314bb6ee3

10 years agoMake HtmlFormatter return removed elements
Nik Everett [Fri, 18 Apr 2014 13:16:04 +0000 (09:16 -0400)]
Make HtmlFormatter return removed elements

This shouldn't cause much overhead and is useful for getting the text of
the removed tags.

Change-Id: I97cf66014719244b8bb2b0509b419c82202bdb01

10 years agoMerge "Fixed some @params documentation (maintenance)"
jenkins-bot [Fri, 18 Apr 2014 10:40:48 +0000 (10:40 +0000)]
Merge "Fixed some @params documentation (maintenance)"

10 years agoMerge "Update documentation for $wgExtensionMessagesFiles"
jenkins-bot [Fri, 18 Apr 2014 10:02:00 +0000 (10:02 +0000)]
Merge "Update documentation for $wgExtensionMessagesFiles"

10 years agoMerge "Remove #bodyContent { width: 100%; }"
jenkins-bot [Fri, 18 Apr 2014 09:42:22 +0000 (09:42 +0000)]
Merge "Remove #bodyContent { width: 100%; }"

10 years agomwjsduck-gen: Don't fail when running from different directory
Bartosz Dziewoński [Mon, 14 Apr 2014 19:03:46 +0000 (21:03 +0200)]
mwjsduck-gen: Don't fail when running from different directory

* Do not directly use $0 in help output, use basename instead
* Do not use paths relative to the currect directory

(Full disclosure: I can't write bash.)

Change-Id: I4c73155cd691a2ddf134724e9df94e6594b78a02

10 years agomediawiki.Title: Correct documentation structure for Title.exist
James D. Forrester [Mon, 14 Apr 2014 17:52:47 +0000 (10:52 -0700)]
mediawiki.Title: Correct documentation structure for Title.exist

Apparently the way we were using the documentation, with sub-properties
of properties, only worked due to the way that JSDuck v4.x happened to
be implemented, and was unsupported; as of JSDuck v5.x this no longer
works, so instead, change the form used so as to document the property
as a single item, as suggested in response to our complaint:

  https://github.com/senchalabs/jsduck/issues/551

Change-Id: If0c66e6e8a904769ee857c1ee94377dc13000d41

10 years agoApply coding conventions for whitespaces
Fomafix [Sun, 13 Apr 2014 18:03:20 +0000 (18:03 +0000)]
Apply coding conventions for whitespaces

Change-Id: Ibd32177ac1f608fbb480d74a573c20b6487d28c4

10 years agoFixed some @params documentation (maintenance)
umherirrender [Thu, 17 Apr 2014 20:48:32 +0000 (22:48 +0200)]
Fixed some @params documentation (maintenance)

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: I727deec35a712de0f0c676cc87dfa661f1ee965b

10 years agoUpdate documentation for $wgExtensionMessagesFiles
Kevin Israel [Thu, 17 Apr 2014 20:46:56 +0000 (16:46 -0400)]
Update documentation for $wgExtensionMessagesFiles

Follows-up e0043257c02e.

Change-Id: Id8212fca83fde09a89891ead1e0a107ff0d66398

10 years agoMerge "Add 'mw-anonuserlink' class for anonymous users"
jenkins-bot [Thu, 17 Apr 2014 20:21:32 +0000 (20:21 +0000)]
Merge "Add 'mw-anonuserlink' class for anonymous users"

10 years agoMerge "includes/Linker.php: Added hook for "Media:" links"
jenkins-bot [Thu, 17 Apr 2014 19:39:37 +0000 (19:39 +0000)]
Merge "includes/Linker.php: Added hook for "Media:" links"

10 years agoSimplify SpecialVersion:listToText()
Reedy [Thu, 17 Apr 2014 19:00:35 +0000 (20:00 +0100)]
Simplify SpecialVersion:listToText()

Don't special case $list only having one item

Unindent else block

Bug: 64069
Change-Id: I171a64147fe00f00ac0523ccf58fea11e800e2fd

10 years agoMerge "Fixed some @params documentation (tests)"
jenkins-bot [Thu, 17 Apr 2014 18:49:30 +0000 (18:49 +0000)]
Merge "Fixed some @params documentation (tests)"

10 years agoFixed some @params documentation (tests)
umherirrender [Thu, 17 Apr 2014 18:43:42 +0000 (20:43 +0200)]
Fixed some @params documentation (tests)

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: Ic8aaf0a93796b97d0fa4617c1f86ff59f4b36131

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 17 Apr 2014 18:35:24 +0000 (18:35 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: If20be037a2feffec2a926bc51a66b4f11235bd4f

10 years agoSupport tighter rate limiting for "non-standard" thumbnails
Aaron Schulz [Tue, 15 Apr 2014 19:01:11 +0000 (12:01 -0700)]
Support tighter rate limiting for "non-standard" thumbnails

* Also avoid passing some junk params to File::thumbName()

Change-Id: I7e89f72ade47be7fcc7bf33f0afb970183aac936

10 years agoMerge "mediawiki.toc.test: Cleanup"
jenkins-bot [Thu, 17 Apr 2014 17:20:55 +0000 (17:20 +0000)]
Merge "mediawiki.toc.test: Cleanup"

10 years agoMerge "Removed 'Remember my login' preference"
jenkins-bot [Thu, 17 Apr 2014 17:02:43 +0000 (17:02 +0000)]
Merge "Removed 'Remember my login' preference"

10 years agoMerge "Remove deprecated function mw.util.toggleToc"
jenkins-bot [Thu, 17 Apr 2014 15:32:28 +0000 (15:32 +0000)]
Merge "Remove deprecated function mw.util.toggleToc"

10 years agomediawiki.toc.test: Cleanup
Bartosz Dziewoński [Thu, 17 Apr 2014 15:14:46 +0000 (17:14 +0200)]
mediawiki.toc.test: Cleanup

Used consistent wording, fixed some typos ("visible" and "hidden" were
swapped in one place, etc.) and simplified the flow.

Change-Id: I7745aa48484fb1a36f8b2654f2a3df326b43c9c4