lhc/web/wiklou.git
13 years agoRemoved trailing spaces
Alexandre Emsenhuber [Sat, 4 Sep 2010 09:29:25 +0000 (09:29 +0000)]
Removed trailing spaces

13 years agoDelete resources/mw directory, seems to be a remnant of a botched merge
Trevor Parscal [Sat, 4 Sep 2010 09:01:22 +0000 (09:01 +0000)]
Delete resources/mw directory, seems to be a remnant of a botched merge

13 years agoFix a bug in the resource loader causing it to return no Content-Type header for...
Trevor Parscal [Sat, 4 Sep 2010 08:38:45 +0000 (08:38 +0000)]
Fix a bug in the resource loader causing it to return no Content-Type header for 304s. Firefox doesn't care but Chrome seems to, so we always set the right Content-Type

13 years agoFollowup to r72349: fix database error caused by update.php indirectly (via Localisat...
Trevor Parscal [Sat, 4 Sep 2010 07:54:55 +0000 (07:54 +0000)]
Followup to r72349: fix database error caused by update.php indirectly (via LocalisationCache::recache() and MessageBlobStore::clear()) trying to clear out the msg_resource table before it's even created it.

13 years ago* simplified file description header or load.php
Alexandre Emsenhuber [Sat, 4 Sep 2010 06:46:50 +0000 (06:46 +0000)]
* simplified file description header or load.php
* and while I'm a it: svn:eol-style native (!)

13 years agoFixed server path being built wrongly, appending load.php. This was masked by PHP...
Trevor Parscal [Sat, 4 Sep 2010 06:25:42 +0000 (06:25 +0000)]
Fixed server path being built wrongly, appending load.php. This was masked by PHP's path info. Fixes issue in r72349.

13 years ago* added @file
Alexandre Emsenhuber [Sat, 4 Sep 2010 06:17:07 +0000 (06:17 +0000)]
* added @file
* whitespaces fixes
* double quotes to simple quotes where possible

13 years agoFollow-up r72340: Special page and its user rights have gone
Raimond Spekking [Sat, 4 Sep 2010 06:08:21 +0000 (06:08 +0000)]
Follow-up r72340: Special page and its user rights have gone

13 years agoFollow-up r72340: Special page has gone
Raimond Spekking [Sat, 4 Sep 2010 05:53:45 +0000 (05:53 +0000)]
Follow-up r72340: Special page has gone

13 years agoFollowup to r72349, PG table def + updater for module_deps
OverlordQ [Sat, 4 Sep 2010 04:14:51 +0000 (04:14 +0000)]
Followup to r72349, PG table def + updater for module_deps

13 years agoFollowup to r72349, PG tables + updater
OverlordQ [Sat, 4 Sep 2010 04:10:23 +0000 (04:10 +0000)]
Followup to r72349, PG tables + updater

13 years agoMerging resourceloader branch into trunk. Full documentation is at http://www.mediawi...
Roan Kattouw [Sat, 4 Sep 2010 04:00:09 +0000 (04:00 +0000)]
Merging resourceloader branch into trunk. Full documentation is at mediawiki.org/wiki/ResourceLoader and a general overview has been posted on wikitech-li <http://lists.wikimedia.org/pipermail/wikitech-l/2010-September/049253.html>. One important change is that all JS is now loaded at the bottom, so any scripts assuming things from wikibits or whatever are present will fail.

13 years agoBraces and spaces
Sam Reed [Sat, 4 Sep 2010 03:43:33 +0000 (03:43 +0000)]
Braces and spaces

13 years agow/s changes
Mark A. Hershberger [Sat, 4 Sep 2010 01:06:34 +0000 (01:06 +0000)]
w/s changes

13 years agoAdd changes that I missed in r72340
Mark A. Hershberger [Sat, 4 Sep 2010 01:02:56 +0000 (01:02 +0000)]
Add changes that I missed in r72340

13 years ago* Remove $wg*Selenium* globals as they are only used for testing.
Mark A. Hershberger [Sat, 4 Sep 2010 00:58:57 +0000 (00:58 +0000)]
* Remove $wg*Selenium* globals as they are only used for testing.
* mglaser said the SpecialSelenium page wasn't needed so I'm removing it – I suggest its functionality be put in an extension if needed.
* Add verbose option (requires patch to Testing_Selenium) to RunSeleniumTests.
* TODO: add .ini file to hold local configuration
* TODO: add ability to sniff available browsers from Grid server instead of hard-coding.

13 years agore r72335: forgot to include this 'global' keyword.
Mark A. Hershberger [Sat, 4 Sep 2010 00:18:01 +0000 (00:18 +0000)]
re r72335: forgot to include this 'global' keyword.

13 years agoBug 6204 - TOC not properly rendered when using $wgMaxTocLevel
Conrad Irwin [Sat, 4 Sep 2010 00:03:45 +0000 (00:03 +0000)]
Bug 6204 - TOC not properly rendered when using $wgMaxTocLevel

Credit for mini-patch to Brandon Ooi

13 years ago* add wfRunMaintenance() script to simplify maint script writing
Mark A. Hershberger [Sat, 4 Sep 2010 00:01:30 +0000 (00:01 +0000)]
* add wfRunMaintenance() script to simplify maint script writing
* replace use of array_key_exists with isset()
* add helloWorld example to go with http://www.mediawiki.org/wiki/Manual:Writing_maintenance_scripts

13 years agoOnly display Examples section if it's got anything in the array
Sam Reed [Fri, 3 Sep 2010 22:58:09 +0000 (22:58 +0000)]
Only display Examples section if it's got anything in the array

13 years agoFollow-up r72319. Use linkKnown() and skip a few parameters.
Platonides [Fri, 3 Sep 2010 22:10:07 +0000 (22:10 +0000)]
Follow-up r72319. Use linkKnown() and skip a few parameters.

13 years agoFollow-up r65504. Use canonical class name.
Platonides [Fri, 3 Sep 2010 22:07:46 +0000 (22:07 +0000)]
Follow-up r65504. Use canonical class name.

13 years agoRemove call to deprecated function Linker::makeKnownLink from function specialLink.
Platonides [Fri, 3 Sep 2010 21:53:02 +0000 (21:53 +0000)]
Remove call to deprecated function Linker::makeKnownLink from function specialLink.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 3 Sep 2010 21:48:42 +0000 (21:48 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-03 21:31:00 UTC)

13 years agoFollow-up r70970. There's no StubUser any more, so no point in showing the wfDebug...
Platonides [Fri, 3 Sep 2010 21:39:50 +0000 (21:39 +0000)]
Follow-up r70970. There's no StubUser any more, so no point in showing the wfDebug on each request.

13 years agoFix sequence renaming to be backwards-compat with older versions of PG. Needs merged...
OverlordQ [Fri, 3 Sep 2010 21:17:33 +0000 (21:17 +0000)]
Fix sequence renaming to be backwards-compat with older versions of PG. Needs merged with 1.16

13 years agoComment fix
Chad Horohoe [Fri, 3 Sep 2010 21:14:52 +0000 (21:14 +0000)]
Comment fix

13 years agoBump cl_collation from smallint to a text
Greg Sabino Mullane [Fri, 3 Sep 2010 21:08:16 +0000 (21:08 +0000)]
Bump cl_collation from smallint to a text

13 years agoFurther categorylinks schema changes
Aryeh Gregor [Fri, 3 Sep 2010 20:52:08 +0000 (20:52 +0000)]
Further categorylinks schema changes

Per review by Tim, I made two changes:

1) Fix cl_sortkey to be varbinary(255).

