lhc/web/wiklou.git
11 years agoMerge "phpcs: Normalize methods declarations to "[final abstract] [visibility]"."
jenkins-bot [Tue, 19 Feb 2013 17:16:16 +0000 (17:16 +0000)]
Merge "phpcs: Normalize methods declarations to "[final abstract] [visibility]"."

11 years agophpcs: Normalize methods declarations to "[final abstract] [visibility]".
Antoine Musso [Tue, 12 Feb 2013 21:32:09 +0000 (22:32 +0100)]
phpcs: Normalize methods declarations to "[final abstract] [visibility]".

CodeSniffer sniff is:
  [abstract final] [<visibility>] [static] function
As declared by:
  PSR2.Methods.MethodDeclaration.StaticBeforeVisibility
in:
  https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/MediaWiki/ruleset.xml

Change-Id: Ifabd289e8668019ed752bdd711b3b43a9c346336

11 years agoMove <warnings> and <query-continue> to result's top and optimize
Yuri Astrakhan [Tue, 19 Feb 2013 16:40:07 +0000 (11:40 -0500)]
Move <warnings> and <query-continue> to result's top and optimize

* Both the warnings and query-continue elements will now be shown
at the top of the result, making it easier for debugging and learning.
* Added int $flags parameter instead of bool $overwrite for addValue()
and setElement(). Supported flags are OVERRIDE - overrides existing value,
same meaning as true (which will continue to work), and ADD_ON_TOP which
ensures that if the value being added does not exist, it will be placed
as the first element in the parent array.
* Optimized ApiBase::setWarning to no longer use regex (faster)
* Optimized ApiResult::addValue() for a bit more efficiency
* Added ApiResult::addAsFirstElement() that inserts a named value into
the array at the top

Change-Id: I0fa2697e1eaa4947d01527bb3ad555e1051f6be4

11 years agoMerge "API Remove $wgAPIGeneratorModules - it's dynamic now"
jenkins-bot [Tue, 19 Feb 2013 16:44:02 +0000 (16:44 +0000)]
Merge "API Remove $wgAPIGeneratorModules - it's dynamic now"

11 years agoAPI Remove $wgAPIGeneratorModules - it's dynamic now
Yuri Astrakhan [Fri, 8 Feb 2013 23:43:25 +0000 (18:43 -0500)]
API Remove $wgAPIGeneratorModules - it's dynamic now

* $wgAPIGeneratorModules is now obsolete and will be ignored
* Removed generator tests - obsolete because there is no more list

Change-Id: I014260a42226854a2178345dc3cd0f50b41b3c08

11 years ago(bug 45092) Better context for Article initialized by ApiEditPage
Liangent [Sun, 17 Feb 2013 10:59:41 +0000 (18:59 +0800)]
(bug 45092) Better context for Article initialized by ApiEditPage

After I99a19c93, the $context argument of EditFilterMergedContent hook
is just $editPage->mArticle->getContext() which has a title of [[API]]
when it's created in ApiEditPage called internally (like what WikiLove
does). Now a new context is created for it which simulates a real edit
(title is the title being edited, and request is the derivated one with
a few more fake parameters added).

Change-Id: I743942822eb5097d9d98c11088a91395d9e6d47f

11 years agoMerge "(bug 45130) Fix siprop=protocols in XML format"
jenkins-bot [Mon, 18 Feb 2013 21:20:12 +0000 (21:20 +0000)]
Merge "(bug 45130) Fix siprop=protocols in XML format"

11 years ago(bug 45130) Fix siprop=protocols in XML format
Alex Monk [Mon, 18 Feb 2013 20:57:00 +0000 (20:57 +0000)]
(bug 45130) Fix siprop=protocols in XML format

