lhc/web/wiklou.git
13 years ago* Made the profiler work in HipHop:
Tim Starling [Tue, 31 May 2011 06:05:05 +0000 (06:05 +0000)]
* Made the profiler work in HipHop:
** Don't try to set a global variable in the same file as a class definition (Profiler.php). Set it in WebStart.php instead.
** In StartProfiler.sample, don't use require_once() to get ProfilerStub.

* Removed the setproctitle() stuff from ProfilerStub, the extension is not maintained and doesn't work with Apache 2.x
* Added an optimisation to wfProfileIn() and wfProfileOut() to reduce the overhead when profiling is not enabled
* Added the ability to configure in StartProfiler.php whether CPU time or wall-clock time is used, avoiding recompilation

13 years agoMake $wgDebugRawPage=false also ignore load.php, so that debug logs can be readable...
Tim Starling [Tue, 31 May 2011 05:55:06 +0000 (05:55 +0000)]
Make $wgDebugRawPage=false also ignore load.php, so that debug logs can be readable again.

13 years ago* Fix hphpi mode in run-server, it wasn't quite working properly
Tim Starling [Tue, 31 May 2011 05:50:48 +0000 (05:50 +0000)]
* Fix hphpi mode in run-server, it wasn't quite working properly

13 years agoTests for r88883, including two failing tests.
Tim Starling [Tue, 31 May 2011 02:09:22 +0000 (02:09 +0000)]
Tests for r88883, including two failing tests.

13 years agoRevert r89013 and add better tests.
Platonides [Mon, 30 May 2011 22:25:15 +0000 (22:25 +0000)]
Revert r89013 and add better tests.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Mon, 30 May 2011 20:28:52 +0000 (20:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-30 20:19:00 UTC)

13 years agoadd broken test to broken group (not incomplete)
Antoine Musso [Mon, 30 May 2011 18:58:07 +0000 (18:58 +0000)]
add broken test to broken group (not incomplete)

This test suite really needs to be fixed, marking them as incomplete does not
let us tests them easily.  Instead, I have added them to the Broken group thus
we can easily run them and do not break the continuous integration system.

13 years agorvv:P r89179: it doesn't work on Windows Which should have been clear from comment...
Max Semenik [Mon, 30 May 2011 18:40:27 +0000 (18:40 +0000)]
rvv:P r89179: it doesn't work on Windows Which should have been clear from comment a few lines above

13 years agoKill httpSessionDownload.php, uses Http::doSessionIdDownload() that was removed in...
Alexandre Emsenhuber [Mon, 30 May 2011 18:28:15 +0000 (18:28 +0000)]
Kill httpSessionDownload.php, uses Http::doSessionIdDownload() that was removed in r61352

13 years agoenable colors in PHPUnit
Antoine Musso [Mon, 30 May 2011 18:26:46 +0000 (18:26 +0000)]
enable colors in PHPUnit

Since PHPUnit support color output, we might as well use it :)

13 years ago* make preprocessorFuzzTest.php pass the Title object to Parser, removed checks for...
Alexandre Emsenhuber [Mon, 30 May 2011 16:10:23 +0000 (16:10 +0000)]
* make preprocessorFuzzTest.php pass the Title object to Parser, removed checks for non-object in Parser
* make the parser use ParserOptions::getUser() instead of $wgUser
* fixed some E_NOTICE and E_STRICT in preprocessorFuzzTest.php

13 years agoHipHop improvements:
Tim Starling [Mon, 30 May 2011 13:49:09 +0000 (13:49 +0000)]
HipHop improvements:
* Added the ability to compile extensions. The build process is bootstrapped by running MediaWiki in interpreted mode. Extension setup file inclusions are slightly modified in a way that makes them register themselves for compilation. Then the same LocalSettings.php uses the compiled extension setup file when the compiled binary runs.
* Tested with Cite and ParserFunctions. The code which lets you have an extensions directory in a place other than $IP/../extensions is untested.
* Simplified WebStart.php slightly by using a custom $_SERVER variable to mark compiled mode. It will break if you don't use the supplied server.conf, but that will break a lot of things so don't do that.
* Fixed the core web entry points to include WebStart.php in compiled mode instead of interpreted.
* Made the build directory configurable. This is mostly so that I can grep the source tree without seeing loads of generated C++.
* In server.conf, added a rewrite rule allowing a /wiki/$1 article path.
* Removed server.conf log file location "/dev/stdout", breaks when you switch user
* Disable static content cache, breaks horribly when you set SourceRoot to a directory containing 7GB of files.
* Rewrote the run-server script in PHP, mostly to support the configurable build directory feature.
* Added an option to the run-server script to allow running in interpreted (hphpi) mode.

