jenkins-bot [Thu, 25 Apr 2013 20:58:41 +0000 (20:58 +0000)]
Merge "Updated onTransactionIdle() docs a bit."
freakolowsky [Wed, 17 Apr 2013 08:30:58 +0000 (10:30 +0200)]
Fixed maintenance/tables.sql (typo i guess)
Change-Id: Ib1e90f9bf1bd728d1a263d65f2f869abf2f6c294
Aaron Schulz [Thu, 25 Apr 2013 20:32:55 +0000 (13:32 -0700)]
Updated onTransactionIdle() docs a bit.
Change-Id: I12063991393a0db064488a72cfda70911fec3755
jenkins-bot [Thu, 25 Apr 2013 20:20:29 +0000 (20:20 +0000)]
Merge "test: describe the parser tests recorder"
jenkins-bot [Thu, 25 Apr 2013 20:08:34 +0000 (20:08 +0000)]
Merge "Add linkprefix test to parserTests.txt."
Antoine Musso [Tue, 19 Mar 2013 14:09:04 +0000 (15:09 +0100)]
test: describe the parser tests recorder
How to best describe the myriad of parser tests recorder we have? PHP
come with interfaces which let us express what a developer should expect
from all those common classes.
The ITestRecorder interface represent our parser test recorders.
Change-Id: I58e10e7ebcb7ae1c4598a4f7e3bd4f11a7f713c4
umherirrender [Sun, 21 Apr 2013 14:59:18 +0000 (16:59 +0200)]
Use wfShellExec in MimeMagic
This avoids shell execution with backticks
Change-Id: I37ca19f4b19a3a7f2834a234051e4044653fcfb1
C. Scott Ananian [Thu, 25 Apr 2013 18:35:47 +0000 (14:35 -0400)]
Add linkprefix test to parserTests.txt.
This example is taken from is:Finnland.
Change-Id: I730e0a1e16d0f1283db3da90d3ab9c039355eb3f
freakolowsky [Wed, 17 Apr 2013 12:18:17 +0000 (14:18 +0200)]
Fixed dumpBlocks fcn
Change-Id: I5db9105a38ffd968cf6a6bac0d723db40ec1f518
C. Scott Ananian [Thu, 25 Apr 2013 15:55:59 +0000 (11:55 -0400)]
Add parserTests for tilde and equals signs in links.
The Parsoid team stumbled over bugs here; adding to parserTests to prevent
future regressions.
Change-Id: Iad599aef9e3a6e62bb8a447bf955eb98230e81cf
Platonides [Sat, 26 Jan 2013 14:36:54 +0000 (15:36 +0100)]
(Bug 44357) Update checkStorage.php to not use deprecated Revision::getText()
Change-Id: Id632867207960ba5c25d2b6eaba06f051fb1e681
jenkins-bot [Thu, 25 Apr 2013 14:47:37 +0000 (14:47 +0000)]
Merge "Remove globals unneeded after
47d1060"
Platonides [Thu, 25 Apr 2013 14:31:01 +0000 (16:31 +0200)]
Remove globals unneeded after
47d1060
Change-Id: I39b6fa829e0d6ea7861b06edd8f5c599edcf4b76
Siebrand Mazeland [Thu, 25 Apr 2013 09:37:51 +0000 (11:37 +0200)]
Add some recently added messages as ignored
CSS styles and magic words should not be translated.
Change-Id: Ieed5df74fabe697762bd390b18f01c28c11637a9
Aaron Schulz [Wed, 24 Apr 2013 21:19:23 +0000 (14:19 -0700)]
Clarified PoolCounter::execute() docs a bit.
Change-Id: Id37e11e9520381cccf917d71ea269c8a85334c58
Translation updater bot [Wed, 24 Apr 2013 20:11:33 +0000 (20:11 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Wed, 24 Apr 2013 19:41:59 +0000 (19:41 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Iffd4eb0c9cc97a21514af551bf6d5c42f3626507
jenkins-bot [Wed, 24 Apr 2013 19:37:49 +0000 (19:37 +0000)]
Merge "Fix bug in OOM avoidance for RepoGroup cache."
jenkins-bot [Wed, 24 Apr 2013 19:29:04 +0000 (19:29 +0000)]
Merge "Some more editor files to ignore."
jenkins-bot [Wed, 24 Apr 2013 18:46:57 +0000 (18:46 +0000)]
Merge "[JobQueue] Use regular wfDebug() in some places."
Brian Wolff [Tue, 23 Apr 2013 21:01:32 +0000 (18:01 -0300)]
Add parentid to output of list=usercontribs
This makes it consistent with prop=revisions. Was requested on
irc by Betacommand.
Change-Id: Idfbee9b4f089738ab70825c11945faf8dd3da66d
Matthias Mullie [Wed, 24 Apr 2013 07:54:53 +0000 (09:54 +0200)]
Docs for Redis' ->exec() return value
I had to look up exactly why it'd return an array, figured someone else some day
might too
Change-Id: Iefb3a0f8292baf8846ed6a1b852432eb9daa92c2
jenkins-bot [Wed, 24 Apr 2013 07:58:45 +0000 (07:58 +0000)]
Merge "Fixed return value for RedisBagOStuff::cas()."
jenkins-bot [Wed, 24 Apr 2013 07:31:28 +0000 (07:31 +0000)]
Merge "Create account form with vertical form appearance"
Kevin Israel [Wed, 3 Apr 2013 21:44:00 +0000 (17:44 -0400)]
Remove is_numeric check from Title::checkUserBlock
This should allow the usernames of administrators such as "7"
to show correctly on permissions error pages.
I extracted the working code from UserBlockedError::__construct
into a separate method Block::getPermissionsError, called from
both places with context provided as an argument.
Additional changes to get the test suite to pass are included.
Bug: 46768
Change-Id: I49d973992a99e03b4e8de112b47b737037a85338
Aaron Schulz [Wed, 24 Apr 2013 00:17:50 +0000 (17:17 -0700)]
Fix bug in OOM avoidance for RepoGroup cache.
Change-Id: Ic2e7fb6a9a7207315fd65454d883b84278efafc0
Matthew Flaschen [Sat, 6 Apr 2013 01:57:03 +0000 (21:57 -0400)]
Create account form with vertical form appearance
Similar to the login form (change 55847), this presents a compact
vertically-stacked form, if a global variable is set or if you add
?useNew=1 to the query string.
The redesigned create account form also:
* Removes the remember me checkbox (see bugzilla 47267)
* Displays some wiki statistics in a benefits column.
* Repositions the FancyCaptcha image if present using JavaScript (see
bugzilla 47372).
* Sets the template skin as in change 59577.
Bug: 44628
Bug: 47267
Change-Id: I9b03d519af43de147bff0ac509a1154f67cd3a0a
jenkins-bot [Tue, 23 Apr 2013 21:51:50 +0000 (21:51 +0000)]
Merge "Don't repeat label styling"
Aaron Schulz [Tue, 23 Apr 2013 21:31:52 +0000 (14:31 -0700)]
Fixed return value for RedisBagOStuff::cas().
Change-Id: I3b180baaba8fb12ab2960e358c8b6d1a1eac05dd
jenkins-bot [Tue, 23 Apr 2013 21:11:34 +0000 (21:11 +0000)]
Merge "Introducing a new variable {{ROOTPAGENAME}}"
blotmandroid [Sun, 21 Apr 2013 14:09:49 +0000 (19:39 +0530)]
Introducing a new variable {{ROOTPAGENAME}}
Introduced a new variable ROOTPAGENAME which has similar
content like BASEPAGENAME.
ROOTPAGENAME only contains the name of the topmost page without namespace, e.g.
for "User:Name/Article/Subarticle" it should be "Name".
BASEPAGENAME would be "Name/Article" here.
Update : fixed indentation in maintenance/fuzz-tester.php
Added to RELEASE-NOTES-1.2.2
Bug: 6747
Change-Id: I71ef0a15c95c9145462f3aa7fdb3ed11dac79265
Translation updater bot [Tue, 23 Apr 2013 20:24:21 +0000 (20:24 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Tue, 23 Apr 2013 19:26:59 +0000 (19:26 +0000)]
Localisation updates from translatewiki.net.
Change-Id: If5568ddced2f4cf8bde140f77c3789ac6948033e
jenkins-bot [Tue, 23 Apr 2013 19:25:34 +0000 (19:25 +0000)]
Merge "Include cluster name in JobQueueDB cache keys."
csteipp [Tue, 21 Aug 2012 18:55:48 +0000 (11:55 -0700)]
(bug 38082) Check read permissions in ApiFeedContribs
Before showing the contents of a title in the generated feed, check
that the calling user has permissions to read the specific title.
Change-Id: Iba16a5489d80cd4f0958ad6bbcf2e1a948e97f93
Aaron Schulz [Sun, 21 Apr 2013 21:56:20 +0000 (14:56 -0700)]
Include cluster name in JobQueueDB cache keys.
* This makes it work properly with JobQueueFederated.
Change-Id: I0309dee7e97fa3813dfa5f1ae1eb1fcbca14b829
Zhaofeng Li [Sat, 6 Apr 2013 05:52:05 +0000 (13:52 +0800)]
Minor fixes to the code documentation
Change-Id: Iddfecfea17109eeea604ef111d6f98ea8399cc96
jenkins-bot [Tue, 23 Apr 2013 17:43:59 +0000 (17:43 +0000)]
Merge "Update AutoLoader"
Kevin Israel [Thu, 18 Apr 2013 17:35:49 +0000 (13:35 -0400)]
Move "SpecialSearchResultsPrepend" note back to 1.21
Partial revert of I6a51e3ee: the hooks were actually added
before the branch point (in Ib3843314), not in I226349aa, which
merely added the release note.
The author of I226349aa has already backported the change.
Change-Id: Ifc2728133c6ca52ef866ce963c28bd3d06eab05a
Alexandre Emsenhuber [Tue, 23 Apr 2013 14:48:24 +0000 (16:48 +0200)]
Update AutoLoader
- Move files in includes/externalstore to their own location for consistency
- Order MWCryptRand alphabetically
- Add missing HTMLButtonField
Change-Id: Ib3798dce6080960df68badd6237968a33473e36b
jenkins-bot [Tue, 23 Apr 2013 13:18:35 +0000 (13:18 +0000)]
Merge "Fix case of $wgLocalTZoffset from
7e3386d4"
Platonides [Tue, 23 Apr 2013 11:15:52 +0000 (13:15 +0200)]
Simplify the nested ifs of Preprocessor_DOM::preprocessToObj()
Change-Id: Ibb91068678aca1729f00f1ba7844017771334e94
Niklas Laxström [Wed, 3 Apr 2013 12:17:32 +0000 (12:17 +0000)]
User::addGroup could cause duplicate groups
Use array_unique to avoid this case.
Bug: 46844
Change-Id: I14eb6e5a5333d887d71d545e42570493437dd320
Aaron Schulz [Mon, 22 Apr 2013 06:57:37 +0000 (23:57 -0700)]
Moved CryptRand.php to MWCryptRand.php
Change-Id: I03e3742f270ccf05ea923a46e8f8171e6f73ffcd
Aaron Schulz [Mon, 22 Apr 2013 20:27:50 +0000 (13:27 -0700)]
StatCounter doc tweaks.
Change-Id: I8882e142170841c70cb620e1ea0246facc30f046
Platonides [Tue, 23 Apr 2013 11:20:01 +0000 (13:20 +0200)]
Fix case of $wgLocalTZoffset from
7e3386d4
The variable is called $wgLocalTZoffset, with lowercase O.
And php variable names are case-sensitive.
This commit is a simple
sed -i 's/wgLocalTZOffset/wgLocalTZoffset/' includes/Timestamp.php
Change-Id: Iddf9b363c9ddc95938ba8b5e0c134d9ec734109c
Aaron Schulz [Mon, 22 Apr 2013 07:04:14 +0000 (00:04 -0700)]
Renamed QoS_Atomic => QOS_ATOMIC in some places.
Change-Id: Ib6c4a1e36e8caddd08852d0fdce005ed0bc00cee
AVRS Aditya Sastry [Tue, 16 Apr 2013 14:03:04 +0000 (19:33 +0530)]
Make current year default value in the Special:Contributions
Bug: 45580
Change-Id: I720946e7a37ca5a639c3ac786fc863020929cf1a
S Page [Tue, 23 Apr 2013 07:24:41 +0000 (00:24 -0700)]
Don't repeat label styling
Only have one selector for .mw-ui-vform > div label , move all CSS to
that.
Bug: 47532
Change-Id: Ibd36f818865aa5ec99cc187bef983261485966d3
Matt Walker [Thu, 21 Mar 2013 00:54:32 +0000 (17:54 -0700)]
HTMLForms: Support non submit buttons
There is now a new generic HTMLButtonField class which does
not need to be a submit button.
Change-Id: I451a952bba0c7339b5337e5201417beaee3f16fd
S Page [Fri, 19 Apr 2013 07:44:04 +0000 (00:44 -0700)]
Move template header inside form so CAPTCHA works
Also wrap it inside a section tag so the form's styling of gray labels
and full-width input fields doesn't apply to the CAPTCHA. The same fix
is in the new Create account form (though that uses JavaScript to
reposition the FancyCaptcha image).
CSS gives the section a small bottom margin to space it from the form
contents, small enough to not affect form layout if there is nothing
in the template header.
Bug: 47371
Change-Id: I1523fe6551585ba731b0ca4207e22d614d0a46d8
Reedy [Wed, 13 Mar 2013 20:08:28 +0000 (20:08 +0000)]
Replace weird usage of explode
Change-Id: Ic4021be695c9ed15dea0da0e94967a0d7d441670
Aaron Schulz [Mon, 22 Apr 2013 20:47:52 +0000 (13:47 -0700)]
Bumped RING_SIZE to use 28 bits to improve weight accuracy a bit.
Change-Id: I4dbecd292fd404e43ed296dd37892db113fa1026
Timo Tijhof [Mon, 22 Apr 2013 09:07:08 +0000 (11:07 +0200)]
mediawiki.util: Fix roundtripping of tooltip in portlet links
In
558985f72a ctrl-option- for Chrome on Mac was added, but it
didn't add "option-" to the regex. Since then the tooltip in
Chrome on Mac (and later when we started referring to option
instead of alt on all Mac browsers) was never detected by this
regex, sometimes resulting in double tooltips (when adding) or
outdated tooltips (when updating).
Now we always look for an accesskey hint in the tooltip and
strip it it's there.
Also fixed a bug where an undefined error can occur if accesskey
is given but tooltip not (the method unconditinally appended
text to the tooltip varible which might be undefined causing
a tooltip like "undefined[a]").
Change-Id: I0bde1a228983c58b20cad0c09a8e5efe8225ea23
Translation updater bot [Mon, 22 Apr 2013 19:35:32 +0000 (19:35 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ic9d28bde4ca24c8e1a041b86ae48e7d6d24de522
jenkins-bot [Mon, 22 Apr 2013 19:21:28 +0000 (19:21 +0000)]
Merge "Refactor MWTimestamp::getHumanTimestamp and add hook."
Aaron Schulz [Mon, 22 Apr 2013 19:18:38 +0000 (19:18 +0000)]
Merge "Avoid use of __METHOD__ in closure."
jenkins-bot [Mon, 22 Apr 2013 19:09:20 +0000 (19:09 +0000)]
Merge "test: abstract parser test result"
Aaron Schulz [Mon, 22 Apr 2013 19:08:28 +0000 (12:08 -0700)]
Avoid use of __METHOD__ in closure.
Change-Id: Ib25063f41cc25647003442cbd5851c3b777b2a7a
Tyler Anthony Romeo [Thu, 24 Jan 2013 21:14:21 +0000 (16:14 -0500)]
Refactor MWTimestamp::getHumanTimestamp and add hook.
Changed logic in MWTimestamp::getHumanTimestamp so that
all the message and formatting was offloaded into the
Language class, keeping only actual timestamp logic in
the MWTimestamp class.
Also added a hook so extensions can override the
human timestamp format.
Change-Id: Ie667088010e24eb6cb569f9e8e8e2553005223eb
MatmaRex [Mon, 22 Apr 2013 14:38:47 +0000 (16:38 +0200)]
Cleaned up Hooks code, comments, and documentation.
Essentially rewrote Hooks::run() to get rid of the ridiculous
four levels of indentation. Also made some slight adjustments
to fix rare edge cases (for example, moved set_error_handler
after wfProfileIn in case Profiler triggers an error).
Change-Id: Iafdd4ceedac067b49ac597359ac456f4617da9e8
jenkins-bot [Mon, 22 Apr 2013 14:10:40 +0000 (14:10 +0000)]
Merge "Swap port from 110000 to 11211 in $wgMemCachedServers"
Brad Jorsch [Sat, 2 Feb 2013 02:17:02 +0000 (21:17 -0500)]
(bug 25592) LogEventsList:showLogExtract should ignore WebRequest
LogEventsList:showLogExtract currently pays attention to WebRequest
parameters such as offset, dir, order, and limit (although limit is
typically overridden by callers, and offset sometimes too).
While these make sense for a pager that is driving the whole page, it
doesn't make much sense for the "most recent log entry" boxes that are
displayed using LogEventsList:showLogExtract. So let's have
LogEventsList:showLogExtract ignore these, and for good measure add in a
parameter to use the old behavior in case any caller really needs that.
Change-Id: Id4380cd863ba69fc9b9afb5a0034d82ad4d9cc34
jenkins-bot [Mon, 22 Apr 2013 08:25:22 +0000 (08:25 +0000)]
Merge "Added more fine grained groups for parser tests"
jenkins-bot [Mon, 22 Apr 2013 08:22:14 +0000 (08:22 +0000)]
Merge "Improved readability of MediaWikiParserTest::suite code"
daniel [Mon, 22 Apr 2013 07:52:36 +0000 (09:52 +0200)]
Fix debug log line for $userLimit.
$userLimit was used inline in the message, causing an "array to string conversion"
notice and a mangled log entry.
Change-Id: I8c5199f1bf01b56e955d8d15c48061b5301b1745
Chad Horohoe [Thu, 18 Apr 2013 15:29:21 +0000 (11:29 -0400)]
Handle search engine returning status objects to the API
This is a followup to I54ab5207, which allowed search backends
to return status objects. We handled it in Special:Search, but
the API was overlooked.
Bug: 47353
Change-Id: Ib7abe8d5bc19d27c472053602c0e43cb1301b078
Reedy [Sun, 21 Apr 2013 23:53:23 +0000 (00:53 +0100)]
Swap port from 110000 to 11211 in $wgMemCachedServers
http://linux.die.net/man/1/memcached
"...the default is port 11211."
Change-Id: I923a1b3208c2ea1f29657cc51e813c547154eb32
TheDJ [Sun, 21 Apr 2013 16:59:00 +0000 (16:59 +0000)]
Merge "Fixed Bug 40464 Placeholder attribute of searchInput element"
prageck [Fri, 19 Apr 2013 19:26:37 +0000 (00:56 +0530)]
Fixed Bug 40464 Placeholder attribute of searchInput element
Removed the javascript code that sets the placeholder of #searchInput element.
Now the placeholder attribute of #searchInput element is set only in the original HTML.
On browsers that do not support placeholder attribute, placeholder.js will insert
the appropriate placeholder.
Bug: 40464
Change-Id: I6496716f2bd25307004ba16bceadca4c6723a5db
umherirrender [Sat, 20 Apr 2013 22:49:30 +0000 (00:49 +0200)]
Fixed spacing in files direct in includes folder
Added spaces before if, foreach
Added some braces for one line statements
Change-Id: Ibb8dd102db045522d12ff939075ba7420d95ab6b
umherirrender [Sat, 20 Apr 2013 21:11:46 +0000 (23:11 +0200)]
Fixed spacing in context/installer/media/templates/upload folder
Added spaces before if, foreach
Added some braces for one line statements
Change-Id: I9761be9fa47adc3554852a97b19792b4648466ad
umherirrender [Sat, 20 Apr 2013 22:25:40 +0000 (00:25 +0200)]
Add doc for SpecialPage::postText
A combined doc does not work
Add some spaces to function bodys
Change-Id: I98db22fe5028c97ad257ddd86524c0356881ff57
Translation updater bot [Sat, 20 Apr 2013 22:24:19 +0000 (22:24 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I469b4f8fe3747d6f4b651905a4d26f0219bad45f
TheDJ [Sat, 20 Apr 2013 21:46:19 +0000 (21:46 +0000)]
Merge "Minor CSS cleanup for Vector and Monobook skins"
Daniel Werner [Sat, 20 Apr 2013 20:28:38 +0000 (22:28 +0200)]
Added more fine grained groups for parser tests
* Group "ParserTests" which allows to run all parser tests in PHPUnit without running other tests
related to the MediaWiki parser from group "Parser"
* Dynamically generated groups to only run certain parser tests. All of those groups are the parser
test file names ("." and "_" replaced) prefixed with "ParserTests_". This allows to easily run
the parser tests of a certain extension separately without using "parserTests.txt".
Change-Id: I03b87820c2968cf16eba2ac39cd8444a0e4dc41a
Daniel Werner [Sat, 20 Apr 2013 20:22:26 +0000 (22:22 +0200)]
Improved readability of MediaWikiParserTest::suite code
Change-Id: Ic74048bcce71c2eeb8adfca872b978c3f0de094b
umherirrender [Sat, 20 Apr 2013 20:28:52 +0000 (22:28 +0200)]
Fixed spacing in db/debug/diff/externalstore/objectcache folder
Added spaces before if, foreach
Added some braces for one line statements
Change-Id: I32a43c547630ce31b6b25cc1bc9eedc50e67b2d7
umherirrender [Sat, 20 Apr 2013 17:18:13 +0000 (19:18 +0200)]
Fixed spacing in actions/cache/filebackend/filerepo/job folder
Added spaces before if, foreach
Added some braces for one line statements
Change-Id: Idb93d34e314e5f314223b79208968d6bcd30c40e
umherirrender [Sat, 20 Apr 2013 14:57:56 +0000 (16:57 +0200)]
Remove duplicate code from Setup.php
Change-Id: I6dadb12ec8410258d7c9c24e1d12badf6c1c2dea
umherirrender [Sat, 20 Apr 2013 15:38:24 +0000 (17:38 +0200)]
Fixed spacing in logging/parser/profiler/rl/revdel/search folder
Added spaces before if, foreach
Added some braces for one line statements
Change-Id: I11bbcfa351e945b7bde10c2105d61a3cf5622205
umherirrender [Fri, 19 Apr 2013 20:55:47 +0000 (22:55 +0200)]
Fixed spacing in specials folder
Added spaces before if, foreach
Added some braces for one line statements
Change-Id: I7873c656b16f6e905bb5abb2c2db6f6e84c11430
Siebrand Mazeland [Sun, 14 Apr 2013 17:27:14 +0000 (19:27 +0200)]
Update formatting
Change-Id: I0e334d910a311f067276215b6bff94cd814fc3b3
umherirrender [Fri, 19 Apr 2013 18:03:05 +0000 (20:03 +0200)]
Fixed spacing in api folder
Added spaces before if, foreach
Added some braces for one line statements
Change-Id: Id7779dca4d1185245cf5764102b8de8b232c34b6
jenkins-bot [Sat, 20 Apr 2013 00:11:18 +0000 (00:11 +0000)]
Merge "Separate language generation from outputPage"
jrobson [Fri, 19 Apr 2013 05:54:54 +0000 (22:54 -0700)]
Separate language generation from outputPage
Helps with readability - outputPage function is extremely long
Also helps with extensions of SkinTemplate that override outputPage
(for example skin in MobileFrontend)
See related change id: I04b625c8d76bb6a061e3201847bf97185c6b7a29
Change-Id: I4a49e704f6fe72c74ecb9103fb081aed93a86de7
Aaron Schulz [Fri, 19 Apr 2013 23:51:27 +0000 (16:51 -0700)]
[JobQueue] Fixed numbers given to redis queue stat calls.
Change-Id: Ia70e6ab947aab9ed807ea993b04647aa488fbf3d
Translation updater bot [Fri, 19 Apr 2013 20:41:17 +0000 (20:41 +0000)]
Merge "Localisation updates from translatewiki.net."
Aaron Schulz [Fri, 19 Apr 2013 20:36:12 +0000 (13:36 -0700)]
[JobQueue] Use regular wfDebug() in some places.
* This is not worth a special log.
Change-Id: I12df469e7f64446caf5f4e956967f6db065479d1
Aaron Schulz [Fri, 19 Apr 2013 20:06:11 +0000 (13:06 -0700)]
Added abandoned job stats.
Change-Id: I3ef8c56e1a3e16875c7282afc4d3d0b135bd776d
Translation updater bot [Fri, 19 Apr 2013 19:46:24 +0000 (19:46 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I4445cabf897d43873aac8750f1e0a1585cff6b14
umherirrender [Fri, 5 Apr 2013 16:34:47 +0000 (18:34 +0200)]
API: Add new hook 'APIGetPossibleErrors'
This allows extensions to modify the array.
This completes the serie of hooks for similar get methods in ApiBase.
Change-Id: Ib398f5815ab57f25d56356b0997c55a03fd96874
Brian Wolff [Thu, 18 Apr 2013 19:02:29 +0000 (16:02 -0300)]
Only allow fields from isFieldSortable to be sorted on.
Prevents people from doing stupid things like:
https://commons.wikimedia.org/w/index.php?title=Special%3AListFiles&limit=50&user=bawolff&sort=img_description&asc=&desc=1
Which don't have indexes.
Change-Id: I7aeb89032e89283dd7dfe5d7bf12872203ca5520
Aaron Schulz [Sun, 14 Apr 2013 20:32:34 +0000 (13:32 -0700)]
[FileBackend] Made stat cache factor in last-modified time.
* This should lesson the chance of consistency problems
if there is any memcached flapping.
* Also cleaned up some documentation.
Change-Id: I89401892c7e848fcff0b093eaa861dfe02387a5c
Aaron Schulz [Thu, 4 Apr 2013 23:50:51 +0000 (16:50 -0700)]
[FileBackend] Disallow files ending in / and clarified some docs.
Change-Id: I162ca34fe9f92d862345004bd184013531da9e8d
Aaron Schulz [Thu, 28 Feb 2013 22:21:28 +0000 (14:21 -0800)]
[JobQueue] Added JobQueueFederated class for partitioned queues.
* This lets queues be horizontally partitioned onto
different servers, with weights assigned to each.
The queue classes used by the different partitions
can be hetereogenous or homogeneous.
* How partitioning is done is setup similar to LBFactory,
where wikis belong to sections and sections have config.
Change-Id: I44d59b67cf417dca28a3e9b25371dac5a7ffcb47
Aaron Schulz [Tue, 19 Feb 2013 02:45:23 +0000 (18:45 -0800)]
[LockManager] Added a RedisLockManager class.
Change-Id: I7ade74eb307a5075533f36836768af60f106a6b9
Aaron Schulz [Wed, 20 Mar 2013 19:59:59 +0000 (12:59 -0700)]
[JobQueue] Deprecated confusing Job::getId() function.
* Also slimmed down $job->metadata use by JobQueueRedis to just the ID.
Change-Id: If9fdb33afd6d1ce2be957a1eea107f54bd6dac53
Aaron Schulz [Thu, 18 Apr 2013 05:20:50 +0000 (22:20 -0700)]
Factored JobQueueRedis::redisEval() into RedisConnRef::luaEval().
Change-Id: I1b4bb4f4bb5e25fc3f358c9e2b16e4672584c68b
jenkins-bot [Thu, 18 Apr 2013 23:43:48 +0000 (23:43 +0000)]
Merge "UIDGenerator: better support for 32-bit machines"