Alexandre Emsenhuber [Sat, 4 Aug 2012 18:31:42 +0000 (20:31 +0200)]
Improve documentation of maintenance scripts.
Change-Id: I557f85e8526a3e4b48107fbf299ff39f6af1ac12
Aaron Schulz [Sat, 4 Aug 2012 18:13:09 +0000 (18:13 +0000)]
Merge "Fix possible error texts in action=options"
Aaron Schulz [Sat, 4 Aug 2012 18:10:54 +0000 (18:10 +0000)]
Merge "remove 'cantpurge' from possible errors in action=purge"
Aaron Schulz [Sat, 4 Aug 2012 18:10:30 +0000 (18:10 +0000)]
Merge "Rename 'file-session-key' in api message map"
Aaron Schulz [Sat, 4 Aug 2012 18:10:02 +0000 (18:10 +0000)]
Merge "unknown error 'filerevert-badversion'"
umherirrender [Sat, 4 Aug 2012 14:35:49 +0000 (16:35 +0200)]
fix list of possible errors for list=blocks
Change-Id: I4a091eeb788f465fe6cdbb7fe6d296606185ba3c
umherirrender [Sat, 4 Aug 2012 14:26:53 +0000 (16:26 +0200)]
remove 'cantpurge' from possible errors in action=purge
Was removed in r74944
Change-Id: Ib13be4a3a9956b5c48f2d435092affe518fd7cd3
umherirrender [Sat, 4 Aug 2012 14:18:18 +0000 (16:18 +0200)]
Fix possible error texts in action=options
Change-Id: I465b9cf109bd4f22542747ca72876caa3725a353
umherirrender [Sat, 4 Aug 2012 14:05:21 +0000 (16:05 +0200)]
Rename 'file-session-key' in api message map
Follow up r92009
Change-Id: I4752d47e54f4b13101400bed097eccc525e8506e
Nikerabbit [Sat, 4 Aug 2012 14:05:03 +0000 (14:05 +0000)]
Merge "* Bug 39032 - ApiQuery generates help in constructor."
umherirrender [Sat, 4 Aug 2012 13:40:36 +0000 (15:40 +0200)]
unknown error 'filerevert-badversion'
Adding 'filerevert-badversion' to message map
use some local vars in ApiFileRevert
Change-Id: I2341f3f212af484d446a7a84c1b5c7984597468d
Reedy [Sat, 4 Aug 2012 13:35:23 +0000 (14:35 +0100)]
* Bug 39032 - ApiQuery generates help in constructor.
Functions called unnecesserily, as their return values aren't used
or even cached.
Removing them to reduce the pointless overhead of calling them
Change-Id: I0d8ddab9492ea79d5de4118944e77ac774275506
Aaron Schulz [Sat, 4 Aug 2012 08:45:49 +0000 (08:45 +0000)]
Merge "Improve detection of php binary."
Platonides [Fri, 27 Jul 2012 17:00:40 +0000 (19:00 +0200)]
Improve detection of php binary.
- Add php binary and a program which might
be set as $PHP.
- Check for the correct php version.
The break shell builtin is not too commonly used,
but should beperfectly safe to use, since it's specified by POSIX
http://pubs.opengroup.org/onlinepubs/
9699919799/utilities/V3_chap02.html#break
Change-Id: Iefbe991426f0e9a7178363a30b613f57110e1953
Gabriel Wicke [Fri, 3 Aug 2012 23:33:13 +0000 (16:33 -0700)]
Add a test for paragraphs with extra newline spacing
This test simply documents the current PHP parser behavior, so that it remains
compatible while we are tweaking Parsoid.
Change-Id: I807efb93da6c69da124bcab5c7fbd531b4deaa2b
awjrichards [Fri, 3 Aug 2012 23:19:01 +0000 (23:19 +0000)]
Merge "Added line to rel notes about CacheHelper class"
awjrichards [Fri, 3 Aug 2012 23:14:27 +0000 (23:14 +0000)]
Merge "Bug 38676 - password-change-forbidden isn't properly localized"
Aaron Schulz [Fri, 3 Aug 2012 23:05:21 +0000 (23:05 +0000)]
Merge "use FileRepo api to delete and check for files"
IAlex [Fri, 3 Aug 2012 21:42:59 +0000 (21:42 +0000)]
Merge "Make rebuildLocalisationCache.php also obey --memory-limit if set."
Reedy [Fri, 3 Aug 2012 21:04:30 +0000 (21:04 +0000)]
Merge "Fixes to Special:Mostlinkedtemplates."
Reedy [Fri, 3 Aug 2012 20:59:04 +0000 (20:59 +0000)]
Merge "Use WebRequest instead of $_SERVER in ApiMain."
IAlex [Fri, 3 Aug 2012 20:27:26 +0000 (20:27 +0000)]
Merge "Change from wgMiserMode to isCached on Special:WithoutInterwikis"
Aaron Schulz [Fri, 3 Aug 2012 19:09:50 +0000 (19:09 +0000)]
Merge "Introduce default expiry time for special:block (bug 32178)"
Catrope [Fri, 3 Aug 2012 18:22:42 +0000 (18:22 +0000)]
Merge "(bug 38351) Image alignment should follow the page content language"
Translation updater bot [Fri, 3 Aug 2012 16:16:10 +0000 (16:16 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ieac1b68dd05ab55e1129fb94f32354fc86143aa2
umherirrender [Fri, 3 Aug 2012 11:03:08 +0000 (13:03 +0200)]
Change from wgMiserMode to isCached on Special:WithoutInterwikis
This makes it clearer why the input from is not needed.
It does not change anything, because isCached checks isExpensive and
wgMiserMode and isExpensive is true here.
Change-Id: Ib5f775d5ff20b53b91732ca544ec273543afe7d1
Antoine Musso [Thu, 2 Aug 2012 16:26:08 +0000 (18:26 +0200)]
link to HTMLForm doc on the wiki
URL provided by Clément Dietschy.
Change-Id: Ibea0266618c09b2dfbac5c356beba93dd8bebba2
Alexandre Emsenhuber [Thu, 2 Aug 2012 20:36:45 +0000 (22:36 +0200)]
Fixes to Special:Mostlinkedtemplates.
- Don't execute the LinkBatch if there are no rows.
- Checks for invalid titles and output a message
if this is the case.
Change-Id: Ibd3794fbe165b13f3b386a9dabe4b6fabb7ba1d8
Reedy [Thu, 2 Aug 2012 23:20:54 +0000 (23:20 +0000)]
Merge "Fix bug causing API to list anons as autoconfirmed in certain cases"
Krinkle [Thu, 2 Aug 2012 23:19:31 +0000 (23:19 +0000)]
Merge "Fix jquery.localize tests, change number of expected assertions"
robin [Wed, 1 Aug 2012 03:34:32 +0000 (05:34 +0200)]
(bug 38351) Image alignment should follow the page content language
The alignment of image thumbs should follow the page content language instead of the wiki content language.
For this it needs the parser context, and because it makes sense to have it as first parameter, I renamed makeImageLink2() to makeImageLink(), the 2 seemed to be redundant anyway.
The old function name keeps the old behaviour, but can be removed quite soon since almost no extension is using it.
Change-Id: I0c35b06a85528dcc43fdd0578dc9b327c495cf4a
Reedy [Thu, 2 Aug 2012 22:35:20 +0000 (23:35 +0100)]
Make rebuildLocalisationCache.php also obey --memory-limit if set.
Same as https://gerrit.wikimedia.org/r/17473 for runJobs.php
Change-Id: I352df6c2f46606fe575ef5f52a39175b4aad9f75
Reedy [Thu, 2 Aug 2012 22:17:50 +0000 (23:17 +0100)]
* (bug 38953) --memory-limit switch not working for runJobs.php.
In runJobs.php the memory limit was hardcoded to 150M, so passing
--memory-limit would have no difference. Changed to using what was
passed as --memory-limit if something was, else just use the 150M
as usual
Change-Id: I3e3bafc6a0fe4e88792a65f01b432c8f4f6677cf
Brad Jorsch [Wed, 1 Aug 2012 02:45:13 +0000 (22:45 -0400)]
(bug 38904) prop=revisions&rvstart=... should not blow up when continuing
A query using prop=revisions in enum mode will return a query-continue
using rvstartid. If the original query included rvstart, the client will
therefore send both the rvstart from the original query and the
rvstartid from the query-continue. And the API will then return an error
that rvstart and rvstartid may not both be used in the same query.
Since there is no way for the API to instruct the client to ''not'' send
the rvstart when continuing, we'll just use rvcontinue instead. Then the
module can ignore both rvstart and rvstartid to get the intended
continuation.
Change-Id: I145215996b8a7818196cdfb583a1fdacae973fee
Catrope [Thu, 2 Aug 2012 20:48:49 +0000 (13:48 -0700)]
Fix bug causing API to list anons as autoconfirmed in certain cases
On a stock install, the autoconfirmed requirements default to zero, so
anons qualify for autoconfirmed. They don't actually get it because
User::getEffectiveGroups() only checks for autopromote groups for
logged-in users. However, ApiQueryUsers::getAutoGroups() (which
duplicates this logic for some reason) didn't use the same rule and
applied autopromote groups to anons too, which caused discrepancies
betwen the API output and wgUserGroups.
Krinkle noticed this because a QUnit test for mw.user.getGroups() was
failing while logged out: the API response included autoconfirmed but
wgUserGroups didn't.
Change-Id: I0b781c11e06d3cc7176b2fb3ba06979d3637f970
Reedy [Thu, 2 Aug 2012 20:15:13 +0000 (21:15 +0100)]
Fix jquery.localize tests, change number of expected assertions
jquery.localize: Handle basic replacements (1, 4, 5)
Expected 3 assertions, but 4 were run
Change-Id: I95d89d8ff37befd54735edd565db8d0184a8e39a
Catrope [Thu, 2 Aug 2012 20:06:33 +0000 (20:06 +0000)]
Merge "(bug 35526) Make jquery.tablesorter use a stable sort"
Brad Jorsch [Fri, 13 Jul 2012 18:56:17 +0000 (14:56 -0400)]
(bug 35526) Make jquery.tablesorter use a stable sort
In r86337, jquery.tablesorter was changed from using the standard
Javascript Array.sort to a custom merge sort, with the justification
that it eliminates an eval and merge sort is stable. However, the
implementation used is not, in fact, stable, and making an in-place
merge sort stable reportedly kills performance.
Instead, let's just go back to using Array.sort, but with a closure
(basically the same comparison function used by the merge sort) rather
than an eval and using the already-calculated "position" as a tiebreaker
when two rows are otherwise equal to make it stable.
Change-Id: Idc50127d3bfec2b1727f397a9780b359fd56055e
Brad Jorsch [Mon, 18 Jun 2012 20:33:19 +0000 (16:33 -0400)]
Allow manipulation of wl_notificationtimestamp via the API
It should be possible to query the notificationtimestamp as a page info
property, rather than only by querying the recent changes for the
watchlist. It should also be possible to clear or adjust the
notificationtimestamp via the API.
This patch does just that.
Change-Id: I8e2c0769e93802a6a09936899a41c07f9c4c9f25
Reedy [Sat, 7 Jul 2012 15:07:29 +0000 (16:07 +0100)]
* (bug 38231) Add xml parse tree to action=parse.
Change-Id: I4db3950c937e6299c6f3adc9b90137ac642c607c
Catrope [Thu, 2 Aug 2012 19:45:57 +0000 (19:45 +0000)]
Merge "Add feature to disable rollback edit count"
Siebrand [Thu, 2 Aug 2012 19:39:28 +0000 (19:39 +0000)]
Merge "Don't manually quote stuff"
Reedy [Thu, 2 Aug 2012 19:36:21 +0000 (20:36 +0100)]
Don't manually quote stuff
Minor parameter documentation stuffs
Change-Id: Ie21cbfcf878de4efbf93f1d29900fe9d5f4c7ed2
Alexandre Emsenhuber [Thu, 2 Aug 2012 19:33:47 +0000 (21:33 +0200)]
Improve documentation of maintenance scripts.
Change-Id: I52ebe4d741109aef19cd8fa252243e2b6440565f
Nikerabbit [Thu, 2 Aug 2012 19:11:03 +0000 (19:11 +0000)]
Merge "Update languagesWithVariants"
Antoine Musso [Tue, 24 Jul 2012 09:45:22 +0000 (11:45 +0200)]
HTMLForm mutators can now be chained
This make HTMLForm mutator to return $this for easy method chaining such
as:
form = new HTMLForm( $someFields );
$form->setMethod( 'get' )
->setWrapperLegendMsg( 'message-key' )
->suppressReset()
->prepareForm()
->displayForm();
prepareForm()->displayForm(); should be at the very end apparently
though it is not enforced by the object.
Change-Id: Iebaa83a1da3c89e5ab729a889e54844535619d54
Reedy [Thu, 2 Aug 2012 16:26:37 +0000 (16:26 +0000)]
Merge "Fix ApiWatchTest"
Reedy [Thu, 2 Aug 2012 16:13:27 +0000 (16:13 +0000)]
Merge "debug log group for DNS blacklist lookup results"
Antoine Musso [Thu, 2 Aug 2012 14:19:27 +0000 (16:19 +0200)]
doxygen filter need to use a full path
When running mwdocgen.php outside of maintenance, the input filter was
not found. Giving the full path fix the issue.
Issue introduced by I4ead1bd1 /
ab59fad.
Change-Id: I5e28209eba1afd24d60b2dc940b9f5dfb1b4f34c
Demon [Thu, 2 Aug 2012 12:24:11 +0000 (12:24 +0000)]
Merge "Support deleting all rows"
Alexandre Emsenhuber [Thu, 2 Aug 2012 12:06:20 +0000 (14:06 +0200)]
Mark the history link on page deletion as known.
Two reasons:
- the page must exists to reach this part of the code
- it's useless to have special classes (redirect, stub)
since this a link to the history and not to the
content itself
Change-Id: I59af2f237e0539842cc7777ddd44ba5ac500b070
Demon [Thu, 2 Aug 2012 10:59:20 +0000 (10:59 +0000)]
Merge "(bug 25095) Special:Categories should also include the first relevant item when "from" is filled"
robin [Thu, 2 Aug 2012 10:17:58 +0000 (12:17 +0200)]
Update languagesWithVariants
Add Uzbek (uz) to LanguageConverter::languagesWithVariants
It has a converter since gerrit change 15690
Change-Id: Ie9511453a50eaed9ad6c03355badc4daa5b06e0a
Alexandre Emsenhuber [Tue, 31 Jul 2012 09:16:40 +0000 (11:16 +0200)]
@since to subclasses of MWException
Change-Id: I9f87ba2ab00e4a68313a19823a20b10d55073e84
Antoine Musso [Tue, 24 Jul 2012 08:47:19 +0000 (10:47 +0200)]
debug log group for DNS blacklist lookup results
The 'beta' project uses DNS blacklist lookup to automatically block open
proxy and active spammers. This patch simply creates the new
'dnsblacklist' debug group so we can easily log the lookup result.
Change-Id: Idfc9fb2d3db4a0bb5387c76fdef07bf9e74eeff4
Alexandre Emsenhuber [Wed, 9 May 2012 20:18:58 +0000 (22:18 +0200)]
(bug 25095) Special:Categories should also include the first relevant item when "from" is filled
Second attempt after that the first one was reverted in I119160d59c4fca0d069adef60151b30d53b582a1.
Change-Id: If301c7cac3fafbcdd6f3ff8e0e822b0db29f09a2
jan [Wed, 1 Aug 2012 16:52:30 +0000 (18:52 +0200)]
Add feature to disable rollback edit count
This change replaces I85f480726b41871cdf5349a19e3f650285d1dda6 (includes
the change of Catrope).
Add a feature to disable the rollback edit count (change
9bae2198c950040f9f9139893a23a1012d54d8d6) on special pages. Default it
will be disabled on Recentchanges and Watchlist.
Change-Id: Ifbbf802472ce678694b2b3ba4ef441344cc1d572
Tim Starling [Thu, 2 Aug 2012 04:48:06 +0000 (14:48 +1000)]
Revert "(bug 260) Wrap <pre> overflow properly."
Due to bug 38800. Just reverting to prevent accidental deployment in
1.20wmf9. I would set a fixme status instead if there was such a thing.
The problem with this is that it breaks formatting of thousands of
Wikipedia articles due to interaction with SyntaxHighlight_GeSHi. I'm
sure some satisfactory solution can be found which fixes both bugs, but
leaving this commit deployed is not a good interim solution.
This reverts commit
782b9f177404f02417c03abaf96b371e1462f160.
Change-Id: I1977f093563b5658def9ba57a6ea6cfa9796f795
Catrope [Wed, 1 Aug 2012 23:52:14 +0000 (23:52 +0000)]
Merge "[FileBackend] Skip over some illegal paths and output the error."
Aaron Schulz [Sat, 28 Jul 2012 17:38:25 +0000 (10:38 -0700)]
[FileBackend] Skip over some illegal paths and output the error.
Change-Id: Ib32aadc6398168e4a63279d7da61a0dd1e1a6483
Catrope [Wed, 1 Aug 2012 23:47:35 +0000 (23:47 +0000)]
Merge "Add localonly= to prop duplicatefiles and imageinfo"
Kaldari [Wed, 1 Aug 2012 23:03:35 +0000 (16:03 -0700)]
Better inline styling for badge.
Change-Id: Ie92a18478c0f9b62fceff39f54a9524432eec921
Catrope [Wed, 1 Aug 2012 21:54:27 +0000 (21:54 +0000)]
Merge "bug 36073 Use mw-imagepage-linkstoimage-ns as a class instead of an ID"
Aaron Schulz [Wed, 1 Aug 2012 19:39:10 +0000 (19:39 +0000)]
Merge "Change File::compare to use getName, not getTitle"
Derk-Jan Hartman [Mon, 16 Jul 2012 23:10:01 +0000 (01:10 +0200)]
bug 36073 Use mw-imagepage-linkstoimage-ns as a class instead of an ID
This avoids multiple defines of the same ID on a File page.
Change-Id: I0f8ae37d74f2ec519361b2af164e115f6efa4ac6
Aaron Schulz [Wed, 1 Aug 2012 19:06:53 +0000 (19:06 +0000)]
Merge "memcached: better error messaging"
Antoine Musso [Wed, 1 Aug 2012 16:23:56 +0000 (18:23 +0200)]
(bug 38492) let doxygen document variables
We are using '@var' to document our variables and class properties,
which is unfortunately not working since '@var' is really meant to
document a function or method.
The way to fix it is to use an input filter that will rewrite our PHP
source code to pretends variables are typed. Aka something like:
/**
* A title object
* @var Title
*/
var $title;
Will be made:
/**
* A title object
* @var Title
*/
Title $title;
That is incorrect PHP code but it is properly recognized by Doxygen.
This patch as a side effect, all variables and properties will end up
being documented in addition of type hinting.
Use a hack authored by Goran Rakic at:
http://stackoverflow.com/a/
8472180/276152
Change-Id: I4ead1bd1feace44496b45ed8c55f5e52c59e7694
umherirrender [Wed, 1 Aug 2012 17:51:23 +0000 (19:51 +0200)]
Add localonly= to prop duplicatefiles and imageinfo
When looking only for local files, the localonly param skipped the
mabye expensive look up inside the file repos.
Change-Id: Ib8f38d6abf9238a349bbfd617a36933bdfe74b5c
umherirrender [Wed, 1 Aug 2012 17:40:10 +0000 (19:40 +0200)]
Change File::compare to use getName, not getTitle
For files the file name with underscores is often used,
than the compare method should do that also.
This matches than the ORDER BY img_name done by some query.
Change-Id: Ia1b89577538bdfdf751c7b9584e7c008a8c2bb1e
Antoine Musso [Fri, 13 Jul 2012 16:20:00 +0000 (18:20 +0200)]
memcached: better error messaging
MemcachedClient output a generic error message: "Error parsing memcached
response\n" whenever it is not able to read from the socket. It is also
lacking the remote peer it is reading from.
This patch add a new message when fgets( <socket> ) return false, which
means we could not read from the file pointer. It also get the stream
remote name for debugging purposes.
Change-Id: I9b8a25a03af0d730aa3b4830a44b1ea739343274
Nikerabbit [Wed, 1 Aug 2012 11:15:08 +0000 (11:15 +0000)]
Merge "autoloader entry for UserNotLoggedIn class"
Reedy [Fri, 22 Jun 2012 16:29:48 +0000 (17:29 +0100)]
(bug 37830) new $wgRequirePasswordforEmailChange
$wgRequirePasswordforEmailChange to control whether password
confirmation is required for changing an email address or not.
Change-Id: Iaef440ef56d391bf9e68d15899fc81c6050722fb
Antoine Musso [Wed, 1 Aug 2012 10:46:54 +0000 (12:46 +0200)]
autoloader entry for UserNotLoggedIn class
I have forgot to add an autoloader entry for the new exception class
named UserNotLoggedIn (introduced by Id8127299 /
b1c1448d).
Change-Id: Ib7226c8532fd695edf78f0e4c33b91edbf8ed52e
Siebrand [Wed, 1 Aug 2012 08:30:49 +0000 (08:30 +0000)]
Merge "Namespace gender aliases for Lithuanian (lt)"
Niklas Laxström [Tue, 31 Jul 2012 22:03:54 +0000 (22:03 +0000)]
Namespace gender aliases for Lithuanian (lt)
http://translatewiki.net/wiki/Summary:Support/Gender_in_Lithuanian_namespace_names
Change-Id: If0a30180fb103ee1b56781a5fd1587b48e100da8
Alex Monk [Thu, 5 Jul 2012 16:27:41 +0000 (17:27 +0100)]
(bug 38151) Implement mw.user.getRights and getGroups
* Also deprecate name() and anonymous()
in favour of getName() and isAnon() (to match User.php), just
like getRights and getGroups are now as well.
* Added unit tests for all.
Change-Id: I5970be9e8593589018152f4878f168b9b85ca5d5
Krinkle [Wed, 1 Aug 2012 03:19:28 +0000 (03:19 +0000)]
Merge "Revert "AJAXify watchlist editor""
Krinkle [Wed, 1 Aug 2012 03:19:12 +0000 (03:19 +0000)]
Revert "AJAXify watchlist editor"
Doesn't properly work on Special:EditWatchlist, some of the titles being unwatched are not fading out and staying behind.
There's also a small code quality issue unaddressed. Please re-submit for further review.
This reverts commit
b46ec8fde5dfd3e80fa3861a01f1aac6f5a7b5ba
Catrope [Wed, 1 Aug 2012 00:48:19 +0000 (00:48 +0000)]
Merge "(bug 30625) Return warnings, if they exist, despite ignorewarnings"
Catrope [Wed, 1 Aug 2012 00:44:29 +0000 (00:44 +0000)]
Merge "(bug 18834) Add an edit count to rollback link"
Catrope [Wed, 1 Aug 2012 00:26:48 +0000 (00:26 +0000)]
Merge "(bug 27395) Write PHPUnit test suite for CSSJanus"
Catrope [Wed, 1 Aug 2012 00:24:46 +0000 (00:24 +0000)]
Merge "AJAXify watchlist editor"
Derk-Jan Hartman [Tue, 31 Jul 2012 21:06:51 +0000 (23:06 +0200)]
(bug 31644) [MERGE DEPENDENCY] Let WikiMap url builders return full urls instead of canonical urls
* This commit depends on a commit of globalusage https://gerrit.wikimedia.org/r/17117
* This allows GlobalUsage, CentralAuth and AbuseLog extensions to use protocol relative URLs.
Change-Id: I7e65bd029f359c36770aa48e6663f26a671b92c0
jan [Sun, 29 Jul 2012 16:57:11 +0000 (18:57 +0200)]
(bug 18834) Add an edit count to rollback link
Add an edit count to rollback link to show how many edits will be
rollbacked. When the count is over 10 the text "more than 10 edits" will
be outputed.
Change-Id: I5c4050e0a9197d4c505e85685a9780c97138d427
Trevor Parscal [Tue, 31 Jul 2012 20:25:55 +0000 (20:25 +0000)]
Merge "Some fixes to our jQuery UI skin for buttons"
Catrope [Tue, 31 Jul 2012 20:13:35 +0000 (20:13 +0000)]
Merge "[FileBackend] Made swift handle unknown content types better."
Timo Tijhof [Tue, 31 Jul 2012 08:02:04 +0000 (01:02 -0700)]
(bug 27395) Write PHPUnit test suite for CSSJanus
Change-Id: If40c5de54bffae6e5ac8fac81754a53a40c652b1
jeroendedauw [Tue, 31 Jul 2012 18:38:25 +0000 (20:38 +0200)]
Added line to rel notes about CacheHelper class
Change-Id: I994edc0e13ff28a31aac4457ea25ae9cefddd67f
jeroendedauw [Tue, 31 Jul 2012 18:33:10 +0000 (20:33 +0200)]
Support deleting all rows
Change-Id: I36ee33580261f39cb0ba69473f5afac9a5135853
Aaron [Tue, 31 Jul 2012 17:53:27 +0000 (10:53 -0700)]
[FileBackend] Made swift handle unknown content types better.
Change-Id: I50a5c17c40152a9e469a54bdd70a8408c57ebd50
Waldir Pimenta [Wed, 6 Jun 2012 19:50:19 +0000 (20:50 +0100)]
Introduce default expiry time for special:block (bug 32178)
Minor side change 1: fix preservation of infinite expiry time when reblocking:
the hardcoded value "indefinite" did not match with the default value
specified in ipboptions "infinite"
Minor side change 2: fix link in includes/Message.php's documentation
Change-Id: Icb1edabd8bb3dd1020c023b27b1270b9d2735b06
Catrope [Tue, 31 Jul 2012 16:56:18 +0000 (16:56 +0000)]
Merge "Add hint for pipe-separated list to action=help"
Reedy [Tue, 31 Jul 2012 16:50:09 +0000 (16:50 +0000)]
Merge "Fix logic error from Ia74ac399 (
2ee4653)."
Demon [Tue, 31 Jul 2012 16:30:33 +0000 (16:30 +0000)]
Merge "* oracle DB schema update to current (changes relevant to 1.19 will be backported) * fixed an updater bug from 1.19 (will be backported)"
Alexandre Emsenhuber [Tue, 31 Jul 2012 11:18:03 +0000 (13:18 +0200)]
Fix logic error from Ia74ac399 (
2ee4653).
The "views" part of the table should only
be displayed if view counters are *not*
disabled (and not the opposite).
Change-Id: I4859f396cc9e2eb7b9f4eff6502efc459a3410fd
Translation updater bot [Tue, 31 Jul 2012 08:06:11 +0000 (08:06 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I6556bddc4204ecebff39db8c8d01e8a169e62fc0
Trevor Parscal [Mon, 30 Jul 2012 21:43:58 +0000 (14:43 -0700)]
Added placeholder-msg support and more documentation to jquery.localize
* Added examples of all options (prefix, keys and params)
* Added example of raw attribute being used to bypass escaping
* Added documentation to code where it seemed clarification was needed
* Reduce duplication and simplified some unnecessarily complex statements
* Added test for new placeholder-msg attribute support
* Made adding more attributes in the future easier
* Moved message wrapper function out of the localize function so we aren't defining it each time localize is used
Change-Id: I77593acf4c1b3974d502a1a8382cca9267af2d41
Trevor Parscal [Mon, 30 Jul 2012 23:54:39 +0000 (23:54 +0000)]
Merge "(bug 37390) Clean up QUnit test suites"
Timo Tijhof [Mon, 30 Jul 2012 23:46:50 +0000 (16:46 -0700)]
(bug 37390) Clean up QUnit test suites
* Use new QUnit 1.8.0+ pattern:
- no-globals (only QUnit itself)
- assert-object pattern
- Remove pointless '-- Initial check' assertions.
I introduced this pattern last year for no particular reason and
everybody just copied it. There is no reason for it, it works fine
without it. And the rest of the world that uses QUnit doesn't do
it either. Exceptions are caught by QUnit and error handling there
is much better than a dull '!ok()' assertion.
* .jshintrc:
- Tolerate "mulistr" (this is used in many extensions, test suites
as well as in MediaWiki core)
"foo\
bar"
- Use "jquery: true" instead of "jQuery" so that JSHint can optimize
for jQuery edge cases.
Misc issues fixed:
* Trailing comma's in jquery.tablesorter.test
* Missing semi-colon in testrunner.js
* Remove backwards-compatible line for "equals()" and "same()".
These have been deprecated in QUnit since 2009 (which is way
before we even started looking at QUnit).
Inside QUnit itself is a deprecation notice, I don't know why
I added this compatibility line, it is stupid and overrides the
nice deprecation-warning that QUnit has built in for it).
* Use QUnit.push inside assertTrue and assertFalse.
QUnit assertion methods must not call each other, in order to keep
the call stack length as expected so that QUnit can report the
file and line number of the caller of the assertion in case of
failure etc.
Change-Id: I5cded6e8c32dba39170a02bdd3236c8b7b04d269
Aaron Schulz [Mon, 30 Jul 2012 22:30:12 +0000 (22:30 +0000)]
Merge "Fix at end navigation condition for query pages"