13 years ago$newTablePrefix must be passed. All callers are ok
Chad Horohoe [Mon, 30 May 2011 02:06:12 +0000 (02:06 +0000)]
$newTablePrefix must be passed. All callers are ok

13 years agowhitespace
Chad Horohoe [Mon, 30 May 2011 01:57:53 +0000 (01:57 +0000)]
whitespace

13 years ago@ingroup things
Chad Horohoe [Mon, 30 May 2011 00:21:06 +0000 (00:21 +0000)]
@ingroup things

13 years agoMisc. exception handling cleanup--moved it out of global function namespace
Chad Horohoe [Mon, 30 May 2011 00:18:10 +0000 (00:18 +0000)]
Misc. exception handling cleanup--moved it out of global function namespace
Also removed htmlHeader() and htmlFooter() since it has zero callers anywhere.
Not sure why useOutputPage() was checking isArticleRelated(), we should be able do use it with other stuff too

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Sun, 29 May 2011 21:50:09 +0000 (21:50 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-29 21:31:00 UTC)

13 years agoAdd back space between size and comment in history pages (fix for r86764)
Aaron Schulz [Sun, 29 May 2011 20:33:26 +0000 (20:33 +0000)]
Add back space between size and comment in history pages (fix for r86764)

13 years agoFix for r89114: handle other DBMSes
Aaron Schulz [Sun, 29 May 2011 19:18:53 +0000 (19:18 +0000)]
Fix for r89114: handle other DBMSes

13 years agoBroke long line
Aaron Schulz [Sun, 29 May 2011 19:05:41 +0000 (19:05 +0000)]
Broke long line

13 years agoFix up a couple of deprecated calls
Sam Reed [Sun, 29 May 2011 18:32:30 +0000 (18:32 +0000)]
Fix up a couple of deprecated calls

Documentation

13 years agoRevert r89120
Sam Reed [Sun, 29 May 2011 18:00:59 +0000 (18:00 +0000)]
Revert r89120

13 years agoadded jquery.ui.droppable.js which was missing in jquery.ui.dialog.js;fixes LiquidThr...
Thomas Gries [Sun, 29 May 2011 17:19:25 +0000 (17:19 +0000)]
added jquery.ui.droppable.js which was missing in jquery.ui.dialog.js;fixes LiquidThreads drag to new location not working bug28407 *hopefully this breaks nothing else* my first commit to core *pls. check that nothing breaks as consequence from this commit

13 years agoMore documentation!
Sam Reed [Sun, 29 May 2011 16:32:43 +0000 (16:32 +0000)]
More documentation!

13 years agoMore documentation!
Sam Reed [Sun, 29 May 2011 16:32:05 +0000 (16:32 +0000)]
More documentation!

13 years agoMore documentation!
Sam Reed [Sun, 29 May 2011 15:59:47 +0000 (15:59 +0000)]
More documentation!

13 years agoMore documentation!
Sam Reed [Sun, 29 May 2011 15:53:18 +0000 (15:53 +0000)]
More documentation!

13 years agoFollowup r89114: Ctrl-S is your friend...
Raimond Spekking [Sun, 29 May 2011 15:45:02 +0000 (15:45 +0000)]
Followup r89114: Ctrl-S is your friend...

13 years agoFix a regression from r63144: "Fixed bizarre $time comparison (compared display time...
Raimond Spekking [Sun, 29 May 2011 15:43:28 +0000 (15:43 +0000)]
Fix a regression from r63144: "Fixed bizarre $time comparison (compared display time and a UNIX const time)"
That's not correct: Timestamps in table logging are stored as yyyymmddhhmmss

