lhc/web/wiklou.git
10 years agoMake (Title|User)Array implements Countable
Niklas Laxström [Thu, 12 Dec 2013 09:19:19 +0000 (09:19 +0000)]
Make (Title|User)Array implements Countable

count( $results ) always returned 1, now expected number

Bug: 58377
Change-Id: I7d6b3bc1b09b46fe60cb5a74c25f9b28fffa5b73

10 years agoRelease notes for Iabf4873f
Bartosz Dziewoński [Sun, 8 Dec 2013 16:16:44 +0000 (17:16 +0100)]
Release notes for Iabf4873f

Change-Id: Ia20d0b9eb7e671b9b93bf459ddb42033f8ab9a46

10 years agoBreak long lines and remove some spaces in QueryPage.php
umherirrender [Sun, 8 Dec 2013 09:48:36 +0000 (10:48 +0100)]
Break long lines and remove some spaces in QueryPage.php

Change-Id: Ia4840580ada4b42bb70d38965f7955d175db9247

10 years agofilebackend: exception handling cleanups
Aaron Schulz [Sat, 23 Nov 2013 20:28:34 +0000 (12:28 -0800)]
filebackend: exception handling cleanups

* Split out FileBackendException class and reduced direct use of MWException

Change-Id: I325c1798b6d90972c12a5dccc37989af34d857f3

10 years agoMade redis lock manager get EX/SH locks in one go
Aaron Schulz [Tue, 22 Oct 2013 22:51:25 +0000 (15:51 -0700)]
Made redis lock manager get EX/SH locks in one go

* Also made the TTLs properly per-lock as they should be
* Also properly extract type/session from the keys in LUA

Change-Id: I4608b7d551ac7aa4b3f7e2f5ce92b50662b1d4e4

10 years agoInclude error code in error message when convert fails
Brian Wolff [Sat, 28 Sep 2013 21:35:41 +0000 (18:35 -0300)]
Include error code in error message when convert fails

This info is logged, but it makes it much easier to debug
things if the info is right there.

Change-Id: I3a331a19a13a932c6b7aefdd9885ad351f3f48e3

10 years agoRelease notes for I0ef9674e
Bartosz Dziewoński [Sun, 8 Dec 2013 02:17:34 +0000 (03:17 +0100)]
Release notes for I0ef9674e

Change-Id: Id25fe69c8b48c9a681d165699876736be2e319c3

10 years agoMerge "Remove unused message 'confirmemail_error'"
jenkins-bot [Sat, 7 Dec 2013 23:28:49 +0000 (23:28 +0000)]
Merge "Remove unused message 'confirmemail_error'"

10 years agoSet 'watchcreations' and 'watchdefault' options to true
Bartosz Dziewoński [Sun, 13 Oct 2013 20:51:55 +0000 (22:51 +0200)]
Set 'watchcreations' and 'watchdefault' options to true

Also modify unit tests to be more resilient to various
other tests automatically having their pages being
watched.

Co-authored-by: Bartosz Dziewoński <matma.rex@gmail.com>
Co-authored-by: Brian Wolff <bawolff+wn@gmail.com>
Bug: 45020
Change-Id: I458783f02813ff023b2d142b57b44e5ec3ba30b9

10 years agoMerge "Add PLURAL support to youhavenewmessages*"
jenkins-bot [Sat, 7 Dec 2013 22:59:01 +0000 (22:59 +0000)]
Merge "Add PLURAL support to youhavenewmessages*"

10 years agoRemove unused message 'confirmemail_error'
Kevin Israel [Sat, 7 Dec 2013 07:51:28 +0000 (02:51 -0500)]
Remove unused message 'confirmemail_error'

Follows-up r33333 (41d48826812b).

Change-Id: I1bbb828202ea26d0a031270ba78608d4fb238ae0

10 years agoMerge "Remove $dbw->close() call from convertLinks.php"
jenkins-bot [Sat, 7 Dec 2013 21:22:43 +0000 (21:22 +0000)]
Merge "Remove $dbw->close() call from convertLinks.php"

10 years agoMerge "Remove 5 unused block messages"
jenkins-bot [Sat, 7 Dec 2013 21:20:54 +0000 (21:20 +0000)]
Merge "Remove 5 unused block messages"

