lhc/web/wiklou.git
10 years ago(Bug 60030) Use $content of the hook for toc hiding
Fomafix [Tue, 14 Jan 2014 07:50:28 +0000 (07:50 +0000)]
(Bug 60030) Use $content of the hook for toc hiding

Change-Id: Ia1d0a5c4b23459a7da58803fbf886b562eea7f37

10 years agoSECURITY: Fix RevDel log entry information leaks
Brad Jorsch [Tue, 14 Jan 2014 06:19:21 +0000 (22:19 -0800)]
SECURITY: Fix RevDel log entry information leaks

DELETED_ACTION is supposed to hide the target of the log entry. But a
few places weren't doing this properly.

This fixes:
* API list=logevents no longer returns the pageid when the target is
  hidden.
* Enhanced RecentChanges no longer includes the log target page in the
  CSS class. This should also make the CSS class actually useful.
* Watchlist no longer shows log entries with DELETED_ACTION unless the
  user has deletedhistory, and with SUPPRESSED_ACTION unless the user
  has suppressrevision.

Bug: 58699
Change-Id: I57f13bfc970a33ffd5a399ffb450d9ed0b77902f

10 years agoSECURITY: Return error on invalid XML for SVGs
csteipp [Thu, 19 Dec 2013 20:52:18 +0000 (12:52 -0800)]
SECURITY: Return error on invalid XML for SVGs

Return an error from UploadBase::detectScriptInSvg when the svg has
XML that cannot be parsed. Usually the XML is invalid, or the parser has
run out of memory trying to parse the file.

This patch is rebased on top of bug 57550.

Bug: 58553
Change-Id: I32661a27d7417cc2c69b844c805b190d6486d17a

10 years agoSECURITY: Disallow -o-link in styles
csteipp [Tue, 14 Jan 2014 06:12:28 +0000 (22:12 -0800)]
SECURITY: Disallow -o-link in styles

Opera will execute javascript from -o-link css attributes.

Bug: 58472
Change-Id: I3b640282ca1feeb175b095e9fdc4dc3ceff05e0f

10 years agoSECURITY: Don't normalize U+FF3C to \
csteipp [Fri, 6 Dec 2013 21:34:30 +0000 (13:34 -0800)]
SECURITY: Don't normalize U+FF3C to \

Bug: 58088
Change-Id: I10bf8dbce41bd617ddf16eb5fc20af1b1cb5f201

10 years agoSECURITY: Added missing auth check in img_auth.php
Aaron Schulz [Tue, 7 Jan 2014 19:32:40 +0000 (11:32 -0800)]
SECURITY: Added missing auth check in img_auth.php

For $wgImgAuthUrlPathMap in img_auth.php

Bug: 57016
Change-Id: I874878322a91bf14091500223d3520861a1556bb

10 years agoSECURITY: Disallow stylesheets in svg
mglaser [Wed, 8 Jan 2014 22:39:52 +0000 (23:39 +0100)]
SECURITY: Disallow stylesheets in svg

Bug: 57550
Change-Id: I73d148519c077e628d82a89280faa088bac9bdf5

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 13 Jan 2014 21:26:51 +0000 (21:26 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib1d083cac1ff5d9a222b66966ef30a74b6d8170a

10 years agoMove MySQL-specific fakeMaster/fakeSlave stuff to DatabaseMysqlBase
Brad Jorsch [Mon, 13 Jan 2014 19:48:36 +0000 (14:48 -0500)]
Move MySQL-specific fakeMaster/fakeSlave stuff to DatabaseMysqlBase

Probably the fakeMaster/fakeSlave stuff was originally intended to be
generic, but the existing code in Database.php is making some very
MySQL-specific assumptions. So let's evict it from Database.php (except
for the minimal support functions) and put it in DatabaseMysqlBase where
it makes more sense.

This also takes care of fixing the breakage described in I5d2a1696 by
reverting Id6268193 and the problematic bit of I364e192e (again).

Change-Id: I3dc6ca216bf2c2f07d3090e86f2539292e1fa86b

10 years agoFixed temp URL breakage in Swift
Aaron Schulz [Fri, 10 Jan 2014 21:36:13 +0000 (13:36 -0800)]
Fixed temp URL breakage in Swift

