lhc/web/wiklou.git
15 years agoLocalisation updates for core from Betawiki
Siebrand Mazeland [Mon, 29 Sep 2008 15:36:11 +0000 (15:36 +0000)]
Localisation updates for core from Betawiki

15 years agoLocalization update.
Rotem Liss [Mon, 29 Sep 2008 14:31:40 +0000 (14:31 +0000)]
Localization update.

15 years agoCopy '1movedto2' to 'prot_1movedto2' where present
Siebrand Mazeland [Mon, 29 Sep 2008 14:03:51 +0000 (14:03 +0000)]
Copy '1movedto2' to 'prot_1movedto2' where present

15 years agoRegister 'movedarticleprotection'
Siebrand Mazeland [Mon, 29 Sep 2008 14:01:44 +0000 (14:01 +0000)]
Register 'movedarticleprotection'

15 years agoRegister 'prot_1movedto2'
Siebrand Mazeland [Mon, 29 Sep 2008 13:43:15 +0000 (13:43 +0000)]
Register 'prot_1movedto2'

15 years agoSome protection move log cleanup (bug 15754)
Aaron Schulz [Mon, 29 Sep 2008 13:25:35 +0000 (13:25 +0000)]
Some protection move log cleanup (bug 15754)

15 years agoAdded support for LC_CTYPE on SunOS and HP-UX, thanks to River for testing these...
Tim Starling [Mon, 29 Sep 2008 10:53:10 +0000 (10:53 +0000)]
Added support for LC_CTYPE on SunOS and HP-UX, thanks to River for testing these. Neither of them like having a hyphen in UTF-8, so let's just use the exact string that locale -a returns.

15 years agoProposed fix for bug 14944, specifically the reports that some servers do not have...
Tim Starling [Mon, 29 Sep 2008 10:19:11 +0000 (10:19 +0000)]
Proposed fix for bug 14944, specifically the reports that some servers do not have en_US.UTF-8. Make the locale configurable via $wgShellLocale. Detect available locales and set $wgShellLocale to an appropriate value on install. Also fixes safe_mode putenv() warnings. RELEASE-NOTES entry will go to 1.13.

15 years agoFix r41377 - Incompatible old keys caused Fatal Error
Matt Johnston [Mon, 29 Sep 2008 10:14:45 +0000 (10:14 +0000)]
Fix r41377 - Incompatible old keys caused Fatal Error

15 years agoNew format for accessing Interwiki data. Replaced all old ways within core I could...
Matt Johnston [Mon, 29 Sep 2008 10:08:46 +0000 (10:08 +0000)]
New format for accessing Interwiki data. Replaced all old ways within core I could find, but should be backwards compatible wherever needed.

Also fix the notes in RELEASE-NOTES to state PHP 5.2 recommended as certain classes require it (e.g. ForeignAPIRepo, which uses json_decode)

15 years agoWhoops. Need to pass parameters.
Chad Horohoe [Mon, 29 Sep 2008 08:44:40 +0000 (08:44 +0000)]
Whoops. Need to pass parameters.

15 years agoMove some of this caching logic out of the file and into the repo where it belongs.
Chad Horohoe [Mon, 29 Sep 2008 08:23:16 +0000 (08:23 +0000)]
Move some of this caching logic out of the file and into the repo where it belongs.

15 years agowgMessageComments for 'protect-expiry-options'
Siebrand Mazeland [Mon, 29 Sep 2008 08:13:47 +0000 (08:13 +0000)]
wgMessageComments for 'protect-expiry-options'

15 years agoCopy 'ipboptions' to 'protect-expiry-options' where present
Siebrand Mazeland [Mon, 29 Sep 2008 08:05:28 +0000 (08:05 +0000)]
Copy 'ipboptions' to 'protect-expiry-options' where present

15 years agoLocalisation updates for core messages from Betawiki (2008-09-29 09:31 CEST)
Siebrand Mazeland [Mon, 29 Sep 2008 07:44:26 +0000 (07:44 +0000)]
Localisation updates for core messages from Betawiki (2008-09-29 09:31 CEST)

15 years agoLocalization update and fixes.
Rotem Liss [Mon, 29 Sep 2008 07:29:36 +0000 (07:29 +0000)]
Localization update and fixes.

15 years agoLocalization: Splitting the date and time in the 'userrestricted-indef' messages...
Rotem Liss [Mon, 29 Sep 2008 07:16:24 +0000 (07:16 +0000)]
Localization: Splitting the date and time in the 'userrestricted-indef' messages, too (it seems that the code already supports it).

