lhc/web/wiklou.git
13 years agoDocument functions
Alexandre Emsenhuber [Fri, 20 Aug 2010 21:20:18 +0000 (21:20 +0000)]
Document functions

13 years ago* Standardised file description headers
Alexandre Emsenhuber [Fri, 20 Aug 2010 20:39:04 +0000 (20:39 +0000)]
* Standardised file description headers
* Added some descriptions
* Added @file where needed

13 years agoRevert the change to Preprocessor_DOM.php of r71286.
Platonides [Fri, 20 Aug 2010 18:03:45 +0000 (18:03 +0000)]
Revert the change to Preprocessor_DOM.php of r71286.
The parsertest "Link with 3 brackets" passes again.

13 years agoMake fixLinksFromArticle public and static
Chad Horohoe [Fri, 20 Aug 2010 16:49:17 +0000 (16:49 +0000)]
Make fixLinksFromArticle public and static

13 years agoLike the installer, make Special:Version header localizable. Want to reduce some...
Chad Horohoe [Fri, 20 Aug 2010 16:35:00 +0000 (16:35 +0000)]
Like the installer, make Special:Version header localizable. Want to reduce some duplication here

13 years agoMissing else condition was breaking namespaces for everyone else but me. Followup...
Niklas Laxström [Fri, 20 Aug 2010 16:28:02 +0000 (16:28 +0000)]
Missing else condition was breaking namespaces for everyone else but me. Followup r71342

13 years agoPartial r71363 revert, unrelated changes
Chad Horohoe [Fri, 20 Aug 2010 15:25:41 +0000 (15:25 +0000)]
Partial r71363 revert, unrelated changes

13 years agoFixup help output. Remove a few documented but unused options
Chad Horohoe [Fri, 20 Aug 2010 15:21:24 +0000 (15:21 +0000)]
Fixup help output. Remove a few documented but unused options

13 years agoMissed the svn del
Chad Horohoe [Fri, 20 Aug 2010 14:48:31 +0000 (14:48 +0000)]
Missed the svn del

13 years agoRefactor convertLinks to not use DB::newFromParams() crap, make updaters use the...
Chad Horohoe [Fri, 20 Aug 2010 14:47:57 +0000 (14:47 +0000)]
Refactor convertLinks to not use DB::newFromParams() crap, make updaters use the maintenance script to reduce duplication, other minor fixes

13 years agoOptimize a produced animated GIF with OptimizeTransparency, better would be to use...
Derk-Jan Hartman [Fri, 20 Aug 2010 13:37:20 +0000 (13:37 +0000)]
Optimize a produced animated GIF with OptimizeTransparency, better would be to use optimize, but it breaks transparent GIFs. Fixes Bug 11822.
Only add animated gif options for animated gifs.

13 years agoAdd getMagickVersion(). Will use this to provide optimization of animated gifs.
Derk-Jan Hartman [Fri, 20 Aug 2010 13:22:02 +0000 (13:22 +0000)]
Add getMagickVersion(). Will use this to provide optimization of animated gifs.

13 years agoOf course didn't mean to commit var_dump
Niklas Laxström [Fri, 20 Aug 2010 10:30:24 +0000 (10:30 +0000)]
Of course didn't mean to commit var_dump

13 years agoTrying to clean up the mess with $wgCanonicalNamespaceNames and $wgExtraNamespaces.
Niklas Laxström [Fri, 20 Aug 2010 10:25:10 +0000 (10:25 +0000)]
Trying to clean up the mess with $wgCanonicalNamespaceNames and $wgExtraNamespaces.

Now those two together define the set of namespaces used in the wiki.
$wgExtraNamespaces is for user configuration and overrides, while
$wgCanonicalNamespaceNames is for extension adding their own namespaces.
No code should access those two directly for reading. Instead they should use
MWNamespace::getCanonicalNamespaces.

Also fixed indentation with spaces to tabs in Language.php

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Siebrand Mazeland [Fri, 20 Aug 2010 09:38:10 +0000 (09:38 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-20 09:25 UTC)

13 years agoApply hack from 1.16wmf4 in r71329 to trunk (follow-up to r71327). The version in...
Andrew Garrett [Fri, 20 Aug 2010 06:19:37 +0000 (06:19 +0000)]
Apply hack from 1.16wmf4 in r71329 to trunk (follow-up to r71327). The version in r71327 breaks special pages.

13 years ago(bug 24837) Fix issue where namespaces which were localised but not defined were...
Andrew Garrett [Fri, 20 Aug 2010 05:32:24 +0000 (05:32 +0000)]
(bug 24837) Fix issue where namespaces which were localised but not defined were returned by Language::getNamespaces()

13 years agoAdding helpful comment :)
Ryan Kaldari [Fri, 20 Aug 2010 01:47:52 +0000 (01:47 +0000)]
Adding helpful comment :)