2) Expand cl_collation to varbinary(32), and change $wgCollationVersion
to $wgCategoryCollation, to account for the variety of collations we
might have.  tinyint is too small.  I could have gone with int, but
that's annoyingly inscrutable in practice, as we all know from namespace
fields.

To make the upgrade easier for non-trunk users, I updated the old patch
file to incorporate the new changes, using the updatelog table so that
people upgrading from 1.16 won't have to do two alters on categorylinks.
I didn't test the upgrade-from-1.16 code path yet, so if anyone tests
that and it seems not to break, commenting to that effect would be
appreciated.

Also removed wfDeprecated() from archive().  Do *not* add this to
functions that are still actively used in core.  If you think this
function is so terrible that it really mustn't be used, remove callers
yourself, don't pester every single developer with messages in the hope
that someone else will do it for you.

13 years agoAddress comment on r63710, rm unused paramters
Chad Horohoe [Fri, 3 Sep 2010 19:40:01 +0000 (19:40 +0000)]
Address comment on r63710, rm unused paramters

13 years agoMoved OracleUpdater to its own file so that I can stop asking me why this file is...
Alexandre Emsenhuber [Fri, 3 Sep 2010 18:53:19 +0000 (18:53 +0000)]
Moved OracleUpdater to its own file so that I can stop asking me why this file is missing

