lhc/web/wiklou.git
11 years agoMerge "(bug 37714) Use log type in target object when deleting logs of the same type"
CSteipp [Fri, 14 Dec 2012 20:58:31 +0000 (20:58 +0000)]
Merge "(bug 37714) Use log type in target object when deleting logs of the same type"

11 years agoMerge "Test a newline-only template parameter"
Subramanya Sastry [Fri, 14 Dec 2012 20:46:07 +0000 (20:46 +0000)]
Merge "Test a newline-only template parameter"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Fri, 14 Dec 2012 20:39:51 +0000 (20:39 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoTest a newline-only template parameter
Gabriel Wicke [Fri, 14 Dec 2012 19:54:55 +0000 (11:54 -0800)]
Test a newline-only template parameter

Change-Id: I99f17767e0aed915e84962a72403ebfb3b1307be

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 14 Dec 2012 20:15:55 +0000 (20:15 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I55a9766a29e8bb5513bcb472cad30c4ed979283c

11 years agoMerge "Adding ability of jQuery badge to display the number zero if requested."
Bsitu [Fri, 14 Dec 2012 20:12:04 +0000 (20:12 +0000)]
Merge "Adding ability of jQuery badge to display the number zero if requested."

11 years agoMerge "Changed LoginForm::addNewaccountInternal() to return Status."
jenkins-bot [Fri, 14 Dec 2012 19:48:35 +0000 (19:48 +0000)]
Merge "Changed LoginForm::addNewaccountInternal() to return Status."

11 years agoAdd link to localisation instructions in the installer
Federico Leva [Fri, 14 Dec 2012 17:50:05 +0000 (18:50 +0100)]
Add link to localisation instructions in the installer

The installer didn't give any clue on how to localise MediaWiki,
while localisation is the main "customisation" need for a wiki.
"Localisation" now does have some human-redable sections with pointers.

Change-Id: Ia08eaababcaaf281cae6d8b509cead3a66a62111

11 years agoMerge "(minor) Always use getSites() to get sites."
jenkins-bot [Fri, 14 Dec 2012 16:35:08 +0000 (16:35 +0000)]
Merge "(minor) Always use getSites() to get sites."

11 years agoMerge "Removed references to DB ignoreErrors() function."
jenkins-bot [Fri, 14 Dec 2012 15:49:53 +0000 (15:49 +0000)]
Merge "Removed references to DB ignoreErrors() function."

11 years agoMerge "(bug 42639) Fix API action=options for multiselect prefs"
jenkins-bot [Fri, 14 Dec 2012 14:55:04 +0000 (14:55 +0000)]
Merge "(bug 42639) Fix API action=options for multiselect prefs"

11 years agoMerge "(bug 42089) meta=siteinfo should output the default content model"
Daniel Kinzler [Fri, 14 Dec 2012 10:29:28 +0000 (10:29 +0000)]
Merge "(bug 42089) meta=siteinfo should output the default content model"

11 years agoMerge "(bug 40679) Set $wgSecureLogin to false for $wgServers with schemes."
jenkins-bot [Fri, 14 Dec 2012 02:08:45 +0000 (02:08 +0000)]
Merge "(bug 40679) Set $wgSecureLogin to false for $wgServers with schemes."

11 years ago(bug 40679) Set $wgSecureLogin to false for $wgServers with schemes.
Tyler Anthony Romeo [Mon, 8 Oct 2012 04:21:08 +0000 (00:21 -0400)]
(bug 40679) Set $wgSecureLogin to false for $wgServers with schemes.

When $wgServer has a scheme, force $wgSecureLogin to false in order
to stop infinite redirects when trying to go to the login page.

Change-Id: I5792eb1a54c7b6279aad0531cedf9f7b4bf94e6e

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 13 Dec 2012 20:12:06 +0000 (20:12 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I3c615ab20c29b64a6302763124df9f976ba0fa91

11 years ago(bug 42089) meta=siteinfo should output the default content model
umherirrender [Thu, 13 Dec 2012 20:05:15 +0000 (21:05 +0100)]
(bug 42089) meta=siteinfo should output the default content model

Adding MWNamespace::getNamespaceContentModel which returns the namespace
content model from the global, if set

Change-Id: Ie012fd0ff846d50cae8081fc32b76900dbcad209

11 years agoChanged LoginForm::addNewaccountInternal() to return Status.
parent5446 [Tue, 7 Aug 2012 14:46:31 +0000 (10:46 -0400)]
Changed LoginForm::addNewaccountInternal() to return Status.

Rather than calling mainLoginForm() and returning false,
the addNewaccountInternal() function now returns a Status
on failure. mainLoginForm() is then called in addNewAccount()
and addNewAccountMailPassword() instead. This allows for
processing of the account creation form without submitting
anything to $wgOut.

Change-Id: I402c6bebcfe276233cc1f9e16efbe55a034b2181

11 years agoMerge "Test wiki tables with a lot of comments"
Subramanya Sastry [Thu, 13 Dec 2012 17:13:14 +0000 (17:13 +0000)]
Merge "Test wiki tables with a lot of comments"

11 years agoMake --wiki work with phpunit.php.
daniel [Mon, 10 Dec 2012 11:03:13 +0000 (12:03 +0100)]
Make --wiki work with phpunit.php.

This introduces --wiki as a dummy paramter to the PHPUnit job, so it no
longer complains and errors our. The parameter is already picked up
correctly be Maintenance.php.

I have a wiki family setup with a Wikibase repo and client using the
same install base, and the same LanguageSettings.php. Different
databases etc are triggered based on the request URI or, for maintenance
scripts, by the --wiki paramters.

I can run maintenance scripts etc against the client setup using --wiki
client. But how do I run unit tests against the client setup? If I try:

  $ phpunit.php --wiki client
  unrecognized option --wiki
  $

That's because after Maintenances.inc (correctly) processes the command
line parameters, phpunit also tries to process them - and complains,
because it doesn't know --wiki.

This change introduces --wiki as a dummy parameter to phpunit to work
around this. With this patch applied, I can run unit tests against my
client setup using phpunit.php --wiki client as expected.

Change-Id: I6cf319cdbdf55a541c986838d370aa324994ae78

11 years agoTest wiki tables with a lot of comments
Gabriel Wicke [Thu, 13 Dec 2012 01:36:53 +0000 (17:36 -0800)]
Test wiki tables with a lot of comments

Change-Id: I222071df9d3a69ea4f0f8eaebc2242e038ff2391

11 years agoMerge "Upstream: Upgrade jQuery JSON from 2.3 to 2.4.0."
Trevor Parscal [Thu, 13 Dec 2012 00:35:55 +0000 (00:35 +0000)]
Merge "Upstream: Upgrade jQuery JSON from 2.3 to 2.4.0."

11 years ago[JobQueue] Kill ORDER BY in job claim function.
Aaron Schulz [Wed, 12 Dec 2012 23:37:21 +0000 (15:37 -0800)]
[JobQueue] Kill ORDER BY in job claim function.

* Although indexed, this slows down for some reason. This started
  to waste master CPU time for wmf wikis with hundreds of thousands
  of jobs. Given how the DB scans the index, the function still
  works correctly without the ORDER BY.

Change-Id: I6ba6cc65d0023de3b9d9df0cfcd6a403289c9848

11 years agoMerge "Revert "(bug 29115) Add redirect target value on page info""
Reedy [Wed, 12 Dec 2012 21:52:57 +0000 (21:52 +0000)]
Merge "Revert "(bug 29115) Add redirect target value on page info""

11 years agoRevert "(bug 29115) Add redirect target value on page info"
Reedy [Wed, 12 Dec 2012 21:51:54 +0000 (21:51 +0000)]
Revert "(bug 29115) Add redirect target value on page info"

This reverts commit 0c6ba8c61d73f995d32e5c8348833ebedd90ea4a

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 12 Dec 2012 20:58:44 +0000 (20:58 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I1b38848d117f1d4c376bbe35a7394b8172ebf8f5

11 years agoMerge "Fixed SiteArray serialization"
Daniel Kinzler [Wed, 12 Dec 2012 20:14:18 +0000 (20:14 +0000)]
Merge "Fixed SiteArray serialization"

11 years agoUpstream: Upgrade jQuery JSON from 2.3 to 2.4.0.
Timo Tijhof [Wed, 12 Dec 2012 20:13:03 +0000 (21:13 +0100)]
Upstream: Upgrade jQuery JSON from 2.3 to 2.4.0.

* http://code.google.com/p/jquery-json/downloads/list

Change-Id: I882f232063d320370451003631c6fa369f08059f

11 years agoAdding ability of jQuery badge to display the number zero if requested.
Kaldari [Wed, 12 Dec 2012 01:09:47 +0000 (17:09 -0800)]
Adding ability of jQuery badge to display the number zero if requested.

This is needed by Echo extension.

Change-Id: Id5e7cbb1aacbad1624474a6d9fac9b95cd1bc275

11 years ago(bug 37714) Use log type in target object when deleting logs of the same type
Alex Monk [Sat, 13 Oct 2012 13:52:49 +0000 (14:52 +0100)]
(bug 37714) Use log type in target object when deleting logs of the same type

Change-Id: I8d721ef5784df624dc0de57adcdf75a4bc3fb604

11 years agoMerge "(bug 42832) Fixed cookie security when not wpStickHTTPS."
jenkins-bot [Wed, 12 Dec 2012 19:05:03 +0000 (19:05 +0000)]
Merge "(bug 42832) Fixed cookie security when not wpStickHTTPS."

11 years agoFixed SiteArray serialization
jeroendedauw [Wed, 12 Dec 2012 19:00:03 +0000 (20:00 +0100)]
Fixed SiteArray serialization

Change-Id: I9844236b8720d96f99aef788ab023c522f993045

11 years agoMerge "(bug 42211) Fix the display of some user rights log entries"
jenkins-bot [Wed, 12 Dec 2012 18:35:05 +0000 (18:35 +0000)]
Merge "(bug 42211) Fix the display of some user rights log entries"

11 years ago(bug 42832) Fixed cookie security when not wpStickHTTPS.
Tyler Anthony Romeo [Fri, 7 Dec 2012 19:54:20 +0000 (14:54 -0500)]
(bug 42832) Fixed cookie security when not wpStickHTTPS.

When a user goes to a secure login page, but does not
want to stick to HTTPS, reset the session so that all
session cookies are not secure otherwise the session
won't be setup on HTTP.

Change-Id: I54ba02b723442f6d8b585f0f86a572b56be06596

11 years ago(minor) Always use getSites() to get sites.
daniel [Wed, 12 Dec 2012 14:13:23 +0000 (15:13 +0100)]
(minor) Always use getSites() to get sites.

Change-Id: If6acf458a762a3de6096f35f231d50ba59ed3256

11 years agoMerge "(Bug 42616) Remove extra newline from redirect wikitext"
Daniel Kinzler [Wed, 12 Dec 2012 13:25:48 +0000 (13:25 +0000)]
Merge "(Bug 42616) Remove extra newline from redirect wikitext"

11 years ago(bug 41146) DatabaseOracle no more rely on mbstring
lupo [Fri, 16 Nov 2012 12:52:55 +0000 (13:52 +0100)]
(bug 41146) DatabaseOracle no more rely on mbstring

DatabaseOracle class has been using mb_check_encoding which might not
always be available.  We now rely on the StringUtils::isUtf8() method
implemented by I4cf4dfe2.

Change-Id: I5a9ffa23e3e738e4886d61e85974b0af25058308

11 years agoabstract utf8 validation fallback
Antoine Musso [Fri, 16 Nov 2012 12:47:10 +0000 (13:47 +0100)]
abstract utf8 validation fallback

Language class had a code snippet to verify whether a text is valid
UTF-8 though that could not be used from another place. The snippet use
mb_check_encoding() and fallback to some regex whenever mbstring is not
available.

* introduce StringUtils::isUtf8() which is mostly code moved out of the
  language class.
* Enhance regex readability by using an expanded regex (//x)
* Made the regex to recognize longer sequences
* Add some unit tests to the mbstring and the PHP native implementation
* An optional second parameter can be passed to isUtf8() to force the
  use of our PHP implementation. This is used for unit testing.

Change-Id: I4cf4dfe2eb02f046db1726f4654ba649e01419f2

11 years ago(minor) use wfDebugLog consistently.
daniel [Mon, 10 Dec 2012 10:59:02 +0000 (11:59 +0100)]
(minor) use wfDebugLog consistently.

ExternalStoreDB used a mixture of wfDebug() and wfDebugLog().

Change-Id: Ifea99cce5accd01bce85b9d877a8d8fc5ddbd98a

11 years ago(bug 24620) Add types and test for LogFormatter
jan [Mon, 22 Oct 2012 09:00:15 +0000 (11:00 +0200)]
(bug 24620) Add types and test for LogFormatter

This change adds types to LogFormatter like "msg" so log values
(parameters for the log message) can be formated as e.g. a message in
user or content language.

This change adds tests for LogFormatter, too. Tested are the normal log
params, the log params with type and the output of the comment.

This change repairs the changes I6a56c204 and I7218a173

Change-Id: Ief3665056b3bb613ff709821306017ee7967c444

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Tue, 11 Dec 2012 22:57:52 +0000 (22:57 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 11 Dec 2012 22:41:56 +0000 (22:41 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I381b6e39f31bfea58a55241342c8401750e0c04d

11 years ago[Upload] Improvements to async stash uploading.
Aaron Schulz [Tue, 11 Dec 2012 22:29:33 +0000 (14:29 -0800)]
[Upload] Improvements to async stash uploading.

* Added a "stage" field to the status info. This lets clients detect
  if the process failed to even start much more quickly.
* Actually unset the status from $_SESSION if set to false.

Change-Id: I29703f14625b1b10e6413db27a3964324b4679e6

11 years agoRemoved references to DB ignoreErrors() function.
Aaron Schulz [Tue, 11 Dec 2012 19:24:12 +0000 (11:24 -0800)]
Removed references to DB ignoreErrors() function.

Change-Id: I9441d897d45bca189c17b8bcca4ea7b3469af8b0

11 years agoMerge "messsage -> message"
Reedy [Tue, 11 Dec 2012 17:03:11 +0000 (17:03 +0000)]
Merge "messsage -> message"

11 years agomesssage -> message
Alex Monk [Tue, 11 Dec 2012 16:57:56 +0000 (16:57 +0000)]
messsage -> message

There were some other occurances in the Qqq messages, I have fixed those on translatewiki.

Change-Id: I2b1b34c9fe3cf24ed9086673c71c75486189fa78

11 years ago(bug 42948) $wiki parameter for getRevisionText().
daniel [Tue, 11 Dec 2012 11:57:37 +0000 (12:57 +0100)]
(bug 42948) $wiki parameter for getRevisionText().

Revision::getRevisionText should take wiki identifier, to allow for the loading
of revision blobs from another wiki's database. This is passed through to
ExternalStoreDB, so it uses the correct database connection.

Change-Id: I14a7ebb8aa31a4e50735db9c28ff8d2759cd872c

11 years agoMerge "[JobQueue] Pushed stats down to job queue subclasses."
ArielGlenn [Tue, 11 Dec 2012 08:20:51 +0000 (08:20 +0000)]
Merge "[JobQueue] Pushed stats down to job queue subclasses."

11 years agoFixed backwards return value in 55592f37f4ebf8f257ce5595d9c354016cdf0a47.
Aaron Schulz [Tue, 11 Dec 2012 07:48:59 +0000 (23:48 -0800)]
Fixed backwards return value in 55592f37f4ebf8f257ce5595d9c354016cdf0a47.

Change-Id: Ie6c80324c5a6c9f14bb7be076b38405012dc91af

11 years agoMerge "Remove the \ before the class name."
jenkins-bot [Tue, 11 Dec 2012 07:45:25 +0000 (07:45 +0000)]
Merge "Remove the \ before the class name."

11 years ago[JobQueue] Do not count claimed jobs in isEmpty().
Aaron Schulz [Tue, 11 Dec 2012 06:53:44 +0000 (22:53 -0800)]
[JobQueue] Do not count claimed jobs in isEmpty().

Change-Id: Ie5c14925c8d4797ada970de843091ead269e9ae5

11 years agoMerge "(bug 42604) fix faulty browser detection code for Opera"
jenkins-bot [Tue, 11 Dec 2012 03:09:10 +0000 (03:09 +0000)]
Merge "(bug 42604) fix faulty browser detection code for Opera"

11 years agoDeleting one last extension I left in master
Chad Horohoe [Tue, 11 Dec 2012 01:59:57 +0000 (20:59 -0500)]
Deleting one last extension I left in master

Change-Id: I18272893fcde9afb6b197078e4e22d7144c81c25

11 years agoRevert "Applied patches to new WMF 1.21wmf6 branch"
Chad Horohoe [Tue, 11 Dec 2012 01:57:34 +0000 (20:57 -0500)]
Revert "Applied patches to new WMF 1.21wmf6 branch"

This reverts commit b92b9b62c0c93d16c93541ea1cd5afa5d60eef52.

Change-Id: I4324813533ad984877b58d503aa0dc96010dbd50

11 years agoRevert "Commit of various live hacks"
Chad Horohoe [Tue, 11 Dec 2012 01:55:48 +0000 (20:55 -0500)]
Revert "Commit of various live hacks"

This reverts commit acddbc862afceead7cd3cce1dc1cc55c265e0ca1.

Change-Id: Iabf5f917938c347ca6ddc7a373c731f44f23363b

11 years agoUndoing more of my branching mistake, delete submodules from master
Chad Horohoe [Tue, 11 Dec 2012 01:50:27 +0000 (20:50 -0500)]
Undoing more of my branching mistake, delete submodules from master

Change-Id: I08fe85ebf7713bc3f783529ef532e3fdfa230bed

11 years agoMerge "StartProfiler.php shouldn't be under version control"
Reedy [Mon, 10 Dec 2012 23:53:39 +0000 (23:53 +0000)]
Merge "StartProfiler.php shouldn't be under version control"

11 years agoStartProfiler.php shouldn't be under version control
Reedy [Mon, 10 Dec 2012 23:52:41 +0000 (23:52 +0000)]
StartProfiler.php shouldn't be under version control

It's in .gitignore, and checkoutMediaWiki makes it

Change-Id: Id681a9ff875c15277ef27048f4ab7b91bde7a1b0

11 years agoMerge "ExternalStoreDB.php was moved to externalstore folder in c37937"
jenkins-bot [Mon, 10 Dec 2012 23:09:43 +0000 (23:09 +0000)]
Merge "ExternalStoreDB.php was moved to externalstore folder in c37937"

11 years agoRemove the \ before the class name.
Platonides [Fri, 7 Dec 2012 18:48:57 +0000 (19:48 +0100)]
Remove the \ before the class name.

Then 'stdclass' is preceded by T_NEW and taken as a class name.
Else it was misinterpreted as a function call.

Change-Id: Ib6afccb26e530a24bf7414ede10f573a9934d2ed

11 years agoExternalStoreDB.php was moved to externalstore folder in c37937
Platonides [Mon, 10 Dec 2012 22:55:27 +0000 (23:55 +0100)]
ExternalStoreDB.php was moved to externalstore folder in c37937

(revision cbc28d41ae)

Change-Id: I44c6c20de0a6066e035b76b3d6d62f242a175c15

11 years agoMerge "[Upload] Async upload code cleanups."
jenkins-bot [Mon, 10 Dec 2012 20:56:38 +0000 (20:56 +0000)]
Merge "[Upload] Async upload code cleanups."

11 years agoMoved ExternalStore stuff to a /externalstore subdir.
Aaron Schulz [Mon, 10 Dec 2012 20:43:35 +0000 (12:43 -0800)]
Moved ExternalStore stuff to a /externalstore subdir.

Change-Id: If631040d8242354734280403258ed5d51542728d

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 10 Dec 2012 20:09:07 +0000 (20:09 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I47b8d6ee63edeadf81cca5e45e0c3124d498a4b1

11 years agoMerge "Remove fallback for PHP installs < v5.3.2 as that is now an install requiremen...
jenkins-bot [Mon, 10 Dec 2012 19:52:01 +0000 (19:52 +0000)]
Merge "Remove fallback for PHP installs < v5.3.2 as that is now an install requirement The native stream_resolve_include_path can now be used exclusively"

11 years agoUpdating Wikibase
Chad Horohoe [Mon, 10 Dec 2012 19:29:04 +0000 (14:29 -0500)]
Updating Wikibase

Change-Id: I1888e5b9810bc72d960d5a18c3e525ab338f992b

11 years agoAdd a test for braces in HTML attribute values, remove data-parsoid attributes
Gabriel Wicke [Mon, 10 Dec 2012 19:03:39 +0000 (11:03 -0800)]
Add a test for braces in HTML attribute values, remove data-parsoid attributes

* Disabled the test for the PHP parser as that entity-endocodes the opening
  brace for some reason.
* Removed all data-parsoid attributes, as we are mainly interested in the
  serialization / escaping of new HTML content in the parsoid-specific tests.
  Round-tripping with data-parsoid is already tested in regular wt2wt modes.

Change-Id: I6072a85b4dc03965a32ccf8ce03c6ddb8f4dc49c

11 years agoRemove fallback for PHP installs < v5.3.2 as that is now an install requirement
lwelling [Mon, 10 Dec 2012 18:40:01 +0000 (13:40 -0500)]
Remove fallback for PHP installs < v5.3.2 as that is now an install requirement
The native stream_resolve_include_path can now be used exclusively

Change-Id: I891fe9e08f5257614dbc966e725c9810423108a5

11 years agoApplied patches to new WMF 1.21wmf6 branch
Chad Horohoe [Mon, 10 Dec 2012 18:33:12 +0000 (13:33 -0500)]
Applied patches to new WMF 1.21wmf6 branch

11 years agoCommit of various live hacks
Reedy [Tue, 10 Apr 2012 18:27:59 +0000 (18:27 +0000)]
Commit of various live hacks

Disable of MessageBlobStore clear

Reset $wgAutopromote (should be moved to a config change!!)

Disable setting of wgStyleSheetPath

Disable squid updates in HTMLCacaheUpdate invalidateTitles

Throttle page_touched

Add apc htcp packet numbers to SquidUpdate

Disable set names binary/utf8

Commment out searchindex table indexes

Was c532e81d583d3d0439fe76eea4d105d675461b56

Original revision Change-Id I42c4f859e55eb198f6c6841e582b3552aad7b31f
https://gerrit.wikimedia.org/r/#/c/7606

Change-Id: I5ec8dd53188e9e4128f99ceaff38ebf9dcf570bb

11 years agoCreating new WMF 1.21wmf6 branch
Chad Horohoe [Mon, 10 Dec 2012 18:33:11 +0000 (13:33 -0500)]
Creating new WMF 1.21wmf6 branch

11 years agoMerge "(bug 29115) Add redirect target value on page info"
jenkins-bot [Mon, 10 Dec 2012 17:50:32 +0000 (17:50 +0000)]
Merge "(bug 29115) Add redirect target value on page info"

11 years agoMerge "(minor) use wfMemcKey when caching sites list."
jenkins-bot [Mon, 10 Dec 2012 17:42:49 +0000 (17:42 +0000)]
Merge "(minor) use wfMemcKey when caching sites list."

11 years agoFix spelling in nan date formats
Niklas Laxström [Sat, 15 Sep 2012 16:55:02 +0000 (16:55 +0000)]
Fix spelling in nan date formats

http://translatewiki.net/wiki/Thread:Portal_talk:Nan/Misspelt_word_in_date_format

Re-apply after overwrite by translation updated bot

Change-Id: Iec7678afbb4ccdaa43430891e35d58c740f107d5

11 years agoMerge "Less wild whitespace"
jenkins-bot [Mon, 10 Dec 2012 15:12:49 +0000 (15:12 +0000)]
Merge "Less wild whitespace"

11 years agoMerge "Fix incorrect documentation for Language::getFormattedNsText()"
jenkins-bot [Mon, 10 Dec 2012 14:51:25 +0000 (14:51 +0000)]
Merge "Fix incorrect documentation for Language::getFormattedNsText()"

11 years agoMerge "Fix check to see if element is there already."
Daniel Kinzler [Mon, 10 Dec 2012 14:10:08 +0000 (14:10 +0000)]
Merge "Fix check to see if element is there already."

11 years ago(minor) use wfMemcKey when caching sites list.
daniel [Thu, 6 Dec 2012 17:55:05 +0000 (18:55 +0100)]
(minor) use wfMemcKey when caching sites list.

Change-Id: I879b213a31809e9f01a7e86f50c87f04f187e635

11 years agoFix incorrect documentation for Language::getFormattedNsText()
Siebrand Mazeland [Mon, 10 Dec 2012 10:53:03 +0000 (11:53 +0100)]
Fix incorrect documentation for Language::getFormattedNsText()

Change-Id: I16e9deaa5c962f177dee83785ac5142d4681b75f

11 years agoMerge "Revert "(bug 24620) Add types to LogFormatter""
Reedy [Mon, 10 Dec 2012 01:25:48 +0000 (01:25 +0000)]
Merge "Revert "(bug 24620) Add types to LogFormatter""

11 years agoMerge "Revert "(bug 24620) Add tests for LogFormatter""
Reedy [Mon, 10 Dec 2012 01:25:40 +0000 (01:25 +0000)]
Merge "Revert "(bug 24620) Add tests for LogFormatter""

11 years agoRevert "(bug 24620) Add types to LogFormatter"
Siebrand [Mon, 10 Dec 2012 01:24:21 +0000 (01:24 +0000)]
Revert "(bug 24620) Add types to LogFormatter"

This breaks extensions because of changing protected methods to public (LogFormatter::getMessageParameters() in particular). We need a solid solution. The next 1.21-wmf is being branched tomorrow. Revert is the sanest solution at the moment.

This reverts commit 1c296faf58fe57328c97fff36a57b64c9b8fada7

11 years agoRevert "(bug 24620) Add tests for LogFormatter"
Siebrand [Mon, 10 Dec 2012 01:23:07 +0000 (01:23 +0000)]
Revert "(bug 24620) Add tests for LogFormatter"

As I6a56c204 breaks extensions because of changing protected methods to public, this has to be reverted. We need a solid solution and the next 1.21-wmf is being branched tomorrow. Revert is the sanest solution at the moment.

This reverts commit 888fe0ffb367e9714615e81f2890ec8314219125

11 years agoMerge "Use my full name in the credits"
jenkins-bot [Mon, 10 Dec 2012 00:56:12 +0000 (00:56 +0000)]
Merge "Use my full name in the credits"

11 years agoMerge "test: raise timeout on structure test"
jenkins-bot [Mon, 10 Dec 2012 00:37:49 +0000 (00:37 +0000)]
Merge "test: raise timeout on structure test"

11 years agotest: raise timeout on structure test
Antoine Musso [Mon, 10 Dec 2012 00:27:39 +0000 (01:27 +0100)]
test: raise timeout on structure test

The test testUnitTestFileNamesEndWithTest() does some file I/O which is
kind of slow.

Change-Id: I6792708bda755638e6b98c514f2c015ed094671f

11 years agoUse my full name in the credits
Alex Monk [Mon, 10 Dec 2012 00:02:07 +0000 (00:02 +0000)]
Use my full name in the credits

Change-Id: I3c366bc5ad98d47849556008f8204123a4356dac

11 years ago(bug 24620) Add tests for LogFormatter
jan [Wed, 31 Oct 2012 19:24:47 +0000 (20:24 +0100)]
(bug 24620) Add tests for LogFormatter

This change adds tests for LogFormatter. Tested are the normal log
params, the log params with type and the output of the comment.

Change-Id: I7218a1738c97db1d888605cecdfbffe21ca00fbf

11 years agoMerge "ORM: pass some __METHOD__ to database functions"
jenkins-bot [Sun, 9 Dec 2012 23:57:32 +0000 (23:57 +0000)]
Merge "ORM: pass some __METHOD__ to database functions"

11 years ago(bug 24620) Add types to LogFormatter
jan [Mon, 22 Oct 2012 09:00:15 +0000 (11:00 +0200)]
(bug 24620) Add types to LogFormatter

This change adds types to LogFormatter like "msg" so log values
(paramaters for the log message) can be formated as e.g. a message in
user or content language.

If you want to add another type feel free to suggest it in your review.

Change-Id: I6a56c2041bcbce292cff485e706db02305aab01c

11 years agoMerge "(Bug 38439) Attempt on fixing the suicidal LangObjCache"
Siebrand [Sun, 9 Dec 2012 23:42:34 +0000 (23:42 +0000)]
Merge "(Bug 38439) Attempt on fixing the suicidal LangObjCache"

11 years agoMerge "Genderize Special:Preferences"
jenkins-bot [Sun, 9 Dec 2012 23:28:47 +0000 (23:28 +0000)]
Merge "Genderize Special:Preferences"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 9 Dec 2012 20:06:59 +0000 (20:06 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Id7a882a6e7c4915b47594fdcb3afaada84e2f2a6

11 years agoMerge "Set wgWellFormedXml for LinkerTest::testUserLink"
jenkins-bot [Sun, 9 Dec 2012 19:54:08 +0000 (19:54 +0000)]
Merge "Set wgWellFormedXml for LinkerTest::testUserLink"

11 years ago(bug 29115) Add redirect target value on page info
umherirrender [Fri, 30 Nov 2012 10:55:42 +0000 (11:55 +0100)]
(bug 29115) Add redirect target value on page info

Added inprop=redirecttarget

Refactored ApiPageSet::getRedirectTargets to having one method for
resolving redirect targets and calling that from prop=info.

Change-Id: Ia5fb9f25488880c2dd63e613c913a0864464d327

11 years ago(bug 42604) fix faulty browser detection code for Opera
MatmaRex [Sat, 1 Dec 2012 13:34:29 +0000 (14:34 +0100)]
(bug 42604) fix faulty browser detection code for Opera

Opera's `navigator.userAgent` might not include the "Version/major.minor"
part, causing the code relying on it being present to blow up. This patch
fixes the issue.

Also added tests for Opera.

Change-Id: I9ceb7517e00042366e45cf13aa89262ed19709c0

11 years agoMerge "Set wgHtml5/wgWellFormedXml for XmlTests"
jenkins-bot [Sun, 9 Dec 2012 16:35:19 +0000 (16:35 +0000)]
Merge "Set wgHtml5/wgWellFormedXml for XmlTests"

11 years agoORM: pass some __METHOD__ to database functions
umherirrender [Fri, 23 Nov 2012 14:29:46 +0000 (15:29 +0100)]
ORM: pass some __METHOD__ to database functions

Change-Id: Ic76f88fe682118a097964e4011678ef4ad69113b

11 years agoSet wgWellFormedXml for LinkerTest::testUserLink
umherirrender [Sun, 9 Dec 2012 10:56:45 +0000 (11:56 +0100)]
Set wgWellFormedXml for LinkerTest::testUserLink

Change-Id: I9ab370e2f23e0134741680ff620e8bb552496868

11 years agoSet wgHtml5/wgWellFormedXml for XmlTests
umherirrender [Sun, 9 Dec 2012 10:47:03 +0000 (11:47 +0100)]
Set wgHtml5/wgWellFormedXml for XmlTests

Change-Id: I3cab843bad9461098cf3c6b574fb767c3267ab14

11 years agoFix SanitizerTest for wikis with wgUseTidy = true;
umherirrender [Sun, 9 Dec 2012 10:03:03 +0000 (11:03 +0100)]
Fix SanitizerTest for wikis with wgUseTidy = true;

testRemovehtmltagsOnHtml5Tags needs wgUseTidy = false;

3) SanitizerTest::testRemovehtmltagsOnHtml5Tags with data set #2
('time', false)

Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<time></time>
-'
+'<time>'

Change-Id: Ib7e156293e2efae053b055e40393e442719eb5bd