13 years agoFleshed out file
Sam Reed [Sun, 29 May 2011 15:40:17 +0000 (15:40 +0000)]
Fleshed out file

13 years agoSome language love
Sam Reed [Sun, 29 May 2011 15:21:03 +0000 (15:21 +0000)]
Some language love

13 years agoSome language love
Sam Reed [Sun, 29 May 2011 15:20:43 +0000 (15:20 +0000)]
Some language love

13 years agoSome language love
Sam Reed [Sun, 29 May 2011 15:03:33 +0000 (15:03 +0000)]
Some language love

13 years agoFollowup r89099 per RobertL's CR: Remove now unused parameter. Thanks :)
Raimond Spekking [Sun, 29 May 2011 14:53:14 +0000 (14:53 +0000)]
Followup r89099 per RobertL's CR: Remove now unused parameter. Thanks :)

13 years agoFollowup r83140, fix undefined $id
Sam Reed [Sun, 29 May 2011 14:28:01 +0000 (14:28 +0000)]
Followup r83140, fix undefined $id

13 years agoAnd even more documentation in various files
Sam Reed [Sun, 29 May 2011 14:25:20 +0000 (14:25 +0000)]
And even more documentation in various files

13 years agoEven more documentation in various files
Sam Reed [Sun, 29 May 2011 14:24:27 +0000 (14:24 +0000)]
Even more documentation in various files

13 years agoMore documentation in various files
Sam Reed [Sun, 29 May 2011 14:01:47 +0000 (14:01 +0000)]
More documentation in various files

13 years agoMore documentation for File
Sam Reed [Sun, 29 May 2011 13:33:29 +0000 (13:33 +0000)]
More documentation for File

13 years agoFix message key for account creation by e-mail.
Raimond Spekking [Sun, 29 May 2011 13:22:13 +0000 (13:22 +0000)]
Fix message key for account creation by e-mail.
'noemail' => 'There is no e-mail address recorded for user "$1".' is misleading/wrong.
The long existing message 'noemailcreate' => 'You need to provide a valid e-mail address' is unused. No idea what happened in the past.
Needs merging to 1.17, 1.18

13 years agoFix mw.log. Broken by variable renaming in r89082
Derk-Jan Hartman [Sun, 29 May 2011 12:25:29 +0000 (12:25 +0000)]
Fix mw.log. Broken by variable renaming in r89082

13 years agoRv r84022 for now: crashes PHP on large url strings (bug29197), which is a nasty...
Happy-melon [Sun, 29 May 2011 09:32:17 +0000 (09:32 +0000)]
Rv r84022 for now: crashes PHP on large url strings (bug29197), which is a nasty DOS vector.  Leaving the parser tests in because this should definitely be fixed and reimplemented...

13 years agoPreviousTarget is now optional when blocking a user
Antoine Musso [Sun, 29 May 2011 07:00:52 +0000 (07:00 +0000)]
PreviousTarget is now optional when blocking a user

The API does not seem to give a PreviousTarget field all the time.
This patch also fix the an assertion for ApiBlockTest::testMakeNormalBlock

13 years agoOnly whitelist it if QUnit is in that mode though (bug in QUnit?), caused it to repor...
Krinkle [Sun, 29 May 2011 04:19:51 +0000 (04:19 +0000)]
Only whitelist it if QUnit is in that mode though (bug in QUnit?), caused it to report an error if not in noglobals mode. (Follow-up r89085)

13 years agoFix issues raised through TestSwarm
Krinkle [Sun, 29 May 2011 04:11:10 +0000 (04:11 +0000)]
Fix issues raised through TestSwarm
* Instead of delete window.foobar whitelist the global in QUnit.config.pollution
** the reason either is needed is to make QUnit's "noglobal" option useful)
** delete window.foo throws an "TypeError: Object doesn't support this action" in Internet Explorer.
-> http://perfectionkills.com/understanding-delete/
* Remove other globals introduced

13 years agoFix r89083: Actually add the directory
Krinkle [Sun, 29 May 2011 03:23:52 +0000 (03:23 +0000)]
Fix r89083: Actually add the directory