13 years agoBug 24832: fatal in Special:ComparePages. I've just removed the diffonly URL paramete...
Max Semenik [Thu, 19 Aug 2010 20:06:54 +0000 (20:06 +0000)]
Bug 24832: fatal in Special:ComparePages. I've just removed the diffonly URL parameter, because: (1) you can't intuitively expect which page should be rendered below a diff of two different pages; (2) diffonly was never available as a UI option, just a hacky GET parameter; (3) it didn't work anyway. This commit reverts most of r68885.

13 years agoreverting self (r71304)
Ryan Kaldari [Thu, 19 Aug 2010 18:40:47 +0000 (18:40 +0000)]
reverting self (r71304)

13 years agochanging -sharpen to -unsharp due to new ImageMagick syntax, bug 24857
Ryan Kaldari [Thu, 19 Aug 2010 18:21:06 +0000 (18:21 +0000)]
changing -sharpen to -unsharp due to new ImageMagick syntax, bug 24857

13 years agoMinor followup to r70480
Sam Reed [Thu, 19 Aug 2010 14:54:09 +0000 (14:54 +0000)]
Minor followup to r70480

Only throw missingparam for string === '' when it is required

RELEASE-NOTES for breaking change

13 years agoMore unused....
Sam Reed [Thu, 19 Aug 2010 11:42:06 +0000 (11:42 +0000)]
More unused....

13 years agoFollowup r54225
Sam Reed [Thu, 19 Aug 2010 11:32:01 +0000 (11:32 +0000)]
Followup r54225

Adding $u->doUpdate(); after $u = new SearchUpdate( $row->rc_cur_id, $title, false );

Seems to make sense, otherwise the function doesn't seem to do a great deal!

13 years agoRemove some more unused variables
Sam Reed [Thu, 19 Aug 2010 11:21:14 +0000 (11:21 +0000)]
Remove some more unused variables

Remove srvus() from Parser, unused, and calling testSrvus wrongly

13 years agoRun ulimit4.sh using /bin/bash to avoid noexec
Aryeh Gregor [Wed, 18 Aug 2010 23:20:56 +0000 (23:20 +0000)]
Run ulimit4.sh using /bin/bash to avoid noexec

