lhc/web/wiklou.git
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 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

11 years ago$.suggestions: make it possible to re-show suggestions
MatmaRex [Sat, 9 Feb 2013 18:53:19 +0000 (19:53 +0100)]
$.suggestions: make it possible to re-show suggestions

This patch makes it possible to re-show suggestions after they were
hidden (by pressing Escape) by simply pressing the down arrow. This
seems to have been the intended behavior to begin with (given how
update() is called on down-arrow press when the suggestions list is
hidden), but someone borked the implementation.

To reproduce the behavior:
* type something in and wait for the suggestions to appear
* press Escape, hiding the suggestion list
* press down arrow to fetch and show it again

Change-Id: Ic8aa162d2f0701d93329de855bd8b7dbdb99f979

11 years agoUse and forward returntoquery parameter in Special:ChangePassword
Alexandre Emsenhuber [Mon, 4 Feb 2013 21:14:41 +0000 (22:14 +0100)]
Use and forward returntoquery parameter in Special:ChangePassword

Refactored the generation of hidden fields so that the returnto
and returntoquery only get added to the output if they actually
were provided in the request.

Change-Id: I144f04bec2fdd0947b5d206684d9c63a3d868168

11 years agoMerge "(Bug 27559) Preserve tab selection after submit in [[Special:Preferences]]"
jenkins-bot [Mon, 11 Feb 2013 09:08:36 +0000 (09:08 +0000)]
Merge "(Bug 27559) Preserve tab selection after submit in [[Special:Preferences]]"

11 years agoRussian grammar updates
Amir E. Aharoni [Mon, 11 Feb 2013 05:09:41 +0000 (10:39 +0530)]
Russian grammar updates

* Replace == with ===
* Add support for the prepositional case
* Add support for Wikidata
* Add tests

Change-Id: Ic02bfb9ce88e93775036f3d15921cedca602237c

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

Change-Id: I67554613a39b7116692d29cc6dbb7170a99aee4d

11 years agoMerge "Rename Image namespace to File for 'be' locale"
jenkins-bot [Sun, 10 Feb 2013 18:33:41 +0000 (18:33 +0000)]
Merge "Rename Image namespace to File for 'be' locale"

11 years agoMerge "Correct check whether the e-mail field was filled in Special:Userlogin/signup"
jenkins-bot [Sun, 10 Feb 2013 17:17:16 +0000 (17:17 +0000)]
Merge "Correct check whether the e-mail field was filled in Special:Userlogin/signup"

11 years agoMerge "Add some missing readonly checks:"
IAlex [Sun, 10 Feb 2013 13:16:50 +0000 (13:16 +0000)]
Merge "Add some missing readonly checks:"

11 years agoMerge "remove not needed return and break"
jenkins-bot [Sun, 10 Feb 2013 13:02:07 +0000 (13:02 +0000)]
Merge "remove not needed return and break"

11 years agoMerge "remove space before semicolon"
IAlex [Sun, 10 Feb 2013 12:51:02 +0000 (12:51 +0000)]
Merge "remove space before semicolon"

11 years agoMerge "fix some spacing"
IAlex [Sun, 10 Feb 2013 12:47:01 +0000 (12:47 +0000)]
Merge "fix some spacing"

11 years agoAvoid undefined offset for $wgImageLimits
umherirrender [Sat, 2 Feb 2013 13:48:33 +0000 (14:48 +0100)]
Avoid undefined offset for $wgImageLimits

This can happen, when customized $wgImageLimits, but not
the option in $wgDefaultOptions

Notice:  Undefined offset: 2 in \includes\ImagePage.php on line 364

Change-Id: I1dbcde8782f239279602f509e5987606af8db241

11 years agoMerge "(bug 44805) Set correct number separators for Northern Sami"
jenkins-bot [Sun, 10 Feb 2013 09:36:31 +0000 (09:36 +0000)]
Merge "(bug 44805) Set correct number separators for Northern Sami"

11 years ago(bug 44805) Set correct number separators for Northern Sami
Niklas Laxström [Sun, 10 Feb 2013 05:42:48 +0000 (05:42 +0000)]
(bug 44805) Set correct number separators for Northern Sami

Change-Id: I9e2624df3060cc4ffe4cff8a32491ca23aaad4c0

11 years agoremove not needed return and break
umherirrender [Sat, 9 Feb 2013 22:55:46 +0000 (23:55 +0100)]
remove not needed return and break

break after throw is not executed

return; at end of function is not needed

Change-Id: I7c1c1799f78da11b7607a753d4f215c4547f0428

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

Change-Id: Ice78f3fea074fa90f5d10ab09ede953c08a7ecc2

11 years agofix some spacing
umherirrender [Sat, 9 Feb 2013 22:03:53 +0000 (23:03 +0100)]
fix some spacing

Added/removed spaces after opening/before closing parentheses

Added a space after a comma

Removed unneeded parentheses in condition

Change-Id: I306091347ccaaf11dee0cdfda3019cb0c12be51b

11 years agoMerge "Added deprecation comment to constant that when used throws deprecation exception"
jenkins-bot [Sat, 9 Feb 2013 21:47:23 +0000 (21:47 +0000)]
Merge "Added deprecation comment to constant that when used throws deprecation exception"

11 years agoremove space before semicolon
umherirrender [Sat, 9 Feb 2013 21:44:24 +0000 (22:44 +0100)]
remove space before semicolon

Change-Id: Ic0d890f5e27cec017c7f7910a67d53b2edf82079

11 years agoMerge "Add ArchivedFile::selectFields() and use it"
jenkins-bot [Sat, 9 Feb 2013 21:40:04 +0000 (21:40 +0000)]
Merge "Add ArchivedFile::selectFields() and use it"

