lhc/web/wiklou.git
11 years agoLog profiling info from maintenance scripts.
daniel [Thu, 31 Jan 2013 14:36:29 +0000 (15:36 +0100)]
Log profiling info from maintenance scripts.

Previously, maintenance scripts did not log profiling info.

Change-Id: Ib63dd54b815cca774cd764f28505f9dbdfd02cfc

11 years agoMerge "Fix double colons in api help output"
jenkins-bot [Wed, 30 Jan 2013 21:28:13 +0000 (21:28 +0000)]
Merge "Fix double colons in api help output"

11 years agoMerge "[LockManager] Refactoring to allow proper cross-wiki support."
jenkins-bot [Wed, 30 Jan 2013 21:26:10 +0000 (21:26 +0000)]
Merge "[LockManager] Refactoring to allow proper cross-wiki support."

11 years agoMerge ".gitignore Composer related files"
jenkins-bot [Wed, 30 Jan 2013 21:23:55 +0000 (21:23 +0000)]
Merge ".gitignore Composer related files"

11 years agoMerge "(bug 44160) Fix invalid link of `others` during installation"
jenkins-bot [Wed, 30 Jan 2013 21:20:04 +0000 (21:20 +0000)]
Merge "(bug 44160) Fix invalid link of `others` during installation"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 30 Jan 2013 20:26:04 +0000 (20:26 +0000)]
Localisation updates from translatewiki.net.

Change-Id: If09fc6a3f1c9abc491beed0f34a9811ff2abf844

11 years agoFix double colons in api help output
Reedy [Wed, 30 Jan 2013 19:19:18 +0000 (19:19 +0000)]
Fix double colons in api help output

  Get links from the [[Main Page]]::
    api.php?action=query&prop=links&titles=Main%20Page
  Get information about the link pages in the [[Main Page]]::
    api.php?action=query&generator=links&titles=Main%20Page&prop=info
  Get links from the Main Page in the User and Template namespaces::
    api.php?action=query&prop=links&titles=Main%20Page&plnamespace=2|10

Change-Id: I3645bd72d80aef3f99da7f8f5fa1d63a1b28ad78

11 years agoBetter way for extensions to add to ParserOutput.
daniel [Tue, 22 Jan 2013 11:59:23 +0000 (12:59 +0100)]
Better way for extensions to add to ParserOutput.

Extensions sometimes need to stash information in the ParserOutput
for later use. This change provides a clean way to do that.

