lhc/web/wiklou.git
12 years agoAdding jquery.arrowSteps to core, from UploadWizard
John Du Hart [Sun, 15 Jan 2012 06:07:24 +0000 (06:07 +0000)]
Adding jquery.arrowSteps to core, from UploadWizard

12 years ago* (bug 33733) API: Unknown error: mustbeloggedin
Sam Reed [Sat, 14 Jan 2012 23:45:21 +0000 (23:45 +0000)]
* (bug 33733) API: Unknown error: mustbeloggedin

Add message to messagemap

12 years agor108944: fixed bogus field...php-cloudfiles documentation misspelled this, it's ...
Aaron Schulz [Sat, 14 Jan 2012 23:15:32 +0000 (23:15 +0000)]
r108944: fixed bogus field...php-cloudfiles documentation misspelled this, it's 'object_count' not 'count'

12 years agoIn SwiftFileBackend:
Aaron Schulz [Sat, 14 Jan 2012 23:11:21 +0000 (23:11 +0000)]
In SwiftFileBackend:
* Added getContainer(), createContainer(), and deleteContainer() helper functions, which cache container objects to avoid RTTs
* Made doCleanInternal() delete empty containers
* Bumped authentication TTL to 120 seconds
* Some comment tweaks

12 years agoA bit of documentation.
Amir E. Aharoni [Sat, 14 Jan 2012 22:32:18 +0000 (22:32 +0000)]
A bit of documentation.

12 years agoRevert r108777 (making eval subclass maintenance). eval's supposed to be in the globa...
Chad Horohoe [Sat, 14 Jan 2012 22:21:30 +0000 (22:21 +0000)]
Revert r108777 (making eval subclass maintenance). eval's supposed to be in the global context. See r54839

12 years agoTypo
Niklas Laxström [Sat, 14 Jan 2012 22:00:27 +0000 (22:00 +0000)]
Typo

12 years agoFollow up to r108927. Replaced die() with throw new MWException(), according to ...
Amir E. Aharoni [Sat, 14 Jan 2012 20:26:54 +0000 (20:26 +0000)]
Follow up to r108927. Replaced die() with throw new MWException(), according to ^demon's suggestion.

12 years agor105512: Handle REDIRECT_URL discrepancies and always work with URI paths for thumb...
Aaron Schulz [Sat, 14 Jan 2012 19:17:17 +0000 (19:17 +0000)]
r105512: Handle REDIRECT_URL discrepancies and always work with URI paths for thumb 404 handling