11 years agoMerge "Use OldLocalFile::selectFields()"
jenkins-bot [Sat, 9 Feb 2013 21:38:10 +0000 (21:38 +0000)]
Merge "Use OldLocalFile::selectFields()"

11 years agoTRUE, FALSE and NULL must be lowercase
umherirrender [Sat, 9 Feb 2013 20:10:44 +0000 (21:10 +0100)]
TRUE, FALSE and NULL must be lowercase

From phpcs

Change-Id: I09672012be28ae3985702e314442db00d154de24

11 years agoAttribtue -> Attribute
Alex Monk [Sat, 9 Feb 2013 19:10:43 +0000 (19:10 +0000)]
Attribtue -> Attribute

Change-Id: I9eca55a96be3ae1cdedf5045db40510b918f3549

11 years agoMerge "Title.php: replace some '*' with explicit fields in selects"
jenkins-bot [Sat, 9 Feb 2013 18:16:49 +0000 (18:16 +0000)]
Merge "Title.php: replace some '*' with explicit fields in selects"

11 years agoTitle.php: replace some '*' with explicit fields in selects
umherirrender [Sat, 9 Feb 2013 14:03:23 +0000 (15:03 +0100)]
Title.php: replace some '*' with explicit fields in selects

It is good practice to select only fields which are used later

Change-Id: Ie0075f2c2bbc4408f8d9b8967669d8c729b31914

11 years agoAdd some missing readonly checks:
umherirrender [Sat, 9 Feb 2013 17:58:56 +0000 (18:58 +0100)]
Add some missing readonly checks:

* Do not allow working on Special:EditWatchlist
* Do not reset all notification markers
* Do not delete expired restrictions

Change-Id: I7a990c0a80b9c7a6340465dd082a110dafea8f14

11 years agoMerge "The right casing is IcuCollation"
jenkins-bot [Sat, 9 Feb 2013 15:50:08 +0000 (15:50 +0000)]
Merge "The right casing is IcuCollation"

11 years agoThe right casing is IcuCollation
Platonides [Sat, 9 Feb 2013 15:20:06 +0000 (16:20 +0100)]
The right casing is IcuCollation

Follow-up to e8c0c2ad.

Change-Id: Ic2240a7e09abe607c87df64fd688b908fb8aa580

11 years agoUse OldLocalFile::selectFields()
umherirrender [Sat, 9 Feb 2013 15:12:09 +0000 (16:12 +0100)]
Use OldLocalFile::selectFields()

It is good practice to specifiy the fields in a select

Change-Id: I3faa568ed6311a585da9161eccd8da3d065da250

11 years agoAdd ArchivedFile::selectFields() and use it
umherirrender [Sat, 9 Feb 2013 14:59:13 +0000 (15:59 +0100)]
Add ArchivedFile::selectFields() and use it

Change-Id: Ia19d7bc1eb2bf77f1aca9d3891cebf57e45c030b

11 years agoMerge "generateId -> mw.user.generateRandomSessionId"
jenkins-bot [Sat, 9 Feb 2013 13:26:26 +0000 (13:26 +0000)]
Merge "generateId -> mw.user.generateRandomSessionId"

11 years agoMerge "(bug 44459) Ensure jqueryMsg treats plain messages as plain, with tests."
jenkins-bot [Sat, 9 Feb 2013 01:30:37 +0000 (01:30 +0000)]
Merge "(bug 44459) Ensure jqueryMsg treats plain messages as plain, with tests."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 8 Feb 2013 21:19:37 +0000 (21:19 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I6d87223cdc826c2194259026ee53366f7fca6a34

11 years agoMerge "(bug 43801) add a getter for ICU version to ICUCollation"
Brian Wolff [Fri, 8 Feb 2013 21:04:21 +0000 (21:04 +0000)]
Merge "(bug 43801) add a getter for ICU version to ICUCollation"

11 years ago(bug 43801) add a getter for ICU version to ICUCollation
MatmaRex [Fri, 18 Jan 2013 21:36:32 +0000 (22:36 +0100)]
(bug 43801) add a getter for ICU version to ICUCollation

It will be necessary to be able to use correct version of Unicode
data files.

The constant INTL_ICU_VERSION this getter returns isn't really
documented. It is available since PHP 5.3.7 (see PHP bug 54561),
the getter will fail gracefully on older PHPs. It should be possible to
determine the ICU version on these by grepping the output of phpinfo(),
but I don't think such a minor improvement is worth such a huge hack.

Change-Id: I85353559439bfddee7c5ba90894d30dd8ef0e0e8

11 years agoAPI PageSet allows generator for non-query modules
Yuri Astrakhan [Fri, 8 Feb 2013 20:39:40 +0000 (15:39 -0500)]
API PageSet allows generator for non-query modules

* PageSet can now be used in any action to process titles/pageids/revids
or any generator, redirects resolution, and converttitle functionality.
* action=purge proper usage of MustBePosted()
* Add supports for all pageset capabilities - generators, redirects, converttitles to
  action=purge and action=setnotificationtimestamp
* BREAKING CHANGE: ApiPageSet constructor now has two params instead of three, with only the
  first one keeping its meaning. ApiPageSet is now derived from ApiBase.
* BREAKING CHANGE: ApiQuery::newGenerator() and executeGeneratorModule() were deleted.

Change-Id: I7a3d7b6eb015d21ec1a9b9d9c6af9d97663f3f9a

11 years agoMerge "apitests leaks wgUser"
IAlex [Fri, 8 Feb 2013 19:33:56 +0000 (19:33 +0000)]
Merge "apitests leaks wgUser"