13 years agoIntroducing mw.libs, moving JpegMeta into it.
Krinkle [Sun, 29 May 2011 03:13:54 +0000 (03:13 +0000)]
Introducing mw.libs, moving JpegMeta into it.
* Reverts/re-do's r88794 and r88796.
** mediawiki.util.js no longer extends itself but is defined once.
** mediawiki.util.jpegmeta no longer extends mw.util but is installed as an object property of mw.libs
* Empty placeholder defined in mediawiki.js
* Removed the redundant 'mw' argument from the IIFE around mediawiki.libs.jpegmeta.js

* Fixed all usages in /mediawiki/trunk/*
** http://toolserver.org/~krinkle/wikimedia-svn-search/view.php?id=205&hash=ddc0908eef111558816c9fe1c775f7c1

13 years agoAdding or adjusting front-end function and variable documentation per our conventions.
Krinkle [Sun, 29 May 2011 02:54:01 +0000 (02:54 +0000)]
Adding or adjusting front-end function and variable documentation per our conventions.

Also did some trivial clean up, JSHint fixes and performance optimizations while at it. (per http://www.mediawiki.org/wiki/JavaScript_performance )
* Missing semicolons.
* [mediawiki.js Line 540] Unreachable 'registry' after 'throw'.
* [mediawiki.log.js] Checked for window.console but used console.
* Added callback option to mw.util.toggleToc (forwarded to jQuery.fn.slideUp/Down)
* Made mw.log argument more descriptive (logmsg instead of string)
* Using deepEqual(, true) instead of ok() when asserting true. (ok() is like casting a boolean (or a plain if() statement) to verify that something is not falsy)

Added missing test suites for:
* mw.util.toggleToc (follow-up r88732, Dummy check was introduced in r87898)

/me has been infected by Reedy and will be doing more of this tonight.

13 years agoThere is no getThumbRel;
Russ Nelson [Sun, 29 May 2011 01:27:47 +0000 (01:27 +0000)]
There is no getThumbRel;
$wgLocalFileRepo needs to self-identify as local;
the documentation and variable names for FileRepo->append() are correct, but they got positionally swapped at implementation time;
and I am checking in a matching fix to Extension:ResumableUpload in a sec.

13 years agoAdding or adjusting front-end function and variable documentation per our conventions.
Krinkle [Sat, 28 May 2011 22:38:59 +0000 (22:38 +0000)]
Adding or adjusting front-end function and variable documentation per our conventions.
* Adding "return this;" in object constructor functions.
* Added test suites for Map and Message object constructors to match the @return descriptions.

Also did some trivial clean up and performance optimizations while at it. (per http://www.mediawiki.org/wiki/JavaScript_performance )

/me has been infected by Reedy and will be doing more of this tonight.

13 years agoApiBlockTest: delete a block only if it exist
Antoine Musso [Sat, 28 May 2011 21:43:06 +0000 (21:43 +0000)]
ApiBlockTest: delete a block only if it exist

Fix cruise control, follow up r89071

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Sat, 28 May 2011 21:32:53 +0000 (21:32 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-28 21:01:00 UTC)

13 years agoUse the correct ID when retrieving a block
Antoine Musso [Sat, 28 May 2011 21:25:29 +0000 (21:25 +0000)]
Use the correct ID when retrieving a block

The ID might be different than the one you expect. Since r88755 the tables
are no more dropped and recreated, thus the autoincrement pointer is not
reset.  A previous test could have raised that pointer, thus the id might
be above the expected value.
This patch track the block ID inserted and use it in the assertion.

13 years agoApiBlockTest now remove block it creates
Antoine Musso [Sat, 28 May 2011 21:22:29 +0000 (21:22 +0000)]
ApiBlockTest now remove block it creates

This follow up r88755 that make tests depends on each other. The creation
of a Block through the API is troublesome to the BlockTest suite.

Requires r89070

13 years agoAllow test to remove data from the database
Antoine Musso [Sat, 28 May 2011 21:19:24 +0000 (21:19 +0000)]
Allow test to remove data from the database

This new removeDBData() is run after the tests result. It is similar
to the addDBData() method.

13 years agoAnd even more documentation, the last of this batch
Sam Reed [Sat, 28 May 2011 19:00:01 +0000 (19:00 +0000)]
And even more documentation, the last of this batch

13 years agoAnd even more documentation
Sam Reed [Sat, 28 May 2011 18:59:42 +0000 (18:59 +0000)]
And even more documentation

13 years agoAnd even more documentation
Sam Reed [Sat, 28 May 2011 18:58:51 +0000 (18:58 +0000)]
And even more documentation

13 years agoSome for MaxSem too
Sam Reed [Sat, 28 May 2011 17:52:12 +0000 (17:52 +0000)]
Some for MaxSem too

13 years agoAnd some more....
Sam Reed [Sat, 28 May 2011 17:51:33 +0000 (17:51 +0000)]
And some more....

13 years agoAnd more documentation. Yaaaay
Sam Reed [Sat, 28 May 2011 17:18:50 +0000 (17:18 +0000)]
And more documentation. Yaaaay

13 years agoAnd even mooore
Sam Reed [Sat, 28 May 2011 16:32:09 +0000 (16:32 +0000)]
And even mooore

13 years agoAnd some more parameter documentation!!
Sam Reed [Sat, 28 May 2011 16:31:00 +0000 (16:31 +0000)]
And some more parameter documentation!!

13 years agoNow that Hooks.php contains a class, moved wfRunHooks() definition to GlobalFunctions...
Alexandre Emsenhuber [Sat, 28 May 2011 16:11:40 +0000 (16:11 +0000)]
Now that Hooks.php contains a class, moved wfRunHooks() definition to GlobalFunctions.php and removed its inclusion from Setup.php

13 years agoMore parameter documentation!!
Sam Reed [Sat, 28 May 2011 15:59:57 +0000 (15:59 +0000)]
More parameter documentation!!

13 years agosvn:eol-style native
Alexandre Emsenhuber [Sat, 28 May 2011 15:11:39 +0000 (15:11 +0000)]
svn:eol-style native

13 years agoLoads more documentation for this file.. Hopefully CR will show it all ;)
Sam Reed [Sat, 28 May 2011 14:54:13 +0000 (14:54 +0000)]
Loads more documentation for this file.. Hopefully CR will show it all ;)

13 years agoMore parameter documentation!!
Sam Reed [Sat, 28 May 2011 14:52:55 +0000 (14:52 +0000)]
More parameter documentation!!

13 years agoFix type, follow-up r81615
Krinkle [Sat, 28 May 2011 14:51:07 +0000 (14:51 +0000)]
Fix type, follow-up r81615

13 years agofu r89029 - spelling
Niklas Laxström [Sat, 28 May 2011 13:03:16 +0000 (13:03 +0000)]
fu r89029 - spelling

13 years agoHandle old libxml when extracting SVG metadata
Antoine Musso [Sat, 28 May 2011 09:58:43 +0000 (09:58 +0000)]
Handle old libxml when extracting SVG metadata

Mac OS X 10.5.8 comes with libxml 2.6.16, thus some methods of XMLReader
are not availabe (ex: readInnerXML()).
This patch, throw an error if the above method does not exist (only one
use in our code).

Since metadata can comes as string or an XML fragment, I have split the tests
to take care of the two usages and of the exception.

13 years ago* Fix db->makeList() spacing
Antoine Musso [Sat, 28 May 2011 09:03:44 +0000 (09:03 +0000)]
* Fix db->makeList() spacing
* Tests assertions where upside-down (expected <-> value)
* Tests did not use LIST_AND

Follow up r87992

13 years agoOnly run CleanUpTest on a quarter of the cases.
Antoine Musso [Sat, 28 May 2011 08:38:14 +0000 (08:38 +0000)]
Only run CleanUpTest on a quarter of the cases.

Speed up the testDoubleBytes & testTripleBytes which generates 32k assertions.
The processing took 12 and 18 seconds respectively on my computer, now down
to 8k assertions.

13 years agofollow up r88997 with a rough attempt at a parser test, though, really, we can't...
Mark A. Hershberger [Sat, 28 May 2011 02:09:01 +0000 (02:09 +0000)]
follow up r88997 with a rough attempt at a parser test, though, really, we can't test signature expansion

13 years agoRefactor MessageBlobStore::updateModule() to remove the multi-language update behavio...
Roan Kattouw [Fri, 27 May 2011 22:42:20 +0000 (22:42 +0000)]
Refactor MessageBlobStore::updateModule() to remove the multi-language update behavior. Instead of updating all language's blobs at once, it now only updates the requested language. This, in combination with the bug fixed in r89001, was what caused the UploadWizard timeouts on the cluster

13 years ago* (bug 29174) Fix regression in upload-by-URL: files larger than PHP memory limit...
Brion Vibber [Fri, 27 May 2011 22:31:48 +0000 (22:31 +0000)]
* (bug 29174) Fix regression in upload-by-URL: files larger than PHP memory limit work again

r65152 switched upload-by-URL ($wgAllowCopyUploads) to use Http / MwHttpRequest class instead of CURL directly.
While this is mostly nice, it switched from saving large files directly to a temp file to buffering them in memory, causing large files to fail when they hit the PHP memory limit.

Fix uses MwHttpRequest's callback capability to override the read handler; now appending it to the temporary file as we go, and can confirm that largish files work again; was able to upload a 64mb .ogv that previously didn't work for me: http://prototype.wikimedia.org/tmh/images/b/b2/File-Arborophila_brunneopectus_pair_feeding_-_Kaeng_Krachan.ogv

Also expanded the documentation on MwHttpRequest::setCallback to clarify the function parameters and return value for the callback (which currently matches the low-level CURL handler's callback directly).
Note that the non-CURL implementation doesn't abort the read if the callback doesn't return the expected number of bytes, but this is an immediate fatal end of request on the Curl backend. May want further cleanup.

13 years agoFix issue on the live site causing RL requests for ext.uploadWizard to consistently...
Roan Kattouw [Fri, 27 May 2011 22:09:22 +0000 (22:09 +0000)]
Fix issue on the live site causing RL requests for ext.uploadWizard to consistently take more than 5 seconds: the cache freshness check was failing all the time because ext.uploadWizard listed some messages twice, and duplicates were filtered on the left-hand side of the !== comparison (implicitly, because they're array keys), but not on the right-hand side.

13 years agoFix failing preprocessor tests by checking if ot is set.
Mark A. Hershberger [Fri, 27 May 2011 21:43:07 +0000 (21:43 +0000)]
Fix failing preprocessor tests by checking if ot is set.

13 years agofix for Bug #93 “tilde signatures inside nowiki tags sometimes get expanded (<include...
Mark A. Hershberger [Fri, 27 May 2011 20:55:02 +0000 (20:55 +0000)]
fix for Bug #93 “tilde signatures inside nowiki tags sometimes get expanded (<includeonly><nowiki>~~~~</nowiki></includeonly>)”
Patch from Brad Jorsch

Fix for includeonly case.  Hopefully fixing this ancient bug doesn't
‘cause people to cry

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Fri, 27 May 2011 20:35:05 +0000 (20:35 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-27 20:18:00 UTC)

13 years agoSimplify a bit :)
Alexandre Emsenhuber [Fri, 27 May 2011 19:15:13 +0000 (19:15 +0000)]
Simplify a bit :)

13 years agobug 29123: record use of the "editsection" option so that users who can't edit (or...
Ilmari Karonen [Fri, 27 May 2011 18:51:26 +0000 (18:51 +0000)]
bug 29123: record use of the "editsection" option so that users who can't edit (or have section edit links disabled) get a different cache key; also simplify freaky code layout (briefly tested, seem to work)

13 years agotranslate userlogin-resetlink
Ilmari Karonen [Fri, 27 May 2011 16:23:39 +0000 (16:23 +0000)]
translate userlogin-resetlink

13 years agofix broken condition in r83847 (tested)
Ilmari Karonen [Fri, 27 May 2011 16:14:09 +0000 (16:14 +0000)]
fix broken condition in r83847 (tested)

13 years agoMFB r88946
Sam Reed [Fri, 27 May 2011 11:43:33 +0000 (11:43 +0000)]
MFB r88946

13 years agoSome HipHop fixes:
Tim Starling [Fri, 27 May 2011 06:25:21 +0000 (06:25 +0000)]
Some HipHop fixes:
* Scan the C++ for volatile classes and show a warning with a list of them
* Fixed volatile classes Revision, CoreLinkFunctions and FileRepoStatus, made them non-volatile by patching the referring code
* Added some configuration for the build process to DefaultSettings.php.
* Split a few functions off MakeHipHop::execute()
* Only include UtfNormalDefines.php in interpreted mode, since in compiled mode, the constants exist from startup
* Apparently HipHop does not support set_exception_handler(). Added a try/catch block around the main part of index.php instead.
* Fixed ini_get() dependencies in Special:Upload. Upload now works, if you disable ZipDirectoryReader.

13 years agoMove down interwiki disabling to dumpIterator and make SearchDump work without a db.
Platonides [Thu, 26 May 2011 22:30:35 +0000 (22:30 +0000)]
Move down interwiki disabling to dumpIterator and make SearchDump work without a db.
Removed stripParameters() which shouldn't have been added to the base class in r88914

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Thu, 26 May 2011 20:54:58 +0000 (20:54 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-26 20:23:00 UTC)

13 years agoIt's not just for < 5.1!
Sam Reed [Thu, 26 May 2011 20:38:05 +0000 (20:38 +0000)]
It's not just for < 5.1!

13 years agoMore documentation tweaks/additions
Sam Reed [Thu, 26 May 2011 20:26:51 +0000 (20:26 +0000)]
More documentation tweaks/additions

13 years agoFix for r88898: fix variable name
Alexandre Emsenhuber [Thu, 26 May 2011 19:56:42 +0000 (19:56 +0000)]
Fix for r88898: fix variable name

13 years agoMore documentation tweaks/additions
Sam Reed [Thu, 26 May 2011 19:52:56 +0000 (19:52 +0000)]
More documentation tweaks/additions

13 years agoParam documentation updates/added
Sam Reed [Thu, 26 May 2011 19:21:50 +0000 (19:21 +0000)]
Param documentation updates/added

13 years agoRemove unused variables/globals
Sam Reed [Thu, 26 May 2011 19:20:35 +0000 (19:20 +0000)]
Remove unused variables/globals

Swap while to foreach

13 years agoRefactor the common code of compareParsers.php and preprocessDump.php into a dumpIter...
Platonides [Thu, 26 May 2011 18:49:25 +0000 (18:49 +0000)]
Refactor the common code of compareParsers.php and preprocessDump.php into a dumpIterator.php script.
Implement a simple 'search into this dump'

13 years agoFollow-up r81536: Fix misleading comment in Status and add a comment to LocalFileRest...
Bryan Tong Minh [Thu, 26 May 2011 18:41:06 +0000 (18:41 +0000)]
Follow-up r81536: Fix misleading comment in Status and add a comment to LocalFileRestoreBatch::cleanupFailedBatch.

13 years ago(bug 27891) Follow-up r72475: destroy the LBFactory singleton before doing any jobs...
Bryan Tong Minh [Thu, 26 May 2011 17:11:51 +0000 (17:11 +0000)]
(bug 27891) Follow-up r72475: destroy the LBFactory singleton before doing any jobs so that jobs do not access the current session while still preserving ChronologyProtector.

13 years agoMerged MediaWiki::performRequestForTitle() and MediaWiki::handleSpecialCases() into...
Alexandre Emsenhuber [Thu, 26 May 2011 16:41:11 +0000 (16:41 +0000)]
Merged MediaWiki::performRequestForTitle() and MediaWiki::handleSpecialCases() into MediaWiki::performRequest():
* this allows to perform tests in the correct order, i.e. first BadTitle check and then userCanRead()
* the Article object is now returned by the function instead of passed back in pass-by-reference parameter
* Removed the "return false;" when MediaWiki detects a redirect, was causing an useless full execution

13 years agoUse WebRequest::getQueryValues() to get all query strings parameters instead of ...
Alexandre Emsenhuber [Thu, 26 May 2011 16:18:35 +0000 (16:18 +0000)]
Use WebRequest::getQueryValues() to get all query strings parameters instead of $_GET

13 years agoRemoved comment about the usage $wgTitle which is no longer true
Alexandre Emsenhuber [Thu, 26 May 2011 16:11:47 +0000 (16:11 +0000)]
Removed comment about the usage $wgTitle which is no longer true