15 years ago* Remove unneeded ini_set() from a very long time ago. Can't run this on allow_url_fo...
Chad Horohoe [Mon, 29 Sep 2008 06:24:32 +0000 (06:24 +0000)]
* Remove unneeded ini_set() from a very long time ago. Can't run this on allow_url_fopen nowadays.
* Remove extra global declaration.

15 years agoCleanup some docs :)
Chad Horohoe [Mon, 29 Sep 2008 06:12:47 +0000 (06:12 +0000)]
Cleanup some docs :)

15 years agoUse a new message for protection form expiry options instead of recycling the blockip...
Alex Z [Mon, 29 Sep 2008 01:35:04 +0000 (01:35 +0000)]
Use a new message for protection form expiry options instead of recycling the blockip one.

15 years ago(bug 368) Allow alt= attribute for images
Aryeh Gregor [Sun, 28 Sep 2008 21:07:34 +0000 (21:07 +0000)]
(bug 368) Allow alt= attribute for images

If the attribute is not specified, default to empty string, not repeating the caption.

15 years agoSplit time and date in messages.
Victor Vasiliev [Sun, 28 Sep 2008 20:35:58 +0000 (20:35 +0000)]
Split time and date in messages.

15 years ago* Fix caching
Victor Vasiliev [Sun, 28 Sep 2008 19:34:14 +0000 (19:34 +0000)]
* Fix caching
* Fix messages

15 years agoFix link description in 'listuserrestrictions-intro'
Siebrand Mazeland [Sun, 28 Sep 2008 19:22:02 +0000 (19:22 +0000)]
Fix link description in 'listuserrestrictions-intro'

15 years agoAdd newline
Siebrand Mazeland [Sun, 28 Sep 2008 19:16:00 +0000 (19:16 +0000)]
Add newline

15 years agoLocalization update.
Rotem Liss [Sun, 28 Sep 2008 19:00:45 +0000 (19:00 +0000)]
Localization update.

15 years agoRemoving a dupliate entry.
Rotem Liss [Sun, 28 Sep 2008 18:53:23 +0000 (18:53 +0000)]
Removing a dupliate entry.

15 years agoLocalization:
Rotem Liss [Sun, 28 Sep 2008 18:52:34 +0000 (18:52 +0000)]
Localization:
* Updating messages.inc.
* Rebuilding English localization.
* Making restrictlogpage an ignored message, as there seems to be no reason to localize it.

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sun, 28 Sep 2008 18:31:04 +0000 (18:31 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years ago* Some cleanup
Niklas Laxström [Sun, 28 Sep 2008 17:14:32 +0000 (17:14 +0000)]
* Some cleanup

15 years ago* Do not show anything if user has not done any edits
Niklas Laxström [Sun, 28 Sep 2008 16:43:07 +0000 (16:43 +0000)]
* Do not show anything if user has not done any edits

15 years agoSome code cleanup per Nikerabbit
Victor Vasiliev [Sun, 28 Sep 2008 16:28:35 +0000 (16:28 +0000)]
Some code cleanup per Nikerabbit

15 years ago* (bug 674) Allow users to be blocked from editing a specific article
Victor Vasiliev [Sun, 28 Sep 2008 16:08:18 +0000 (16:08 +0000)]
* (bug 674) Allow users to be blocked from editing a specific article
** Also supports blocking user from editing whole namespace
* Replace ugly ipboptions parsing code in Title.php with a simple message

Requires schema change (I showed it to Tim Starling).

15 years ago* Use formatNum
Niklas Laxström [Sun, 28 Sep 2008 16:01:03 +0000 (16:01 +0000)]
* Use formatNum

15 years agoMake listusers show users' edit counts (bug 15503)
Aaron Schulz [Sun, 28 Sep 2008 15:52:30 +0000 (15:52 +0000)]
Make listusers show users' edit counts (bug 15503)

15 years ago* user{css,js}preview was not shown since r40066
Niklas Laxström [Sun, 28 Sep 2008 14:56:07 +0000 (14:56 +0000)]
* user{css,js}preview was not shown since r40066
* readd !preview condition to usercssjsyoucanpreview

15 years ago* Do not pass objects to functions that don't take them
Niklas Laxström [Sun, 28 Sep 2008 11:51:39 +0000 (11:51 +0000)]
* Do not pass objects to functions that don't take them

15 years agoUse $wgContLang here, this should not vary with the user language.
Alexandre Emsenhuber [Sun, 28 Sep 2008 10:51:58 +0000 (10:51 +0000)]
Use $wgContLang here, this should not vary with the user language.

15 years ago* (bug 15388) Title of Special:PrefixIndex
Niklas Laxström [Sun, 28 Sep 2008 09:31:24 +0000 (09:31 +0000)]
* (bug 15388) Title of Special:PrefixIndex

15 years ago* (bug 15196) Free external links should be numbered in a localised manner
Niklas Laxström [Sun, 28 Sep 2008 08:45:03 +0000 (08:45 +0000)]
* (bug 15196) Free external links should be numbered in a localised manner

15 years ago+* (bug 15158) Userinvalidcssjstitle not shown on preview
Niklas Laxström [Sun, 28 Sep 2008 08:22:55 +0000 (08:22 +0000)]
+* (bug 15158) Userinvalidcssjstitle not shown on preview

15 years agoIn wasDeletedSinceLastEdit(): fix odd string comparison method, there's an operator...
Tim Starling [Sun, 28 Sep 2008 04:20:49 +0000 (04:20 +0000)]
In wasDeletedSinceLastEdit(): fix odd string comparison method, there's an operator for that

15 years agoOpps, use wfTimestamp(), need some sleep :)
Aaron Schulz [Sun, 28 Sep 2008 04:08:13 +0000 (04:08 +0000)]
Opps, use wfTimestamp(), need some sleep :)