* The API behavior is not well-documented in that it wants the HMAC
  to use the unencoded object name. CloudFiles had this same issue.

bug: 59894
Change-Id: I3f0c80eed55991bb85d0c12f98927efa19af6760

10 years agoMerge "Ensure a space of 0.5em between dt and dd in legend"
jenkins-bot [Mon, 13 Jan 2014 18:55:09 +0000 (18:55 +0000)]
Merge "Ensure a space of 0.5em between dt and dd in legend"

10 years agoAdd $wgFavicon to siteinfo API
Gergő Tisza [Mon, 13 Jan 2014 11:00:53 +0000 (11:00 +0000)]
Add $wgFavicon to siteinfo API

This would be used by MultimediaViewer to show an icon next to the
link to the description page (and probably makes sense to include
$wgFavicon if $wgLogo is there, anyway).

Bug: 59925
Change-Id: Ibdad9c3d2b515fbfdcd458db9b061f4d4d375180

10 years agoEnsure a space of 0.5em between dt and dd in legend
Fomafix [Mon, 13 Jan 2014 10:35:02 +0000 (10:35 +0000)]
Ensure a space of 0.5em between dt and dd in legend

In font Verdana the text "(+-123)" has a width of more than 3.5em.
With dd.mw-changeslist-legend-plusminus { margin-left: 3.5em; }
there is no space between "(+-123)" and the description.

Change-Id: Id8e4bc478cb00eaa9271c5a6cb580fd042d1c026

10 years agoMerge "Revert "Mechanism for renaming/aliasing classes""
jenkins-bot [Mon, 13 Jan 2014 04:25:38 +0000 (04:25 +0000)]
Merge "Revert "Mechanism for renaming/aliasing classes""

10 years agoMerge "Changed FOR UPDATE handling in Postgresql"
jenkins-bot [Mon, 13 Jan 2014 03:15:46 +0000 (03:15 +0000)]
Merge "Changed FOR UPDATE handling in Postgresql"

10 years agoRevert "Include short descriptions for extensions bundled in the release"
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

10 years agoInclude short descriptions for extensions bundled in the release
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