10 years agoMerge "Set up local date formats for Sorani Kurdish (ckb)"
jenkins-bot [Sat, 7 Dec 2013 21:12:48 +0000 (21:12 +0000)]
Merge "Set up local date formats for Sorani Kurdish (ckb)"

10 years agoMerge "Break long lines and remove some spaces in Revision.php"
jenkins-bot [Sat, 7 Dec 2013 21:07:42 +0000 (21:07 +0000)]
Merge "Break long lines and remove some spaces in Revision.php"

10 years agoBreak long lines and remove some spaces in Revision.php
umherirrender [Sat, 7 Dec 2013 20:58:53 +0000 (21:58 +0100)]
Break long lines and remove some spaces in Revision.php

Change-Id: If62a01096319dddaa898daaabdd6e881316a0ad7

10 years agoBreak long lines and remove some spaces in Defines.php
umherirrender [Sat, 7 Dec 2013 20:48:46 +0000 (21:48 +0100)]
Break long lines and remove some spaces in Defines.php

Change-Id: I3963cb55b8bac6abe02ef5ebc8327fe1c1793d0d

10 years agoRemove $dbw->close() call from convertLinks.php
Kevin Israel [Sat, 7 Dec 2013 20:23:10 +0000 (15:23 -0500)]
Remove $dbw->close() call from convertLinks.php

This confuses LoadBalancer; after this script is run from the
updater, the closed DB connection is (unsuccessfully) reused.

Change-Id: Ie9b25b73873fcddb062037e34877afeb75c5d081

10 years agoSet up local date formats for Sorani Kurdish (ckb)
This, that and the other [Thu, 19 Sep 2013 10:53:19 +0000 (20:53 +1000)]
Set up local date formats for Sorani Kurdish (ckb)

Including Iranian (Persian) and Islamic (Hijri) calendars.

Please note that the inclusion of the anglophone "dmy" and "ymd"
formats was by specific request of a Sorani Kurdish speaker. ckb
is allied to fa, which is one of many other languages to include
the anglophone formats alongside native ones. Please read the
discussions at the bug for more information.

Bug: 52009
Change-Id: Ib20e9185842a15fab6bbebd6e6e881654f276a0a

10 years agoMerge "Remove unused message 'rcnote'"
jenkins-bot [Sat, 7 Dec 2013 11:16:52 +0000 (11:16 +0000)]
Merge "Remove unused message 'rcnote'"

10 years agoMerge "Remove unused message 'limitall'"
jenkins-bot [Sat, 7 Dec 2013 11:14:01 +0000 (11:14 +0000)]
Merge "Remove unused message 'limitall'"

10 years agoMerge "Remove unused message 'undeletereset'"
jenkins-bot [Sat, 7 Dec 2013 11:12:35 +0000 (11:12 +0000)]
Merge "Remove unused message 'undeletereset'"