Panora200 on IRC reported the error "/bin/bash: bad interpreter:
Permission denied", which we tracked down to the fact that /var/www (or
whatever) was mounted noexec.  Prepending '/bin/bash ' to the command
line should fix it.  Not heavily tested -- I only checked that
wfShellExec() seemed to work from eval.php for trivial uses.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Siebrand Mazeland [Wed, 18 Aug 2010 22:11:00 +0000 (22:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-18 21:52 UTC)

13 years agoFollowup to r68338, remove useless code (row is overwritten by loop)
Sam Reed [Wed, 18 Aug 2010 20:34:42 +0000 (20:34 +0000)]
Followup to r68338, remove useless code (row is overwritten by loop)

13 years agoInstaller: use human-friendly list of databases, pass count of drivers for {{PLURAL}}
Max Semenik [Wed, 18 Aug 2010 19:28:41 +0000 (19:28 +0000)]
Installer: use human-friendly list of databases, pass count of drivers for {{PLURAL}}

13 years agoRevert r71250 r71251 r71252 r71253
Sam Reed [Wed, 18 Aug 2010 14:15:32 +0000 (14:15 +0000)]
Revert r71250 r71251 r71252 r71253

Know what the problem is, roughly, can't fix atm, so not leaving phase3 broken

13 years agoRemove some more parameters post r71250
Sam Reed [Wed, 18 Aug 2010 13:55:36 +0000 (13:55 +0000)]
Remove some more parameters post r71250

13 years agoFix wrong removal in r71250
Sam Reed [Wed, 18 Aug 2010 13:50:07 +0000 (13:50 +0000)]
Fix wrong removal in r71250

13 years agoMinor followup to r71250
Sam Reed [Wed, 18 Aug 2010 13:40:59 +0000 (13:40 +0000)]
Minor followup to r71250

Remove accidentally committed patch

13 years agoKill some crappy "failFunction" stuff, marked as old in r14625
Sam Reed [Wed, 18 Aug 2010 13:38:42 +0000 (13:38 +0000)]
Kill some crappy "failFunction" stuff, marked as old in r14625

13 years agoUse absolute path to i18n file, relative path is likely to break
Chad Horohoe [Wed, 18 Aug 2010 13:11:43 +0000 (13:11 +0000)]
Use absolute path to i18n file, relative path is likely to break

13 years agoFollowup r71241
Sam Reed [Wed, 18 Aug 2010 10:09:03 +0000 (10:09 +0000)]
Followup r71241

Another $bitField to $field

13 years ago$bitField to $field
Sam Reed [Wed, 18 Aug 2010 10:02:39 +0000 (10:02 +0000)]
$bitField to $field

13 years ago$parseroptions to $options
Sam Reed [Wed, 18 Aug 2010 10:00:42 +0000 (10:00 +0000)]
$parseroptions to $options

13 years agoAvoid spurious paragraph with new heading id's
Aryeh Gregor [Tue, 17 Aug 2010 21:55:21 +0000 (21:55 +0000)]
Avoid spurious paragraph with new heading id's

Bug 24835.  The use of <a> made the parser put <p> around the tag, so
use <div> instead.  (Something was also adding a name="" attribute, but
I'm not sure what.  That should be killed.)

13 years agoConverted two more updater functions to OOP: add_field() and add_index()
Max Semenik [Tue, 17 Aug 2010 17:48:22 +0000 (17:48 +0000)]
Converted two more updater functions to OOP: add_field() and add_index()

13 years agoUse the same connection for updates everywhere. Hopefully, this ugly code will not...
Max Semenik [Tue, 17 Aug 2010 14:17:13 +0000 (14:17 +0000)]
Use the same connection for updates everywhere. Hopefully, this ugly code will not survive for long anyway

13 years agoMoved first of the updaters functions to the appropriate classes (addTable is shared...
Chad Horohoe [Tue, 17 Aug 2010 13:36:59 +0000 (13:36 +0000)]
Moved first of the updaters functions to the appropriate classes (addTable is shared, doNamespaceSize was mySQL-only) to give an idea of what the grand scheme is. Still using nasty wfOut()s, need to use Status objects or *something* else here other than just throwing up output

13 years agoremove superfluous return
Mark A. Hershberger [Tue, 17 Aug 2010 03:08:12 +0000 (03:08 +0000)]
remove superfluous return

13 years agoOverloardQ or other PG person, please review
Mark A. Hershberger [Tue, 17 Aug 2010 03:07:27 +0000 (03:07 +0000)]
OverloardQ or other PG person, please review
These patches were necessary to get new-installer working on PG for me.  I'm not sure about the ‘create lang' bits — they should maybe be in another step?

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Siebrand Mazeland [Mon, 16 Aug 2010 22:43:58 +0000 (22:43 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-16 22:21 UTC)

13 years agoAdd query count to $wgDebugDumpSql output
Aryeh Gregor [Mon, 16 Aug 2010 22:29:27 +0000 (22:29 +0000)]
Add query count to $wgDebugDumpSql output

This makes it easy to see how many queries are being run on each view.
Also rephrased the message a bit.

13 years agoSave 200 useless queries per category page view
Aryeh Gregor [Mon, 16 Aug 2010 21:37:17 +0000 (21:37 +0000)]
Save 200 useless queries per category page view

Yeah, I kind of wish this was a joke.  Granted, they're extremely fast
queries, and maybe they don't happen on all configs, but still.  And I'm
still seeing 148 queries per view, mostly Revision::fetchFromConds() . . .

13 years agoAdd a post-update maintenance script list, moved deleteDefaultMessages into it.
Chad Horohoe [Mon, 16 Aug 2010 14:23:28 +0000 (14:23 +0000)]
Add a post-update maintenance script list, moved deleteDefaultMessages into it.

13 years agoRemove unused rename_table() and PG override of $wgShowExceptionDetails. Less updater...
Chad Horohoe [Mon, 16 Aug 2010 13:16:34 +0000 (13:16 +0000)]
Remove unused rename_table() and PG override of $wgShowExceptionDetails. Less updaters.inc is good :)

13 years agoFollow-up r71095: add new message to $wgIgnoredMessages.
Siebrand Mazeland [Sun, 15 Aug 2010 19:04:15 +0000 (19:04 +0000)]
Follow-up r71095: add new message to $wgIgnoredMessages.

13 years agoInitial refactoring for Postgres; DatabaseUpdater subclass is now passed to LoadExten...
Chad Horohoe [Sun, 15 Aug 2010 18:55:08 +0000 (18:55 +0000)]
Initial refactoring for Postgres; DatabaseUpdater subclass is now passed to LoadExtensionSchemaUpdates

13 years agoEnded up doing $doUser differently
Chad Horohoe [Sun, 15 Aug 2010 18:24:26 +0000 (18:24 +0000)]
Ended up doing $doUser differently

13 years agoMinor code style tweak
Chad Horohoe [Sun, 15 Aug 2010 18:18:02 +0000 (18:18 +0000)]
Minor code style tweak

13 years agoSome general update refactoring:
Chad Horohoe [Sun, 15 Aug 2010 18:13:23 +0000 (18:13 +0000)]
Some general update refactoring:
* Drop version keys. Don't really serve a purpose
* Don't use updatelog to determine if an update should be run, let the update check itself (this was the old behavior)
* Still record updates as a single timestamped array (could be useful)

13 years ago* Standardised file description headers
Alexandre Emsenhuber [Sun, 15 Aug 2010 17:27:41 +0000 (17:27 +0000)]
* Standardised file description headers
* Added some descriptions

13 years agoModified Special:Protectedpages and Special:Protectedtitles to subclass SpecialPage
Alexandre Emsenhuber [Sun, 15 Aug 2010 16:57:07 +0000 (16:57 +0000)]
Modified Special:Protectedpages and Special:Protectedtitles to subclass SpecialPage

13 years agoError message tweaks
Jeroen De Dauw [Sun, 15 Aug 2010 16:42:43 +0000 (16:42 +0000)]
Error message tweaks

13 years agoFixed SQLite updater broken by r69542
Max Semenik [Sun, 15 Aug 2010 14:49:07 +0000 (14:49 +0000)]
Fixed SQLite updater broken by r69542

13 years agoModified the environment check of the core installer to check the current MediaWiki...
Jeroen De Dauw [Sun, 15 Aug 2010 10:51:24 +0000 (10:51 +0000)]
Modified the environment check of the core installer to check the current MediaWiki version to work with the new repository classes.

13 years agoFollow up to r71107 - moved forgotten global variables
Jeroen De Dauw [Sun, 15 Aug 2010 10:02:17 +0000 (10:02 +0000)]
Follow up to r71107 - moved forgotten global variables

13 years agoFollow up to r71107 - added forgotten global function and corrected @since annotations
Jeroen De Dauw [Sun, 15 Aug 2010 09:49:22 +0000 (09:49 +0000)]
Follow up to r71107 - added forgotten global function and corrected @since annotations

13 years agoMoved in repository interaction classes from Deployment so it's possible to use them...
Jeroen De Dauw [Sun, 15 Aug 2010 09:40:16 +0000 (09:40 +0000)]
Moved in repository interaction classes from Deployment so it's possible to use them in the new installer for update detection

13 years ago* Standardised file description headers
Alexandre Emsenhuber [Sun, 15 Aug 2010 07:47:23 +0000 (07:47 +0000)]
* Standardised file description headers
* Added some descriptions
* Added @file where needed

13 years agoStandardised file description headers; second part
Alexandre Emsenhuber [Sun, 15 Aug 2010 07:16:58 +0000 (07:16 +0000)]
Standardised file description headers; second part

13 years agoFixed E_STRICT from r71059
Max Semenik [Sun, 15 Aug 2010 07:03:59 +0000 (07:03 +0000)]
Fixed E_STRICT from r71059

13 years agoAdd signupstart to Userlogin.php per request of MZMcBride
Sam Reed [Sat, 14 Aug 2010 22:38:18 +0000 (22:38 +0000)]
Add signupstart to Userlogin.php per request of MZMcBride

That, and we've got a loginstart/loginend, and then signupend, but no signupstart

13 years agoStandardised file description headers; first path
Alexandre Emsenhuber [Sat, 14 Aug 2010 19:19:41 +0000 (19:19 +0000)]
Standardised file description headers; first path

13 years agoSeems I forgot to commit this file with r71078
Alexandre Emsenhuber [Sat, 14 Aug 2010 17:52:00 +0000 (17:52 +0000)]
Seems I forgot to commit this file with r71078
*STAB*

13 years ago* Standardised file description headers
Alexandre Emsenhuber [Sat, 14 Aug 2010 17:42:40 +0000 (17:42 +0000)]
* Standardised file description headers
* Added some descriptions
* Added @file where needed

13 years agoAdded function to get extension type messages
Jeroen De Dauw [Sat, 14 Aug 2010 14:04:15 +0000 (14:04 +0000)]
Added function to get extension type messages

13 years agocoding style tweaks
Jack Phoenix [Sat, 14 Aug 2010 13:31:10 +0000 (13:31 +0000)]
coding style tweaks

13 years agoMake NATURAL JOINs possible
Jeroen De Dauw [Sat, 14 Aug 2010 11:24:07 +0000 (11:24 +0000)]
Make NATURAL JOINs possible

13 years agoRemove User::getToggles() code, dormant since preferences rewrite over a year ago
Andrew Garrett [Sat, 14 Aug 2010 08:46:36 +0000 (08:46 +0000)]
Remove User::getToggles() code, dormant since preferences rewrite over a year ago

13 years agofix to handle case of mIndexField including a table prefix
Ryan Kaldari [Sat, 14 Aug 2010 01:57:05 +0000 (01:57 +0000)]
fix to handle case of mIndexField including a table prefix

13 years agoMy first commit in weeks and it's got a typo ;)
Brion Vibber [Fri, 13 Aug 2010 23:39:27 +0000 (23:39 +0000)]
My first commit in weeks and it's got a typo ;)

13 years agoMore explanatory (and English ;) doc comments for Esperanto surrogate conversion...
Brion Vibber [Fri, 13 Aug 2010 23:37:45 +0000 (23:37 +0000)]
More explanatory (and English ;) doc comments for Esperanto surrogate conversion in LanguageEo::iconv()

13 years agoRemove unused $voicedPhonemes
Sam Reed [Fri, 13 Aug 2010 23:30:53 +0000 (23:30 +0000)]
Remove unused $voicedPhonemes

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Siebrand Mazeland [Fri, 13 Aug 2010 23:21:38 +0000 (23:21 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-08-13 21:35 UTC)

13 years agoFix extensions to work with category sort changes
Aryeh Gregor [Fri, 13 Aug 2010 22:07:48 +0000 (22:07 +0000)]
Fix extensions to work with category sort changes

Three different extensions were copy-pasting all of
CategoryPage::closeShowCategory() just to change which CategoryViewer
descendant was used.  I changed the base class to use a member variable
for the CategoryViewer class, so this reduces code duplication too.  I
only tested this on CategoryTree; MetavidWiki is certainly still broken,
from the looks of it (assumes $this->from is a string), but
PeopleCategories might be okay.  Hard to avoid breaking extensions with
this sort of schema/index change.

13 years agoRevert r70960 "AjaxDispatcher, now ~30 lines shorter and not using $_GET or $_POST"
Aryeh Gregor [Fri, 13 Aug 2010 21:39:51 +0000 (21:39 +0000)]
Revert r70960 "AjaxDispatcher, now ~30 lines shorter and not using $_GET or $_POST"

Broke CategoryTree, see code review for the error message.

13 years agoRemove some unused variables
Sam Reed [Fri, 13 Aug 2010 20:58:16 +0000 (20:58 +0000)]
Remove some unused variables

Move variable in languages/classes/LanguageKu.php into commented code (used in comment)

13 years agoIt's params, not param
Sam Reed [Fri, 13 Aug 2010 19:44:47 +0000 (19:44 +0000)]
It's params, not param

13 years agoDo the sequence renaming the right way.
Greg Sabino Mullane [Fri, 13 Aug 2010 19:23:31 +0000 (19:23 +0000)]
Do the sequence renaming the right way.

13 years agoTry #2 for fixing r70970 (now with less unrelated changes). Just set $wgUser to a...
Chad Horohoe [Fri, 13 Aug 2010 15:10:23 +0000 (15:10 +0000)]
Try #2 for fixing r70970 (now with less unrelated changes). Just set $wgUser to a new User object here

13 years agoPartial revert r71029, unrelated changes. Need caffeine before I commit
Chad Horohoe [Fri, 13 Aug 2010 14:38:50 +0000 (14:38 +0000)]
Partial revert r71029, unrelated changes. Need caffeine before I commit

13 years agoFix #1 for r70970: Make UploadFromUrlTestSuite initialize a User instead of StubUser
Chad Horohoe [Fri, 13 Aug 2010 14:36:59 +0000 (14:36 +0000)]
Fix #1 for r70970: Make UploadFromUrlTestSuite initialize a User instead of StubUser

13 years agoRemove some more unused variables
Sam Reed [Fri, 13 Aug 2010 11:43:01 +0000 (11:43 +0000)]
Remove some more unused variables

13 years agoFix archiveName to archiveNames (wrong declaration)
Sam Reed [Fri, 13 Aug 2010 11:29:13 +0000 (11:29 +0000)]
Fix archiveName to archiveNames (wrong declaration)

Fix unused variable

Return params instead of saving in ApiTest

13 years agoSwitch /e preg_replace for callbacks
Sam Reed [Fri, 13 Aug 2010 09:46:08 +0000 (09:46 +0000)]
Switch /e preg_replace for callbacks

Swap "and" for &&

13 years agoApparently hasn't worked since 1.7... sooooo...
Sam Reed [Fri, 13 Aug 2010 08:29:44 +0000 (08:29 +0000)]
Apparently hasn't worked since 1.7... sooooo...

13 years agoRemove a few more unused variables
Sam Reed [Fri, 13 Aug 2010 08:09:52 +0000 (08:09 +0000)]
Remove a few more unused variables

13 years agoReverting r71010
Sam Reed [Fri, 13 Aug 2010 08:07:20 +0000 (08:07 +0000)]
Reverting r71010

Does this file even work/is it still used?

13 years agoRemove unused global. Add braces
Sam Reed [Fri, 13 Aug 2010 08:00:15 +0000 (08:00 +0000)]
Remove unused global. Add braces

13 years agoAllow running this standalone as
Platonides [Thu, 12 Aug 2010 20:36:00 +0000 (20:36 +0000)]
Allow running this standalone as
 ./phpunit test MediaWikiParserTest.php

13 years agoUse a class member instead of a global for keeping slaveIndexes.
Platonides [Thu, 12 Aug 2010 20:27:54 +0000 (20:27 +0000)]
Use a class member instead of a global for keeping slaveIndexes.

13 years agoAllow HTML5 custom data attributes
Aryeh Gregor [Thu, 12 Aug 2010 19:19:13 +0000 (19:19 +0000)]
Allow HTML5 custom data attributes

HTML5 allows any attribute beginning with "data-" to be used for
site-specific purposes:

http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#embedding-custom-non-visible-data

I don't see any reason not to allow this.  It means users won't have to
hackily overload title="" or class="" if they want to store per-element
data for scripts.

13 years agoConvert $wgBlobCache into a static class member.
Platonides [Thu, 12 Aug 2010 18:43:06 +0000 (18:43 +0000)]
Convert $wgBlobCache into a static class member.
static members don't influence serialization.

13 years agoMake $wgExternalBlobCache a local static variable.
Platonides [Thu, 12 Aug 2010 18:25:04 +0000 (18:25 +0000)]
Make $wgExternalBlobCache a local static variable.
Remove $wgExternalLoadBalancers, unused since r32578 (birth of LBFactory)

13 years agoUpdate csshover.htc from V3.00.081222 to V3.11 from http://www.xs4all.nl/~peterned...
Platonides [Thu, 12 Aug 2010 17:56:42 +0000 (17:56 +0000)]
Update csshover.htc from V3.00.081222 to V3.11 from xs4all.nl/~peterned/htc/csshover3-source.htc
as requested on bug 23612 (en.wikipedia with Vector is reported to be slow)

http://www.xs4all.nl/~peterned/ says Whatever:hover 3.11
"fixes a huge performance issue with the css expressions. Before 3.10
they were not cleared properly, so if you're using an older version,
you're advised to *update!* "

13 years agoGet rid of StubUser. Constructing a user object isn't quite as intensive as it once...
Chad Horohoe [Thu, 12 Aug 2010 17:10:00 +0000 (17:10 +0000)]
Get rid of StubUser. Constructing a user object isn't quite as intensive as it once was. It actually takes more time using the StubUser (construction + unstub on first call) than just initializing User::newFromSession() from the start. Either way, the real overhead starts when you start calling methods (for the nitpicky, the optimization was only about 20µs. The real gain here was eliminating a StubObject)