10 years agoRaw option of parser functions should match complete word
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

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sun, 12 Jan 2014 20:39:41 +0000 (20:39 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation 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

10 years agoMerge "rebuildrecentchanges.php leaves some rc_source empty"
jenkins-bot [Sun, 12 Jan 2014 20:28:00 +0000 (20:28 +0000)]
Merge "rebuildrecentchanges.php leaves some rc_source empty"

10 years agoMerge "mediawiki.searchSuggest: Blacklist Konqueror < 4.11"
TheDJ [Sun, 12 Jan 2014 13:22:29 +0000 (13:22 +0000)]
Merge "mediawiki.searchSuggest: Blacklist Konqueror < 4.11"

10 years agorebuildrecentchanges.php leaves some rc_source empty
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

10 years agoMerge "Generate Utf8Case.ser directly from UnicodeData.txt"
jenkins-bot [Sun, 12 Jan 2014 03:10:50 +0000 (03:10 +0000)]
Merge "Generate Utf8Case.ser directly from UnicodeData.txt"

10 years agoSpecialWatchlist: JS enhancements to namespace selector (like RC)
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

10 years agoSpecialWatchlist: Synchronise some code with newer versions from RC
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

10 years agoCall Installer::getDBTypes() static
umherirrender [Sat, 11 Jan 2014 22:57:47 +0000 (23:57 +0100)]
Call Installer::getDBTypes() static

Change-Id: Ie819c7c6be39c4beab0fca30216632b3e87178a8

10 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sat, 11 Jan 2014 22:30:22 +0000 (22:30 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoMerge "WebInstaller: Don't call getSoftwareLink()"
jenkins-bot [Sat, 11 Jan 2014 21:55:50 +0000 (21:55 +0000)]
Merge "WebInstaller: Don't call getSoftwareLink()"

10 years agoRevert "Mechanism for renaming/aliasing classes"
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

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 11 Jan 2014 21:17:25 +0000 (21:17 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic09df85dd1b9122a363c4c52435c99b9d65f1979

10 years agoSpecialWatchlist: Reorder some stuff in #execute
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

10 years agoMerge "Correct return type doc for DatabaseBase::getLBInfo()"
jenkins-bot [Sat, 11 Jan 2014 11:47:38 +0000 (11:47 +0000)]
Merge "Correct return type doc for DatabaseBase::getLBInfo()"

10 years agoMerge "Composer: suggest does not take version, but description"
jenkins-bot [Sat, 11 Jan 2014 11:46:29 +0000 (11:46 +0000)]
Merge "Composer: suggest does not take version, but description"

10 years agoCorrect return type doc for DatabaseBase::getLBInfo()
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

10 years agoComposer: suggest does not take version, but description
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

10 years agoMerge "rcfeed: Use wfWikiID() instead of $wgDBname"
jenkins-bot [Sat, 11 Jan 2014 06:14:42 +0000 (06:14 +0000)]
Merge "rcfeed: Use wfWikiID() instead of $wgDBname"

10 years agoMerge "Add XMLRCFeedFormatter"
jenkins-bot [Sat, 11 Jan 2014 06:13:32 +0000 (06:13 +0000)]
Merge "Add XMLRCFeedFormatter"

10 years agorcfeed: Use wfWikiID() instead of $wgDBname
Kunal Mehta [Sat, 11 Jan 2014 01:52:25 +0000 (17:52 -0800)]
rcfeed: Use wfWikiID() instead of $wgDBname

Change-Id: Id1f408a4c498f23f656298e3453d2a9264e3ac7c

10 years agoAdd XMLRCFeedFormatter
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

10 years agoSpecialWatchlist: Don't overwrite context now that we don't have to
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

10 years agoSpecialWatchlist: Use FormOptions for parameter handling
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

10 years agoVector: Rewrite search with nesting
jrobson [Wed, 8 Jan 2014 18:22:17 +0000 (10:22 -0800)]
Vector: Rewrite search with nesting

Change-Id: Id375b0f2036ea0fdc010712e7721b57fc4ebfa8f

10 years agoVector: Rewrite notifications.less with nesting
jrobson [Wed, 8 Jan 2014 18:18:34 +0000 (10:18 -0800)]
Vector: Rewrite notifications.less with nesting

Change-Id: Icec6a26633670aa059b1a73ee1e88af8b561c681

10 years agoVector: Rewrite navigation.less with nesting
jrobson [Wed, 8 Jan 2014 18:17:56 +0000 (10:17 -0800)]
Vector: Rewrite navigation.less with nesting

Change-Id: I93d9bf3f714dc9f3df5bbf91385cacbfaa991382

10 years agoVector: Rewrite vectorTabs with nesting
jrobson [Wed, 8 Jan 2014 17:59:18 +0000 (09:59 -0800)]
Vector: Rewrite vectorTabs with nesting

Change-Id: I598c90495b542996ab32209bfeaeb3d451d6d01e

10 years agoMerge "Vector: Rewrite footer styling with nesting"
jenkins-bot [Fri, 10 Jan 2014 23:31:27 +0000 (23:31 +0000)]
Merge "Vector: Rewrite footer styling with nesting"

10 years agoMerge "Vector: Rewrite p-personal with nesting."
jenkins-bot [Fri, 10 Jan 2014 23:31:25 +0000 (23:31 +0000)]
Merge "Vector: Rewrite p-personal with nesting."

10 years agoMerge "Vector: Componentize screen.less"
jenkins-bot [Fri, 10 Jan 2014 23:28:47 +0000 (23:28 +0000)]
Merge "Vector: Componentize screen.less"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 10 Jan 2014 22:37:51 +0000 (22:37 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I36b126374f3405a7a0e7750de87c9ddffaf4c6d3

10 years agoMerge "Remove pre-1.18 compatibility note for Linker::link"
jenkins-bot [Fri, 10 Jan 2014 22:20:34 +0000 (22:20 +0000)]
Merge "Remove pre-1.18 compatibility note for Linker::link"

10 years agoMerge "Change special page group for BookSources"
jenkins-bot [Fri, 10 Jan 2014 21:26:40 +0000 (21:26 +0000)]
Merge "Change special page group for BookSources"

10 years agoMerge "Throw exception on invalid RecentChange types"
jenkins-bot [Fri, 10 Jan 2014 21:03:38 +0000 (21:03 +0000)]
Merge "Throw exception on invalid RecentChange types"

10 years agoMerge "Update documentation for Sanitizer"
jenkins-bot [Fri, 10 Jan 2014 20:58:55 +0000 (20:58 +0000)]
Merge "Update documentation for Sanitizer"

10 years agoRemove pre-1.18 compatibility note for Linker::link
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

10 years agoMerge "Fixed silly doc typos"
jenkins-bot [Fri, 10 Jan 2014 15:17:42 +0000 (15:17 +0000)]
Merge "Fixed silly doc typos"

10 years agoMerge "Return correct values and types"
jenkins-bot [Fri, 10 Jan 2014 12:25:23 +0000 (12:25 +0000)]
Merge "Return correct values and types"

10 years agoMerge "Make tableNamesWithUseIndexOrJOIN() and makeUpdateOptions() protected"
jenkins-bot [Fri, 10 Jan 2014 12:24:39 +0000 (12:24 +0000)]
Merge "Make tableNamesWithUseIndexOrJOIN() and makeUpdateOptions() protected"

10 years agoMerge "Update formatting"
jenkins-bot [Fri, 10 Jan 2014 12:09:48 +0000 (12:09 +0000)]
Merge "Update formatting"

10 years agoMerge "Specify DBMasterPos::getMasterPos()"
jenkins-bot [Fri, 10 Jan 2014 12:09:04 +0000 (12:09 +0000)]
Merge "Specify DBMasterPos::getMasterPos()"

10 years agoMerge "Rename $desired_schema to $desiredSchema"
jenkins-bot [Fri, 10 Jan 2014 11:58:17 +0000 (11:58 +0000)]
Merge "Rename $desired_schema to $desiredSchema"

10 years agoMerge "Ensure variables in database classes are defined, used and correctly cased"
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"

10 years agoMerge "Remove superfluous spaces and doc tweak"
jenkins-bot [Fri, 10 Jan 2014 11:45:55 +0000 (11:45 +0000)]
Merge "Remove superfluous spaces and doc tweak"

10 years agoMerge "Update documentation for database related classes"
jenkins-bot [Fri, 10 Jan 2014 11:45:10 +0000 (11:45 +0000)]
Merge "Update documentation for database related classes"

10 years agoWebInstaller: Don't call getSoftwareLink()
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

10 years agoAdd ability to mark hooks as deprecated
aude [Wed, 8 Jan 2014 21:32:21 +0000 (22:32 +0100)]
Add ability to mark hooks as deprecated

Change-Id: I8fd29e97a2b5d02746b572a9c315fbe54faf36f2

10 years agoFixed silly doc typos
Aaron Schulz [Fri, 10 Jan 2014 04:25:10 +0000 (20:25 -0800)]
Fixed silly doc typos

Change-Id: I53792affed74aa5985f82994b886b13603e23c65

10 years agoOptimized copyFileBackend to use MD5 from listing if given (e.g. Swift)
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

10 years agoRename Watchlist request parameters for consistency with RC's ones
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

10 years agoMerge "Fixed file props test failure for MemoryFileBackend"
jenkins-bot [Thu, 9 Jan 2014 22:22:26 +0000 (22:22 +0000)]
Merge "Fixed file props test failure for MemoryFileBackend"

10 years agoMerge "Fixed http_build_query warnings on PHP < 5.4"
jenkins-bot [Thu, 9 Jan 2014 22:09:18 +0000 (22:09 +0000)]
Merge "Fixed http_build_query warnings on PHP < 5.4"

10 years agoFixed 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

10 years agoMerge "Make it easy to get the number of the currently running child"
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"

10 years agoMerge "Remove classes and functions deprecated in MediaWiki 1.17"
jenkins-bot [Thu, 9 Jan 2014 21:11:51 +0000 (21:11 +0000)]
Merge "Remove classes and functions deprecated in MediaWiki 1.17"

10 years agoMerge "Fixed bogus var usage in SwiftFileBackend"
jenkins-bot [Thu, 9 Jan 2014 20:52:07 +0000 (20:52 +0000)]
Merge "Fixed bogus var usage in SwiftFileBackend"

10 years agoFixed 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

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 9 Jan 2014 20:28:22 +0000 (20:28 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I1d3dbbb188d207e00b3a82bd7ff8379b7ffe8eeb

10 years agoMerge "API: Allow special pages for action=parse&title="
jenkins-bot [Thu, 9 Jan 2014 19:41:21 +0000 (19:41 +0000)]
Merge "API: Allow special pages for action=parse&title="

10 years agoFixed file props test failure for MemoryFileBackend
Aaron Schulz [Thu, 9 Jan 2014 19:04:20 +0000 (11:04 -0800)]
Fixed file props test failure for MemoryFileBackend

Change-Id: Ia593023569e3874e11598c38961a68a0da75883f

10 years agoLimit searches at 500 per page
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

10 years agoMerge "filebackend: Added supported for retrieving file metadata/headers"
jenkins-bot [Thu, 9 Jan 2014 18:36:43 +0000 (18:36 +0000)]
Merge "filebackend: Added supported for retrieving file metadata/headers"

10 years agoAPI: Allow special pages for action=parse&title=
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

10 years agoMerge "Add validation of the content model edited by EditPage"
jenkins-bot [Thu, 9 Jan 2014 15:02:08 +0000 (15:02 +0000)]
Merge "Add validation of the content model edited by EditPage"

10 years agoMerge "Exclude toggle button of collapsible elements from user selection"
jenkins-bot [Thu, 9 Jan 2014 12:53:22 +0000 (12:53 +0000)]
Merge "Exclude toggle button of collapsible elements from user selection"

10 years agoMerge "Replace deprecated User::editToken with User::getEditToken (1.19)"
jenkins-bot [Thu, 9 Jan 2014 04:34:29 +0000 (04:34 +0000)]
Merge "Replace deprecated User::editToken with User::getEditToken (1.19)"

10 years agoMerge "Declare visibility on all properties in ForkController"
jenkins-bot [Thu, 9 Jan 2014 04:08:00 +0000 (04:08 +0000)]
Merge "Declare visibility on all properties in ForkController"

10 years agoMerge "Made use of proper backend-fail-store message"
jenkins-bot [Thu, 9 Jan 2014 00:31:05 +0000 (00:31 +0000)]
Merge "Made use of proper backend-fail-store message"

10 years agoFixed minor unit test dir leakage
Aaron Schulz [Wed, 8 Jan 2014 23:59:39 +0000 (15:59 -0800)]
Fixed minor unit test dir leakage

Change-Id: I78cf483dde5078d4fad4e1738d8bb8a8f634e3b1

10 years agoMade use of proper backend-fail-store message
Aaron Schulz [Wed, 8 Jan 2014 23:42:44 +0000 (15:42 -0800)]
Made use of proper backend-fail-store message

Change-Id: I89d275926530b16f5660863608b89541d72c9f33

10 years agoMerge "Added sanity check for doGetLocalCopyMulti() in Swift"
jenkins-bot [Wed, 8 Jan 2014 23:09:23 +0000 (23:09 +0000)]
Merge "Added sanity check for doGetLocalCopyMulti() in Swift"

10 years agoAdded 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

10 years agoMake it easy to get the number of the currently running child
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

10 years agoDeclare visibility on all properties in ForkController
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

10 years agoMerge "Add hook to allow extensions to modify the LonelyPages query"
jenkins-bot [Wed, 8 Jan 2014 22:14:30 +0000 (22:14 +0000)]
Merge "Add hook to allow extensions to modify the LonelyPages query"

10 years agoAdd 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

10 years agoMerge "Remove "or other" option for stubtreshold"
jenkins-bot [Wed, 8 Jan 2014 21:31:11 +0000 (21:31 +0000)]
Merge "Remove "or other" option for stubtreshold"

10 years agofilebackend: Added supported for retrieving file metadata/headers
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

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 8 Jan 2014 20:34:03 +0000 (20:34 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Iaee33fbd265807b18879b6f9873d1d4344dfb878

10 years agoMerge "Removed cloudfiles dependency in SwiftFileBackend"
jenkins-bot [Wed, 8 Jan 2014 18:57:57 +0000 (18:57 +0000)]
Merge "Removed cloudfiles dependency in SwiftFileBackend"

10 years agoMerge "Remove searchlimit preference"
jenkins-bot [Wed, 8 Jan 2014 18:49:22 +0000 (18:49 +0000)]
Merge "Remove searchlimit preference"