13 years agoadded file description header
Alexandre Emsenhuber [Fri, 3 Sep 2010 18:24:42 +0000 (18:24 +0000)]
added file description header

13 years agoFollowup r72238, remove &
Sam Reed [Fri, 3 Sep 2010 16:00:58 +0000 (16:00 +0000)]
Followup r72238, remove &

13 years agoFollowup r72234, pass $this->mConn instead of null
Sam Reed [Fri, 3 Sep 2010 15:53:08 +0000 (15:53 +0000)]
Followup r72234, pass $this->mConn instead of null

13 years agoFollowup r72108, put the history file in $IP/maintenance rather than the cwd. Also...
Chad Horohoe [Fri, 3 Sep 2010 14:24:40 +0000 (14:24 +0000)]
Followup r72108, put the history file in $IP/maintenance rather than the cwd. Also add it to svnignore.

13 years agoFollow up r72164. The list was still there.
Platonides [Fri, 3 Sep 2010 14:04:50 +0000 (14:04 +0000)]
Follow up r72164. The list was still there.

13 years agoFollow up r72202 rename of Message::key() to wfMessage()
Platonides [Fri, 3 Sep 2010 14:00:01 +0000 (14:00 +0000)]
Follow up r72202 rename of Message::key() to wfMessage()

13 years agoWiden header documentation
Sam Reed [Fri, 3 Sep 2010 01:06:06 +0000 (01:06 +0000)]
Widen header documentation

13 years agoFixing bad cpmmand to make phpunit work r72250
Priyanka Dhanda [Fri, 3 Sep 2010 00:57:56 +0000 (00:57 +0000)]
Fixing bad cpmmand to make phpunit work r72250

13 years agoActually does what r72249 claimed to do.
Trevor Parscal [Fri, 3 Sep 2010 00:48:22 +0000 (00:48 +0000)]
Actually does what r72249 claimed to do.

13 years agoFixed PHPUnit < 3.5 compatibiliy breaking change r72248, now we automatically use...
Trevor Parscal [Fri, 3 Sep 2010 00:41:52 +0000 (00:41 +0000)]
Fixed PHPUnit < 3.5 compatibiliy breaking change r72248, now we automatically use the new/old way by checking for 'PHPUnit/Autoload.php'.

13 years agoUsing PHPUnit/Autoload.php instead of trying to include everything by hand all the...
Trevor Parscal [Fri, 3 Sep 2010 00:31:52 +0000 (00:31 +0000)]
Using PHPUnit/Autoload.php instead of trying to include everything by hand all the time.

13 years agoPartial revert of r72240
Sam Reed [Thu, 2 Sep 2010 23:43:14 +0000 (23:43 +0000)]
Partial revert of r72240

13 years agoAlign URL's
Sam Reed [Thu, 2 Sep 2010 23:37:15 +0000 (23:37 +0000)]
Align URL's

13 years agoRemove unused global
Sam Reed [Thu, 2 Sep 2010 23:12:47 +0000 (23:12 +0000)]
Remove unused global

Simplify some logic

13 years agoComment out some unused array declarations
Sam Reed [Thu, 2 Sep 2010 22:20:00 +0000 (22:20 +0000)]
Comment out some unused array declarations

Move some comments

13 years agoAdd some $retval = '' before some wfShellExec
Sam Reed [Thu, 2 Sep 2010 22:15:20 +0000 (22:15 +0000)]
Add some $retval = '' before some wfShellExec

13 years ago$file->group to $this->group
Sam Reed [Thu, 2 Sep 2010 22:11:32 +0000 (22:11 +0000)]
$file->group to $this->group

13 years ago$result = '' in Title->checkPermissionHooks
Sam Reed [Thu, 2 Sep 2010 22:08:09 +0000 (22:08 +0000)]
$result = '' in Title->checkPermissionHooks

Fixup $session in ApiWatchTest

13 years agocoding style tweaks
Jack Phoenix [Thu, 2 Sep 2010 21:56:14 +0000 (21:56 +0000)]
coding style tweaks