12 years agoRELEASE-NOTES-1.19 for r108876
Sam Reed [Sat, 14 Jan 2012 18:32:04 +0000 (18:32 +0000)]
RELEASE-NOTES-1.19 for r108876

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sat, 14 Jan 2012 17:55:26 +0000 (17:55 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoChanging the failure message to something more meaningful.
Amir E. Aharoni [Sat, 14 Jan 2012 17:51:14 +0000 (17:51 +0000)]
Changing the failure message to something more meaningful.

12 years agoDocumentation
Sam Reed [Sat, 14 Jan 2012 15:27:30 +0000 (15:27 +0000)]
Documentation

Wrapping up some long lines

12 years agoNo need to do the safe_mode check on every request in $wgAdditionalMailParams is...
Alexandre Emsenhuber [Sat, 14 Jan 2012 14:53:32 +0000 (14:53 +0000)]
No need to do the safe_mode check on every request in $wgAdditionalMailParams is set; that variable will not be passed to mail() if safe_mode is enabled since r99411

12 years agoPer Aaron, fix for r108274: added canUseWikiPage() to context objects to know whether...
Alexandre Emsenhuber [Sat, 14 Jan 2012 14:27:46 +0000 (14:27 +0000)]
Per Aaron, fix for r108274: added canUseWikiPage() to context objects to know whether getWikiPage() can be safely called

12 years agoFix for r107939: PHP Notice: Undefined variable: exportall in includes/specials...
Alexandre Emsenhuber [Sat, 14 Jan 2012 14:18:56 +0000 (14:18 +0000)]
Fix for r107939: PHP Notice:  Undefined variable: exportall in includes/specials/SpecialExport.php on line 173 when the "export all" checkbox is not checked

12 years ago* Use WikiPage instead of Article to call commitRollback()
Alexandre Emsenhuber [Sat, 14 Jan 2012 14:11:08 +0000 (14:11 +0000)]
* Use WikiPage instead of Article to call commitRollback()
* Pass the User object from WikiPage::commitRollback() to WikiPage::doEdit()
* Do the edits with 'Maintenance script' user as other maintenance scripts instead of 127.0.0.1

12 years agoFix comment, this doesn't use $wgTitle anymore
Alexandre Emsenhuber [Sat, 14 Jan 2012 13:15:19 +0000 (13:15 +0000)]
Fix comment, this doesn't use $wgTitle anymore

12 years ago* Fixed bogus var in LSLockManager.
Aaron Schulz [Sat, 14 Jan 2012 03:16:18 +0000 (03:16 +0000)]
* Fixed bogus var in LSLockManager.
* Made DBLockManager constructor a bit more convenient to use with just 'localDBMaster' in the db buckets.
* Documentation tweaks.

12 years ago* Renamed ContainerShardListIterator -> FileBackendShardListIterator
Aaron Schulz [Sat, 14 Jan 2012 01:52:19 +0000 (01:52 +0000)]
* Renamed ContainerShardListIterator -> FileBackendShardListIterator
* Renamed FSFileIterator -> FSFileBackendFileList
* Renamed SwiftFileIterator -> SwiftFileBackendFileList and added it to autoloader
* A few minor doc fixes

12 years agoFixed annoying bug in FileRepo::deleteBatch() when a file is deleted that has multipl...
Aaron Schulz [Sat, 14 Jan 2012 00:50:18 +0000 (00:50 +0000)]
Fixed annoying bug in FileRepo::deleteBatch() when a file is deleted that has multiple identical versions. The operation would fail due to the file already existing.

12 years ago[Core JS] Fix code from r107327 which was broken by r108222
Krinkle [Sat, 14 Jan 2012 00:40:48 +0000 (00:40 +0000)]
[Core JS] Fix code from r107327 which was broken by r108222
-- Of course one most not assume the DOM is finished enough for #p-logo to be parsed, simply bind to document ready

12 years agoRevert out r108882
Sam Reed [Sat, 14 Jan 2012 00:25:26 +0000 (00:25 +0000)]
Revert out r108882

12 years agoRecommitting r108367 to break unit tests as phpunit on ubuntu seems FUBAR'd again
Sam Reed [Sat, 14 Jan 2012 00:09:58 +0000 (00:09 +0000)]
Recommitting r108367 to break unit tests as phpunit on ubuntu seems FUBAR'd again

Will revert after

12 years agoRemoved call to ParserTest::setUp() which was unnecessary. Also, the called function...
Aaron Schulz [Fri, 13 Jan 2012 23:39:48 +0000 (23:39 +0000)]
Removed call to ParserTest::setUp() which was unnecessary. Also, the called function leaks globals anyway atm.

12 years agoIn FileBackend:
Aaron Schulz [Fri, 13 Jan 2012 23:30:46 +0000 (23:30 +0000)]
In FileBackend:
* Made secure() call doPrepare() for caller dummy proofing (especially those that don't check the status).
In FSFileBackend:
* Removed redundant wfMkdirParents() calls in FSFileBackend, we already have prepare() for this purpose. This also keeps it's behavior more consistent with the other backends.
* Made use of 'backend-fail-store' message in doStoreInternal().
Other:
* Updated unit tests and renamed $src => $source in some functions for consistency.
* Added some documentation comments and @since tags.

12 years agoDisable MWDebug tests for now
Antoine Musso [Fri, 13 Jan 2012 23:26:26 +0000 (23:26 +0000)]
Disable MWDebug tests for now

PHPUnit is too old on gallium so assertCount() is not recognized
The other two tests are broken for an unknown reason.

12 years agoRather than using an error code of unknownerror, use the error code returned by EditP...
Sam Reed [Fri, 13 Jan 2012 23:14:28 +0000 (23:14 +0000)]
Rather than using an error code of unknownerror, use the error code returned by EditPage if it's a string, and it has length, else just return the usual "unknownerror"

12 years agoMWDebug: avoid double count()
Antoine Musso [Fri, 13 Jan 2012 23:10:21 +0000 (23:10 +0000)]
MWDebug: avoid double count()

Follow r107954

12 years agosome tests for MWDebug
Antoine Musso [Fri, 13 Jan 2012 23:07:52 +0000 (23:07 +0000)]
some tests for MWDebug

Really incomplete. We need better testing.

Added two new public methods so we can get or clear the internal logs.

12 years agofollowup to -r107187 - adding bug24430 patch to 1.19 release note
Benny Situ [Fri, 13 Jan 2012 22:58:32 +0000 (22:58 +0000)]
followup to -r107187 - adding bug24430 patch to 1.19 release note

12 years agoAdd bug33703 fix to 1.19 release note
Benny Situ [Fri, 13 Jan 2012 22:48:21 +0000 (22:48 +0000)]
Add bug33703 fix to 1.19 release note

12 years agopatch from fomafix - bug33703 - remove black border-bottom-color for abbr
Benny Situ [Fri, 13 Jan 2012 22:27:16 +0000 (22:27 +0000)]
patch from fomafix - bug33703 - remove black border-bottom-color for abbr

12 years agoFixing comments
mrbluesky [Fri, 13 Jan 2012 22:19:01 +0000 (22:19 +0000)]
Fixing comments

Using shell style comments here stops Doxygen from processing the rest of the comments.
See http://svn.wikimedia.org/doc/classHTMLForm.html

12 years agoXCF: force rendering
Antoine Musso [Fri, 13 Jan 2012 22:09:11 +0000 (22:09 +0000)]
XCF: force rendering

Browsers do not support GIMP native format (yet?!). So we really need
to force rendering.
Noticed by Mark while testing the feature on labs.

Follow r107351

12 years agoreverted r108850 as patch should be introduced after code freeze
Rob Moen [Fri, 13 Jan 2012 21:57:52 +0000 (21:57 +0000)]
reverted r108850 as patch should be introduced after code freeze

12 years ago@since, ping r101030
Niklas Laxström [Fri, 13 Jan 2012 21:50:13 +0000 (21:50 +0000)]
@since, ping r101030

12 years ago() are valid in URLs, not sure why we're using them as a finishing point in ApiFormatBase
Sam Reed [Fri, 13 Jan 2012 21:42:31 +0000 (21:42 +0000)]
() are valid in URLs, not sure why we're using them as a finishing point in ApiFormatBase

Fixes fixme on r95572 as urls are now complete with () in them

12 years agoAdd 'api-error-unknownerror' and update punctuation and quotes for api-error-* where...
Siebrand Mazeland [Fri, 13 Jan 2012 21:28:59 +0000 (21:28 +0000)]
Add 'api-error-unknownerror' and update punctuation and quotes for api-error-* where needed.

12 years agopatch from MrBlueSky, resloves bug 25909. Add dropdown list for tags in recent change...
Rob Moen [Fri, 13 Jan 2012 21:24:38 +0000 (21:24 +0000)]
patch from MrBlueSky, resloves bug 25909. Add dropdown list for tags in recent changes and new pages

12 years agoPing r108847, missed one half quote
Niklas Laxström [Fri, 13 Jan 2012 21:19:44 +0000 (21:19 +0000)]
Ping r108847, missed one half quote

12 years agoChange usage of quotes in API messages from ``x'' to "x".
Siebrand Mazeland [Fri, 13 Jan 2012 21:11:27 +0000 (21:11 +0000)]
Change usage of quotes in API messages from ``x'' to "x".

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Fri, 13 Jan 2012 20:57:43 +0000 (20:57 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFixing plural. Would "file, which" be clearer?
Niklas Laxström [Fri, 13 Jan 2012 16:56:48 +0000 (16:56 +0000)]
Fixing plural. Would "file, which" be clearer?

12 years agoAdd 'api-error-emptypage'.
Siebrand Mazeland [Fri, 13 Jan 2012 14:47:27 +0000 (14:47 +0000)]
Add 'api-error-emptypage'.

12 years agoFix for r108376: the whole string is already espcaed on output, no need to escape...
Alexandre Emsenhuber [Fri, 13 Jan 2012 13:30:58 +0000 (13:30 +0000)]
Fix for r108376: the whole string is already espcaed on output, no need to escape it twice

12 years agoPer Aaron, fix for r107776: correct count() check
Alexandre Emsenhuber [Fri, 13 Jan 2012 13:28:58 +0000 (13:28 +0000)]
Per Aaron, fix for r107776: correct count() check

12 years agor88633: lazy-load 'customFilters' field in SpecialRecentChanges. Almost every functio...
Aaron Schulz [Fri, 13 Jan 2012 09:14:56 +0000 (09:14 +0000)]
r88633: lazy-load 'customFilters' field in SpecialRecentChanges. Almost every function is public here so there no control of the order stuff happens.

12 years agoFix broken indentation
Niklas Laxström [Fri, 13 Jan 2012 08:41:33 +0000 (08:41 +0000)]
Fix broken indentation

12 years ago* Distinguish "does not exist" from failure in FSFileBackend::doGetFileStat().
Aaron Schulz [Fri, 13 Jan 2012 04:32:28 +0000 (04:32 +0000)]
* Distinguish "does not exist" from failure in FSFileBackend::doGetFileStat().
* Added clearstatcache() to doConcatenate() to make it safe for callers to stat the file.
* A few minor comment tweaks.

12 years agoPartial revert ContextSource changes from r108785, r108786
Sam Reed [Fri, 13 Jan 2012 02:40:09 +0000 (02:40 +0000)]
Partial revert ContextSource changes from r108785, r108786

12 years agoPush msg from ContextSource/RequestContext into IContextSource
Sam Reed [Fri, 13 Jan 2012 02:37:04 +0000 (02:37 +0000)]
Push msg from ContextSource/RequestContext into IContextSource

12 years agoA couple more for r108785
Sam Reed [Fri, 13 Jan 2012 02:30:51 +0000 (02:30 +0000)]
A couple more for r108785

More doucmentations

12 years agoDocumentation
Sam Reed [Fri, 13 Jan 2012 02:27:44 +0000 (02:27 +0000)]
Documentation

As we're using stuff from ContextSource everwhere, limiting stuff to a type hint of IContextSource isn't much use

12 years agoFollowup to r108744
OverlordQ [Thu, 12 Jan 2012 23:22:09 +0000 (23:22 +0000)]
Followup to r108744

12 years agoMaintenance class-ify eval.php
Sam Reed [Thu, 12 Jan 2012 23:10:22 +0000 (23:10 +0000)]
Maintenance class-ify eval.php

12 years agoGive sql.php eval.php type scrollback
Sam Reed [Thu, 12 Jan 2012 22:57:51 +0000 (22:57 +0000)]
Give sql.php eval.php type scrollback

12 years agoFollowup r108768, callign the right callback helps too
Sam Reed [Thu, 12 Jan 2012 22:35:48 +0000 (22:35 +0000)]
Followup r108768, callign the right callback helps too

12 years agoRevert r108764: doesn't appear to do what it says in the description, and no explanat...
Brion Vibber [Thu, 12 Jan 2012 22:17:54 +0000 (22:17 +0000)]
Revert r108764: doesn't appear to do what it says in the description, and no explanation why it's being done (presumably would just break searches again?)

12 years agoFix typo in SpecialVersion
Sam Reed [Thu, 12 Jan 2012 22:14:56 +0000 (22:14 +0000)]
Fix typo in SpecialVersion

Change require to require_once in commandLine.inc

Make eval.php require an absolute path rather than just one in itself

Simplify if statement

12 years agoFollowup to r107866, add in new job_timestamp field which was likely completely break...
OverlordQ [Thu, 12 Jan 2012 22:11:12 +0000 (22:11 +0000)]
Followup to r107866, add in new job_timestamp field which was likely completely breaking anything related to the job queue, should fix failing TemplateCategoriesTest.testTemplateCategories on PG

12 years agoAdd $inputCsllback to sourceStream(), to return full lines back to the calling function
Sam Reed [Thu, 12 Jan 2012 22:10:24 +0000 (22:10 +0000)]
Add $inputCsllback to sourceStream(), to return full lines back to the calling function

Will be used soooon

12 years ago* Collapse multiple directory separators in FileBackend::normalizeStoragePath()....
Aaron Schulz [Thu, 12 Jan 2012 22:01:02 +0000 (22:01 +0000)]
* Collapse multiple directory separators in FileBackend::normalizeStoragePath(). Also renamed the function to normalizeContainerPath() to be less confusing.
* Made SwiftFileBackend respect the 'latest' parameter of various functions via "X-Newest: true" header. Added to TODO in the doGetFileStat() function, as cloudfiles needs upstream changes for that.
* Fixed SwiftFileIterator to return paths relative to the given directory.
* Clean up for FSFileBackend trailing slash handling.

12 years agoThis commit restores getPrefixedText() to the Title in the XML. This means it does...
Diederik van Liere [Thu, 12 Jan 2012 21:34:55 +0000 (21:34 +0000)]
This commit restores  getPrefixedText() to the Title in the XML. This means it does not break anything, the only change is that there is a new separate element that contains the namespace.

This commit is a follow up to:
r102575: Commit to fix bug 30513.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Thu, 12 Jan 2012 21:22:22 +0000 (21:22 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFU r106752: updated populateImageSha1.php script as needed
Aaron Schulz [Thu, 12 Jan 2012 20:50:14 +0000 (20:50 +0000)]
FU r106752: updated populateImageSha1.php script as needed

12 years ago* Added backend name to 'backend-fail-internal' message
Aaron Schulz [Thu, 12 Jan 2012 20:05:25 +0000 (20:05 +0000)]
* Added backend name to 'backend-fail-internal' message
* Removed TODO comment in SwiftFileBackend

12 years ago* Merged (added) SwiftFileBackend class from branch.
Aaron Schulz [Thu, 12 Jan 2012 20:01:54 +0000 (20:01 +0000)]
* Merged (added) SwiftFileBackend class from branch.
* Added i18n messages used by the new class.

12 years agoReverted r108743 per CR comment. This should at least be discussed first.
Aaron Schulz [Thu, 12 Jan 2012 19:41:18 +0000 (19:41 +0000)]
Reverted r108743 per CR comment. This should at least be discussed first.

12 years ago* Fixed a bit of bogus code left in r108740
Aaron Schulz [Thu, 12 Jan 2012 19:20:58 +0000 (19:20 +0000)]
* Fixed a bit of bogus code left in r108740
* Added some class comments

12 years agoKill "* @return void"
Sam Reed [Thu, 12 Jan 2012 19:12:24 +0000 (19:12 +0000)]
Kill "* @return void"

12 years agoUnindent code to use elseif
Sam Reed [Thu, 12 Jan 2012 19:04:06 +0000 (19:04 +0000)]
Unindent code to use elseif

12 years agoDocumentation
Sam Reed [Thu, 12 Jan 2012 19:03:32 +0000 (19:03 +0000)]
Documentation

Wrap some long lines

12 years ago* Added 'basePath' config param to FSFileBackend and tweaked it to behave more simila...
Aaron Schulz [Thu, 12 Jan 2012 18:44:00 +0000 (18:44 +0000)]
* Added 'basePath' config param to FSFileBackend and tweaked it to behave more similarly to the backends with real containers (e.g. everything else). Resolution to absolute paths is now deferred after resolveStoragePath(), using resolveToFSPath().
* Fixed whitespace in FSFileIterator.

12 years agoConsistency: made all API examples a verbs
Max Semenik [Thu, 12 Jan 2012 17:36:06 +0000 (17:36 +0000)]
Consistency: made all API examples a verbs

12 years agoFollowup to whatever revision added us_chunk_inx
OverlordQ [Thu, 12 Jan 2012 17:10:48 +0000 (17:10 +0000)]
Followup to whatever revision added us_chunk_inx

12 years agoswap assertEquals parameters in TemplateCategoriesTest
Antoine Musso [Thu, 12 Jan 2012 16:42:33 +0000 (16:42 +0000)]
swap assertEquals parameters in TemplateCategoriesTest

First parameter is expected, second is the result

12 years ago(bug 32508) Fix updater output
Antoine Musso [Thu, 12 Jan 2012 10:59:13 +0000 (10:59 +0000)]
(bug 32508) Fix updater output

site_stats updated is still a database action.
Purge cache is now the very last one.

Output:

<snip>
...site_stats is populated...done.
Purging caches...done.

Done.

12 years agobug 33583 search ns user pref ignored!
Antoine Musso [Thu, 12 Jan 2012 09:03:38 +0000 (09:03 +0000)]
bug 33583 search ns user pref ignored!

r106780 to fix bug 33270 introduced a new bug that prevented selected
namespaces for search to be applied. This patch fix the issue.

Credits to Brad Jorsch

12 years ago* (bug 33117) prop=revisions allows deleted text to be exposed through cache pollution
Sam Reed [Wed, 11 Jan 2012 21:52:44 +0000 (21:52 +0000)]
* (bug 33117) prop=revisions allows deleted text to be exposed through cache pollution

12 years agoRevert r108603, which was itself a revert of r107376, r107994. Before considering...
Max Semenik [Wed, 11 Jan 2012 20:19:55 +0000 (20:19 +0000)]
Revert r108603, which was itself a revert of r107376, r107994. Before considering something unneeded, please ask first ;)

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Wed, 11 Jan 2012 20:17:10 +0000 (20:17 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoApparently we can commit code that doesn't compile but I am not allowed to have commi...
Niklas Laxström [Wed, 11 Jan 2012 19:47:21 +0000 (19:47 +0000)]
Apparently we can commit code that doesn't compile but I am not allowed to have commit summary as "){} -> ) {}"

12 years agoWhitespaces fixes only, no functional changes.
Alexandre Emsenhuber [Wed, 11 Jan 2012 19:23:57 +0000 (19:23 +0000)]
Whitespaces fixes only, no functional changes.

12 years agoremove concurrency resource per revert. follow up r108600
Rob Moen [Wed, 11 Jan 2012 18:00:49 +0000 (18:00 +0000)]
remove concurrency resource per revert.  follow up r108600

12 years agoAdd @since to getPerformedAction, added in r108342
Sam Reed [Wed, 11 Jan 2012 15:51:07 +0000 (15:51 +0000)]
Add @since to getPerformedAction, added in r108342

Caused site errors as not in 1.18 when trying to merge r108345 as a followup to r94131

12 years agoRemove RELEASE-NOTES-1.19 from r108145, moved to 1.18 in r108629
Sam Reed [Wed, 11 Jan 2012 15:45:49 +0000 (15:45 +0000)]
Remove RELEASE-NOTES-1.19 from r108145, moved to 1.18 in r108629

12 years agoMade Parser::addTrackingCategory() public to benefit tag hooks/parser functions devel...
Max Semenik [Wed, 11 Jan 2012 15:42:29 +0000 (15:42 +0000)]
Made Parser::addTrackingCategory() public to benefit tag hooks/parser functions developers

12 years agoKill bug 25355 RELEASE-NOTES-1.19 from r92703 as moved to 1.18 in r108620
Sam Reed [Wed, 11 Jan 2012 14:53:52 +0000 (14:53 +0000)]
Kill bug 25355 RELEASE-NOTES-1.19 from r92703 as moved to 1.18 in r108620

12 years agorevert r108508 which reverted for no good reason
Jeroen De Dauw [Wed, 11 Jan 2012 14:11:06 +0000 (14:11 +0000)]
revert r108508 which reverted for no good reason

12 years agoFixed reporting in importDump.txt
Max Semenik [Wed, 11 Jan 2012 10:38:25 +0000 (10:38 +0000)]
Fixed reporting in importDump.txt

12 years agoMoved RessourceLoader modules and stylesheet related stuff from EditPage::edit()...
Alexandre Emsenhuber [Wed, 11 Jan 2012 10:33:31 +0000 (10:33 +0000)]
Moved RessourceLoader modules and stylesheet related stuff from EditPage::edit() to EditPage::setHeaders() and header messages to EditPage::showHeader(); there's no point running all that code when the edit form is not displayed (e.g. page save).

12 years agoReverts MySQL stored procedure support
Antoine Musso [Wed, 11 Jan 2012 09:46:21 +0000 (09:46 +0000)]
Reverts MySQL stored procedure support

This is reverting the work done by MaxSem to support stored procedures
and stored function in MySQL. The reasons are:
 - it is not needed yet
 - tests are not functionals
 - alter the stable include/db/Database.php and drop support for ';;'

So please create a branch to work on it and merge it back in trunk
once we have branched 1.19 :-)

I have opened bug 33654 to track this enhancement request.

Reverts r107376, r107994.

12 years agoreverts Concurrency works
Antoine Musso [Wed, 11 Jan 2012 09:05:56 +0000 (09:05 +0000)]
reverts Concurrency works

trunk is frozen pending stabilisation so we can release MediaWiki 1.19.
Those changes introduces API changes and new SQL tables, so that sounds like
new feature we do not have time to review right now.

Please reapply changes in branches/concurrency and have code review handled
there. Once the branch has been reviewed, please hold. Once trunk is stable
enough and 1.19 got branched, you are welcome to merge the branch in trunk.

Note: we can have a Jenkins jobs setup to run the branch tests if you need.

Reverts:
r108595 r108591 r108585 r108584 108572 r108564 108560 r108559

12 years agoCommenting these tests out so that CI can run, since I need to leave and nobody uses...
Ian Baker [Wed, 11 Jan 2012 02:48:28 +0000 (02:48 +0000)]
Commenting these tests out so that CI can run, since I need to leave and nobody uses this code yet.
These fail only on sqlite, and only when run with the entire suite (they're fine when run individually).
Skipping ApiBlockTest allows ApiConcurrencyTest to run, oddly enough.
Clearly, this will need to be fixed ASAP.  I'll take care of it on Thursday when I'm back online, or possibly
before.

12 years agosqlite needs its timestamps quoted
Ian Baker [Wed, 11 Jan 2012 02:02:26 +0000 (02:02 +0000)]
sqlite needs its timestamps quoted
fixed some memcache timestamp bugs
followup to r108559

12 years agosqlite doesn't actually support read locks. added a workaround until i can do the...
Ian Baker [Wed, 11 Jan 2012 01:27:55 +0000 (01:27 +0000)]
sqlite doesn't actually support read locks.  added a workaround until i can do the correct implementation.
followup to r108559

12 years agoFixed concurrency issues related to mysql default locking mode, per Roan's comments...
Ian Baker [Wed, 11 Jan 2012 01:10:27 +0000 (01:10 +0000)]
Fixed concurrency issues related to mysql default locking mode, per Roan's comments.  Fixed other little bugs Roan pointed out also.
followup to r108559

12 years agoRevert r102624, r104262 (user display name stuff). Per CR there isn't consensus on...
Chad Horohoe [Wed, 11 Jan 2012 00:53:08 +0000 (00:53 +0000)]
Revert r102624, r104262 (user display name stuff). Per CR there isn't consensus on this yet.

12 years agoadd js resource for concurrency api, check method for resource checkin & checkout
Rob Moen [Wed, 11 Jan 2012 00:17:17 +0000 (00:17 +0000)]
add js resource for concurrency api, check method for resource checkin & checkout