Change-Id: I2362be19f1e8f759e574d85ed210978c0fbd53a3

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 18 Feb 2013 20:24:54 +0000 (20:24 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1646f9716c075e338a54ef4235eb8c624ce116c3

11 years agoWrote proper skip reason
Amir E. Aharoni [Mon, 18 Feb 2013 18:28:43 +0000 (23:58 +0530)]
Wrote proper skip reason

Change-Id: I80627dab1db279ee0b9d27ec929671bc458558b7

11 years agoMerge "(bug 43467) Add invert selection for ns in Special:Newpages"
jenkins-bot [Mon, 18 Feb 2013 16:14:51 +0000 (16:14 +0000)]
Merge "(bug 43467) Add invert selection for ns in Special:Newpages"

11 years agoFix documentation of DatabaseBase::fetchObject() and DatabaseBase::fetchRow()
Alexandre Emsenhuber [Mon, 18 Feb 2013 14:39:29 +0000 (15:39 +0100)]
Fix documentation of DatabaseBase::fetchObject() and DatabaseBase::fetchRow()

- DatabaseBase::fetchRows() returns the row as an array, not an object
- Both methods return false if there are no more rows in the result

Change-Id: I328d61b237bb82479d3fcb4c54ee9fd96dc4598f

11 years agoMerge "(Bug 44192) Do not attempt to send a real e-mail in ApiAccountCreationTest"
jenkins-bot [Mon, 18 Feb 2013 10:11:04 +0000 (10:11 +0000)]
Merge "(Bug 44192) Do not attempt to send a real e-mail in ApiAccountCreationTest"

11 years agoFix copyright notice shown as © instead of ©
Platonides [Mon, 18 Feb 2013 10:00:19 +0000 (11:00 +0100)]
Fix copyright notice shown as Â© instead of ©

Noticed by Waldir in bug 45112

Change-Id: I69e5f52605f8d9621fbf9b54ca9e2a4628150213

11 years agoFix check of return value from SpecialPageFactory::resolveAlias
umherirrender [Mon, 11 Feb 2013 15:59:30 +0000 (16:59 +0100)]
Fix check of return value from SpecialPageFactory::resolveAlias

Calling SpecialPageFactory::resolveAlias with an invalid special page
name, gives an array( null, null ) back, but this part of code checks
explicit against !false, which gives always true. Changed the condition
to use an (implicit) check, like the other places, where
SpecialPageFactory::resolveAlias is called.

Change-Id: I8def9dd88ebfbe9fcf1ba8f9cae9e25039ec77ed

11 years agofix hardcoded quote in BacklinkCache
umherirrender [Mon, 11 Feb 2013 16:14:05 +0000 (17:14 +0100)]
fix hardcoded quote in BacklinkCache

Also make the IS NULL in upper case, looks better and sql reservered
words often written in upper case

Change-Id: I844ec37bbf3fb00d95a43dfd6f58db1e67724d53

11 years agoAdd url param 'extended' to Special:Watchlist
umherirrender [Tue, 12 Feb 2013 19:40:33 +0000 (20:40 +0100)]
Add url param 'extended' to Special:Watchlist

This new url param allows overridding of the user option
'extendwatchlist' in the same way than, for example, 'enhanced' for
'usenewrc'.
This is helpful to provide a extended enhanced watchlist per url.
Without extendwatchlist a enhanced watchlist is not useful (no page
groups possible)

Also fixed the default for param namespace

Change-Id: I115544005a621ee01a0ed0970a13099af92f42e7

11 years ago[Regression] Do not trim spaces on edit preview or show changes
umherirrender [Sun, 17 Feb 2013 13:39:04 +0000 (14:39 +0100)]
[Regression] Do not trim spaces on edit preview or show changes

Since Ic05e5898 spaces are also trimmed on preview/show changes, which
is bad, because the autosummary "/* Header */ " gets trimmed and the
user text is direct written behind the slash. That is confusing and was
not so, before this change.

Force the trim on summary preview to have the right preview, because the
spaces are trimmed on save.

Change-Id: I0058ce31197f3ea8ffc5520f3f0f9e1bf6105066

11 years agoMerge "Temporarily reverting change Ifbeae7e9 for 2 weeks to allow time to fix issues...
Kaldari [Mon, 18 Feb 2013 03:01:49 +0000 (03:01 +0000)]
Merge "Temporarily reverting change Ifbeae7e9 for 2 weeks to allow time to fix issues with TimedMediaHandler and other extensions."

11 years ago(bug 43467) Add invert selection for ns in Special:Newpages
mrbluesky [Sat, 16 Feb 2013 00:43:38 +0000 (01:43 +0100)]
(bug 43467) Add invert selection for ns in Special:Newpages

Add invert selection checkbox for namespace on Special:NewPages.

Change-Id: Ie3f72d97e2ba217ba39f6c1b4bf747e71c7a5ae3

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 17 Feb 2013 20:21:14 +0000 (20:21 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I30d52de13dcf438a410cb478cbed88e6d4a6ba92

11 years agoMerge "Revert "Overriding Vector's footer margin when in print mode""
jenkins-bot [Sun, 17 Feb 2013 19:23:04 +0000 (19:23 +0000)]
Merge "Revert "Overriding Vector's footer margin when in print mode""

11 years agoMerge "(bug 44943) Cleanup of API:Account creation documentation."
jenkins-bot [Sun, 17 Feb 2013 12:34:02 +0000 (12:34 +0000)]
Merge "(bug 44943) Cleanup of API:Account creation documentation."

11 years ago(bug 44943) Cleanup of API:Account creation documentation.
Tyler Anthony Romeo [Wed, 13 Feb 2013 22:42:09 +0000 (17:42 -0500)]
(bug 44943) Cleanup of API:Account creation documentation.

Improved documentation for the parameters for action=createaccount
and fixed the help link so it is valid.

Change-Id: I8123aed59077d2cb7446df43fefbb6632dc608d7

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Sat, 16 Feb 2013 23:28:18 +0000 (23:28 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 16 Feb 2013 22:57:26 +0000 (22:57 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I45454f0440ac2b9985343d534304d1a597dc9f95

11 years agoRevert "Overriding Vector's footer margin when in print mode"
Matmarex [Sat, 16 Feb 2013 21:53:23 +0000 (21:53 +0000)]
Revert "Overriding Vector's footer margin when in print mode"

This reverts commit 2b9e9f6a4a4c3bcfe04270194fd4f9a5b9f5a931

No longer necessary after I66d40673 was merged to fix
the underlying issue.

Change-Id: I1bbc7220f53d83071672cf727fa00c3d74bc5cbc

11 years agoMove my name up to developers in the credits file
Alex Monk [Sat, 16 Feb 2013 21:03:23 +0000 (21:03 +0000)]
Move my name up to developers in the credits file

Change-Id: I6f1f400feacc345a0bbecae9f3de00aec4b59d41

11 years agoAdd a handful of missing @return
Reedy [Sun, 9 Dec 2012 03:12:12 +0000 (03:12 +0000)]
Add a handful of missing @return

Change-Id: I21b218e6694600a2d2df4dd0a6b2b5cd2e10f1f9

11 years agoCorrect name in CREDITS, per request.
Ori Livneh [Sat, 16 Feb 2013 06:04:36 +0000 (22:04 -0800)]
Correct name in CREDITS, per request.

Change-Id: I43117da886628c5b50b3d9def67db03d9760a840

11 years ago[JobQueue] Avoid spamming the runJobs log with large blobs.
Aaron Schulz [Fri, 15 Feb 2013 04:11:26 +0000 (20:11 -0800)]
[JobQueue] Avoid spamming the runJobs log with large blobs.

Change-Id: I5a69350c0486edd9368ebbd2e42ab51f03b682d8

11 years agoMerge "(bug 45017) Check whether this request is a POST before allowing a query modul...
jenkins-bot [Fri, 15 Feb 2013 22:13:36 +0000 (22:13 +0000)]
Merge "(bug 45017) Check whether this request is a POST before allowing a query module to run, if required by the query module"

11 years agoTemporarily reverting change Ifbeae7e9 for 2 weeks to allow time to
Kaldari [Fri, 15 Feb 2013 21:19:53 +0000 (13:19 -0800)]
Temporarily reverting change Ifbeae7e9 for 2 weeks to allow time to
fix issues with TimedMediaHandler and other extensions.

This will temporarily allow HTML in JS i18n strings again.

See related bugs 44977, 44525, 44885, 43512

OKed by Krinkle.

Change-Id: Iedb304f80b79bb65b9080909a1d70d432ee8aa5d

11 years agoMerge "Better error message for invalid user name in cleanupSpam.php"
jenkins-bot [Fri, 15 Feb 2013 21:13:31 +0000 (21:13 +0000)]
Merge "Better error message for invalid user name in cleanupSpam.php"

11 years ago(bug 45017) Check whether this request is a POST before allowing a query module to...
Alex Monk [Fri, 15 Feb 2013 20:54:00 +0000 (20:54 +0000)]
(bug 45017) Check whether this request is a POST before allowing a query module to run, if required by the query module

Change-Id: Ie08fd3a887390e2ead6f6d6fe1e16fa8f8617a2c

11 years agoOLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 15 Feb 2013 20:08:58 +0000 (20:08 +0000)]
OLocalisation updates from translatewiki.net.

Change-Id: I96cffc2914cfda4556db3b4e0850cbd616bd4e84

11 years agoReturn boolean from status object.
nischayn22 [Fri, 15 Feb 2013 13:22:01 +0000 (18:52 +0530)]
Return boolean from status object.

Change-Id: I37e4c37423f16bee6342ffce02383db251d900cd

11 years agoMerge "(bug 44385) move jquery.collapsibleTabs module to Vector extension"
jenkins-bot [Fri, 15 Feb 2013 18:55:33 +0000 (18:55 +0000)]
Merge "(bug 44385) move jquery.collapsibleTabs module to Vector extension"

11 years ago(bug 44385) move jquery.collapsibleTabs module to Vector extension
MatmaRex [Tue, 5 Feb 2013 18:42:14 +0000 (19:42 +0100)]
(bug 44385) move jquery.collapsibleTabs module to Vector extension

It was entirely Vector-extension-specific (so very unlikely to have
been used by anything external), deeply interconnected with the
extension (its internal functions were overwritten by a script from
it, making it even more incompatible with other uses), and this
functionality (being really a partial workaround for low-res issues
with the skin) belongs to the extension instead of the skin anyway.

Corresponding Vector extension change: Ic6b622279

Change-Id: I7c0f42d922b20741f66014eea0a7593bc1950e0e

11 years agoMerge "Support WAI-ARIA's role="presentation" inside of WikiText."
jenkins-bot [Fri, 15 Feb 2013 16:56:00 +0000 (16:56 +0000)]
Merge "Support WAI-ARIA's role="presentation" inside of WikiText."

11 years ago[BagOStuff] De-breakified cas() for SqlBagOStuff.
Aaron Schulz [Fri, 15 Feb 2013 04:18:42 +0000 (20:18 -0800)]
[BagOStuff] De-breakified cas() for SqlBagOStuff.

* Seemed to be a functional merge conflict with sharding code.

Change-Id: I1e49790f6b82b09ea2cd6606ca918f0a620a191f

11 years agoUpdate formatting
Siebrand Mazeland [Fri, 15 Feb 2013 11:38:53 +0000 (12:38 +0100)]
Update formatting

11 of n.

Change-Id: Ifdaf198b16bf72e1e0a3d3802c041d239096ae28

11 years agoUpdate formatting
Siebrand Mazeland [Fri, 15 Feb 2013 11:23:15 +0000 (12:23 +0100)]
Update formatting

10 of n.

Change-Id: I9c17088ac063c14544484176daa00272dcd607b8

11 years agoUpdate formatting
Siebrand Mazeland [Fri, 15 Feb 2013 11:10:19 +0000 (12:10 +0100)]
Update formatting

9 of n.

Change-Id: Ide20743a2e84ff68549286120e6cff9d9f396f54

11 years agoUpdate formatting
Siebrand Mazeland [Fri, 15 Feb 2013 10:35:55 +0000 (11:35 +0100)]
Update formatting

8 of n.

Change-Id: I55551510e7afde5b6b981697d5c0efd7b9507585

11 years agoUpdate formatting
Siebrand Mazeland [Fri, 15 Feb 2013 10:27:48 +0000 (11:27 +0100)]
Update formatting

7 of n.

Change-Id: I07687a4381f29fd9fc73666e460f25769ed54092

11 years agoUpdate formatting
Siebrand Mazeland [Fri, 15 Feb 2013 10:24:31 +0000 (11:24 +0100)]
Update formatting

6 of n.

Change-Id: I0ca3f1f72349623631ce1d7f3a4e2ed5edbdbdf4

11 years agoUpdate formatting
Siebrand Mazeland [Fri, 15 Feb 2013 10:17:52 +0000 (11:17 +0100)]
Update formatting

5 of n.

Change-Id: I811ca957b6588085d67606ebc0cd4033a1e53839

11 years ago[LockManager] Created PostgreSqlLockManager class.
Aaron Schulz [Sun, 3 Feb 2013 08:00:50 +0000 (00:00 -0800)]
[LockManager] Created PostgreSqlLockManager class.

* Made DBLockManager abstract instead of a hacky blocking implementation.
  With a PG and MySQL option, that option is no longer useful.

Change-Id: I939551bd2283608f2d017d9d2fca1334a533c005

11 years ago[Database] Set bytea_output to match pg_unescape_bytea().
Aaron Schulz [Sun, 3 Feb 2013 11:10:34 +0000 (03:10 -0800)]
[Database] Set bytea_output to match pg_unescape_bytea().

* In newer versions of PG, a "hex" escaping format is used, which
  totally breaks things like SqlBagOStuff since the pg_unescape_bytea
  function still works the old way (it does not use a DB handle).
  Setting the format to the old way via SET fixes this.

Change-Id: I9f5a64922acd2d954880790f42ba4efafaed314e

11 years ago[Database] Added support for lock/unlock in Postgres.
Aaron Schulz [Fri, 1 Feb 2013 19:42:36 +0000 (11:42 -0800)]
[Database] Added support for lock/unlock in Postgres.

Change-Id: Ie422de58c36f195597eabdd51a27d3ed2c2880cf

11 years ago(bug 44449) Add siprop=protocols to SiteInfo API
Mark Holmquist [Thu, 14 Feb 2013 23:06:15 +0000 (15:06 -0800)]
(bug 44449) Add siprop=protocols to SiteInfo API

The existing method for getting allowed URL protocols will not help Parsoid,
so we're adding a new API call that will help us fix bug 44449.

Change-Id: I5fd130cb30313f8e8a376ff0146195f2264e8e0e

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 14 Feb 2013 20:15:57 +0000 (20:15 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I2d9a92d7c1771408fd89e6a3bbaeae641afc0c1e

11 years agoUpdate code formatting
Siebrand Mazeland [Wed, 13 Feb 2013 18:38:32 +0000 (19:38 +0100)]
Update code formatting

Change-Id: I8741b5b979e55f38a666961a16c387586a92410e

11 years agoUpdate formatting
Siebrand Mazeland [Thu, 14 Feb 2013 13:10:38 +0000 (14:10 +0100)]
Update formatting

4 of n.

Change-Id: I23e2409ce9eff14c3434154d236de83c93a92440

11 years agoFix parentheses
Siebrand Mazeland [Thu, 14 Feb 2013 13:08:51 +0000 (14:08 +0100)]
Fix parentheses

Change-Id: I6e7d99796635ed8f4ec462ae8661069b8518e5c5

11 years agoUpdate formatting
Siebrand Mazeland [Thu, 14 Feb 2013 11:56:23 +0000 (12:56 +0100)]
Update formatting

3 of n.

Change-Id: I62ad009018c54da6cf081c334e44eb98a3c72695

11 years agoUpdate formatting
Siebrand Mazeland [Thu, 14 Feb 2013 11:36:35 +0000 (12:36 +0100)]
Update formatting

2 of n.

Change-Id: I5406673e99ed53e4e330ed47f022a17177544daa

11 years agoUpdate formatting
Siebrand Mazeland [Thu, 14 Feb 2013 11:22:13 +0000 (12:22 +0100)]
Update formatting

1 of n.

Change-Id: I852729f08bbb0c5e39c2db44362ccdc7f59dcc08

11 years agoMerge "InfoAction: Heading ID should not include # character."
IAlex [Thu, 14 Feb 2013 10:18:42 +0000 (10:18 +0000)]
Merge "InfoAction: Heading ID should not include # character."

11 years agoInfoAction: Heading ID should not include # character.
Timo Tijhof [Thu, 14 Feb 2013 09:55:36 +0000 (10:55 +0100)]
InfoAction: Heading ID should not include # character.

It was using Parser::guessSectionNameFromWikiText, which expects
a string of wikitext (e.g. "== Foo ==") and extracts the heading
text, and from that it generates an ID, and from that it
generates an anchor link.

The extraction and anchor link are wrong and caused the output
to be <h2 id="#Foo"> instead of <h2 id="Foo">.

Follows up I702f2f13.

Bug: 44989
Change-Id: I81f67ae1ac86ed709c69f1bced970b2cbb5138db

11 years ago(bug 44862) Fixed waitForSlave.php constructor.
Tyler Anthony Romeo [Mon, 11 Feb 2013 03:19:35 +0000 (22:19 -0500)]
(bug 44862) Fixed waitForSlave.php constructor.

The Maintenance constructor sets up $IP, so all
maintenance scripts must call the parent constructor.
This fixes waitForSlave.php, which used to not do that.

Change-Id: I7a2a50845805894d87bcae9de9289cae10f1f31f

11 years agoBetter error message for invalid user name in cleanupSpam.php
Alexandre Emsenhuber [Thu, 14 Feb 2013 07:16:10 +0000 (08:16 +0100)]
Better error message for invalid user name in cleanupSpam.php

So that one that gets this message does not have to look at
the code to see what is wrong and how to correct it.

Change-Id: I4012ce7db010b9c132e68da9577ba1d5512d13e7

11 years agoUpdate plural rules from CLDR, and correct Armenian plural rules
Santhosh Thottingal [Thu, 14 Feb 2013 05:49:55 +0000 (11:19 +0530)]
Update plural rules from CLDR, and correct Armenian plural rules

* Upgrade to revision 8007, Contains minor change - Armenian(hy) is added
* Remove MW custom plural logic from LanguageHy.php
* Add qunit test case
* Correct phpunit testcase

Change-Id: If78436fa1597e6f3b7f050c5eede4521018904c0

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 13 Feb 2013 21:14:10 +0000 (21:14 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "(bug 43211) Remove unneeded noprint classes after CSS change."
jenkins-bot [Wed, 13 Feb 2013 20:56:46 +0000 (20:56 +0000)]
Merge "(bug 43211) Remove unneeded noprint classes after CSS change."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 13 Feb 2013 20:06:22 +0000 (20:06 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ib48503b82580090a87d4cb0b91c342eed971ea15

11 years agoTreat a null result of Job::run() like "true".
Aaron Schulz [Wed, 13 Feb 2013 18:56:22 +0000 (10:56 -0800)]
Treat a null result of Job::run() like "true".

Change-Id: Ie5b725b9d8aad9d6b1869242e82b13306b61478f

11 years agoStart yelling if a job's run() does not return bool
Siebrand Mazeland [Wed, 13 Feb 2013 18:49:44 +0000 (19:49 +0100)]
Start yelling if a job's run() does not return bool

Change-Id: Ia31be9cc5bac1427225c993911a1f77e8654f778

11 years agoMerge "(bug 44775) Don't pre-fill username when creating."
CSteipp [Wed, 13 Feb 2013 18:28:47 +0000 (18:28 +0000)]
Merge "(bug 44775) Don't pre-fill username when creating."

11 years agoMerge "Set $wgUseTidy = false on TextContentTest"
jenkins-bot [Wed, 13 Feb 2013 11:48:27 +0000 (11:48 +0000)]
Merge "Set $wgUseTidy = false on TextContentTest"

11 years agoMerge "phpcs: Pass DefaultSettings.php"
jenkins-bot [Wed, 13 Feb 2013 08:35:59 +0000 (08:35 +0000)]
Merge "phpcs: Pass DefaultSettings.php"

11 years agophpcs: Pass DefaultSettings.php
Timo Tijhof [Fri, 8 Feb 2013 10:28:08 +0000 (02:28 -0800)]
phpcs: Pass DefaultSettings.php

See:
 mediawiki/tools/codesniffer.git:/MediaWiki/rules.xml

Also fixed typo '=>' in comment that should be '='.

Change-Id: Icf2579deda0c77a6794a5c40a7200fcc07fb9dab

11 years agoMerge "Revert "phpcs: Convert var to public in SpecialUserlogin.php""
Krinkle [Wed, 13 Feb 2013 06:22:54 +0000 (06:22 +0000)]
Merge "Revert "phpcs: Convert var to public in SpecialUserlogin.php""

11 years agoRevert "phpcs: Convert var to public in SpecialUserlogin.php"
Krinkle [Wed, 13 Feb 2013 06:19:24 +0000 (06:19 +0000)]
Revert "phpcs: Convert var to public in SpecialUserlogin.php"

This reverts commit 343382e4b783d528d7b1a3153681463c4c6a4597

Change-Id: I5609ab996a178d58a532d6a0bfc3d952d0629c1c

11 years agoMerge "$.suggestions: make it possible to re-show suggestions"
jenkins-bot [Wed, 13 Feb 2013 05:58:30 +0000 (05:58 +0000)]
Merge "$.suggestions: make it possible to re-show suggestions"

11 years agoSet $wgUseTidy = false on TextContentTest
Platonides [Tue, 12 Feb 2013 14:43:43 +0000 (15:43 +0100)]
Set $wgUseTidy = false on TextContentTest

If $wgUseTidy = true on LocalSettings, although this test
runs fine standalone, when batched with other database tests
it can fail with:
 --- Expected
 +++ Actual
 @@ @@
 -'<p>hello <i>world</i>
 -</p>'
 +'<p>hello <i>world</i></p>'

Change-Id: Id143abf45def7bb686f00584d3f7838dc7396ad7

11 years agoMerge "QUnit testrunner: Fix extend call"
jenkins-bot [Wed, 13 Feb 2013 05:51:05 +0000 (05:51 +0000)]
Merge "QUnit testrunner: Fix extend call"

11 years agoQUnit testrunner: Fix extend call
Matthew Flaschen [Tue, 12 Feb 2013 21:06:58 +0000 (16:06 -0500)]
QUnit testrunner: Fix extend call

* deep only has an effect as the first argument.

http://api.jquery.com/jQuery.extend/#jQuery-extend-deep-target-object1-objectN

Change-Id: I7d20f0b2f4ea63b7e8ce102d786df8d6ae008725

11 years agoMerge "Added --all option and other features to purgeList.php"
Tim Starling [Wed, 13 Feb 2013 05:01:14 +0000 (05:01 +0000)]
Merge "Added --all option and other features to purgeList.php"

11 years agoAdded --all option and other features to purgeList.php
Tim Starling [Mon, 7 Jan 2013 04:00:37 +0000 (15:00 +1100)]
Added --all option and other features to purgeList.php

Added --all, --delay and --verbose options to purgeList.php. Rewrote the
implementation of the --namespace feature. For bug 43466.

Change-Id: I560bffb7b7d765e408687522580ccee22dffd1e2

11 years agoSupport WAI-ARIA's role="presentation" inside of WikiText.
Daniel Friesen [Fri, 19 Oct 2012 08:57:25 +0000 (01:57 -0700)]
Support WAI-ARIA's role="presentation" inside of WikiText.

- role="presentation" is the standard way to mark some element as presentational for assistive technologies, etc...
  Such as presentational tables. Something we have a lot of and need the ability to mark as presentational.
- Other ARIA roles need more thought so for now they are not supported.

Change-Id: I426ea04a8bc48181a71a308753525f3964201748

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 12 Feb 2013 20:15:09 +0000 (20:15 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I561b5585db67ccd3bdf5a0d1a10af2586daaf235

11 years agoMerge "Fixed unmatched begin/commit in SiteStatsUpdate."
Reedy [Tue, 12 Feb 2013 17:44:36 +0000 (17:44 +0000)]
Merge "Fixed unmatched begin/commit in SiteStatsUpdate."

11 years agoMerge "Bug 40167 - Filename cannot be empty in SwiftFileBackend"
jenkins-bot [Tue, 12 Feb 2013 17:43:10 +0000 (17:43 +0000)]
Merge "Bug 40167 - Filename cannot be empty in SwiftFileBackend"

11 years agoBreak long line.
Aaron Schulz [Tue, 12 Feb 2013 17:34:10 +0000 (09:34 -0800)]
Break long line.

Change-Id: I1422eb3eee369c18858f31a66df1e3904e098958

11 years agoBug 40167 - Filename cannot be empty in SwiftFileBackend
Reedy [Tue, 12 Feb 2013 15:42:36 +0000 (15:42 +0000)]
Bug 40167 - Filename cannot be empty in SwiftFileBackend

As we're evaluating the output, we can just suppress these
warnings

Change-Id: I5b0af085d163824a7406b675eb0decc617ef4b4c

11 years agoMerge "Use and forward returntoquery parameter in Special:ChangePassword"
jenkins-bot [Tue, 12 Feb 2013 14:02:55 +0000 (14:02 +0000)]
Merge "Use and forward returntoquery parameter in Special:ChangePassword"

11 years ago(bug 44459) Implement mw.message.text():
Matthew Flaschen [Tue, 12 Feb 2013 04:16:08 +0000 (23:16 -0500)]
(bug 44459) Implement mw.message.text():

* Change default message format in mediawiki.js from plain to text (this includes behavior of mw.msg shorthand).
* Code changes are primarily in jqueryMsg, with minor supporting changes in mediawiki.
* Organize tests by public entrypoint (mediawiki or mediawiki.jqueryMsg).
* Additional tests and assertions for all public entry points, for new and existing behavior.
* Convenience test assertion methods
* Add explanatory comments for new and existing code.
* Add setting to jqueryMsg for format, defaulting to parse, to preserve existing behavior for direct callers to jqueryMsg's public API.
* Since there are now two ways of constructing the abstract syntax tree, add a new parameter to the cache's key scheme.
* Minor formatting

Change-Id: I0d220692262356a12e2f1c0ce30cf6f090428332

11 years ago(bug 44775) Don't pre-fill username when creating.
S Page [Fri, 8 Feb 2013 02:55:54 +0000 (18:55 -0800)]
(bug 44775) Don't pre-fill username when creating.

In "Create account" (signup) mode, never auto-populate the username.
Pre-filling with the name of the user who last logged in is wrong (bug
44775), and if a logged-in user is creating a new account then
pre-filling with her own username isn't helpful.

Change-Id: I1bb641b2186a8c8dc92be0c7b5de2e9069dd31ed

11 years agoAvoid Jenkins' CodeSniffer warnings for Userlogin
S Page [Tue, 12 Feb 2013 03:23:37 +0000 (19:23 -0800)]
Avoid Jenkins' CodeSniffer warnings for Userlogin

Change property declarations from "var" to "public". This eliminates the
 46 | ERROR | The var keyword must not be used to declare a property
warnings from Jenkins CI, e.g.
https://integration.mediawiki.org/ci/job/mediawiki-core-phpcs-HEAD/1565/console

http://php.net/manual/en/language.oop5.properties.php says
  "If you declare a property using var instead of one of public,
protected, or private, then PHP 5 will treat the property as if it had
been declared as public."
, so this should be a no-op.

Change-Id: I754ccea018f95421bfe3f7b04e3ab3a6d9b407e3

11 years agoFixed unmatched begin/commit in SiteStatsUpdate.
Aaron Schulz [Tue, 12 Feb 2013 00:53:25 +0000 (16:53 -0800)]
Fixed unmatched begin/commit in SiteStatsUpdate.

Change-Id: Iaea0334571a283a72d9a070508d6175cd5b8d9bf

11 years ago[Database] Log transaction mismatch errors to the DB log.
Aaron Schulz [Mon, 11 Feb 2013 21:53:40 +0000 (13:53 -0800)]
[Database] Log transaction mismatch errors to the DB log.

Change-Id: Ic681cb98e13d7769b849ddc132b71596b2b25abe

11 years agoMerge "misc style issues"
jenkins-bot [Mon, 11 Feb 2013 21:14:30 +0000 (21:14 +0000)]
Merge "misc style issues"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Mon, 11 Feb 2013 20:30:05 +0000 (20:30 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 11 Feb 2013 20:08:29 +0000 (20:08 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I5ef2e442b10c6801878006055210cbaf923cfdc2

11 years agoMerge "Set timeout for Sites object in memcached."
jenkins-bot [Mon, 11 Feb 2013 19:57:06 +0000 (19:57 +0000)]
Merge "Set timeout for Sites object in memcached."

11 years agoMerge "[ExternalStore] Made ExternalStoreMwstore use private containers."
jenkins-bot [Mon, 11 Feb 2013 19:41:47 +0000 (19:41 +0000)]
Merge "[ExternalStore] Made ExternalStoreMwstore use private containers."

11 years agoSet timeout for Sites object in memcached.
daniel [Mon, 11 Feb 2013 19:40:12 +0000 (20:40 +0100)]
Set timeout for Sites object in memcached.

Change-Id: I8964a03c5989b368e0da07b42db463cf6e732fb3

11 years agoFixed some comments and removed redundant constant.
Aaron Schulz [Fri, 8 Feb 2013 18:09:41 +0000 (10:09 -0800)]
Fixed some comments and removed redundant constant.

* Also normalized params in RedisConnectionPool to avoid fragmentation.

Change-Id: I803dae52262b974836817d2091725f044faf7022