13 years agoFixup some method calls with missing parameters
Sam Reed [Thu, 2 Sep 2010 21:54:53 +0000 (21:54 +0000)]
Fixup some method calls with missing parameters

13 years agotrim trailing whitespace
Jack Phoenix [Thu, 2 Sep 2010 21:43:04 +0000 (21:43 +0000)]
trim trailing whitespace

13 years agoFollowup r72207, uc isn't static
Sam Reed [Thu, 2 Sep 2010 21:38:45 +0000 (21:38 +0000)]
Followup r72207, uc isn't static

13 years agoPer r72181, refactor isInCategory into ArticleAssessmentPilot
Sam Reed [Thu, 2 Sep 2010 20:52:01 +0000 (20:52 +0000)]
Per r72181, refactor isInCategory into ArticleAssessmentPilot

13 years agoSimplify some returns, remove some whitespace
Sam Reed [Thu, 2 Sep 2010 20:48:02 +0000 (20:48 +0000)]
Simplify some returns, remove some whitespace

Indent on a switch

13 years agoFollowup r72200, cast return to bool
Sam Reed [Thu, 2 Sep 2010 20:11:01 +0000 (20:11 +0000)]
Followup r72200, cast return to bool

13 years agoRemoved leading whitespace
Alexandre Emsenhuber [Thu, 2 Sep 2010 19:35:38 +0000 (19:35 +0000)]
Removed leading whitespace

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 2 Sep 2010 19:30:22 +0000 (19:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-02 19:00:00 UTC)

13 years agoBased on r72134 feedback, applied spacing conventions from MediaWiki style guide...
Leons Petrazickis [Thu, 2 Sep 2010 19:10:54 +0000 (19:10 +0000)]
Based on r72134 feedback, applied spacing conventions from MediaWiki style guide, eliminated one-line ifs, wrapped all lines at less than 80 chars, and improved comments a bit.

13 years agoAdding helpful comments
Ryan Kaldari [Thu, 2 Sep 2010 18:05:58 +0000 (18:05 +0000)]
Adding helpful comments

13 years agoOne step forward with the Message class.
Niklas Laxström [Thu, 2 Sep 2010 17:12:56 +0000 (17:12 +0000)]
One step forward with the Message class.

wfMessage can be used now. Later the old wfMsg* function will be changed to just wrappers over the new class.

13 years agoFollowup r72181, condense code, use selectRow()
Sam Reed [Thu, 2 Sep 2010 16:03:59 +0000 (16:03 +0000)]
Followup r72181, condense code, use selectRow()

13 years agoAdd a "isInCategory" function to check if a specific title is in a certain category
Sam Reed [Wed, 1 Sep 2010 23:58:26 +0000 (23:58 +0000)]
Add a "isInCategory" function to check if a specific title is in a certain category

13 years agoReverting some of r72166 and fixing the $wgDBport collision between Postgres and...
Leons Petrazickis [Wed, 1 Sep 2010 22:37:19 +0000 (22:37 +0000)]
Reverting some of r72166 and fixing the $wgDBport collision between Postgres and DB2 in a different way.

13 years agoCompleted removal of $wgDBport_db2 in favour of regular $wgDBport begun by platonides...
Leons Petrazickis [Wed, 1 Sep 2010 21:06:42 +0000 (21:06 +0000)]
Completed removal of $wgDBport_db2 in favour of regular $wgDBport begun by platonides in r69918.
Removed $wgDBcataloged based on discussion with platonides for r45755. All DB2 connections are now uncataloged. There is no performance difference.
Now using DB2 persistent connections.
Removed uniqueness constraint on user_groups table index in DB2 schema.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 1 Sep 2010 21:05:53 +0000 (21:05 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-01 20:55:00 UTC)

13 years agoFix author list duplication.
Chad Horohoe [Wed, 1 Sep 2010 21:01:46 +0000 (21:01 +0000)]
Fix author list duplication.

13 years agoStandardised file description headers:
Alexandre Emsenhuber [Wed, 1 Sep 2010 19:36:18 +0000 (19:36 +0000)]
Standardised file description headers:
* added @file where needed
* replaced @copyright and @license with GPL header and copyright notice

