lhc/web/wiklou.git
12 years agoMerge "Use local context instead of hidden dependencies on global variables."
Siebrand [Thu, 14 Jun 2012 13:15:17 +0000 (13:15 +0000)]
Merge "Use local context instead of hidden dependencies on global variables."

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Thu, 14 Jun 2012 12:25:13 +0000 (14:25 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: I8ee0861bfc2e9ff6511ad61175f1f1273739816c

12 years agoUse message 'brackets' for brackets
Liangent [Fri, 8 Jun 2012 14:11:07 +0000 (22:11 +0800)]
Use message 'brackets' for brackets

Change-Id: I92419cb6d86e313b611b1f7132a278f7f8f97d5f

12 years agolint mediawiki.Uri.js
Timo Tijhof [Thu, 7 Jun 2012 16:13:19 +0000 (18:13 +0200)]
lint mediawiki.Uri.js

* remove dangling _
* var hosting
* whitespace conventions

Change-Id: I7c78059f640dfdf52020018425026cb714bcdbfa

12 years agoMerge "Fixed pecl memcached client in persistent mode."
Tim Starling [Thu, 14 Jun 2012 02:10:33 +0000 (02:10 +0000)]
Merge "Fixed pecl memcached client in persistent mode."

12 years agoFixed pecl memcached client in persistent mode.
Aaron [Thu, 14 Jun 2012 01:08:38 +0000 (18:08 -0700)]
Fixed pecl memcached client in persistent mode.

* When using a persistend ID in the constructor, the object is effectively shared among
  the callers using that ID. If we always use __CLASS__, then this breaks when different
  BagOStuffs may be used. Instead, a hash of the settings is now used.
  See http://www.php.net/manual/en/memcached.construct.php.
* Don't keep adding servers to the pool, as the object is shared among callers. Once one thread
  initializes the object, it will already be initialized by the next thread. Calling addSever()
  again will cause an increasing number of duplicate servers to exist in the data structure, and
  thus an increasing number of socket connections over time.
* Also, use addServers() instead of multiple addServer() calls per
  http://www.php.net/manual/en/memcached.addserver.php.

Change-Id: I0e7510320cb79d9f152e8958ddd50400fa9da37f

12 years agoFix for 15e5193a19, broke in debug mode
Catrope [Thu, 14 Jun 2012 00:46:39 +0000 (17:46 -0700)]
Fix for 15e5193a19, broke in debug mode

We shouldn't be combining styles in debug mode anyways.

Change-Id: I8f0503e665df870e0940314e10185b94624869b9

12 years agoFix media type handling for CSS that's not loaded with only=styles
Catrope [Wed, 13 Jun 2012 23:50:13 +0000 (16:50 -0700)]
Fix media type handling for CSS that's not loaded with only=styles

We were only doing server-side @media wrapping in only=styles mode but
not in regular mode. Meanwhile, the client-side loader had dropped all
support for media types under the assumption that this was all handled
server side, which caused media type handling to break for modules
loaded the normal way. We didn't notice this before because the only
core module that uses this is skins.vector, which is loaded through
only=styles.

Change-Id: I8228cc0317328440256b45b166eef1b57dbf4602

12 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 13 Jun 2012 21:04:41 +0000 (21:04 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoAllow cleanupSpam.php optionally delete offending pages
Max Semenik [Mon, 14 May 2012 19:24:31 +0000 (23:24 +0400)]
Allow cleanupSpam.php optionally delete offending pages

Change-Id: I69387df1b3d404a6d00d8073e58d7556c7ab9298

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 13 Jun 2012 19:41:29 +0000 (19:41 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I66636cc9e42eb82cdf12b4974a48ba9264fae4c2

12 years agoBug 24985 use $wgTmpDirectory when available
Mark A. Hershberger [Sat, 26 May 2012 03:19:55 +0000 (23:19 -0400)]
Bug 24985 use $wgTmpDirectory when available

We had two way to get a temporary directory:

 - $wgTempDirectory: more or less stable accross sessions
 - wfTempDir(): set through environnement variable and could potentially
   vary from a session to another one thanks to tempnam()

This patch makes wfTempDir() to always use the global $wgTempDirectory
first when it is available. Thus explicitly overriding tempnam() or any
environnement variable such as TMP or TEMP.

Hence, people who don't have access to a system wide directory
specificed by their environnement (such as /tmp) can specify an
alternative straight from the MediaWiki configuration.

The patch remove references to $wgTmpDirectory and replace them with
calls to wfTempDir().  Make wfTempDir() use $wgTmpDirectory first.

The default setting of $wgTmpDirectory was removed in favor of having it
initialized through Setup.php by calling wfTempDir.

Note: this may also address Bug 36475 - Generating thumbnails does not
work when there is no access to /tmp

Change-Id: Ifdc79e9c5d95f978025b237a5eeb95fd75092f46

12 years agoMerge "(bug 37090) Remove Spanish gender aliases."
Siebrand Mazeland [Wed, 13 Jun 2012 18:12:22 +0000 (18:12 +0000)]
Merge "(bug 37090) Remove Spanish gender aliases."

12 years ago(bug 37090) Remove Spanish gender aliases.
Siebrand Mazeland [Wed, 13 Jun 2012 17:58:55 +0000 (19:58 +0200)]
(bug 37090) Remove Spanish gender aliases.

Removed for all languages that have Spanish as fallback and have their own
namespace names for NS_USER that differs from Spanish.

Left untouched: arn, ay.

Also removed trailing whitespace from file.

Change-Id: I6f2d7029174e9506f8e245f765cbc0db67a63099

12 years agoMerge "(bug 36938) XSS in uselang parameter"
Catrope [Wed, 13 Jun 2012 17:43:19 +0000 (17:43 +0000)]
Merge "(bug 36938) XSS in uselang parameter"

12 years agoMerge "(bug 34988) Namespaces names in Silesian (szl)."
Siebrand Mazeland [Wed, 13 Jun 2012 17:14:18 +0000 (17:14 +0000)]
Merge "(bug 34988) Namespaces names in Silesian (szl)."

12 years ago(bug 34988) Namespaces names in Silesian (szl).
Siebrand Mazeland [Wed, 13 Jun 2012 17:06:44 +0000 (19:06 +0200)]
(bug 34988) Namespaces names in Silesian (szl).

Change-Id: I5b2b2ed4b3e31af8d7f03e8c00a6c00f5984cb24

12 years agoqunit.completenessTest: Update 0.3 -> 0.4
Timo Tijhof [Wed, 13 Jun 2012 01:58:42 +0000 (03:58 +0200)]
qunit.completenessTest: Update 0.3 -> 0.4

* Make standalone from jQuery so that it can be used to test code
  coverage of jQuery core as well (they've shown interest in using
  this module).

* Various code quality updates and bug fixes.

Change-Id: Ifd0169ab6b34039046df4418a9c4b85fe00e7159

12 years agoMerge "Avoid stale "latest revision" cache when loadPageData() is called."
Tim Starling [Wed, 13 Jun 2012 01:26:17 +0000 (01:26 +0000)]
Merge "Avoid stale "latest revision" cache when loadPageData() is called."

12 years agoMerge "Remove useless test in getParamValue function of mediawiki.util.js"
Catrope [Wed, 13 Jun 2012 00:18:51 +0000 (00:18 +0000)]
Merge "Remove useless test in getParamValue function of mediawiki.util.js"

12 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Tue, 12 Jun 2012 20:57:39 +0000 (20:57 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Added result properties to action=paraminfo"
Catrope [Tue, 12 Jun 2012 20:52:35 +0000 (20:52 +0000)]
Merge "Added result properties to action=paraminfo"

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 12 Jun 2012 20:13:52 +0000 (20:13 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1d552f3d682b180e75d383a761e7b6a995f4ad76

12 years agoMerge "(bug 1) doc for SiteConfiguration"
Aaron Schulz [Tue, 12 Jun 2012 17:24:38 +0000 (17:24 +0000)]
Merge "(bug 1) doc for SiteConfiguration"

12 years agoAdd a way for packagers to override some installation details
Max Semenik [Tue, 12 Jun 2012 16:18:44 +0000 (20:18 +0400)]
Add a way for packagers to override some installation details

...after a discussion with Debian packagers. They can now override installer
classes and change LocalSettings.php the installer generates. The file
intended for such overrides, mw-config/overrides.php, has intentionally been
placed outside of includes to underline the "don't change includes" paradigm.

Change-Id: Id82b90f6740307609bc6c6f4fb8765bc3484dbe7

12 years agoMerge "Custom grammar rules in javascript for some languages"
Siebrand [Tue, 12 Jun 2012 11:54:08 +0000 (11:54 +0000)]
Merge "Custom  grammar rules in javascript for some languages"

12 years agoMerge "Interwiki::fetch can return null, false or an interwiki object"
Aaron Schulz [Tue, 12 Jun 2012 05:25:43 +0000 (05:25 +0000)]
Merge "Interwiki::fetch can return null, false or an interwiki object"

12 years agoInterwiki::fetch can return null, false or an interwiki object
Reedy [Mon, 11 Jun 2012 22:04:02 +0000 (23:04 +0100)]
Interwiki::fetch can return null, false or an interwiki object

Change-Id: If8c3bf0ceb2d1162cc64c0dc367ebfa4729e8f2e

12 years agoUse local context instead of hidden dependencies on global variables.
Alexandre Emsenhuber [Mon, 11 Jun 2012 09:31:38 +0000 (11:31 +0200)]
Use local context instead of hidden dependencies on global variables.

Change-Id: I342f14a404c57de3fc33ba1ecc846b700b38a419

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 11 Jun 2012 19:57:25 +0000 (19:57 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I34a8a7278928bed8219a92af3fcce1843db3e2d0

12 years agoreplace whitespace with 'word-separator' message
Liangent [Tue, 29 May 2012 08:28:07 +0000 (16:28 +0800)]
replace whitespace with 'word-separator' message

Change-Id: I34e099af74196579f20685e45d81b00ed8f76461

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 11 Jun 2012 14:17:36 +0000 (16:17 +0200)]
Localisation updates from translatewiki.net.

Updates for magic words localisation.

Change-Id: Ia7b06f9a4af8f4a22fd2ce57e4c48e29fae67e07

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 11 Jun 2012 14:09:37 +0000 (16:09 +0200)]
Localisation updates from translatewiki.net.

Updates for special page localisation.

Change-Id: I1cc92f63cb256e5fdd92da9f1b21a277a5af25ad

12 years agoMerge "Increase maximum IPv6 range block size to /19"
Reedy [Mon, 11 Jun 2012 13:39:15 +0000 (13:39 +0000)]
Merge "Increase maximum IPv6 range block size to /19"

12 years agoIncrease maximum IPv6 range block size to /19
Tim Starling [Fri, 8 Jun 2012 02:26:05 +0000 (12:26 +1000)]
Increase maximum IPv6 range block size to /19

Increased maximum IPv6 range block size from /32 to /19 and documented
my decision-making process. Many ISPs will be larger than /32 since /32
only allows for 64k sites at most.

Change-Id: Ia25e156fd8234519c4d74f1d41d93f94a313ce14

12 years agoRemove more register_globals remote includes in the tests
Platonides [Thu, 31 May 2012 21:41:01 +0000 (23:41 +0200)]
Remove more register_globals remote includes in the tests
backupPrefetchTest.php, backupTextPassTest.php, fetchTextTest.php
and getSlaveServerTest.php

Change-Id: Ie309f4377e4199d80c0f45dc761d3a14b8d00ec2

12 years agoMerge "Added missing GPLv2 headers in some places."
Reedy [Sun, 10 Jun 2012 23:19:38 +0000 (23:19 +0000)]
Merge "Added missing GPLv2 headers in some places."

12 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Sun, 10 Jun 2012 20:29:46 +0000 (20:29 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Changed two remaining calls to Language::timeanddate() to Language::userTimeAn...
Aaron Schulz [Sun, 10 Jun 2012 19:59:23 +0000 (19:59 +0000)]
Merge "Changed two remaining calls to Language::timeanddate() to Language::userTimeAndDate() in includes/specials."

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 10 Jun 2012 18:55:19 +0000 (18:55 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I59253d3f54a3e1965a091cfd9f583deb80d2378e

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Sun, 10 Jun 2012 17:40:03 +0000 (19:40 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: I162f57c994765189681ac3fb30f889e648c6c6a1

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Sat, 9 Jun 2012 20:24:16 +0000 (22:24 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: I82ee132a976cfeb3d77ce551295bf6d2d90e14da

12 years agoChanged two remaining calls to Language::timeanddate() to Language::userTimeAndDate...
Alexandre Emsenhuber [Thu, 7 Jun 2012 20:45:02 +0000 (22:45 +0200)]
Changed two remaining calls to Language::timeanddate() to Language::userTimeAndDate() in includes/specials.

Change-Id: I2825aa96b562b716bf41da3dde3db436c5d40990

12 years agoMerge "mw.language: Document ability to set multiple values at once."
Timo Tijhof [Sat, 9 Jun 2012 19:46:32 +0000 (19:46 +0000)]
Merge "mw.language: Document ability to set multiple values at once."

12 years agomw.language: Document ability to set multiple values at once.
Timo Tijhof [Sat, 9 Jun 2012 15:47:41 +0000 (17:47 +0200)]
mw.language: Document ability to set multiple values at once.

* ResourceLoaderLanguageDataModule uses this but it looked
  a bit like an error when looking at the function signature
  of setData.

  This is the power of mw.Map.

* Fixed indention as well.
* Added missing semi colon.

Change-Id: I1e9e8254862ae08e9a11e55dd42d7e851a56a3cc

12 years agoMerge "Fix PHP notice in 3695486 (Ie35a8b91)."
Aaron Schulz [Sat, 9 Jun 2012 15:40:15 +0000 (15:40 +0000)]
Merge "Fix PHP notice in 3695486 (Ie35a8b91)."

12 years agojQuery UI 1.8.21
Reedy [Sat, 9 Jun 2012 14:29:30 +0000 (15:29 +0100)]
jQuery UI 1.8.21

http://blog.jqueryui.com/2012/06/jquery-ui-1-8-21/

Change-Id: Ie389a7275396ac4e5c9e41c2e18e1beae3e43c66

12 years agoRemove useless test in getParamValue function of mediawiki.util.js
vlakoff [Sat, 9 Jun 2012 10:08:40 +0000 (12:08 +0200)]
Remove useless test in getParamValue function of mediawiki.util.js

Regarding that regexp, when it matches, the result ("m" variable)
is forcibly an array of length 2, m[1] being a defined string
(which may be an empty string).

Change-Id: If40c4bc209719f0f54742d6e3eb6a11b99b57370

12 years agoAdd a bit more slave waiting...
Reedy [Sat, 9 Jun 2012 02:37:38 +0000 (03:37 +0100)]
Add a bit more slave waiting...

Change-Id: I329219bfdd56b57609237fc9f907f2b31628d282

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Fri, 8 Jun 2012 20:42:57 +0000 (22:42 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: I4228ed95446558db71e9084e7d505fc0b783fa53

12 years agoMerge "Use local context to get messages"
Aaron Schulz [Fri, 8 Jun 2012 20:32:33 +0000 (20:32 +0000)]
Merge "Use local context to get messages"

12 years agoAvoid stale "latest revision" cache when loadPageData() is called.
Aaron [Fri, 8 Jun 2012 19:05:02 +0000 (12:05 -0700)]
Avoid stale "latest revision" cache when loadPageData() is called.

Change-Id: I37d4217d492ab16965d9cb01c2995036a78ce3ae

12 years ago(but 37072) - infinite loop with runJobs.php
Antoine Musso [Fri, 8 Jun 2012 12:29:43 +0000 (14:29 +0200)]
(but 37072) - infinite loop with runJobs.php

This is similar to fb69ee4 ( https://gerrit.wikimedia.org/r/9116 ) which
fixed nextJobDB.php. This patch make sure runJobs.php does not proceed
jobs listed in $wgJobTypesExcludedFromDefaultQueue , at least not by
default.

We will probably want to factor out common code between runJobs and
nextJobDB.

Change-Id: Id0c8896d7a0d5b58e678db1ce314174d44e1cae3

12 years agoFix PHP notice in 3695486 (Ie35a8b91).
Alexandre Emsenhuber [Fri, 8 Jun 2012 07:05:57 +0000 (09:05 +0200)]
Fix PHP notice in 3695486 (Ie35a8b91).

The error was: Notice: Undefined variable: line in includes/specials/SpecialMergeHistory.php on line 289

Change-Id: I23186c2c5682ae8b91978a981f5aceda67cd1b46

12 years agoMerge "Userlogin: Do not add a language link if it's the currently used language"
Aaron Schulz [Thu, 7 Jun 2012 22:37:17 +0000 (22:37 +0000)]
Merge "Userlogin: Do not add a language link if it's the currently used language"

12 years agoMerge "revision id in export.xsd is not optional"
Aaron Schulz [Thu, 7 Jun 2012 21:35:43 +0000 (21:35 +0000)]
Merge "revision id in export.xsd is not optional"

12 years agoMerge "ResourceLoaderLanguageDataModule: clean up"
Timo Tijhof [Thu, 7 Jun 2012 21:09:32 +0000 (21:09 +0000)]
Merge "ResourceLoaderLanguageDataModule: clean up"

12 years agoMerge "Use Title::newFromRow in ApiPageSet::processDbRow"
Aaron Schulz [Thu, 7 Jun 2012 21:03:32 +0000 (21:03 +0000)]
Merge "Use Title::newFromRow in ApiPageSet::processDbRow"

12 years agoMerge "do not output numberofviews, if $wgDisableCounters = true"
Aaron Schulz [Thu, 7 Jun 2012 21:02:41 +0000 (21:02 +0000)]
Merge "do not output numberofviews, if $wgDisableCounters = true"

12 years agoMerge "Change order of login/create account"
Aaron Schulz [Thu, 7 Jun 2012 20:59:57 +0000 (20:59 +0000)]
Merge "Change order of login/create account"

12 years agoMerge "[FileBackend] Fixed writer-populater cache race condition."
Demon [Thu, 7 Jun 2012 20:04:08 +0000 (20:04 +0000)]
Merge "[FileBackend] Fixed writer-populater cache race condition."

12 years ago[FileBackend] Fixed writer-populater cache race condition.
Aaron [Thu, 7 Jun 2012 19:50:43 +0000 (12:50 -0700)]
[FileBackend] Fixed writer-populater cache race condition.

* Set the keys to PURGED on purge. We already only treat array values
  in cache is valid. This means that if a process reads the file, it
  caches in the meantime, and then the process tries to cache the file,
  the stale version will not be cached.

Change-Id: I7eb7b4529f8cea44b0d68c9149db4bcf100ac9d2

12 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 7 Jun 2012 19:25:22 +0000 (19:25 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Misc fixes in RevisionDelete.php."
Aaron Schulz [Thu, 7 Jun 2012 19:13:16 +0000 (19:13 +0000)]
Merge "Misc fixes in RevisionDelete.php."

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 7 Jun 2012 18:29:09 +0000 (18:29 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I33bccfb52d014f542dd37a33731853f95cefcd6b

12 years agoMerge "Added missing GPLv2 headers in some places."
Demon [Thu, 7 Jun 2012 17:43:53 +0000 (17:43 +0000)]
Merge "Added missing GPLv2 headers in some places."

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 7 Jun 2012 16:25:17 +0000 (18:25 +0200)]
Localisation updates from translatewiki.net.

Updates for magic words.

Change-Id: I23e105d26fc56e53dff0e141ebb54b77bc219a6e

12 years agoMerge "Localisation updates from http://translatewiki.net."
Siebrand Mazeland [Thu, 7 Jun 2012 16:12:26 +0000 (16:12 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "(bug 37181) Removed hard coded parentheses in SpecialMIMEsearch.php"
Siebrand [Thu, 7 Jun 2012 15:58:56 +0000 (15:58 +0000)]
Merge "(bug 37181) Removed hard coded parentheses in SpecialMIMEsearch.php"

12 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Thu, 7 Jun 2012 15:53:42 +0000 (17:53 +0200)]
Localisation updates from translatewiki.net.

Updates for special page aliases.

Change-Id: I47e5143dfb848754f2e5b72085b5171a2c89027a

12 years agoUpdate jquery.qunit to upstream v1.7.0
Timo Tijhof [Thu, 7 Jun 2012 15:41:22 +0000 (17:41 +0200)]
Update jquery.qunit to upstream v1.7.0

* Upstream
 - tag: v1.5.0 -> v1.7.0
 - tree: https://github.com/jquery/qunit/tree/v1.7.0
 - commit: https://github.com/jquery/qunit/commit/0d596a809dea881f05b3abd53c3fd70dcf876c69

* Misc:
 - Updated existing release-note entry for QUnit update
 - Moved upstream updates away from "bug fixes".

Change-Id: I8da92dc38cad5dc4b04459a3e876dd028f2cf0f6

12 years agoUserlogin: Do not add a language link if it's the currently used language
robin [Thu, 7 Jun 2012 15:25:38 +0000 (17:25 +0200)]
Userlogin: Do not add a language link if it's the currently used language

(Just display the language name without a link)

Change-Id: I604d2905d73faf5b2242fdbf943262ae22e58a2c

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Thu, 7 Jun 2012 11:06:19 +0000 (13:06 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: Ia79634e62a7aee293d4e8534082f503bbc2b614f

12 years agoMisc fixes in RevisionDelete.php.
Alexandre Emsenhuber [Thu, 7 Jun 2012 08:39:33 +0000 (10:39 +0200)]
Misc fixes in RevisionDelete.php.

* Use Linker::linkKnown() for links to revisions, we know that the page exists and other classes might be false since they might be old revisions
* Escape the result of Language::userTimeAndDate(), just in case
* Rewrote some code to do early return instead of nested if()'s
* Define variables only when they will actually be used

Change-Id: Ie1f16029020f980abba35d6322b89c95326f107b

12 years agoMerge "(bug 37368) Interlanguage link title for Uzbek is Oʻzbekcha"
Siebrand [Thu, 7 Jun 2012 08:18:09 +0000 (08:18 +0000)]
Merge "(bug 37368) Interlanguage link title for Uzbek is Oʻzbekcha"

12 years agoMerge "Fix error message for MySQL connection failures"
Aaron Schulz [Thu, 7 Jun 2012 06:16:19 +0000 (06:16 +0000)]
Merge "Fix error message for MySQL connection failures"

12 years agoMerge "Change of Title->exists() to Title->isKnown() for subpage links"
Aaron Schulz [Wed, 6 Jun 2012 22:43:50 +0000 (22:43 +0000)]
Merge "Change of Title->exists() to Title->isKnown() for subpage links"

12 years agoAdded nested-list tests for covering additional cases for Parsoid.
Subramanya Sastry [Wed, 6 Jun 2012 22:16:01 +0000 (17:16 -0500)]
Added nested-list tests for covering additional cases for Parsoid.

Change-Id: Ic0ea44a5d965bfd27b34a790f18ef29f2ac20d6a

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Wed, 6 Jun 2012 20:42:13 +0000 (22:42 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: I7144b26103ef644fbec751ea476760566757cae3

12 years agoResourceLoaderLanguageDataModule: clean up
Timo Tijhof [Wed, 6 Jun 2012 20:07:12 +0000 (22:07 +0200)]
ResourceLoaderLanguageDataModule: clean up

Change-Id: Id64e7ec8f22cc74926ff374ca207bf19552398aa

12 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 6 Jun 2012 19:44:32 +0000 (19:44 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I8fd9d79acd796406eec2a6bd2f67c10be03276ab

12 years ago(bug 37368) Interlanguage link title for Uzbek is Oʻzbekcha
Dereckson [Wed, 6 Jun 2012 19:16:25 +0000 (21:16 +0200)]
(bug 37368) Interlanguage link title for Uzbek is Oʻzbekcha

Change-Id: Iff0ba3b5a9ffcc2b15ff267053a6105ee581132b

12 years agoMerge "(bug 37138) Fix broken Google sitesearch in DatabaseError"
Demon [Wed, 6 Jun 2012 18:23:46 +0000 (18:23 +0000)]
Merge "(bug 37138) Fix broken Google sitesearch in DatabaseError"

12 years agoChange order of login/create account
umherirrender [Wed, 6 Jun 2012 17:48:27 +0000 (19:48 +0200)]
Change order of login/create account

With this the position of the login link in the right corner is not
changed with $wgUseCombindedLoginLink = false;
Gerrit has also first "register" and than "log in" in the corner.

Change-Id: I8d1000cf53ab792b3f69438004e5ae181acba645

12 years agoMerge "Use local context to get messages and don't use implicit Message object to...
Aaron Schulz [Wed, 6 Jun 2012 17:29:33 +0000 (17:29 +0000)]
Merge "Use local context to get messages and don't use implicit Message object to string conversion."

12 years agodo not output numberofviews, if $wgDisableCounters = true
umherirrender [Wed, 6 Jun 2012 17:29:16 +0000 (19:29 +0200)]
do not output numberofviews, if $wgDisableCounters = true

Change-Id: I9975dceedeffafadf560ed71238c51b94eb8c3ad

12 years agoAdded result properties to action=paraminfo
Petr Onderka [Wed, 2 May 2012 15:00:30 +0000 (17:00 +0200)]
Added result properties to action=paraminfo

Added information about the properties of the results of API calls
to action=paraminfo, including information about "property groups":
what should the prop parameter be set to to get that property.

Uses the same format for types as parameters already do.
The output format of some modules doesn't fit this, so the result
properties for them weren't added, or only partially.

Partially implemented modules:
* expandtemplates:
  parsetree is in its own tag
* protect, allusers, backlinks, deletedrevs, info, imageinfo,
  logevents, querypage, recentchanges, revisions, searchinfo,
  usercontribs, userinfo, users, watchlist, upload:
  response with partially complex structure

Not implemented modules:
* feedcontributions, feedwatchlist, opensearch, rds:
  non-standard reponse
* help:
  error is normal response; not very useful for automated tools anyway
* paraminfo, parse, pageprops, siteinfo, userrights:
  response with complex structure

Change-Id: Iff2a9bef79f994e73eef3062b4dd5461bff968ab

12 years agoMerge "Increased uselessly low $wgBlockCIDRLimit default for IPv6."
Catrope [Wed, 6 Jun 2012 17:03:27 +0000 (17:03 +0000)]
Merge "Increased uselessly low $wgBlockCIDRLimit default for IPv6."

12 years agoMerge "(bug 37334) ForeignAPIFile::getDescription() should match parent"
Aaron Schulz [Wed, 6 Jun 2012 17:01:14 +0000 (17:01 +0000)]
Merge "(bug 37334) ForeignAPIFile::getDescription() should match parent"

12 years agoMerge "Added missing GPLv2 headers in some places."
Aaron Schulz [Wed, 6 Jun 2012 17:00:47 +0000 (17:00 +0000)]
Merge "Added missing GPLv2 headers in some places."

12 years agoUse Title::newFromRow in ApiPageSet::processDbRow
umherirrender [Wed, 6 Jun 2012 16:39:30 +0000 (18:39 +0200)]
Use Title::newFromRow in ApiPageSet::processDbRow

This avoids a query per title (due to Title::exist) in ApiQueryInfo.
The 3 minimum fields are always selected in ApiPageSet

Change-Id: Ic4876f947357d84a2f37bec60db3ccd44fe236ac

12 years agorevision id in export.xsd is not optional
umherirrender [Wed, 6 Jun 2012 15:02:45 +0000 (17:02 +0200)]
revision id in export.xsd is not optional

Change-Id: If3d891aaa7c6d1bbc82e7ab15e3393bb1554e883

12 years agoMerge "Adds support to HTMLForm for rendering form fields wrapped in divs or just...
Werdna [Wed, 6 Jun 2012 05:30:28 +0000 (05:30 +0000)]
Merge "Adds support to HTMLForm for rendering form fields wrapped in divs or just plain old (mostly) raw form fields."

12 years agoFixed infinite loop in tests with FSLockManager.
Aaron Schulz [Wed, 6 Jun 2012 05:06:56 +0000 (22:06 -0700)]
Fixed infinite loop in tests with FSLockManager.

* If PHPUnit converts warnings to exceptions, any I/O warnings can throw
exceptions which leave locksHeld in an inconsistent state, breaking the
__destruct() function. This commits reorders the variable update slightly.

Change-Id: I5deac811e7b4d0bc71f3d4096b8d72711904a444

12 years ago(bug 37334) ForeignAPIFile::getDescription() should match parent
Chad Horohoe [Wed, 6 Jun 2012 00:29:40 +0000 (20:29 -0400)]
(bug 37334) ForeignAPIFile::getDescription() should match parent

Fix for I1dd54611, which changed File::getDescription() without updating
ForeignAPIFile

Change-Id: I4d4d43c3a07bb1dd1c0001779992024bef962640

12 years agoIncreased uselessly low $wgBlockCIDRLimit default for IPv6.
Aaron [Wed, 6 Jun 2012 00:01:43 +0000 (17:01 -0700)]
Increased uselessly low $wgBlockCIDRLimit default for IPv6.

Change-Id: I5abc83981912f304c4034a32063ba09bcf6aa1b1

12 years agoBig oops - merged to wrong branch.
awjrichards [Tue, 5 Jun 2012 22:58:54 +0000 (22:58 +0000)]
Big oops - merged to wrong branch.
Revert "Revert to arbitrarily old point before initial remote branch creation to help clean up"

This reverts commit ee0d3d330f76b97c451c168dc9b052ee84609b5b

12 years agoAdded missing GPLv2 headers in some places.
Alexandre Emsenhuber [Tue, 5 Jun 2012 20:13:22 +0000 (22:13 +0200)]
Added missing GPLv2 headers in some places.

Also made file/class documentation more consistent.

Change-Id: Ie60ee0a8137d750a66892ea5b0cc751c74d662f9

12 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Tue, 5 Jun 2012 20:15:52 +0000 (20:15 +0000)]
Merge "Localisation updates from translatewiki.net."

12 years agoMerge "Clean up Resources.php"
Aaron Schulz [Tue, 5 Jun 2012 20:14:24 +0000 (20:14 +0000)]
Merge "Clean up Resources.php"