10 years agoMerge "Remove unused message 'compare-selector'"
jenkins-bot [Sat, 7 Dec 2013 11:10:55 +0000 (11:10 +0000)]
Merge "Remove unused message 'compare-selector'"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 7 Dec 2013 10:46:45 +0000 (10:46 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Id32d5c87533081016e6a00312703f450782a1d6d

10 years agoRemove unused message 'undeletereset'
Kevin Israel [Sat, 7 Dec 2013 06:36:58 +0000 (01:36 -0500)]
Remove unused message 'undeletereset'

Follows-up r88885 (36b95353bba3).

Change-Id: Ie5f8c6710b93309c54b34cf573d3f802b551ff07

10 years agoRemove unused message 'limitall'
Kevin Israel [Sat, 7 Dec 2013 06:50:54 +0000 (01:50 -0500)]
Remove unused message 'limitall'

Follows-up r64181 (744342366b19).

Change-Id: I6411585f270bb1de8d3bd1a2e71bc01f8bc25695

10 years agoRemove unused message 'compare-selector'
Kevin Israel [Sat, 7 Dec 2013 07:31:34 +0000 (02:31 -0500)]
Remove unused message 'compare-selector'

Follows-up r79752 (128f33aa5edc), which moved the text boxes
(from inside the fieldset to which this label applied) into two
separate fieldsets.

Change-Id: I6bad9167fe39cec28d14795ef0b87713e7ac2346

10 years agoRemove unused message 'rcnote'
Kevin Israel [Sat, 7 Dec 2013 08:42:47 +0000 (03:42 -0500)]
Remove unused message 'rcnote'

Follows-up r102284 (703dd35a7b2f).

Change-Id: If5795652e4276112dee7167add433deb30d31da0

10 years agoRemove 5 unused block messages
Kevin Israel [Sat, 7 Dec 2013 10:11:51 +0000 (05:11 -0500)]
Remove 5 unused block messages

Follows-up r83786 (78059976086f):
* blockip-title
* ipbreasonotherlist
* ipbotheroption
* ipbotherreason
* cant-block-while-blocked

Change-Id: Ic2bb1261dbc9a1fa46ed551159e8ce8ceff774bf

10 years agoMerge "mediawiki.page.ready: Fix whitespace in IIFE"
Bartosz Dziewoński [Sat, 7 Dec 2013 01:23:06 +0000 (01:23 +0000)]
Merge "mediawiki.page.ready: Fix whitespace in IIFE"

10 years agoMerge "Normalize newlines in DjVu text-layer metadata."
jenkins-bot [Sat, 7 Dec 2013 00:20:43 +0000 (00:20 +0000)]
Merge "Normalize newlines in DjVu text-layer metadata."

10 years agoMerge "Make a single colon an invalid title in php and js"
jenkins-bot [Fri, 6 Dec 2013 23:47:40 +0000 (23:47 +0000)]
Merge "Make a single colon an invalid title in php and js"

10 years agoMerge "Add UI to discover translated SVG files."
jenkins-bot [Fri, 6 Dec 2013 23:34:48 +0000 (23:34 +0000)]
Merge "Add UI to discover translated SVG files."

10 years agoAdd UI to discover translated SVG files.
Brian Wolff [Sat, 16 Nov 2013 01:47:51 +0000 (21:47 -0400)]
Add UI to discover translated SVG files.

Currently we support rendering SVGs in multiple languages,
but there is no mechanism for users to discover what languages
a file is available in. Show this information on the image page.

At the moment, if unspecified we always default the language to
english (I believe to avoid mass cache splitting, especially
if most languages wouldn't have a translation of the file in
their language). This code was written in such a way so that
this assumption should be changable in the future if we so
desire.

Long term, Jarry has a super cool svg translation extension
which would take over some of this. However I still believe
we should have an interface for this in core, since we do
support the different language renderings in core.

Change-Id: I84506436514e09d71200aa2db3932aa001b55c71

10 years agoExtract list of languages svg is translated into.
Brian Wolff [Thu, 24 Oct 2013 22:11:59 +0000 (19:11 -0300)]
Extract list of languages svg is translated into.

SVG files support having different renderings based on language.
We support changing the rendering language, but we offer no
discoverability of what languages are available.

Long term Jarry's TranslateSVG will hopefully be used and have
all the associated awesomeness. In the mean time, we should
probably have some indication on the image page what languages
are available for the SVG. This is step 1 (extract the language).
I expect to follow this up with a commit adding some sort of
simple selector on the image page.

As an aside, it should be noted, this only detects languages
if its in the first $wgSVGMetadataCutoff (256 kb). This is a
compromise to avoid OOM on huge SVG files.

Change-Id: I2a462270fe63eb3e3023419eddc8b06f5a617ab5

10 years agoMerge "Restore Signupstart and Signupend messages for account creation"
jenkins-bot [Fri, 6 Dec 2013 22:57:08 +0000 (22:57 +0000)]
Merge "Restore Signupstart and Signupend messages for account creation"

10 years agoMerge "Fix SvgHandler::getScriptParams to not give warnings."
jenkins-bot [Fri, 6 Dec 2013 22:53:29 +0000 (22:53 +0000)]
Merge "Fix SvgHandler::getScriptParams to not give warnings."

10 years agoFix SvgHandler::getScriptParams to not give warnings.
Brian Wolff [Fri, 6 Dec 2013 23:45:15 +0000 (19:45 -0400)]
Fix SvgHandler::getScriptParams to not give warnings.

Change-Id: I664e4667bdcff89c1c5ee01a11b723a36212a57f

10 years agoNormalize newlines in DjVu text-layer metadata.
Brian Wolff [Fri, 6 Dec 2013 20:29:30 +0000 (16:29 -0400)]
Normalize newlines in DjVu text-layer metadata.

Currently, newlines in DjVu text layer are stored as the literal
string '\n'. Its up to the consumer to unescape that into
a real newline. Other formats like pdfs return newlines
as an actual \n character when getPageText() is called.
I think getPageText() should not require callers to do this.

Change-Id: Ie1a438bbce5444c53ff6b7b3aaf2b5267ba3c8b4

10 years agoUpdate documentation for media related classes
Siebrand Mazeland [Thu, 5 Dec 2013 19:27:27 +0000 (20:27 +0100)]
Update documentation for media related classes

Change-Id: I7a9c8d59f88c68dc3835cb8a18f22a77cd7890fc

10 years agoMerge "Declare visibility on class properties of Exif"
jenkins-bot [Fri, 6 Dec 2013 21:58:49 +0000 (21:58 +0000)]
Merge "Declare visibility on class properties of Exif"

10 years agoMerge "Add no-dimensions option to MediaTransformOutput::toHtml"
jenkins-bot [Fri, 6 Dec 2013 21:44:45 +0000 (21:44 +0000)]
Merge "Add no-dimensions option to MediaTransformOutput::toHtml"

10 years agoAdd no-dimensions option to MediaTransformOutput::toHtml
Juliusz Gonera [Sat, 19 Oct 2013 00:24:59 +0000 (17:24 -0700)]
Add no-dimensions option to MediaTransformOutput::toHtml

Skips width and height attributes (useful if set in CSS).

Change-Id: Ib52182f1a56b71e381b1faa767ebad19ba92889c

10 years agoMerge "Unblacklist group-specific JS/CSS for the user group"
jenkins-bot [Fri, 6 Dec 2013 20:45:27 +0000 (20:45 +0000)]
Merge "Unblacklist group-specific JS/CSS for the user group"

10 years agoi18n: Remove ckb from link underline removal
Ebrahim Byagowi [Fri, 6 Dec 2013 18:57:11 +0000 (18:57 +0000)]
i18n: Remove ckb from link underline removal

Just like I8168baff Central Kurdish Wikipedia
do not like removal of underline from links.

Change-Id: If55b6ea75fd2bd9e5c080d0b595a407e58d388de

10 years agoMerge "Fix text extraction on DjVu so that it works beyond first call."
jenkins-bot [Fri, 6 Dec 2013 19:54:08 +0000 (19:54 +0000)]
Merge "Fix text extraction on DjVu so that it works beyond first call."

10 years agoFix text extraction on DjVu so that it works beyond first call.
Brian Wolff [Fri, 6 Dec 2013 19:39:01 +0000 (15:39 -0400)]
Fix text extraction on DjVu so that it works beyond first call.

This was caching the metadata tree in-process, but it was
returning this cache even for calls for things other then this
item.

As a result, if you did $file->getHandler()->getPageText( $file, 2 )
twice in a single request, the second time it would return false.

Change-Id: I6ee4dce3177c0898e98210d7471cfadc1108ca52

10 years agomediawiki.page.ready: Fix whitespace in IIFE
Bartosz Dziewoński [Fri, 6 Dec 2013 19:38:15 +0000 (20:38 +0100)]
mediawiki.page.ready: Fix whitespace in IIFE

Change-Id: I4ad0bc4250452f029255da83f63bcde2dd6c819a

10 years agoMake a single colon an invalid title in php and js
umherirrender [Fri, 6 Dec 2013 17:12:24 +0000 (18:12 +0100)]
Make a single colon an invalid title in php and js

When secureAndSplit gets a single colon as input, the leading colon
is stripped and produces a title with a empty string. This change makes
that impossible by moving the empty string check to after the substring
removal of the colon.

Bug: 54044
Change-Id: I574168c9ed281c535901c36dea7c179a4e794d20

10 years agomedia: limit size of stderr being logged
Antoine Musso [Wed, 4 Dec 2013 17:00:21 +0000 (18:00 +0100)]
media: limit size of stderr being logged

Whenever a rendering commands emit a ton of errors (spotted a case
generating 125MB), the call to trim() makes PHP copy the stderr which
might exhaust the remaining available memory.

The new constant MediaHandler::MAX_ERR_LOG_SIZE = 65535 is used to
substr() the error log before it get trimmed and logged.

bug: 57985
Change-Id: Ibd4cf0331529d323a68273163ac230b07a6c6108

10 years agogeneralize BitmapHandler::logErrorForExternalProcess
Antoine Musso [Wed, 4 Dec 2013 16:28:12 +0000 (17:28 +0100)]
generalize BitmapHandler::logErrorForExternalProcess

BitmapHandler::logErrorForExternalProcess is a wrapper around
wfDebugLog( 'thumbnail' ). It got copy pasted from some other class at
one point.

This patch move the method up to general class MediaHandler and makes
other child class uses it.  The method will thus be available to
extensions such as TimedMediaHandler.

The reason I am doing that is that trim($err) generates a copy of $err
which causes a memory allocation fatal error whenever $err is larger
than the remaining memory allocatable.  The patch will let us fix the
bug by only altering one part of the code.

bug: 57985
Change-Id: I5657f07d6e2cca05d53f2a5c30ec23622c171343

10 years agoMove init of $noFollow outside of if
tisane [Fri, 6 Dec 2013 14:51:01 +0000 (09:51 -0500)]
Move init of $noFollow outside of if

Bug: 58044
Change-Id: I5655a0dc64055f3ec5d0a287aa8e0c85c11d3a1f

10 years agoMerge "Remove mergeExpected and assertResultRecursive"
jenkins-bot [Fri, 6 Dec 2013 14:36:59 +0000 (14:36 +0000)]
Merge "Remove mergeExpected and assertResultRecursive"

10 years agoMerge "Remove 3 unused movepage messages"
jenkins-bot [Fri, 6 Dec 2013 12:25:43 +0000 (12:25 +0000)]
Merge "Remove 3 unused movepage messages"

10 years agoMerge "Remove unused message 'resetpass'"
jenkins-bot [Fri, 6 Dec 2013 12:21:43 +0000 (12:21 +0000)]
Merge "Remove unused message 'resetpass'"

10 years agoUnblacklist group-specific JS/CSS for the user group
Scimonster [Thu, 5 Dec 2013 19:49:56 +0000 (21:49 +0200)]
Unblacklist group-specific JS/CSS for the user group

Changes ResourceLoaderUserGroupsModule so that if the
user is in the 'user' group, i.e., the user is not
anonymous, then custom JS or CSS can be inserted using
system messages in the same way as is allowed for other
user groups.

Bug: 47812
Change-Id: I0ef9674e1a9e1e5db9537ba7b9578d2b7b14fd8e

10 years agoRemove 3 unused allpages messages
Kevin Israel [Fri, 6 Dec 2013 07:39:32 +0000 (02:39 -0500)]
Remove 3 unused allpages messages

Follows-up r10199 (1a9a48502fff):
* allnotinnamespace
* allpagesprev
* allpagesnext

Change-Id: I1f2d0d2e7fe0719b9c6e092eae0b49d1afc4fe4f

10 years agoRemove unused message 'resetpass'
Kevin Israel [Fri, 6 Dec 2013 05:56:20 +0000 (00:56 -0500)]
Remove unused message 'resetpass'

This was (unintentionally?) replaced by 'changepassword' in r86280
(1a80d4637002), which renamed the special page from Special:ResetPass
to Special:ChangePassword.

'changepassword' was previously used in Special:Preferences until
r49790 (155ddf6de4a2) for a heading directly above the link to
Special:ResetPass.

I moved messages 'changepassword' and 'changepassword-summary' to
the correct blocks in MessagesEn.php and messages.inc and also
updated message documentation that referred to Special:ResetPass.

Change-Id: Ie5cbda5538f53c8e8d84c5e9d4d818fd745ff46c

10 years agoRemove 3 unused movepage messages
Kevin Israel [Fri, 6 Dec 2013 04:58:26 +0000 (23:58 -0500)]
Remove 3 unused movepage messages

Follows-up r4134 (751a0a35f26b):
* movedto

Follows-up r24618 (877d2bac2f0b):
* movenologin

Follows-up r35213 (c75649cf5a10):
* talkexists

Change-Id: I1db90a202f3cb0d93cecd10f6e60874d5478e50a

10 years agoMerge "Simplify ternary construction"
jenkins-bot [Fri, 6 Dec 2013 07:42:48 +0000 (07:42 +0000)]
Merge "Simplify ternary construction"

10 years agoSimplify ternary construction
Siebrand Mazeland [Thu, 5 Dec 2013 19:34:41 +0000 (20:34 +0100)]
Simplify ternary construction

Change-Id: I17872a978a5a788f10811153ea2ac9a4ef0f1f6d

10 years agoRemove function call from for loop test part in GIFMetadataExtractor::readGCT()
Siebrand Mazeland [Thu, 5 Dec 2013 19:36:51 +0000 (20:36 +0100)]
Remove function call from for loop test part in GIFMetadataExtractor::readGCT()

Change-Id: Ia19ddc32212786d7050287c6e07748ea2213ed40

10 years agoSmall doc comment fix
Aaron Schulz [Fri, 6 Dec 2013 05:35:56 +0000 (21:35 -0800)]
Small doc comment fix

Change-Id: I236379f9bcd3821df15f25df849b3eabca013c4d

10 years agoMerge "Converted html cache updates to use BacklinkJobUtils"
jenkins-bot [Fri, 6 Dec 2013 02:48:25 +0000 (02:48 +0000)]
Merge "Converted html cache updates to use BacklinkJobUtils"

10 years agoConverted html cache updates to use BacklinkJobUtils
Aaron Schulz [Thu, 28 Nov 2013 00:29:36 +0000 (16:29 -0800)]
Converted html cache updates to use BacklinkJobUtils

* De-duplicate squid purges using page_touched
* Removed excess title validity check
* Also removed broken versioning in refreshLinks jobs
* Added TODO comment about $wgMaxBacklinksInvalidate
* Other documentation tweaks

Change-Id: If91e06549e5afa2d4e27595d0e131b4d78412ad2

10 years agoMerge "Update documentation for log related classes"
jenkins-bot [Fri, 6 Dec 2013 00:28:29 +0000 (00:28 +0000)]
Merge "Update documentation for log related classes"

10 years agoMerge "Change line breaks in LocalFile::recordUpload2()"
jenkins-bot [Fri, 6 Dec 2013 00:26:34 +0000 (00:26 +0000)]
Merge "Change line breaks in LocalFile::recordUpload2()"

10 years agoMerge "Add more type hints in comments for static code analysis"
jenkins-bot [Thu, 5 Dec 2013 23:49:13 +0000 (23:49 +0000)]
Merge "Add more type hints in comments for static code analysis"

10 years agoMerge changes Id5e7b3d2,I4338caad,I95785992
jenkins-bot [Thu, 5 Dec 2013 23:34:08 +0000 (23:34 +0000)]
Merge changes Id5e7b3d2,I4338caad,I95785992

* changes:
  Declare visibility on class property of FormatExif
  Declare visibility on class properties of GIFMetadataExtractor
  Declare visibility on class property of MediaHandler

10 years agoMerge "Declare visibility on class props of MediaTransformOutput and MediaTransformError"
jenkins-bot [Thu, 5 Dec 2013 23:32:18 +0000 (23:32 +0000)]
Merge "Declare visibility on class props of MediaTransformOutput and MediaTransformError"

10 years agoMerge "Set saner default for parameters of LogEventsList::showOptions()"
jenkins-bot [Thu, 5 Dec 2013 23:29:25 +0000 (23:29 +0000)]
Merge "Set saner default for parameters of LogEventsList::showOptions()"

10 years agoAdd more type hints in comments for static code analysis
Siebrand Mazeland [Thu, 5 Dec 2013 09:13:28 +0000 (10:13 +0100)]
Add more type hints in comments for static code analysis

This resolves a little over 100 "undefined method" warnings on
includes/filerepo/.

Change-Id: I87b6d875a4304d7beadfbc26a66e9a3f358707e6

10 years agoRemove mergeExpected and assertResultRecursive
saper [Thu, 5 Dec 2013 09:46:18 +0000 (10:46 +0100)]
Remove mergeExpected and assertResultRecursive

These ApiQueryBasicTest methods are no longer used
and we have a better alternatives in the parent ApiQueryTestBase.

Change-Id: I7a81ad3dd6e880be151c1901037bab4018493bcf

10 years agoUpdate documentation for log related classes
Siebrand Mazeland [Tue, 3 Dec 2013 18:26:59 +0000 (19:26 +0100)]
Update documentation for log related classes

Change-Id: I4e00cda46cc7bbcbd17ac2d3d025a76281ee84b6

10 years agoMerge "Updates for Interwiki.php"
jenkins-bot [Thu, 5 Dec 2013 22:57:56 +0000 (22:57 +0000)]
Merge "Updates for Interwiki.php"

10 years agoMerge "Update documentation for File::getMetadata()"
jenkins-bot [Thu, 5 Dec 2013 22:34:32 +0000 (22:34 +0000)]
Merge "Update documentation for File::getMetadata()"

10 years agoChange line breaks in LocalFile::recordUpload2()
Siebrand Mazeland [Wed, 4 Dec 2013 16:43:20 +0000 (17:43 +0100)]
Change line breaks in LocalFile::recordUpload2()

Change-Id: Ib27e381106d048bb0a24286a877c85f0e62408cf

10 years agoMerge "Remove 6 unused revdelete messages"
jenkins-bot [Thu, 5 Dec 2013 22:30:32 +0000 (22:30 +0000)]
Merge "Remove 6 unused revdelete messages"

10 years agoMerge "Do not access MediaTransformOutput->url directly in Linker"
jenkins-bot [Thu, 5 Dec 2013 22:16:13 +0000 (22:16 +0000)]
Merge "Do not access MediaTransformOutput->url directly in Linker"

10 years agoUpdate documentation for File::getMetadata()
Siebrand Mazeland [Thu, 5 Dec 2013 19:09:38 +0000 (20:09 +0100)]
Update documentation for File::getMetadata()

Change-Id: I24711e009f42303774b3c79ad65c38081c7c0982

10 years agoMerge "Declare visibility for class properties of PNGMetadataExtractor"
jenkins-bot [Thu, 5 Dec 2013 22:12:37 +0000 (22:12 +0000)]
Merge "Declare visibility for class properties of PNGMetadataExtractor"

10 years agoMerge "Ignore CodeSniffer warning where unavoidable in media classes"
jenkins-bot [Thu, 5 Dec 2013 22:08:11 +0000 (22:08 +0000)]
Merge "Ignore CodeSniffer warning where unavoidable in media classes"

10 years agoMerge "Remove function calls from for loop test part in media classes"
jenkins-bot [Thu, 5 Dec 2013 22:06:35 +0000 (22:06 +0000)]
Merge "Remove function calls from for loop test part in media classes"

10 years agoMerge "Break long lines in media related classes"
jenkins-bot [Thu, 5 Dec 2013 22:05:05 +0000 (22:05 +0000)]
Merge "Break long lines in media related classes"

10 years agoMerge "Define 'MW_UPDATER' when running update.php"
jenkins-bot [Thu, 5 Dec 2013 21:59:32 +0000 (21:59 +0000)]
Merge "Define 'MW_UPDATER' when running update.php"

10 years agoMerge "Removed "Disable search suggestions" from Mediawiki Preference"
jenkins-bot [Thu, 5 Dec 2013 21:55:22 +0000 (21:55 +0000)]
Merge "Removed "Disable search suggestions" from Mediawiki Preference"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 5 Dec 2013 21:22:40 +0000 (21:22 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I91af046a42d410457d6ccb6ce44657a29d184434

10 years agoMerge changes Ic0eaac33,Iaa81af5b
Brian Wolff [Thu, 5 Dec 2013 20:54:06 +0000 (20:54 +0000)]
Merge changes Ic0eaac33,Iaa81af5b

* changes:
  Remove PHP4 style constructor
  Update formatting for media related classes

10 years agoMerge "Remove unused messages 'resetprefs' and 'timezoneoffset'"
jenkins-bot [Thu, 5 Dec 2013 19:19:07 +0000 (19:19 +0000)]
Merge "Remove unused messages 'resetprefs' and 'timezoneoffset'"

10 years agoMerge "Remove unused messages 'protectedpagestext' and 'protectedtitlestext'"
jenkins-bot [Thu, 5 Dec 2013 19:16:55 +0000 (19:16 +0000)]
Merge "Remove unused messages 'protectedpagestext' and 'protectedtitlestext'"

10 years agoMerge "Remove 9 unused search messages"
jenkins-bot [Thu, 5 Dec 2013 18:57:26 +0000 (18:57 +0000)]
Merge "Remove 9 unused search messages"

10 years agoAdd PLURAL support to youhavenewmessages*
Alex Ivanov [Tue, 3 Dec 2013 23:47:54 +0000 (01:47 +0200)]
Add PLURAL support to youhavenewmessages*

Add PLURAL support on the number of talkpage messages received in
system messages youhavenewmessagesfromusers and youhavenewmessages.

Bug: 53897
Change-Id: Ic08c51f651fe4101ed0b6fcdaea4b4ae74331f70

10 years agoRemove unused messages 'protectedpagestext' and 'protectedtitlestext'
Kevin Israel [Thu, 5 Dec 2013 18:09:03 +0000 (13:09 -0500)]
Remove unused messages 'protectedpagestext' and 'protectedtitlestext'

Change-Id: Ia9c4d3b75f52b990af965d5b16a0b834e257a4f4

10 years agoRemove unused messages 'resetprefs' and 'timezoneoffset'
Kevin Israel [Thu, 5 Dec 2013 08:25:53 +0000 (03:25 -0500)]
Remove unused messages 'resetprefs' and 'timezoneoffset'

Follows-up r49790 (155ddf6de4a2).

I would have also deleted 'searchresultshead' had it not been for the fact
that the SemanticDrilldown extension still uses it (albeit incorrectly).
So for now, I am leaving that message in, adding a note that the message
is deprecated.

Change-Id: I4485c6fbe4fc7640c9cb2d765738fbec6bee26ab

10 years agoRemove 9 unused search messages
Kevin Israel [Thu, 5 Dec 2013 06:51:39 +0000 (01:51 -0500)]
Remove 9 unused search messages

Follows-up r44773 (c4c7d7444948) and r51251 (bbc07fe77605):
* searchmenu-prefix

Follows-up r50207 (abd70a35546b):
* searchmenu-legend

Follows-up r54030 (bde3b1f926a8):
* searchresulttext
* searchsubtitle
* searchsubtitleinvalid
* notitlematches
* nonefound
* powersearch
* powersearch-field

Change-Id: Id5accd7bb66684c9fa3dacb280f7ce9b2920762e

10 years agoMerge "Optimized LocalRepo::findFiles()"
jenkins-bot [Thu, 5 Dec 2013 18:34:59 +0000 (18:34 +0000)]
Merge "Optimized LocalRepo::findFiles()"

10 years agoRemove 6 unused revdelete messages
Kevin Israel [Thu, 5 Dec 2013 03:11:10 +0000 (22:11 -0500)]
Remove 6 unused revdelete messages

Follows-up r51279 (bc35951c93df):
* revdelete-nologtype-title
* revdelete-nologtype-text
* revdelete-nologid-title
* revdelete-nologid-text

Follows-up r91346 (1c71a6f02aec) and e93fa029e2d6:
* revdel-restore-deleted
* revdel-restore-visible

Change-Id: I4276c0244076e49a62e7542eef8c662fba01d439

10 years agoMerge "Capitalization: 'jQuery', not 'jquery', and 'MediaWiki', not 'mediawiki'"
jenkins-bot [Thu, 5 Dec 2013 18:31:20 +0000 (18:31 +0000)]
Merge "Capitalization: 'jQuery', not 'jquery', and 'MediaWiki', not 'mediawiki'"

10 years agoCapitalization: 'jQuery', not 'jquery', and 'MediaWiki', not 'mediawiki'
Ori Livneh [Wed, 4 Dec 2013 23:42:09 +0000 (15:42 -0800)]
Capitalization: 'jQuery', not 'jquery', and 'MediaWiki', not 'mediawiki'

Change-Id: I7b53ac1340ef5fbc36d2ba8b6b2e68328597eaee

10 years agoMerge "Remove unused local variable"
jenkins-bot [Thu, 5 Dec 2013 17:36:58 +0000 (17:36 +0000)]
Merge "Remove unused local variable"