13 years agoinvert without namespace doesn't do anything, so ignore it
Alexandre Emsenhuber [Wed, 1 Sep 2010 19:30:41 +0000 (19:30 +0000)]
invert without namespace doesn't do anything, so ignore it

13 years agoDon't show the namespace list (and members) since we don't use it
Alexandre Emsenhuber [Wed, 1 Sep 2010 19:24:08 +0000 (19:24 +0000)]
Don't show the namespace list (and members) since we don't use it

13 years agoAdd getConnection() for Oracle
Chad Horohoe [Wed, 1 Sep 2010 19:09:27 +0000 (19:09 +0000)]
Add getConnection() for Oracle

13 years agoStray semicolon, followup r72150
Chad Horohoe [Wed, 1 Sep 2010 19:05:52 +0000 (19:05 +0000)]
Stray semicolon, followup r72150

13 years agoMove createTables() up a level, this code was practically identical
Chad Horohoe [Wed, 1 Sep 2010 19:03:56 +0000 (19:03 +0000)]
Move createTables() up a level, this code was practically identical

13 years agoDeprecate archive() in favor of DatabaseBase::patchPath()
Chad Horohoe [Wed, 1 Sep 2010 18:52:06 +0000 (18:52 +0000)]
Deprecate archive() in favor of DatabaseBase::patchPath()

13 years agosvn:eol-style=native
Max Semenik [Wed, 1 Sep 2010 18:24:56 +0000 (18:24 +0000)]
svn:eol-style=native

13 years agoMore duplication reduction
Chad Horohoe [Wed, 1 Sep 2010 18:16:05 +0000 (18:16 +0000)]
More duplication reduction

13 years agoDB2: Implemented prepared statements for INSERT and UPDATE to allow more than 32k...
Leons Petrazickis [Wed, 1 Sep 2010 18:14:15 +0000 (18:14 +0000)]
DB2: Implemented prepared statements for INSERT and UPDATE to allow more than 32k of text data
DB2: New LIST_SET_PREPARED mode for DatabaseIbm_db2::makeList() that handles ? tokens in prepared UPDATE statement
DB2: General fixes for DB2 database schema
DB2: Factored out foreign key definitions into foreignkeys.sql so that more can be added down the line without messing with the main schema
DB2: Better limit and offset support

13 years agoReduce some duplication, just implement stub in parent
Chad Horohoe [Wed, 1 Sep 2010 18:10:02 +0000 (18:10 +0000)]
Reduce some duplication, just implement stub in parent

13 years agoSkip install entirely if we did an upgrade
Chad Horohoe [Wed, 1 Sep 2010 17:46:07 +0000 (17:46 +0000)]
Skip install entirely if we did an upgrade

13 years agoCall time pass-by-ref
Chad Horohoe [Wed, 1 Sep 2010 17:15:25 +0000 (17:15 +0000)]
Call time pass-by-ref

13 years agofill out appendQuery() for FauxRequest — probably should be refactored
Mark A. Hershberger [Wed, 1 Sep 2010 16:58:44 +0000 (16:58 +0000)]
fill out appendQuery() for FauxRequest — probably should be refactored
into the parent class, but the parent uses $_GET where we have $this->data

13 years ago* (bug 24166) API error when using rvprop=tags
Sam Reed [Wed, 1 Sep 2010 16:47:21 +0000 (16:47 +0000)]
* (bug 24166) API error when using rvprop=tags

Move addition of revision table to after other joins

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 1 Sep 2010 16:16:30 +0000 (16:16 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-01 15:44:00 UTC)

13 years ago$_ENV['HOME'] might not exist for everyone, doesn't on OSX
Chad Horohoe [Wed, 1 Sep 2010 14:30:47 +0000 (14:30 +0000)]
$_ENV['HOME'] might not exist for everyone, doesn't on OSX

13 years agoDon't show "older edit" when no older edit available. Based on patch by Umherirrender
Chad Horohoe [Wed, 1 Sep 2010 14:16:23 +0000 (14:16 +0000)]
Don't show "older edit" when no older edit available. Based on patch by Umherirrender

13 years agoUpdate Doxyfile
Niklas Laxström [Wed, 1 Sep 2010 11:25:04 +0000 (11:25 +0000)]
Update Doxyfile

13 years agofile_exists can emit warnings under safe mode... silence those for diff and diff3
Niklas Laxström [Wed, 1 Sep 2010 08:25:55 +0000 (08:25 +0000)]
file_exists can emit warnings under safe mode... silence those for diff and diff3