15 years agoFix time check for deletedSinceEdit for PG (bug 15751)
Aaron Schulz [Sun, 28 Sep 2008 04:05:01 +0000 (04:05 +0000)]
Fix time check for deletedSinceEdit for PG (bug 15751)

15 years agoSimpler method for mixing and clipping when computing a second-try hash value
Tim Starling [Sun, 28 Sep 2008 04:04:10 +0000 (04:04 +0000)]
Simpler method for mixing and clipping when computing a second-try hash value

15 years ago* Added the ability to set the target attribute on external links with $wgExternalLin...
Tim Starling [Sun, 28 Sep 2008 02:35:37 +0000 (02:35 +0000)]
* Added the ability to set the target attribute on external links with $wgExternalLinkTarget
* Removed the namespace parameter from Linker::makeExternalLink(), added a generic associative array of attributes instead. Let the Parser decide whether to use rel=nofollow.

15 years agoDon't duplicate code, use wfAppendQuery
Aryeh Gregor [Sun, 28 Sep 2008 01:48:10 +0000 (01:48 +0000)]
Don't duplicate code, use wfAppendQuery

15 years ago* Revert revert r41234 of ES-related changes. The site_stats complaint should be...
Tim Starling [Sun, 28 Sep 2008 01:42:55 +0000 (01:42 +0000)]
* Revert revert r41234 of ES-related changes. The site_stats complaint should be fixed by the transaction added in r41287.
* Fix broken recursion guard in LoadBalancer::reportConnectionError(), which was causing getConnection() to return false on the second and subsequent errors, instead of throwing an exception. Revert incorrect fix r41229/r41230.

15 years agoRemove validation step that removes prefix if validation is off (for bug 12654)
Aaron Schulz [Sun, 28 Sep 2008 01:41:59 +0000 (01:41 +0000)]
Remove validation step that removes prefix if validation is off (for bug 12654)

15 years agoSuppress errors on count increment (bug 13758)
Aaron Schulz [Sat, 27 Sep 2008 23:48:21 +0000 (23:48 +0000)]
Suppress errors on count increment (bug 13758)

15 years agoAvoid strange negative bucket key values in certain situations (bug 12342)
Aaron Schulz [Sat, 27 Sep 2008 23:36:21 +0000 (23:36 +0000)]
Avoid strange negative bucket key values in certain situations (bug 12342)

15 years agoobjectcache cleanup (bug 7474)
Aaron Schulz [Sat, 27 Sep 2008 22:51:59 +0000 (22:51 +0000)]
objectcache cleanup (bug 7474)

15 years agoLocalisation updates for core messages from Betawiki (2008-09-28 00:01 CEST)
Siebrand Mazeland [Sat, 27 Sep 2008 22:25:05 +0000 (22:25 +0000)]
Localisation updates for core messages from Betawiki (2008-09-28 00:01 CEST)

15 years agoRemove unused message 'perfdisabled'
Siebrand Mazeland [Sat, 27 Sep 2008 21:56:00 +0000 (21:56 +0000)]
Remove unused message 'perfdisabled'

