jenkins-bot [Mon, 13 Jan 2014 04:25:38 +0000 (04:25 +0000)]
Merge "Revert "Mechanism for renaming/aliasing classes""
jenkins-bot [Mon, 13 Jan 2014 03:15:46 +0000 (03:15 +0000)]
Merge "Changed FOR UPDATE handling in Postgresql"
MaxSem [Sun, 12 Jan 2014 23:59:44 +0000 (23:59 +0000)]
Revert "Include short descriptions for extensions bundled in the release"
Contains var_dump(), self-merged non-trivial code.
This reverts commit
96b2c66e242954d8591e7b8ca7b9d6a2a4e1074a.
Change-Id: Ie630466ef50e6bcdabf01daff28c283c764aae35
Mark A. Hershberger [Fri, 11 Oct 2013 21:13:40 +0000 (21:13 +0000)]
Include short descriptions for extensions bundled in the release
Also fix styling for the list of extensions.
Bug: 43817
Change-Id: I5335225683ec8f1c163bb67f478787ebc52ee3a9
umherirrender [Tue, 17 Dec 2013 18:14:15 +0000 (19:14 +0100)]
Raw option of parser functions should match complete word
The MagicWord raw was not matched against the whole given string, which
result in a raw output, when this was not intented.
Fixing this by adding a new regex, which matches the string from start
to end.
Bug: 56199
Change-Id: I7781c415bd61447dd91872575877dd21f36fae9f
Translation updater bot [Sun, 12 Jan 2014 20:39:41 +0000 (20:39 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sun, 12 Jan 2014 20:35:45 +0000 (20:35 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I3819b640ed499cdd677dd95b7e2b7c353b58a046
jenkins-bot [Sun, 12 Jan 2014 20:28:00 +0000 (20:28 +0000)]
Merge "rebuildrecentchanges.php leaves some rc_source empty"
TheDJ [Sun, 12 Jan 2014 13:22:29 +0000 (13:22 +0000)]
Merge "mediawiki.searchSuggest: Blacklist Konqueror < 4.11"
umherirrender [Sun, 12 Jan 2014 12:43:45 +0000 (13:43 +0100)]
rebuildrecentchanges.php leaves some rc_source empty
Adding the missing field to some queries.
Change-Id: I04b228b06d94b79fd488b370694cdf698d1901a6
jenkins-bot [Sun, 12 Jan 2014 03:10:50 +0000 (03:10 +0000)]
Merge "Generate Utf8Case.ser directly from UnicodeData.txt"
Bartosz Dziewoński [Sun, 10 Nov 2013 17:17:13 +0000 (18:17 +0100)]
SpecialWatchlist: JS enhancements to namespace selector (like RC)
Just load the same modules SpecialRecentChanges does. We only need to
change an id on one form element for it to work.
Change-Id: I0bfad7776907a094335089f86dec1de6456d85c8
Bartosz Dziewoński [Sun, 10 Nov 2013 13:50:49 +0000 (14:50 +0100)]
SpecialWatchlist: Synchronise some code with newer versions from RC
Change-Id: Ia6b883330083d05f7edbb6c2a36cb7e54463d05f
umherirrender [Sat, 11 Jan 2014 22:57:47 +0000 (23:57 +0100)]
Call Installer::getDBTypes() static
Change-Id: Ie819c7c6be39c4beab0fca30216632b3e87178a8
Translation updater bot [Sat, 11 Jan 2014 22:30:22 +0000 (22:30 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Sat, 11 Jan 2014 21:55:50 +0000 (21:55 +0000)]
Merge "WebInstaller: Don't call getSoftwareLink()"
PleaseStand [Sat, 11 Jan 2014 21:48:30 +0000 (21:48 +0000)]
Revert "Mechanism for renaming/aliasing classes"
Seems good in theory, though not quite usable in practice.
As with subclassing, the aliases would not work reliably
for code that uses type hints and/or instanceof.
See <https://bugs.php.net/bug.php?id=61422>, which I was
previously unaware of.
The best alternative is to add class_alias() calls to the
class files themselves, as well as duplicate entries to the
AutoLoader (just like when multiple classes are in the same
file).
There is no good way to show deprecation warnings, which
likely would have to be implemented in PHP itself. For now,
renamed classes should be indicated in RELEASE-NOTES. Maybe
I will file an RfC (at <https://wiki.php.net/rfc>) for this
and related improvements (e.g. making class names case
sensitive).
This reverts commit
c61fdb4ef5dbe0c26a17e57203e0bf99aa0e2440.
Change-Id: I9771b4239543b543cfa078f357db1cd3918f081e
Translation updater bot [Sat, 11 Jan 2014 21:17:25 +0000 (21:17 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Ic09df85dd1b9122a363c4c52435c99b9d65f1979
Bartosz Dziewoński [Sun, 10 Nov 2013 13:49:26 +0000 (14:49 +0100)]
SpecialWatchlist: Reorder some stuff in #execute
In order to reduce the interconnectedness between parameter parsing,
database queries and building output, and to make later changes where
I'll start removing some of this code easier to understand.
Change-Id: I6f525506b0fc4c009989ed7dff838c4e21ec4860
jenkins-bot [Sat, 11 Jan 2014 11:47:38 +0000 (11:47 +0000)]
Merge "Correct return type doc for DatabaseBase::getLBInfo()"
jenkins-bot [Sat, 11 Jan 2014 11:46:29 +0000 (11:46 +0000)]
Merge "Composer: suggest does not take version, but description"
Siebrand Mazeland [Sat, 11 Jan 2014 08:31:16 +0000 (09:31 +0100)]
Correct return type doc for DatabaseBase::getLBInfo()
This confused PHPStorm's code analyser.
Change-Id: If99abfa6ca9e52a39b6d2621441686ab564781c7
Niklas Laxström [Sun, 5 Jan 2014 12:47:47 +0000 (12:47 +0000)]
Composer: suggest does not take version, but description
Change-Id: I06b4fc1b23ac35dda1ab69769d773c8ab8d9aaf1
jenkins-bot [Sat, 11 Jan 2014 06:14:42 +0000 (06:14 +0000)]
Merge "rcfeed: Use wfWikiID() instead of $wgDBname"
jenkins-bot [Sat, 11 Jan 2014 06:13:32 +0000 (06:13 +0000)]
Merge "Add XMLRCFeedFormatter"
Kunal Mehta [Sat, 11 Jan 2014 01:52:25 +0000 (17:52 -0800)]
rcfeed: Use wfWikiID() instead of $wgDBname
Change-Id: Id1f408a4c498f23f656298e3453d2a9264e3ac7c
Kunal Mehta [Sat, 4 Jan 2014 08:44:50 +0000 (00:44 -0800)]
Add XMLRCFeedFormatter
Endpoints like XMPP natively support sending XML,
which can be advantageous in some cases.
Since most of the logic is the same as the existing
JSONRCFeedFormatter, it was moved into an abstract
MachineReadableRCFeedFormatter class, which simply
creates the array and lets the implementations format
it.
Change-Id: I44f22777cb55fc1ca6527b79ef40b340e2afbd58
Bartosz Dziewoński [Thu, 7 Nov 2013 23:42:47 +0000 (00:42 +0100)]
SpecialWatchlist: Don't overwrite context now that we don't have to
Abstracted away backwards-compatibility URL parameter handling to
a separate method called before the options are fetched.
Change-Id: I54fd5f35262d86c936deac4d8cec0d2aebad10cd
Bartosz Dziewoński [Fri, 11 Oct 2013 19:39:00 +0000 (21:39 +0200)]
SpecialWatchlist: Use FormOptions for parameter handling
The SpecialWatchlistQuery hook now gets a FormOptions object as the last
parameter instead of an array (which is not bad as bad as it sounds, since
the class implements ArrayAccess).
Change-Id: Iec4aab870b6e9aa98d2b118010e78e25b1dbe437
jrobson [Wed, 8 Jan 2014 18:22:17 +0000 (10:22 -0800)]
Vector: Rewrite search with nesting
Change-Id: Id375b0f2036ea0fdc010712e7721b57fc4ebfa8f
jrobson [Wed, 8 Jan 2014 18:18:34 +0000 (10:18 -0800)]
Vector: Rewrite notifications.less with nesting
Change-Id: Icec6a26633670aa059b1a73ee1e88af8b561c681
jrobson [Wed, 8 Jan 2014 18:17:56 +0000 (10:17 -0800)]
Vector: Rewrite navigation.less with nesting
Change-Id: I93d9bf3f714dc9f3df5bbf91385cacbfaa991382
jrobson [Wed, 8 Jan 2014 17:59:18 +0000 (09:59 -0800)]
Vector: Rewrite vectorTabs with nesting
Change-Id: I598c90495b542996ab32209bfeaeb3d451d6d01e
jenkins-bot [Fri, 10 Jan 2014 23:31:27 +0000 (23:31 +0000)]
Merge "Vector: Rewrite footer styling with nesting"
jenkins-bot [Fri, 10 Jan 2014 23:31:25 +0000 (23:31 +0000)]
Merge "Vector: Rewrite p-personal with nesting."
jenkins-bot [Fri, 10 Jan 2014 23:28:47 +0000 (23:28 +0000)]
Merge "Vector: Componentize screen.less"
Translation updater bot [Fri, 10 Jan 2014 22:37:51 +0000 (22:37 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I36b126374f3405a7a0e7750de87c9ddffaf4c6d3
jenkins-bot [Fri, 10 Jan 2014 22:20:34 +0000 (22:20 +0000)]
Merge "Remove pre-1.18 compatibility note for Linker::link"
jenkins-bot [Fri, 10 Jan 2014 21:26:40 +0000 (21:26 +0000)]
Merge "Change special page group for BookSources"
jenkins-bot [Fri, 10 Jan 2014 21:03:38 +0000 (21:03 +0000)]
Merge "Throw exception on invalid RecentChange types"
jenkins-bot [Fri, 10 Jan 2014 20:58:55 +0000 (20:58 +0000)]
Merge "Update documentation for Sanitizer"
Siebrand Mazeland [Fri, 10 Jan 2014 18:10:31 +0000 (19:10 +0100)]
Remove pre-1.18 compatibility note for Linker::link
Change-Id: I7cda583c5a2c029e14d814bca245d99549f3d24b
jenkins-bot [Fri, 10 Jan 2014 15:17:42 +0000 (15:17 +0000)]
Merge "Fixed silly doc typos"
jenkins-bot [Fri, 10 Jan 2014 12:25:23 +0000 (12:25 +0000)]
Merge "Return correct values and types"
jenkins-bot [Fri, 10 Jan 2014 12:24:39 +0000 (12:24 +0000)]
Merge "Make tableNamesWithUseIndexOrJOIN() and makeUpdateOptions() protected"
jenkins-bot [Fri, 10 Jan 2014 12:09:48 +0000 (12:09 +0000)]
Merge "Update formatting"
jenkins-bot [Fri, 10 Jan 2014 12:09:04 +0000 (12:09 +0000)]
Merge "Specify DBMasterPos::getMasterPos()"
jenkins-bot [Fri, 10 Jan 2014 11:58:17 +0000 (11:58 +0000)]
Merge "Rename $desired_schema to $desiredSchema"
jenkins-bot [Fri, 10 Jan 2014 11:57:32 +0000 (11:57 +0000)]
Merge "Ensure variables in database classes are defined, used and correctly cased"
jenkins-bot [Fri, 10 Jan 2014 11:45:55 +0000 (11:45 +0000)]
Merge "Remove superfluous spaces and doc tweak"
jenkins-bot [Fri, 10 Jan 2014 11:45:10 +0000 (11:45 +0000)]
Merge "Update documentation for database related classes"
Kevin Israel [Thu, 9 Jan 2014 01:50:21 +0000 (20:50 -0500)]
WebInstaller: Don't call getSoftwareLink()
This gets the web installer working without the mysql or mysqli
PHP extension, which is not needed for other database systems.
* Avoid "lego" construction: put link text directly in the messages,
which because the messages are parsed as wikitext, is easy to do.
* Put URLs in separate, ignored messages to avoid duplication in
Database*::getSoftwareLink().
* Because I had to touch a MySQL-related i18n message, I figured
this would be a good time to address bug 28281 (regarding MySQL
forks and Special:Version).
* Other miscellaneous message changes, such as recommending the
mysqli PHP extension over the old, deprecated mysql extension.
Bug: 28281
Bug: 58167
Change-Id: I6dbc9d32c8c2d8f233a67d574229b80444885aea
aude [Wed, 8 Jan 2014 21:32:21 +0000 (22:32 +0100)]
Add ability to mark hooks as deprecated
Change-Id: I8fd29e97a2b5d02746b572a9c315fbe54faf36f2
Aaron Schulz [Fri, 10 Jan 2014 04:25:10 +0000 (20:25 -0800)]
Fixed silly doc typos
Change-Id: I53792affed74aa5985f82994b886b13603e23c65
Aaron Schulz [Fri, 10 Jan 2014 00:33:31 +0000 (16:33 -0800)]
Optimized copyFileBackend to use MD5 from listing if given (e.g. Swift)
Change-Id: Ic495d6c8c6dffb0b34e6b5eefb8de4d057a51069
Bartosz Dziewoński [Fri, 11 Oct 2013 18:20:49 +0000 (20:20 +0200)]
Rename Watchlist request parameters for consistency with RC's ones
This is necessary for us to be later able to have them be inherited
(and use FormOptions). Old parameters (and thus old URIs) will continue
to work (but will never be used in newly generated links).
However, this breaks compatibility of the SpecialWatchlistQuery hook, as
the keys of the array it accepts as the last parameter have changed due to
the renaming. This could be worked around easily if we deem it worth
worrying about.
Change-Id: Ia6b2047006c86256ec22d7eda92a23be2058f1a3
jenkins-bot [Thu, 9 Jan 2014 22:22:26 +0000 (22:22 +0000)]
Merge "Fixed file props test failure for MemoryFileBackend"
jenkins-bot [Thu, 9 Jan 2014 22:09:18 +0000 (22:09 +0000)]
Merge "Fixed http_build_query warnings on PHP < 5.4"
Aaron Schulz [Thu, 9 Jan 2014 21:38:55 +0000 (13:38 -0800)]
Fixed http_build_query warnings on PHP < 5.4
* bug: 59880
Change-Id: I2eae4bed17a72b58ac33f3538dd7d16f4356a3a0
jenkins-bot [Thu, 9 Jan 2014 21:13:47 +0000 (21:13 +0000)]
Merge "Make it easy to get the number of the currently running child"
jenkins-bot [Thu, 9 Jan 2014 21:11:51 +0000 (21:11 +0000)]
Merge "Remove classes and functions deprecated in MediaWiki 1.17"
jenkins-bot [Thu, 9 Jan 2014 20:52:07 +0000 (20:52 +0000)]
Merge "Fixed bogus var usage in SwiftFileBackend"
Aaron Schulz [Thu, 9 Jan 2014 20:39:13 +0000 (12:39 -0800)]
Fixed bogus var usage in SwiftFileBackend
Change-Id: Ia0dec914208cb3100b7f5bbd2291985eac05dc02
Translation updater bot [Thu, 9 Jan 2014 20:28:22 +0000 (20:28 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I1d3dbbb188d207e00b3a82bd7ff8379b7ffe8eeb
jenkins-bot [Thu, 9 Jan 2014 19:41:21 +0000 (19:41 +0000)]
Merge "API: Allow special pages for action=parse&title="
Aaron Schulz [Thu, 9 Jan 2014 19:04:20 +0000 (11:04 -0800)]
Fixed file props test failure for MemoryFileBackend
Change-Id: Ia593023569e3874e11598c38961a68a0da75883f
Chad Horohoe [Thu, 9 Jan 2014 18:38:19 +0000 (10:38 -0800)]
Limit searches at 500 per page
* 5000 search results in a single page is too many to be useful and
just results in a slow page load. If you need that many results use
the API.
* Adds new parameter to WebRequest::getLimitOffset() to allow making
the 5000 limit configurable by callers
Change-Id: I7c12e4b0526db6453aaba5d589ee1c01a54b72d4
jenkins-bot [Thu, 9 Jan 2014 18:36:43 +0000 (18:36 +0000)]
Merge "filebackend: Added supported for retrieving file metadata/headers"
Brad Jorsch [Thu, 9 Jan 2014 16:53:08 +0000 (11:53 -0500)]
API: Allow special pages for action=parse&title=
Iec98e472 had broken this. Use the same strategy as in
MediaWiki::initializeArticle to work around the problem.
Bug: 49477
Change-Id: Ib272b1f9395f6adade505ac7c6a24f9a4bff2779
jenkins-bot [Thu, 9 Jan 2014 15:02:08 +0000 (15:02 +0000)]
Merge "Add validation of the content model edited by EditPage"
jenkins-bot [Thu, 9 Jan 2014 12:53:22 +0000 (12:53 +0000)]
Merge "Exclude toggle button of collapsible elements from user selection"
jenkins-bot [Thu, 9 Jan 2014 04:34:29 +0000 (04:34 +0000)]
Merge "Replace deprecated User::editToken with User::getEditToken (1.19)"
jenkins-bot [Thu, 9 Jan 2014 04:08:00 +0000 (04:08 +0000)]
Merge "Declare visibility on all properties in ForkController"
jenkins-bot [Thu, 9 Jan 2014 00:31:05 +0000 (00:31 +0000)]
Merge "Made use of proper backend-fail-store message"
Aaron Schulz [Wed, 8 Jan 2014 23:59:39 +0000 (15:59 -0800)]
Fixed minor unit test dir leakage
Change-Id: I78cf483dde5078d4fad4e1738d8bb8a8f634e3b1
Aaron Schulz [Wed, 8 Jan 2014 23:42:44 +0000 (15:42 -0800)]
Made use of proper backend-fail-store message
Change-Id: I89d275926530b16f5660863608b89541d72c9f33
jenkins-bot [Wed, 8 Jan 2014 23:09:23 +0000 (23:09 +0000)]
Merge "Added sanity check for doGetLocalCopyMulti() in Swift"
Aaron Schulz [Wed, 8 Jan 2014 23:02:32 +0000 (15:02 -0800)]
Added sanity check for doGetLocalCopyMulti() in Swift
* This better handles the case of /tmp being full or something
Change-Id: Ibf4fed0fd053f82ef5ede46b6c2ec72feee95699
Chad Horohoe [Wed, 8 Jan 2014 22:18:03 +0000 (14:18 -0800)]
Make it easy to get the number of the currently running child
Change-Id: I2071f04b6f01e640c850c6470cfa9f2f48f62eac
Chad Horohoe [Wed, 8 Jan 2014 22:15:09 +0000 (14:15 -0800)]
Declare visibility on all properties in ForkController
Grepped all of core and extensions, and nothing uses them
Change-Id: I8e4f191aafffdbc2254e39bed81a5209cdf29795
jenkins-bot [Wed, 8 Jan 2014 22:14:30 +0000 (22:14 +0000)]
Merge "Add hook to allow extensions to modify the LonelyPages query"
kaldari [Wed, 8 Jan 2014 19:51:54 +0000 (11:51 -0800)]
Add hook to allow extensions to modify the LonelyPages query
First step to solving bug 3483.
Bug: 3483
Change-Id: Ie8c5765ddc6b6028836024c426a0369e6966b25e
jenkins-bot [Wed, 8 Jan 2014 21:31:11 +0000 (21:31 +0000)]
Merge "Remove "or other" option for stubtreshold"
Aaron Schulz [Mon, 30 Sep 2013 07:12:10 +0000 (00:12 -0700)]
filebackend: Added supported for retrieving file metadata/headers
* This can be useful for carrying over metadata when copying files around
* Also fixed a bug in sanitizeHdrs() for Swift (broken content-disposition)
Change-Id: I4534e9acac2b306086797b3677f85c05b98e39fc
Translation updater bot [Wed, 8 Jan 2014 20:34:03 +0000 (20:34 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Iaee33fbd265807b18879b6f9873d1d4344dfb878
jenkins-bot [Wed, 8 Jan 2014 18:57:57 +0000 (18:57 +0000)]
Merge "Removed cloudfiles dependency in SwiftFileBackend"
jenkins-bot [Wed, 8 Jan 2014 18:49:22 +0000 (18:49 +0000)]
Merge "Remove searchlimit preference"
jenkins-bot [Wed, 8 Jan 2014 18:34:10 +0000 (18:34 +0000)]
Merge "Do not suggest to use unused local vars"
Siebrand Mazeland [Wed, 8 Jan 2014 18:27:10 +0000 (19:27 +0100)]
Do not suggest to use unused local vars
Change-Id: I4c2ab60054304593a9fd873b28e160b9d07442f0
jenkins-bot [Wed, 8 Jan 2014 18:19:33 +0000 (18:19 +0000)]
Merge "Don't suggest if the search term is a known title"
jrobson [Wed, 8 Jan 2014 18:13:55 +0000 (10:13 -0800)]
Vector: Rewrite footer styling with nesting
Change-Id: I86666dfcf14ce3a0a59733e7ac2459ac770139b6
jrobson [Wed, 8 Jan 2014 17:57:23 +0000 (09:57 -0800)]
Vector: Rewrite p-personal with nesting.
Change-Id: I3b25552005a2d43759c7f1687008f8ae90f15111
jrobson [Wed, 8 Jan 2014 17:55:08 +0000 (09:55 -0800)]
Vector: Componentize screen.less
This is a bold but much needed move.
I've not changed any of the css, I've simply separated it into separate
LESS files. This arguably makes the code much more readable and organised.
This is step 1 of a big cleanup of the Vector skin. A +2 is much appreciated.
Change-Id: I22e100bb0f9566af6ddccd88bc310f8902c5ff70
Bartosz Dziewoński [Wed, 8 Jan 2014 17:08:24 +0000 (17:08 +0000)]
Merge "Merge RELEASE-NOTES-1.22 into HISTORY"
Bartosz Dziewoński [Wed, 8 Jan 2014 16:42:21 +0000 (17:42 +0100)]
Merge RELEASE-NOTES-1.22 into HISTORY
About time someone did this. One would think it's somebody's
responsibility, eh.
Change-Id: I8649940e006aa191662095a5f787728985ea5c9c
Hydriz [Wed, 8 Jan 2014 12:52:43 +0000 (20:52 +0800)]
Fix missing apostrophe in maintenance/generateJsonI18n.php
Change-Id: I3f678df09853bfdb6295985c81d4469024aecfbb
Reedy [Tue, 7 Jan 2014 20:04:14 +0000 (20:04 +0000)]
Call to a member function getCommonMetaArray() on a non-object at
File.php on line 586
Bug: 59785
Change-Id: I7163f3fd122922a28519b7cb1d3d4cd4b81165ee
Aaron Schulz [Fri, 3 Jan 2014 19:24:11 +0000 (11:24 -0800)]
Use file handle caching in newSequentialPerNodeIDs()
* This is now similar to the other methods in that regard
Change-Id: I36163fa7f1bc13d493df9d77b139a99881d0de45
Siebrand Mazeland [Wed, 8 Jan 2014 08:25:32 +0000 (09:25 +0100)]
Replace deprecated User::editToken with User::getEditToken (1.19)
Change-Id: Ic845c2a62488ea44a306c83652b503fa2c862d8c
Aaron Schulz [Sun, 8 Dec 2013 23:19:00 +0000 (15:19 -0800)]
Removed cloudfiles dependency in SwiftFileBackend
* Added a new curl multi wrapper under libs/.
* Used the new MultiHttpClient class instead of CloudFiles
* Removed CDN related config and code as it does not work.
well due to mutating files and tiny purge rate limits by CDNs.
* Also removed the unused and esoteric 'swiftAnonUser' parameter.
* Support concurrent 'describe' operations.
* Set ACLs on containers on intial PUT instead of in two steps.
Previously if the second step failed, prepare() would never
set the ACLs correctly since it aborts if the container exists.
* Improve token deletion to only trigger on 401s rather than other
random errors like 50X timeouts.
* Removed duplicative getResponse* code by just using one closure
called for both the concurrent and serial cases. Both cases are
now funneled through doExecuteOpHandlesInternal().
* Add the MD5 to stat info, as it might be useful for speeding up
the copy scripts in some cases (when both backends have md5 set).
* Avoid use of trigger_error() since there is a swift log group.
* A few other small code cleanups.
Change-Id: I1adb3e2df6df8cf01d3ad74158de96ea9a79da2e