Change-Id: I8bc571d13c9a70bb71430862c2ab679ff1947126

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 29 Jan 2013 20:45:06 +0000 (20:45 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1b06080eae889aa69b27c0500618f6b2e2e92935

11 years agoMerge "Dump unit tests no longer fail if gzip is not available"
jenkins-bot [Tue, 29 Jan 2013 20:30:19 +0000 (20:30 +0000)]
Merge "Dump unit tests no longer fail if gzip is not available"

11 years agoMerge "[ExternalStore] Refactored external store classes to use a base class."
jenkins-bot [Tue, 29 Jan 2013 18:33:41 +0000 (18:33 +0000)]
Merge "[ExternalStore] Refactored external store classes to use a base class."

11 years agoMake HttpError set actual HTTP error code.
daniel [Tue, 29 Jan 2013 16:02:19 +0000 (17:02 +0100)]
Make HttpError set actual HTTP error code.

Previsouly, HttpError would set a Status header with the desired code,
but would not change the actual HTTP/1.1 header to include that code.

Change-Id: I2f68b1fa410b3619c5be3e82b64f99df97b9415a

11 years ago.gitignore Composer related files
Antoine Musso [Tue, 29 Jan 2013 15:32:13 +0000 (16:32 +0100)]
.gitignore Composer related files

The Composer dependencie manager installs components under /vendor by
default so simply ignore that path. We do not care of tracking the
composer.* files, they will always be local just like LocalSettings.php.

Extensions are properly installed under /extensions/.

Change-Id: I7c50ee11edf2f7b1d71533fc32a75831a384a630

11 years ago(bug 44160) Fix invalid link of `others` during installation
Abhishek Das [Mon, 28 Jan 2013 18:17:13 +0000 (23:47 +0530)]
(bug 44160) Fix invalid link of `others` during installation

On the `Environmental Checks` page during MW installation, the link to
`others` in Credits was invalid because it points to a local special
page and the wiki is not even installed.

Changed the link to
`http://www.mediawiki.org/wiki/Special:Version/Credits` which is
always available during installation.

Change-Id: I3967e14303f9db7def39c97982f06e6086bb69b8

11 years agoMerge "test: helper to skip tests depending on 'gzip'"
jenkins-bot [Tue, 29 Jan 2013 10:41:11 +0000 (10:41 +0000)]
Merge "test: helper to skip tests depending on 'gzip'"

11 years agoDump unit tests no longer fail if gzip is not available
btongminh [Tue, 1 Jan 2013 14:01:03 +0000 (15:01 +0100)]
Dump unit tests no longer fail if gzip is not available

Change-Id: Id1890984124028cb44960977c18572f1f6fded4c

11 years agoMerge "raise PHPUnit default timeouts"
jenkins-bot [Tue, 29 Jan 2013 10:08:02 +0000 (10:08 +0000)]
Merge "raise PHPUnit default timeouts"

11 years agoSprinkle <code> over some strings for consistency
raymond [Tue, 29 Jan 2013 09:58:06 +0000 (10:58 +0100)]
Sprinkle <code> over some strings for consistency

Change-Id: Iaa2c89d6a49bc6712230105f08f4a3f5837d0b97

11 years agotest: helper to skip tests depending on 'gzip'
Antoine Musso [Mon, 28 Jan 2013 15:09:17 +0000 (16:09 +0100)]
test: helper to skip tests depending on 'gzip'

Some of our tests explicitly depends on the 'gzip' command line utility,
for example the Dumps test suite.  This patch adds up a simple helper
MediaWikiTestCase::checkHasGzip() which skips tests whenever gzip is
missing.

Change-Id: I5ded9a53d08dcf5f35e666f91e3f64e6e111af32

11 years agoraise PHPUnit default timeouts
Antoine Musso [Tue, 29 Jan 2013 09:49:13 +0000 (10:49 +0100)]
raise PHPUnit default timeouts

default ..  2s -> 10s
medium ... 10s -> 30s

I originally thought that using PHPUnit timeout system was a good idea
but that is causing more harm than being helpful. Now default to ten
seconds.

Change-Id: If10a9b6df967130838a253d986b2ed623d8e3b0a

11 years ago[FileRepo] Lazy load large metadata from the DB.
Aaron Schulz [Thu, 24 Jan 2013 03:20:57 +0000 (19:20 -0800)]
[FileRepo] Lazy load large metadata from the DB.

* Previously, large values that could not fit into memcached would not be cached
  and the master DB would be hit for any file loading (djvu files hit this often).

Change-Id: I3ed8ad4a85d6e3084330b56c3b48ee76103bd2b8

11 years agoMerge "pass codesniffer on tests/"
jenkins-bot [Mon, 28 Jan 2013 23:47:45 +0000 (23:47 +0000)]
Merge "pass codesniffer on tests/"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 28 Jan 2013 21:38:07 +0000 (21:38 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I3713319f9382705bf987d9cfde257cd47663ac9d

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 28 Jan 2013 20:07:26 +0000 (20:07 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I8c8f7294dfb955e61844bf740110efcd5b611484

11 years agoMerge "Improved handling of pending queue delisting."
Demon [Mon, 28 Jan 2013 19:10:47 +0000 (19:10 +0000)]
Merge "Improved handling of pending queue delisting."

11 years agoMerge "[FileRepo] Use getHandler() is some places that should use it."
jenkins-bot [Mon, 28 Jan 2013 19:04:59 +0000 (19:04 +0000)]
Merge "[FileRepo] Use getHandler() is some places that should use it."

11 years ago[LockManager] Refactoring to allow proper cross-wiki support.
Aaron Schulz [Fri, 25 Jan 2013 20:19:57 +0000 (12:19 -0800)]
[LockManager] Refactoring to allow proper cross-wiki support.

Change-Id: I331d011a6fa4edd434f0fb547d325ad60901119d

11 years agoMerge "(Bug 44415) Drops possessive from watchlist header"
jenkins-bot [Mon, 28 Jan 2013 18:39:13 +0000 (18:39 +0000)]
Merge "(Bug 44415) Drops possessive from watchlist header"

11 years agoMerge "[FileRepo] Lowered negative caching duration."
jenkins-bot [Mon, 28 Jan 2013 18:27:43 +0000 (18:27 +0000)]
Merge "[FileRepo] Lowered negative caching duration."

11 years agoMerge "(bug 44044) Check for existence of the timeout script in ulimit5.sh"
jenkins-bot [Mon, 28 Jan 2013 18:17:02 +0000 (18:17 +0000)]
Merge "(bug 44044) Check for existence of the timeout script in ulimit5.sh"

11 years agoMerge "(bug 41330) Default to the current year in the history page filter form"
jenkins-bot [Mon, 28 Jan 2013 18:15:10 +0000 (18:15 +0000)]
Merge "(bug 41330) Default to the current year in the history page filter form"

11 years agoMerge "(bug 36537) Rename calls to wfArrayToCGI to wfArrayToCgi"
Demon [Mon, 28 Jan 2013 18:11:50 +0000 (18:11 +0000)]
Merge "(bug 36537) Rename calls to wfArrayToCGI to wfArrayToCgi"

11 years ago(bug 36537) Rename calls to wfArrayToCGI to wfArrayToCgi
Alex Monk [Mon, 28 Jan 2013 18:04:20 +0000 (18:04 +0000)]
(bug 36537) Rename calls to wfArrayToCGI to wfArrayToCgi

Done with this command:
grep wfArrayToCGI * -R -l -Z | xargs -0 -l sed -i -e 's/wfArrayToCGI/wfArrayToCgi/g' && git checkout -- HISTORY

Change-Id: If7f4d4bfc199289c11c43cf519c2415a1aad1c51

11 years agoMerge "[FileBackend] Added duplicate backend check."
jenkins-bot [Mon, 28 Jan 2013 18:00:27 +0000 (18:00 +0000)]
Merge "[FileBackend] Added duplicate backend check."

11 years ago[FileRepo] Use getHandler() is some places that should use it.
Aaron Schulz [Fri, 25 Jan 2013 19:47:06 +0000 (11:47 -0800)]
[FileRepo] Use getHandler() is some places that should use it.

Change-Id: I1b4b9786217b819c739f04e8bcead5c5774671a0

11 years ago[FileRepo] Lowered negative caching duration.
Aaron Schulz [Thu, 24 Jan 2013 21:31:40 +0000 (13:31 -0800)]
[FileRepo] Lowered negative caching duration.

Change-Id: I288ce2eef3cf547e254843c7f806925ee44391ca

11 years agoMerge "(bug 41476) Implement Language::isKnownLanguageTag()"
jenkins-bot [Mon, 28 Jan 2013 17:11:13 +0000 (17:11 +0000)]
Merge "(bug 41476) Implement Language::isKnownLanguageTag()"

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 28 Jan 2013 15:46:03 +0000 (16:46 +0100)]
Localisation updates from translatewiki.net.

Updates for namespaces.

Change-Id: I77bd20a912976178501e97f7eab6eaabfb4bf86a

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 28 Jan 2013 14:35:32 +0000 (15:35 +0100)]
Localisation updates from translatewiki.net.

Updates for magic words.

Change-Id: Id095f8a9241e22db583016b7d5af74b3f6c2a6ba

11 years agoUse tabs to indent lines
Siebrand Mazeland [Mon, 28 Jan 2013 13:58:47 +0000 (14:58 +0100)]
Use tabs to indent lines

Change-Id: I0afd5b2ebcbdd0ced48a08e1861e3a968e847121

11 years agoMerge "Localisation updates from http://translatewiki.net."
Siebrand Mazeland [Mon, 28 Jan 2013 13:56:30 +0000 (13:56 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 28 Jan 2013 13:50:35 +0000 (14:50 +0100)]
Localisation updates from translatewiki.net.

Updates for special page aliases.

Change-Id: Id1400249980400e0007eea3c5fb3e511aeb22878

11 years agoWhitelisting publicly readable title with regex
nullspoon [Tue, 7 Aug 2012 22:06:12 +0000 (16:06 -0600)]
Whitelisting publicly readable title with regex

This patch make it possible to whitelist pages which anonymous users may
see. It is similar to $wgWhitelistRead expect it uses regular
expressions, the list of regex are to be added in the new global array
$wgWhitelistReadRegexp.

This would be useful in a semi-public team wiki situation where the
admin would want to hide an entire namespace from everyone except those
in a particular group due to sensitive team specific information.

Added new unit test testUserCan in includes/TitleTest.php to
test this new functionality.

* adds $wgWhitelistReadRegexp to DefaultSettings.php
* updates RELEASE-NOTES-1.21 new features
* updates CREDITS

Signed-off-by: Antoine Musso <hashar@free.fr>
Change-Id: I83f6a614874c3d289ff4bd8d015f1d9c92e500b6

11 years agoMerge "rename vars in SkinTemplate::outputPage()"
jenkins-bot [Mon, 28 Jan 2013 11:44:08 +0000 (11:44 +0000)]
Merge "rename vars in SkinTemplate::outputPage()"

11 years agoraise timeout for CdbTest::testCdb()
Antoine Musso [Mon, 28 Jan 2013 11:33:22 +0000 (12:33 +0100)]
raise timeout for CdbTest::testCdb()

CdbTest::testCdb() does some I/O which might timeout form time to time
on the continuous integration server. Mark the test has being in the
medium group, thus raising it from 2 seconds to 10 seconds.

Change-Id: I4a8d7f443ab0ebf47d79f25e1c33832e6e501c51

11 years agorename vars in SkinTemplate::outputPage()
Amir E. Aharoni [Wed, 25 Jul 2012 09:23:26 +0000 (12:23 +0300)]
rename vars in SkinTemplate::outputPage()

The $tmp, $l names are not very meaningfull. This patch rename some
variables and avoid calling methods by adding some more variables.
Overall this cleanup the code to be more readable.

Change-Id: I4d2018c6cf3f651647bcb9e235b8322943bd5728

11 years agoMerge "testPngNativetZtxt requires zlib extension"
Gerrit Code Review [Mon, 28 Jan 2013 11:24:17 +0000 (11:24 +0000)]
Merge "testPngNativetZtxt requires zlib extension"

11 years agotest: some Revision tests depends on PHP zlib ext
Antoine Musso [Mon, 14 Jan 2013 21:06:57 +0000 (22:06 +0100)]
test: some Revision tests depends on PHP zlib ext

Use an helper to verify whether 'zlib' is available, else will happilly
skip the test.

Change-Id: I43f8b20a95286b5495799d54b415f6d15894a335

11 years agotestPngNativetZtxt requires zlib extension
Platonides [Mon, 14 Jan 2013 21:16:50 +0000 (22:16 +0100)]
testPngNativetZtxt requires zlib extension

Change-Id: I27e84548ff792ee3bac9b582ba058a029a786768

11 years agotest: helper to skip tests depending on a PHP ext
Antoine Musso [Mon, 28 Jan 2013 09:27:31 +0000 (10:27 +0100)]
test: helper to skip tests depending on a PHP ext

Some of our tests expect a specific PHP extension to be loaded to get
anything done, for example zlib or gd.  This patch creates a new helping
method that people can use to easily skip a test whenever a PHP
extension is not around: MediaWikiTestCase::checkPHPExtension()

Example usage:

 function testCompressFiles() {
   $this->checkPHPExtension( 'zlib' );
   ...
 }

Change-Id: Ia87317ca379b2d5d1d1fa4231f76033ee66086c2

11 years agopass codesniffer on tests/
Antoine Musso [Mon, 28 Jan 2013 10:27:15 +0000 (11:27 +0100)]
pass codesniffer on tests/

Fix almost all occurences of the following sniffs:

Generic.CodeAnalysis.UselessOverridingMethod.Found
Generic.Formatting.NoSpaceAfterCast.SpaceFound
Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma
Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine
Generic.PHP.LowerCaseConstant.Found
PSR2.Classes.PropertyDeclaration.ScopeMissing
PSR2.Files.EndFileNewline.TooMany
PSR2.Methods.MethodDeclaration.StaticBeforeVisibility

Change-Id: I96aacef5bafe5a2bca659744fba1380999cfc37d

11 years agoMerge "Sprinkle <code> over some strings."
jenkins-bot [Mon, 28 Jan 2013 10:01:26 +0000 (10:01 +0000)]
Merge "Sprinkle <code> over some strings."

11 years ago(bug 41476) Implement Language::isKnownLanguageTag()
Amir E. Aharoni [Mon, 21 Jan 2013 04:15:32 +0000 (06:15 +0200)]
(bug 41476) Implement Language::isKnownLanguageTag()

Change-Id: I130d8e0b397323e21058cf46510440da066fa12b

11 years ago[FileBackend] Added duplicate backend check.
Aaron Schulz [Mon, 28 Jan 2013 06:36:28 +0000 (22:36 -0800)]
[FileBackend] Added duplicate backend check.

* Not sure when this disappeared from before.

Change-Id: I69a8ce06b2f3bae0e65fb65b63440eb0a2e1128c

11 years ago(Bug 44415) Drops possessive from watchlist header
Ori Livneh [Mon, 28 Jan 2013 01:40:14 +0000 (17:40 -0800)]
(Bug 44415) Drops possessive from watchlist header

The war against 'my' continues: 'My watchlist' => 'Watchlist'.

Change-Id: I1897fd1a6a2e00fd5b67914b3b05597a0497ce6e

11 years agoSpell checked docs/hooks.txt
Yuri Astrakhan [Sun, 27 Jan 2013 17:59:24 +0000 (12:59 -0500)]
Spell checked docs/hooks.txt

Change-Id: I8010fed6e138ee5b1803b9c5c0e678da3f2db9ef

11 years agoSprinkle <code> over some strings.
Siebrand Mazeland [Sun, 27 Jan 2013 19:02:16 +0000 (20:02 +0100)]
Sprinkle <code> over some strings.

Change-Id: I80e3c5ec5c28fa6e5a0b449d276db5b4e77a4a89

11 years agoMerge "fix some spacing"
jenkins-bot [Sun, 27 Jan 2013 18:48:22 +0000 (18:48 +0000)]
Merge "fix some spacing"

11 years agoRemove obsolete entries in MessagesBh.php
Translation updater bot [Sun, 27 Jan 2013 18:27:27 +0000 (18:27 +0000)]
Remove obsolete entries in MessagesBh.php

These are now in MessagesBho.php.

Change-Id: I17eb6af2e36b7a66ca337d0e865614a33c3114f0

11 years agofix some spacing
umherirrender [Sat, 26 Jan 2013 18:32:03 +0000 (19:32 +0100)]
fix some spacing

Change-Id: Ie7bb35871cc99237f3a655f7db22ca1f0646df5e

11 years agoMerge "fix some spacing"
jenkins-bot [Sun, 27 Jan 2013 13:14:56 +0000 (13:14 +0000)]
Merge "fix some spacing"

11 years agoMerge "The static declaration must come after the visibility declaration"
IAlex [Sun, 27 Jan 2013 11:08:52 +0000 (11:08 +0000)]
Merge "The static declaration must come after the visibility declaration"

11 years agoMerge "Let nextJobDB.php narrow down the type based on a set."
ArielGlenn [Sun, 27 Jan 2013 07:11:53 +0000 (07:11 +0000)]
Merge "Let nextJobDB.php narrow down the type based on a set."

11 years agoLet nextJobDB.php narrow down the type based on a set.
Aaron Schulz [Sun, 27 Jan 2013 06:19:17 +0000 (22:19 -0800)]
Let nextJobDB.php narrow down the type based on a set.

* This can avoid slower for loops in jobs-loop.sh.

Change-Id: I4d686400dcb83a3c64c14a01100ad6b451542f05

11 years agoFollowup Id9f2fea7: Remove wall time restriction for readline.
Liangent [Sun, 27 Jan 2013 06:15:45 +0000 (14:15 +0800)]
Followup Id9f2fea7: Remove wall time restriction for readline.

Using such restriction breaks the interactive user interface, and it
doesn't make sense to have wall time limit when waiting for user input.

Change-Id: Id8fa8e9f0d0df58aa879e7bc83bec2a55674b4ab

11 years agoFixed slave check when the job type is not specified.
Aaron Schulz [Sun, 27 Jan 2013 03:09:33 +0000 (19:09 -0800)]
Fixed slave check when the job type is not specified.

Change-Id: I6bee31d149330ead537b9deebb57294f12ce9e02

11 years agoImproved handling of pending queue delisting.
Aaron Schulz [Sun, 27 Jan 2013 00:57:55 +0000 (16:57 -0800)]
Improved handling of pending queue delisting.

* Also removed outdated comment.

Change-Id: I5b9a4bf4ed854d58af09e377378997b23549c230

11 years agoMerge "fix some spacing"
jenkins-bot [Sat, 26 Jan 2013 21:51:57 +0000 (21:51 +0000)]
Merge "fix some spacing"

11 years agoThe use of function sizeof() is forbidden; use count() instead
umherirrender [Sat, 26 Jan 2013 21:20:04 +0000 (22:20 +0100)]
The use of function sizeof() is forbidden; use count() instead

From phpcs

Change-Id: I919c8af46a722cd1c14bb8c134400e2ec51160d1

11 years agofix some spacing
umherirrender [Sat, 26 Jan 2013 21:11:09 +0000 (22:11 +0100)]
fix some spacing

Change-Id: Id7eda67a43f9040117edd79fdbeb678f1c3a6da2

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Sat, 26 Jan 2013 20:18:46 +0000 (20:18 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoThe static declaration must come after the visibility declaration
umherirrender [Sat, 26 Jan 2013 20:03:52 +0000 (21:03 +0100)]
The static declaration must come after the visibility declaration

From phpcs

Change-Id: Ieab0207f965630eda113abdc0259aa2eddcf5ca7

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 26 Jan 2013 19:59:55 +0000 (19:59 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I49cf516e3ca1dc982e1e65cf28951c1eb3cb2b97

11 years agoThe final declaration must precede the visibility declaration
umherirrender [Sat, 26 Jan 2013 19:49:50 +0000 (20:49 +0100)]
The final declaration must precede the visibility declaration

From phpcs

Change-Id: I87592615014f39eff2a299cf578e8889afd902f7

11 years agoThe abstract declaration must precede the visibility declaration
umherirrender [Sat, 26 Jan 2013 19:00:09 +0000 (20:00 +0100)]
The abstract declaration must precede the visibility declaration

From phpcs

Change-Id: I169c80a911ba75d64ab8a503088903ce3b8a7cca

11 years agoMerge "(bug 17808) (bug 21167) use real links for search suggestions"
jenkins-bot [Sat, 26 Jan 2013 18:39:09 +0000 (18:39 +0000)]
Merge "(bug 17808) (bug 21167) use real links for search suggestions"

11 years agofix some spacing
umherirrender [Sat, 26 Jan 2013 18:15:35 +0000 (19:15 +0100)]
fix some spacing

Change-Id: I78a97ad87e0bfe724fc851daf6ffeeed81887800

11 years agoFixed the usage message text if parameters are missing.
Aaron Schulz [Fri, 25 Jan 2013 20:36:28 +0000 (12:36 -0800)]
Fixed the usage message text if parameters are missing.

Change-Id: Ib87e1f1149499bae20ad5de9c888a9572b3708ef

11 years agoMerge "$wgContLang global unused in addNewUserLogEntry since b65893755"
jenkins-bot [Sat, 26 Jan 2013 00:00:05 +0000 (00:00 +0000)]
Merge "$wgContLang global unused in addNewUserLogEntry since b65893755"

11 years ago[ExternalStore] Refactored external store classes to use a base class.
Aaron Schulz [Mon, 21 Jan 2013 22:40:15 +0000 (14:40 -0800)]
[ExternalStore] Refactored external store classes to use a base class.

* Added ExternalStoreMedium base class
* Moved up two functions in ExternalStoreDB
* Various documentation tweaks

Change-Id: I6790aab7799609422e7af4fb31d2ad60610298ec

11 years ago(bug 44044) Check for existence of the timeout script in ulimit5.sh
Aaron Schulz [Fri, 25 Jan 2013 21:24:17 +0000 (13:24 -0800)]
(bug 44044) Check for existence of the timeout script in ulimit5.sh

Change-Id: I89d5dd6535a6b37cadcafd12affaad1a82af22ba

11 years ago(bug 43751) Allow '+' in MySQL database names.
Victor Vasiliev [Sun, 20 Jan 2013 00:46:26 +0000 (19:46 -0500)]
(bug 43751) Allow '+' in MySQL database names.

Change-Id: I0196af1989a09d941bfcc8e52c6c9f97ea5abe95

11 years ago$wgContLang global unused in addNewUserLogEntry since b65893755
Platonides [Fri, 25 Jan 2013 21:33:12 +0000 (22:33 +0100)]
$wgContLang global unused in addNewUserLogEntry since b65893755

Change-Id: Ie59aba0b6805484b57bfee917778b7dd97f86754

11 years agoMore tests for mismatched attr quotes + entities in nowiki & pre.
Subramanya Sastry [Fri, 25 Jan 2013 20:56:35 +0000 (12:56 -0800)]
More tests for mismatched attr quotes + entities in nowiki & pre.

Change-Id: I16af0fc6027bd2c51318af6117162e01be9f6d35

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Fri, 25 Jan 2013 20:45:13 +0000 (20:45 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoAdded typehint
jeroendedauw [Fri, 25 Jan 2013 15:58:24 +0000 (16:58 +0100)]
Added typehint

Change-Id: Ic71419e72f8cf0a12d9ea1be84fd0fcd838337d9

11 years agouse strict null check
jeroendedauw [Fri, 25 Jan 2013 15:51:00 +0000 (16:51 +0100)]
use strict null check

Change-Id: I23d1b6b90ed46bf4b2b737539435c66b97a9a51d

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 25 Jan 2013 20:08:39 +0000 (20:08 +0000)]
Localisation updates from translatewiki.net.

Change-Id: If7185aa1d59b6c4207765127204270ce2bc91217

11 years agoSimplified code. Removed not needed if-else
jeroendedauw [Fri, 25 Jan 2013 15:46:24 +0000 (16:46 +0100)]
Simplified code. Removed not needed if-else

Change-Id: I9660f543deefb5154a03535b668ee68eb3394e75

11 years agoImproved BagOStuff docs.
Aaron Schulz [Fri, 25 Jan 2013 19:50:02 +0000 (11:50 -0800)]
Improved BagOStuff docs.

Change-Id: I01c62de23b73e1bac96aede73cd6995df8ff1221

11 years agoMerge "Fixed typo"
jenkins-bot [Fri, 25 Jan 2013 19:16:38 +0000 (19:16 +0000)]
Merge "Fixed typo"

11 years agoMerge "Test improperly quoted attribute values in HTML tags and table cells"
Subramanya Sastry [Fri, 25 Jan 2013 18:15:45 +0000 (18:15 +0000)]
Merge "Test improperly quoted attribute values in HTML tags and table cells"

11 years agoMerge "add profiling points in SiteSQLStore"
jenkins-bot [Fri, 25 Jan 2013 16:59:34 +0000 (16:59 +0000)]
Merge "add profiling points in SiteSQLStore"

11 years agoMerge "Added new "byemail" action to the new users log"
jenkins-bot [Fri, 25 Jan 2013 16:57:45 +0000 (16:57 +0000)]
Merge "Added new "byemail" action to the new users log"

11 years ago(bug 44346) Fixed call signature for PingLimiter hook.
Tyler Anthony Romeo [Fri, 25 Jan 2013 16:06:08 +0000 (11:06 -0500)]
(bug 44346) Fixed call signature for PingLimiter hook.

Changed third parameter of PingLimiter hook to a
reference since that's what all the docs say and because
extensions need to be able to override the result of
the ping limiting.

Change-Id: Ia8e9d3c4de9a6f298a00949007cad53021ab782c

11 years agoFixed typo
jeroendedauw [Fri, 25 Jan 2013 15:51:49 +0000 (16:51 +0100)]
Fixed typo

Change-Id: I3669e3bc6af93330173fc27e0c61589d9a24cada

11 years agoAdded new "byemail" action to the new users log
Alexandre Emsenhuber [Tue, 22 Jan 2013 20:03:44 +0000 (21:03 +0100)]
Added new "byemail" action to the new users log

This allows to display the "password sent by e-mail." string in the user's language
since it's now in the action text rather than always in content language due to the
fact it was hardcoded in the log's comment.

Insertion of log entries for the new users log is now acomplished using the
ManualLogEntry class rather than the old LogPage one.

Removed 'newuserlog-byemail' message since it's no longer used (also checked
extensions in Wikimedia's Git repo).

IRC notifications will use the same message for 'create2' and 'byemail' for backward
compatibility. The only difference is that 'byemail' entries will no longer have
"password sent by email." in the comment.

Change-Id: Icdf1d714259d054cf8c256faf894c533be0dc73c

11 years agoadd profiling points in SiteSQLStore
aude [Fri, 25 Jan 2013 14:51:23 +0000 (14:51 +0000)]
add profiling points in SiteSQLStore

Change-Id: I1699baba30c4e0fe5db185410f54d19097cc6eb6

11 years agoMerge "Change name of section so it does not get confused with Wikidata"
jenkins-bot [Fri, 25 Jan 2013 14:06:47 +0000 (14:06 +0000)]
Merge "Change name of section so it does not get confused with Wikidata"

11 years agoChange name of section so it does not get confused with Wikidata
jeroendedauw [Fri, 25 Jan 2013 13:57:02 +0000 (14:57 +0100)]
Change name of section so it does not get confused with Wikidata

Change-Id: I70404772a5d827bd665ec5e284828211aeb979f4