15 years agoFix for r41108 (as per comment on bug 15642): Also disallow blocking anonymous users
Alexandre Emsenhuber [Sat, 27 Sep 2008 20:04:27 +0000 (20:04 +0000)]
Fix for r41108 (as per comment on bug 15642): Also disallow blocking anonymous users

15 years agosvn:eol-style native
Alexandre Emsenhuber [Sat, 27 Sep 2008 19:07:51 +0000 (19:07 +0000)]
svn:eol-style native

15 years agoDon't treat edit blocks as read blocks here
Aaron Schulz [Sat, 27 Sep 2008 18:56:17 +0000 (18:56 +0000)]
Don't treat edit blocks as read blocks here

15 years ago(bug 15653) Add prop=duplicatefiles to the API
Roan Kattouw [Sat, 27 Sep 2008 11:42:28 +0000 (11:42 +0000)]
(bug 15653) Add prop=duplicatefiles to the API

15 years agoKill undefined variable warnings.
Roan Kattouw [Sat, 27 Sep 2008 11:26:34 +0000 (11:26 +0000)]
Kill undefined variable warnings.

15 years agoAPI: Add the name attribute back to list=allimages; it disappeared in r35085
Roan Kattouw [Sat, 27 Sep 2008 11:04:23 +0000 (11:04 +0000)]
API: Add the name attribute back to list=allimages; it disappeared in r35085

15 years agoNew "ArticleEditUpdates" hook (bug 15490)
Aaron Schulz [Sat, 27 Sep 2008 10:52:49 +0000 (10:52 +0000)]
New "ArticleEditUpdates" hook  (bug 15490)

15 years ago(bug 15739) Add $wgArticlePathForCurid to make links with only curid=# as the query...
Matt Johnston [Sat, 27 Sep 2008 09:49:23 +0000 (09:49 +0000)]
(bug 15739) Add $wgArticlePathForCurid to make links with only curid=# as the query string use the article path, rather than the script path. Intended for Wikinews and the DPL extension with showcurid=true, although may be useful in other scenarios, so put in core.

15 years agoFix totally broken last commit, misread the existing code
Aryeh Gregor [Fri, 26 Sep 2008 21:35:03 +0000 (21:35 +0000)]
Fix totally broken last commit, misread the existing code

15 years agoRemove unnecessary conditional
Aryeh Gregor [Fri, 26 Sep 2008 21:31:17 +0000 (21:31 +0000)]
Remove unnecessary conditional

15 years agoFix for 41288, don't raise errors for language parameter
Aryeh Gregor [Fri, 26 Sep 2008 21:31:10 +0000 (21:31 +0000)]
Fix for 41288, don't raise errors for language parameter