13 years agofollow up to r72055 - fixing the discussion tab
Adam Miller [Tue, 31 Aug 2010 22:41:22 +0000 (22:41 +0000)]
follow up to r72055 - fixing the discussion tab

13 years agoFix for bug 24906
Adam Miller [Tue, 31 Aug 2010 21:52:51 +0000 (21:52 +0000)]
Fix for bug 24906

13 years agoApiBase.php:
Sam Reed [Tue, 31 Aug 2010 21:06:01 +0000 (21:06 +0000)]
ApiBase.php:

"Don't show No more than 500 ( for bots) allowed" when MAX2 isn't set

Trim trailing whitespace from Database.php

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 31 Aug 2010 18:37:00 +0000 (18:37 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-31 18:22:00 UTC)

13 years agoFix three test failures if project contains space
Aryeh Gregor [Tue, 31 Aug 2010 17:58:50 +0000 (17:58 +0000)]
Fix three test failures if project contains space

It was expecting "Test_Wiki" instead of "Test Wiki".  These Language
methods are very poorly named, they should use Text vs. Dbkey (like
Title) instead of FormattedText vs. Text.

13 years agoAdd in new categorylinks columns.
Greg Sabino Mullane [Tue, 31 Aug 2010 14:35:56 +0000 (14:35 +0000)]
Add in new categorylinks columns.

13 years agointroducing Generic::verifyFileHook() to let media handlers do the verification on...
Daniel Kinzler [Tue, 31 Aug 2010 14:08:45 +0000 (14:08 +0000)]
introducing Generic::verifyFileHook() to let media handlers do the verification on upload. triggered from UploadBase:verifyFile, like the UploadVerifyFile hook.

13 years agoFollow-up to r71944: Interoducing MimeMagic::improveTypeFromExtension() for two reasons:
Daniel Kinzler [Tue, 31 Aug 2010 13:47:24 +0000 (13:47 +0000)]
Follow-up to r71944: Interoducing MimeMagic::improveTypeFromExtension() for two reasons:
a) avoid redundant inspection of file contents when validating uploads, caused by multiple calls to guessMimeType
b) deprecated obscure use of the file extension when guessing mime types, using an explicit call to improveTypeFromExtension() instead

Note that File::getPropsFromPath() will now return an additional field: $props['file-mime'] contains the mime type as determined solely from the file's content, $props['mime'] contains the type that was derived considering the file extension too.

13 years agoMove FileUpload hook out of the transaction.
Platonides [Tue, 31 Aug 2010 13:16:42 +0000 (13:16 +0000)]
Move FileUpload hook out of the transaction.
FileSearch relied on the article not existing to detect if it's a but it was broken: always detected it as a reupload.
Add a new parameter to the hook to detect reuploads.
Fixed other issues on FileSearch extension.

13 years ago(Bug 20744) - Wiki forgets about an uploaded file
Platonides [Tue, 31 Aug 2010 11:12:33 +0000 (11:12 +0000)]
(Bug 20744) - Wiki forgets about an uploaded file
(Bug 24978) - "A file disappeared" thread on Commons:VP
Only save the LocalFile to memcache after the db entry has been commited.
Otherwise, when the transaction fails, the file apparently succeeded, but
after a week (memcached expiry) it disappears.
Fixes bug 20744 and bug 24978. Found by the Great Domas.

The correlation with db problems is probably just that in such case there are more transactions get rollbacked.

13 years agoFollowup r71942. Documentation fix, the mime passed is a string, not an object.
Derk-Jan Hartman [Tue, 31 Aug 2010 11:01:00 +0000 (11:01 +0000)]
Followup r71942. Documentation fix, the mime passed is a string, not an object.

13 years agoreverting r71944 as per TheDJ's comment. Will investigate a better way to avoid redun...
Daniel Kinzler [Tue, 31 Aug 2010 09:38:11 +0000 (09:38 +0000)]
reverting r71944 as per TheDJ's comment. Will investigate a better way to avoid redundant mime guesses

13 years agoLocalisation updates for core messages from translatewiki.net
Siebrand Mazeland [Tue, 31 Aug 2010 06:32:18 +0000 (06:32 +0000)]
Localisation updates for core messages from translatewiki.net
* Fix translator messup for French.