The documentation didn't make it clear that the wfMsgExt() array can take a single associative parameter.  I've clarified this, and fixed error-checking for that.  Also adjusted indentation in the comment for clarity (one space isn't enough).

15 years agoSome more comments.
Bryan Tong Minh [Fri, 26 Sep 2008 20:23:28 +0000 (20:23 +0000)]
Some more comments.

15 years agoAdd a real fetchFile() method.
Bryan Tong Minh [Fri, 26 Sep 2008 20:06:23 +0000 (20:06 +0000)]
Add a real fetchFile() method.

15 years agokeyname should be the PRIMARY
Aaron Schulz [Fri, 26 Sep 2008 19:16:58 +0000 (19:16 +0000)]
keyname should be the PRIMARY

15 years agoRaise E_USER_WARNING if bad option passed to wfMsgExt()
Aryeh Gregor [Fri, 26 Sep 2008 17:25:17 +0000 (17:25 +0000)]
Raise E_USER_WARNING if bad option passed to wfMsgExt()

15 years ago* Use a separate transaction for the site_stats update
Tim Starling [Fri, 26 Sep 2008 15:35:11 +0000 (15:35 +0000)]
* Use a separate transaction for the site_stats update
* Remove obsolete runtime schema check

15 years agoDon't use filecache if $parserOutput->containsOldMagic() either
Aaron Schulz [Fri, 26 Sep 2008 13:55:42 +0000 (13:55 +0000)]
Don't use filecache if $parserOutput->containsOldMagic() either

15 years agoUse PHP-5 private members.
David McCabe [Fri, 26 Sep 2008 06:01:57 +0000 (06:01 +0000)]
Use PHP-5 private members.

15 years ago* Make Revision::newFromTitle() get the page_latest value from the master instead...
Tim Starling [Fri, 26 Sep 2008 02:42:30 +0000 (02:42 +0000)]
* Make Revision::newFromTitle() get the page_latest value from the master instead of the slave
* Use inefficient replication-aware fetches only if replication is in use
* Update docs/database.txt on how to check for replication

15 years agoFix r41248 per Chad's suggestions on Wikitech. $wgBlockAllowsUTEdit now enables the...
Matt Johnston [Fri, 26 Sep 2008 00:28:46 +0000 (00:28 +0000)]
Fix r41248 per Chad's suggestions on Wikitech. $wgBlockAllowsUTEdit now enables the check box, if it is false no option is given to sysops at all

15 years agoFileCache cleanup:
Aaron Schulz [Thu, 25 Sep 2008 23:02:35 +0000 (23:02 +0000)]
FileCache cleanup:
* Make isFileCacheable() more reliable and explicit
* Do not cache uncacheable content
* Specify tryFileCache() return values

15 years agoForgot to commit a file in my TODO/FIXME crusade.
Roan Kattouw [Thu, 25 Sep 2008 22:41:03 +0000 (22:41 +0000)]
Forgot to commit a file in my TODO/FIXME crusade.

15 years agoWe can at least *pretend* to be consistent here
Roan Kattouw [Thu, 25 Sep 2008 21:41:13 +0000 (21:41 +0000)]
We can at least *pretend* to be consistent here

15 years agoAPI:
Roan Kattouw [Thu, 25 Sep 2008 21:39:36 +0000 (21:39 +0000)]
API:
* Title::moveTo() has been returning a getUserPermissionsErrors()-like array for ages now, let's use it correctly in ApiMove and skip the double-checks
* Remove some outdated TODO/FIXME comments

15 years agoAPI: Add ApiDisabled and ApiQueryDisabled classes so individual modules can be disabl...
Roan Kattouw [Thu, 25 Sep 2008 20:50:50 +0000 (20:50 +0000)]
API: Add ApiDisabled and ApiQueryDisabled classes so individual modules can be disabled by putting $wgAPIModules['foo'] = 'ApiDisabled'; in LocalSettings.php

15 years agoDo it right this time
Roan Kattouw [Thu, 25 Sep 2008 20:47:47 +0000 (20:47 +0000)]
Do it right this time

15 years agoAPI: Fix adding over prop/list/meta modules, which seems to have been broken for...
Roan Kattouw [Thu, 25 Sep 2008 20:46:24 +0000 (20:46 +0000)]
API: Fix adding over prop/list/meta modules, which seems to have been broken for a long time without anyone noticing.

15 years ago* Improved upload file type detection for OpenDocument formats
Brion Vibber [Thu, 25 Sep 2008 18:43:33 +0000 (18:43 +0000)]
* Improved upload file type detection for OpenDocument formats

Added a check for the magic value header in OpenDocument zip archives which specifies which subtype it is. Such files will get detected with the appropriate mime type and matching extension, so ODT etc uploads will work again where enabled.

(Previously the general ZIP check and blacklist would disable them.)

15 years ago(bug 15609) Add inprop=url (full URL to page and edit form) and inprop=readable ...
Roan Kattouw [Thu, 25 Sep 2008 15:55:09 +0000 (15:55 +0000)]
(bug 15609) Add inprop=url (full URL to page and edit form) and inprop=readable (whether the current user can read the page) to prop=info

15 years agoFollowup to r41257: don't give out a token when we're in JSON callback mode
Roan Kattouw [Thu, 25 Sep 2008 15:27:04 +0000 (15:27 +0000)]
Followup to r41257: don't give out a token when we're in JSON callback mode

15 years agoAPI: Added uiprop=preferencestoken to meta=userinfo, to retrieve the token for chanin...
Roan Kattouw [Thu, 25 Sep 2008 15:20:37 +0000 (15:20 +0000)]
API: Added uiprop=preferencestoken to meta=userinfo, to retrieve the token for chaning one's preferences through Special:Preferences (and possibly through a future API module if and when the preferences system doesn't suck so much anymore).

15 years ago(bug 15706) Empty values for apprtype and apprlevel are now silently ignored rather...
Roan Kattouw [Thu, 25 Sep 2008 14:50:09 +0000 (14:50 +0000)]
(bug 15706) Empty values for apprtype and apprlevel are now silently ignored rather than causing an exception

15 years ago(bug 15673) Add indentation and newlines to format=wddxfm output:
Roan Kattouw [Thu, 25 Sep 2008 14:23:24 +0000 (14:23 +0000)]
(bug 15673) Add indentation and newlines to format=wddxfm output:
* Like the JSON formatter, use our own WDDX formatter when PHP's is not available or the user asked for pretty output (PHP's doesn't do indentation)
* Don't prettify when our own formatter is used because PHP's is not avaiable
* Detect regular arrays (with sequential integer keys) and use <array> for them, rather than using <struct> for all arrays. PHP's formatter does this as well. This change should make our WDDX formatter's output identical to PHP's

15 years agoLocalization update.
Rotem Liss [Thu, 25 Sep 2008 13:05:56 +0000 (13:05 +0000)]
Localization update.

15 years agoFix spelling
Siebrand Mazeland [Thu, 25 Sep 2008 12:01:45 +0000 (12:01 +0000)]
Fix spelling

15 years agoAdd messages from r41248
Siebrand Mazeland [Thu, 25 Sep 2008 11:59:47 +0000 (11:59 +0000)]
Add messages from r41248

15 years ago(bug 8440) Allow preventing blocked users from editing their talk pages
Matt Johnston [Thu, 25 Sep 2008 11:45:26 +0000 (11:45 +0000)]
(bug 8440) Allow preventing blocked users from editing their talk pages
* Adds database field to ipblocks table, ipb_allow_usertalk, storing whether or not the user can edit their own talk page. Defaults to 0 to coincide with the default value of $wgBlockAllowsUTEdit.
* Recommended to update all current blocks to have a allow_usertalk value of whatever the current setting is
* Retasks $wgBlockAllowsUTEdit to be the default value of the field in the blocking screen - unless a sysop changes the checkbox, will use whatever that variable is set to.

15 years agoFixes in recently added messages, also register them.
Siebrand Mazeland [Thu, 25 Sep 2008 10:46:29 +0000 (10:46 +0000)]
Fixes in recently added messages, also register them.

15 years agoRe r41198: if you're going to break the interface, you may as well do it properly...
Tim Starling [Thu, 25 Sep 2008 10:15:19 +0000 (10:15 +0000)]
Re r41198: if you're going to break the interface, you may as well do it properly. Rather than Article::doEdit() returning some random fragment of data that your current application requires, how about we have it return a general, extensible object?

Also:
* Fixed EDIT_NEW on existing article to return an error status instead of throw a DB exception
* Fixed a bug dating from MW 1.5 whereby there's a short interval where an edit conflict can be missed, and an edit overwritten. See comment before updateRevisionOn() call.
* Reduced some indenting levels using early returns

15 years agoBreak some long lines
Aaron Schulz [Thu, 25 Sep 2008 06:33:58 +0000 (06:33 +0000)]
Break some long lines

15 years ago* (bug 15701) Protection form was too wide for some browsers as 2 columns, switching...
Alex Z [Thu, 25 Sep 2008 02:08:59 +0000 (02:08 +0000)]
* (bug 15701) Protection form was too wide for some browsers as 2 columns, switching to 1 column format.
* Move the "unlock move permissions" checkbox to a more logical place with the options for move protection, instead of with the cascading checkbox.

15 years ago* Rename randomInsert() to insertToDefault()
Aaron Schulz [Wed, 24 Sep 2008 20:30:10 +0000 (20:30 +0000)]
* Rename randomInsert() to insertToDefault()
* Use insertToDefault() to insert revisions (talked to brion on this)

15 years agoAdd insertRandom() with failover back. Currently not used just yet.
Aaron Schulz [Wed, 24 Sep 2008 18:38:25 +0000 (18:38 +0000)]
Add insertRandom() with failover back. Currently not used just yet.

15 years agoRevert some recent ES-related changes -- they made behavior much worse when we encoun...
Brion Vibber [Wed, 24 Sep 2008 18:09:22 +0000 (18:09 +0000)]
Revert some recent ES-related changes -- they made behavior much worse when we encountered problems with site_stats updates hanging and stacking up extra open ES connections.
r41230
r41229
r41093
r41091
r41092
r41086
r41063
r40696

Also reverted r41231 which no longer applies

15 years agoSelf-revert and re-add transactions here. Sacrifices some atomicity for less transact...
Aaron Schulz [Wed, 24 Sep 2008 18:00:25 +0000 (18:00 +0000)]
Self-revert and re-add transactions here. Sacrifices some atomicity for less transaction time.

15 years agoAnother fix for r41086. Don't keep retrying server if connection fails.
Aaron Schulz [Wed, 24 Sep 2008 17:28:55 +0000 (17:28 +0000)]
Another fix for r41086. Don't keep retrying server if connection fails.