lhc/web/wiklou.git
13 years agoFollowup r82029 - typo in comment
Niklas Laxström [Sat, 12 Feb 2011 21:05:27 +0000 (21:05 +0000)]
Followup r82029 - typo in comment

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Sat, 12 Feb 2011 20:46:33 +0000 (20:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-02-12 20:08:00 UTC)

13 years ago* (bug 17160) Gender specific display text for User namespace
Niklas Laxström [Sat, 12 Feb 2011 20:40:40 +0000 (20:40 +0000)]
* (bug 17160) Gender specific display text for User namespace
Second attempt for this thing..

13 years agoAdding a convenience function to check if a variable is a dom element (instead of...
Krinkle [Sat, 12 Feb 2011 20:40:35 +0000 (20:40 +0000)]
Adding a convenience function to check if a variable is a dom element (instead of a jQuery object, array of dom elements or something totally different).

Note: jQuery itself uses this same check (internally).

13 years agowhitespace
Niklas Laxström [Sat, 12 Feb 2011 20:09:12 +0000 (20:09 +0000)]
whitespace

13 years agoSince mwsuggest.js is no longer used in core, wgMWSuggestTemplate is not defined...
Krinkle [Sat, 12 Feb 2011 20:08:55 +0000 (20:08 +0000)]
Since mwsuggest.js is no longer used in core, wgMWSuggestTemplate is not defined either.
This variable was previously defined by default.

Gadgets using this broke with 1.17 since they assumed wgMWSuggestTemplate was defined just like mwsuggest.js did.
I've added the definition for it inside the file itself.

13 years ago* Fix hook name
Alexandre Emsenhuber [Sat, 12 Feb 2011 17:15:24 +0000 (17:15 +0000)]
* Fix hook name
* Update paths in findhooks script

13 years agoDo r82017 the right way. Fix pointed by Bryan.
Platonides [Sat, 12 Feb 2011 15:18:59 +0000 (15:18 +0000)]
Do r82017 the right way. Fix pointed by Bryan.

13 years agoFollow up r81883. Readd the extension. This kind of breaks the tempnam() guarantee...
Platonides [Sat, 12 Feb 2011 14:58:16 +0000 (14:58 +0000)]
Follow up r81883. Readd the extension. This kind of breaks the tempnam() guarantee, but otherwise with no extension the uploader returns UploadBase::FILETYPE_MISSING, not UploadBase::SUCCESS.

13 years agoFollow-up r81971: Can't use $this->setWarning() in static context, so append the...
Bryan Tong Minh [Sat, 12 Feb 2011 14:49:34 +0000 (14:49 +0000)]
Follow-up r81971: Can't use $this->setWarning() in static context, so append the error to the imageinfo array instead

13 years agoNo need to set a new MediaWiki_I18N object, already done when creating a QuickTemplat...
Alexandre Emsenhuber [Sat, 12 Feb 2011 14:42:20 +0000 (14:42 +0000)]
No need to set a new MediaWiki_I18N object, already done when creating a QuickTemplate object

13 years agow/s fixups
Mark A. Hershberger [Sat, 12 Feb 2011 04:06:22 +0000 (04:06 +0000)]
w/s fixups

13 years agoFix up bug #26016 by applying the more descriptive comment suggested
Mark A. Hershberger [Sat, 12 Feb 2011 04:01:06 +0000 (04:01 +0000)]
Fix up bug #26016 by applying the more descriptive comment suggested
there.  Code Reviewers: have at it!!

13 years ago* (bug 27333) Fix repetitive last-seen time queries on page history
Brion Vibber [Sat, 12 Feb 2011 01:10:48 +0000 (01:10 +0000)]
* (bug 27333) Fix repetitive last-seen time queries on page history

Title::getNotificationTimestamp() is called for every line in HistoryPager, to compare against the revision's timestamp to determine if it's a new edit since the viewer's last visit to the page.
The function kept an internal cache within the Title object to avoid having to make the query over and over in this situation, but in the case that it returns null, the cached entry would be accidentally ignored on the next round due to use of isset() to check for the array entry. (Most of the time it's great, but if the value of the key actually *is* null, isset() returns false.) Switched to array_key_exists(), which doesn't have this false negative. Now only one query gets issued for this on a history page, even if the answer is null.

13 years agoResolves bug #27328 by supporting URL rewriting for CSS that comes from the Wiki...
Trevor Parscal [Fri, 11 Feb 2011 22:57:32 +0000 (22:57 +0000)]
Resolves bug #27328 by supporting URL rewriting for CSS that comes from the Wiki, such as user and site scripts.

13 years agoFixing issue with multiple premade toggles in a non-custom collapsible element.
Krinkle [Fri, 11 Feb 2011 22:30:14 +0000 (22:30 +0000)]
Fixing issue with multiple premade toggles in a non-custom collapsible element.
The problem is that when one of the toggles is clicked the classname is only changed on the toggle that was clicked. The others will stil have the wrong class. On of the areas in which this may lead to weird behaviour is the :hover styles for the up- and downarrow cursors.

Previously would bind to all of them :

<pre>
 = .find( '> .mw-collapsible-toggle' );
// ^ may match multiple ones
</pre>

...  which is good. But in the click handler:

<pre>
[..].bind( 'click.mw-collapse', function( e ){
toggleLinkPremade( this, e );
} );
</pre>

... only called the function with 'this'. This has been changed to pass all of  instead.

This problem was discovered in the following scenario. Where an .mw-collapsible has three children. The first two are clickable and are the togglers for the third child.
http://translatewiki.net/w/i.php?title=Sandbox&oldid=2692006

13 years agoFixup a couple of parameter documentation bits
Sam Reed [Fri, 11 Feb 2011 22:06:46 +0000 (22:06 +0000)]
Fixup a couple of parameter documentation bits

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Fri, 11 Feb 2011 20:37:31 +0000 (20:37 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-02-11 20:17:00 UTC)

13 years agoComment cleanup, unused vars
Niklas Laxström [Fri, 11 Feb 2011 19:30:35 +0000 (19:30 +0000)]
Comment cleanup, unused vars

13 years agoAdd a content type and encoding header to profileinfo.php, encoding was borked
Niklas Laxström [Fri, 11 Feb 2011 19:28:04 +0000 (19:28 +0000)]
Add a content type and encoding header to profileinfo.php, encoding was borked

13 years agoFollow-up r81984: Fix function name.
Bryan Tong Minh [Fri, 11 Feb 2011 19:13:27 +0000 (19:13 +0000)]
Follow-up r81984: Fix function name.

Apologies for the double commit, but my diff is broken locally.

13 years ago* Remove code duplication for UploadStash: Move all thumbName generation code to...
Bryan Tong Minh [Fri, 11 Feb 2011 19:10:31 +0000 (19:10 +0000)]
* Remove code duplication for UploadStash:  Move all thumbName generation code to its own function File::generateThumbName which accepts a $name parameter which can be called by File::thumbName() and any other functions that require it. The essentially duplicate function StashFile::getParamThumbName() has been removed.
* Add a small url encoding fix

13 years agoUse self:: when it's possible
Niklas Laxström [Fri, 11 Feb 2011 19:03:05 +0000 (19:03 +0000)]
Use self:: when it's possible

13 years agoPartial fix for bug 27310. Add domain information when doing password resets. Also...
Ryan Lane [Fri, 11 Feb 2011 17:38:56 +0000 (17:38 +0000)]
Partial fix for bug 27310. Add domain information when doing password resets. Also, the login form being used for non-logged in users was failing because of a missing login token, so this adds a login token before the form is executed.

13 years agoFollow-up r81971: Fix error handling
Bryan Tong Minh [Fri, 11 Feb 2011 15:42:28 +0000 (15:42 +0000)]
Follow-up r81971: Fix error handling

13 years ago* (bug 27199) Thumbnail urls can be fetched for old files as well
Bryan Tong Minh [Fri, 11 Feb 2011 15:40:39 +0000 (15:40 +0000)]
* (bug 27199) Thumbnail urls can be fetched for old files as well

13 years agoFollow-up r81558: Only raise a warning if no image handler could be found
Bryan Tong Minh [Fri, 11 Feb 2011 15:31:52 +0000 (15:31 +0000)]
Follow-up r81558: Only raise a warning if no image handler could be found

13 years agoSince 1.17 a whole lot of extensions have sprouted *.i18n.magic.php files. Most of...
Tim Starling [Fri, 11 Feb 2011 11:53:00 +0000 (11:53 +0000)]
Since 1.17 a whole lot of extensions have sprouted *.i18n.magic.php files. Most of these files have entries which erroneously omit the English synonym for a magic word. This breaks the extension completely when an affected language is selected.

This patch automatically includes synonyms from the fallback localisation, and prevents the case flag from being overridden, thus making extensions resistant to translator error.

13 years agoMerge callback fixes from 1.17wmf1. /e is evil.
Chad Horohoe [Fri, 11 Feb 2011 10:27:07 +0000 (10:27 +0000)]
Merge callback fixes from 1.17wmf1. /e is evil.

13 years agoWrap old toolbar addButton() calls in a document ready, so they're not run early...
Roan Kattouw [Fri, 11 Feb 2011 09:38:38 +0000 (09:38 +0000)]
Wrap old toolbar addButton() calls in a document ready, so they're not run early and explode in debug mode

13 years agoApply $wgContLang-based flip logic to site and user modules too. I swear we did this...
Roan Kattouw [Fri, 11 Feb 2011 09:27:02 +0000 (09:27 +0000)]
Apply $wgContLang-based flip logic to site and user modules too. I swear we did this at some point

13 years agoFixes for r81936 per Tim's review
Roan Kattouw [Fri, 11 Feb 2011 08:29:55 +0000 (08:29 +0000)]
Fixes for r81936 per Tim's review

13 years agoFix getMsgBlobMtime() to also cause a cache invalidation if a module has messages...
Roan Kattouw [Fri, 11 Feb 2011 08:07:47 +0000 (08:07 +0000)]
Fix getMsgBlobMtime() to also cause a cache invalidation if a module has messages but no stored message blob

13 years agoFix a small bug in SkinLegacy.
Daniel Friesen [Fri, 11 Feb 2011 06:42:40 +0000 (06:42 +0000)]
Fix a small bug in SkinLegacy.

13 years agoAdd a new maintenance script to reset the user_token of all users if you think someon...
Daniel Friesen [Fri, 11 Feb 2011 02:46:08 +0000 (02:46 +0000)]
Add a new maintenance script to reset the user_token of all users if you think someone got ahold of your user table.

13 years ago$wgDBts2schema was removed in r81132
Platonides [Thu, 10 Feb 2011 23:57:30 +0000 (23:57 +0000)]
$wgDBts2schema was removed in r81132

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Thu, 10 Feb 2011 21:27:12 +0000 (21:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-02-10 21:02:00 UTC)

13 years agoMonoBook is now tooltip() and tooltipAndAccesskeyAttribs() free!
Platonides [Thu, 10 Feb 2011 20:46:50 +0000 (20:46 +0000)]
MonoBook is now tooltip() and tooltipAndAccesskeyAttribs() free!

13 years agoFollow up r81914. Don't build the <li> manually.
Platonides [Thu, 10 Feb 2011 20:36:18 +0000 (20:36 +0000)]
Follow up r81914. Don't build the <li> manually.

13 years agoKill calls to tooltip() and tooltipAndAccesskeyAttribs() from MonoBook and Modern
Platonides [Thu, 10 Feb 2011 19:46:36 +0000 (19:46 +0000)]
Kill calls to tooltip() and tooltipAndAccesskeyAttribs() from MonoBook and Modern

13 years agoRemove unused initial_setup(), last $wgDBts2schema user. Follow up to r81132
Platonides [Thu, 10 Feb 2011 19:12:33 +0000 (19:12 +0000)]
Remove unused initial_setup(), last $wgDBts2schema user. Follow up to r81132

13 years agoFollow-up r70137: Unconditionalize the asyncdownload params and throw asynccopyupload...
Bryan Tong Minh [Thu, 10 Feb 2011 18:24:19 +0000 (18:24 +0000)]
Follow-up r70137: Unconditionalize the asyncdownload params and throw asynccopyuploadsdisabled if async is requested without $wgAllowAsyncCopyUploads.

13 years agoMove LanguageGetMagic hook to its own function
Platonides [Thu, 10 Feb 2011 18:15:58 +0000 (18:15 +0000)]
Move LanguageGetMagic hook to its own function

13 years agoConvert the if into an early exit. Whitespace ignoring diff recommended.
Platonides [Thu, 10 Feb 2011 17:13:12 +0000 (17:13 +0000)]
Convert the if into an early exit. Whitespace ignoring diff recommended.

13 years agoAdded "context title" to replace $wgTitle, current behavior unchanges, but added...
Alexandre Emsenhuber [Thu, 10 Feb 2011 17:08:37 +0000 (17:08 +0000)]
Added "context title" to replace $wgTitle, current behavior unchanges, but added a comment that this might change in the future to completely remove $wgTitle usage in EditPage

Also removed null check on showEditForm() since $wgTitle is set on ApiEditPage.php, so it won't catch anything

13 years agoMove the overhead computation to another function.
Platonides [Thu, 10 Feb 2011 16:54:51 +0000 (16:54 +0000)]
Move the overhead computation to another function.

13 years agoFix the wrong merge of r81894 after r81893
Platonides [Thu, 10 Feb 2011 16:47:19 +0000 (16:47 +0000)]
Fix the wrong merge of r81894 after r81893

13 years agoRemoved call to OutputPage::disable()
Alexandre Emsenhuber [Thu, 10 Feb 2011 16:45:27 +0000 (16:45 +0000)]
Removed call to OutputPage::disable()

13 years agoAdd profiling to the whole ResourceLoader::makeModuleResponse
Platonides [Thu, 10 Feb 2011 16:44:57 +0000 (16:44 +0000)]
Add profiling to the whole ResourceLoader::makeModuleResponse

13 years agoAdd profiling to DjVuImage::retrieveMetaData
Platonides [Thu, 10 Feb 2011 16:40:59 +0000 (16:40 +0000)]
Add profiling to DjVuImage::retrieveMetaData

13 years agoYet more additions of wfProfileOut()
Platonides [Thu, 10 Feb 2011 16:39:53 +0000 (16:39 +0000)]
Yet more additions of wfProfileOut()

13 years agoAdd a context to SpecialPage, so that subclasses don't need globals anymore. Introduc...
Bryan Tong Minh [Thu, 10 Feb 2011 16:14:56 +0000 (16:14 +0000)]
Add a context to SpecialPage, so that subclasses don't need globals anymore. Introduces $mRequest, $mOutput and $mFullTitle, which can be used instead of $wgRequest, $wgOut and $wgTitle. Introduces msg(), which is a wrapper around wfMessage()->title().

13 years agoAdding more wfProfileOut()
Platonides [Thu, 10 Feb 2011 16:11:34 +0000 (16:11 +0000)]
Adding more wfProfileOut()

13 years agoFix profiling
Niklas Laxström [Thu, 10 Feb 2011 16:08:44 +0000 (16:08 +0000)]
Fix profiling

13 years agoMore wfProfileOut()ing
Platonides [Thu, 10 Feb 2011 16:04:19 +0000 (16:04 +0000)]
More wfProfileOut()ing

13 years agoClose wfProfileIn()s
Platonides [Thu, 10 Feb 2011 15:53:54 +0000 (15:53 +0000)]
Close wfProfileIn()s

13 years agoAdd missing wfProfileOut
Platonides [Thu, 10 Feb 2011 15:47:43 +0000 (15:47 +0000)]
Add missing wfProfileOut

13 years agoRefactor userLinks into it's own method
Niklas Laxström [Thu, 10 Feb 2011 15:29:54 +0000 (15:29 +0000)]
Refactor userLinks into it's own method

13 years ago(bug 25832) query=allimages now outputs ns/title as well
Bryan Tong Minh [Thu, 10 Feb 2011 15:20:47 +0000 (15:20 +0000)]
(bug 25832) query=allimages now outputs ns/title as well

13 years ago* (bug 15905) Nostalgia skin could become more usable by including a Talk:link at...
Sam Reed [Thu, 10 Feb 2011 14:00:51 +0000 (14:00 +0000)]
* (bug 15905) Nostalgia skin could become more usable by including a Talk:link at the top of the page

Shows next to Edit this page "Discuss this page"

13 years agoRELEASE-NOTES for r81868
Sam Reed [Thu, 10 Feb 2011 12:48:43 +0000 (12:48 +0000)]
RELEASE-NOTES for r81868

13 years agoFix for r80992. Remove posix extension requisite. Made to work in non-Unix systems.
Platonides [Thu, 10 Feb 2011 10:48:02 +0000 (10:48 +0000)]
Fix for r80992. Remove posix extension requisite. Made to work in non-Unix systems.
Replaced fseek+fwrite with ftruncate()

13 years agoTests for r81878
Niklas Laxström [Thu, 10 Feb 2011 10:10:44 +0000 (10:10 +0000)]
Tests for r81878

13 years agoFix the completely broken r81880
Platonides [Thu, 10 Feb 2011 10:03:38 +0000 (10:03 +0000)]
Fix the completely broken r81880

13 years agoAdd support of assertEmpty (used since r81596) for phpunit < 3.5.0
Platonides [Thu, 10 Feb 2011 09:51:31 +0000 (09:51 +0000)]
Add support of assertEmpty (used since r81596) for phpunit < 3.5.0

13 years agoFixed two bugs in message parameter handling:
Niklas Laxström [Thu, 10 Feb 2011 09:10:47 +0000 (09:10 +0000)]
Fixed two bugs in message parameter handling:
* missing check for is_array caused $foo["raw"] to return true when $foo is string: bug 27298
* Some parameters could be replaced twice or more: r80764

13 years ago*(bug 27159) make email confirmation code expiration time configurable
Sam Reed [Thu, 10 Feb 2011 02:32:34 +0000 (02:32 +0000)]
*(bug 27159) make email confirmation code expiration time configurable

Added "$wgUserEmailConfirmationTokenExpiry"

13 years agoExplicitally define $fld_rights on all code paths
Sam Reed [Wed, 9 Feb 2011 22:42:26 +0000 (22:42 +0000)]
Explicitally define $fld_rights on all code paths

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Wed, 9 Feb 2011 21:04:24 +0000 (21:04 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-02-09 20:45:00 UTC)

13 years agoRebuild raw sql
Sam Reed [Wed, 9 Feb 2011 20:09:22 +0000 (20:09 +0000)]
Rebuild raw sql

Remove old method_exists

Add braces

13 years agoExplicitally define $i = 0;
Sam Reed [Wed, 9 Feb 2011 19:54:23 +0000 (19:54 +0000)]
Explicitally define $i = 0;

13 years agoFixup fixme on r81030, which should actually have been a fixme on r81657
Sam Reed [Wed, 9 Feb 2011 18:57:25 +0000 (18:57 +0000)]
Fixup fixme on r81030, which should actually have been a fixme on r81657

13 years agoFollow up to r81829. Poison var_dump, so that debug statements like r81671 can be...
Platonides [Wed, 9 Feb 2011 17:36:25 +0000 (17:36 +0000)]
Follow up to r81829. Poison var_dump, so that debug statements like r81671 can be easily detected.
The three 'right' usages are
* includes/Import.php
* includes/api/ApiFormatDump.php
* tests/parser/parserTestsParserHook.php

13 years agoDon't use ob_start/ob_get_contents/ob_end_clean just to var_dump() a string. Cleaning...
Platonides [Wed, 9 Feb 2011 17:21:39 +0000 (17:21 +0000)]
Don't use ob_start/ob_get_contents/ob_end_clean just to var_dump() a string. Cleaning var_dump() usage.

13 years agoFollow-up r81604: Prefix new classes with 'mw-' per [[Manual:Coding conventions]]
Raimond Spekking [Wed, 9 Feb 2011 17:06:41 +0000 (17:06 +0000)]
Follow-up r81604: Prefix new classes with 'mw-' per [[Manual:Coding conventions]]

13 years agoFix for r81675: Skin::getTitle() will return null when $wgTitle is null and $wgOut...
Alexandre Emsenhuber [Wed, 9 Feb 2011 17:05:52 +0000 (17:05 +0000)]
Fix for r81675: Skin::getTitle() will return null when $wgTitle is null and $wgOut->setTitle() not called, resulting in the following when passing a non-null parameter to User::getSkin():
Catchable fatal error: Argument 1 passed to Title::equals() must be an instance of Title, null given, called in includes/User.php on line 2255 and defined in includes/Title.php on line 3689

13 years ago1 to true in boolean parameter
Platonides [Wed, 9 Feb 2011 17:05:25 +0000 (17:05 +0000)]
1 to true in boolean parameter

13 years ago* Add a amtitle param to meta=allmessages
Alexandre Emsenhuber [Wed, 9 Feb 2011 15:19:45 +0000 (15:19 +0000)]
* Add a amtitle param to meta=allmessages

Only used used when amenableparser is passed; the user can now define the page used for {{PAGENAME}} and related stuff instead of being hardcoded to "API"

13 years agoFollowup r81812: per CR, this could be 0
Chad Horohoe [Wed, 9 Feb 2011 14:59:44 +0000 (14:59 +0000)]
Followup r81812: per CR, this could be 0

13 years agopreg_match() yells about undefined offsets when $wgInvalidUsernameCharacters is empty...
Chad Horohoe [Wed, 9 Feb 2011 13:42:02 +0000 (13:42 +0000)]
preg_match() yells about undefined offsets when $wgInvalidUsernameCharacters is empty. Noticed by wolog on IRC

13 years agorm unused class variable
Chad Horohoe [Wed, 9 Feb 2011 06:00:52 +0000 (06:00 +0000)]
rm unused class variable

13 years ago* bug 27263: importDump.php now finally has --help text, also shown when stdin is...
Brion Vibber [Tue, 8 Feb 2011 23:45:16 +0000 (23:45 +0000)]
* bug 27263: importDump.php now finally has --help text, also shown when stdin is a tty and no file given

13 years agoMore return type documentation
Sam Reed [Tue, 8 Feb 2011 23:18:13 +0000 (23:18 +0000)]
More return type documentation

13 years agoMinor documentation tweaks/improvements
Sam Reed [Tue, 8 Feb 2011 23:09:22 +0000 (23:09 +0000)]
Minor documentation tweaks/improvements

13 years agoRemove unused $wgContLang globals after refactoring at r81456 and r81456
Platonides [Tue, 8 Feb 2011 22:40:07 +0000 (22:40 +0000)]
Remove unused $wgContLang globals after refactoring at r81456 and r81456

13 years agoFollow up r81562
Platonides [Tue, 8 Feb 2011 22:33:57 +0000 (22:33 +0000)]
Follow up r81562

13 years agoUnused globals
Platonides [Tue, 8 Feb 2011 22:10:34 +0000 (22:10 +0000)]
Unused globals

13 years agoUse of undefined constant h in line 250. Follow up to r81558
Platonides [Tue, 8 Feb 2011 22:08:58 +0000 (22:08 +0000)]
Use of undefined constant h in line 250. Follow up to r81558

13 years ago$IP marked as global again in line 1208, function includeExtensions
Platonides [Tue, 8 Feb 2011 22:03:01 +0000 (22:03 +0000)]
$IP marked as global again in line 1208, function includeExtensions
Unused global $wgHooks in function includeExtensions line 1208

13 years agoAdd missing wfProfileOut( __METHOD__ );
Sam Reed [Tue, 8 Feb 2011 22:01:34 +0000 (22:01 +0000)]
Add missing wfProfileOut( __METHOD__ );

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Tue, 8 Feb 2011 21:22:11 +0000 (21:22 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-02-08 20:05:00 UTC)

13 years agoHack to shortcut it to zero until User::getStubThreshold() produces a call to optionU...
Platonides [Tue, 8 Feb 2011 17:58:53 +0000 (17:58 +0000)]
Hack to shortcut it to zero until User::getStubThreshold() produces a call to optionUsed()

13 years agoRevert r81738. Extensions calling clearState() with no mOptions fixed.
Platonides [Tue, 8 Feb 2011 16:32:30 +0000 (16:32 +0000)]
Revert r81738. Extensions calling clearState() with no mOptions fixed.

13 years agoFollowup to r81657, you do need a space between the table name and the alias
OverlordQ [Tue, 8 Feb 2011 15:34:28 +0000 (15:34 +0000)]
Followup to r81657, you do need a space between the table name and the alias

13 years agoWe have OutputPage::showPermissionsErrorPage() for that
Alexandre Emsenhuber [Tue, 8 Feb 2011 15:19:49 +0000 (15:19 +0000)]
We have OutputPage::showPermissionsErrorPage() for that

13 years agoTweak for r79018: fatal errors due to something calling parser clearState when mOptio...
Brion Vibber [Tue, 8 Feb 2011 13:31:30 +0000 (13:31 +0000)]
Tweak for r79018: fatal errors due to something calling parser clearState when mOptions wasn't defined

13 years agoRemove $wgServer prepending from remote JS/CSS paths. It's not needed and breaks...
Roan Kattouw [Tue, 8 Feb 2011 12:34:08 +0000 (12:34 +0000)]
Remove $wgServer prepending from remote JS/CSS paths. It's not needed and breaks other-domain $wgStylePath / $wgExtensionAssetsPath settings

13 years agoMake SVGMetadataExtractor less noisy when it reads SVGs from Adobe Illustrator.
Tim Starling [Tue, 8 Feb 2011 12:25:39 +0000 (12:25 +0000)]
Make SVGMetadataExtractor less noisy when it reads SVGs from Adobe Illustrator.

13 years agoMerge r81725 from 1.17wmf1: add parent constructor call so $IP is set properly
Roan Kattouw [Tue, 8 Feb 2011 12:19:59 +0000 (12:19 +0000)]
Merge r81725 from 1.17wmf1: add parent constructor call so $IP is set properly

13 years agoFix double commas from r81721. This time I actually ran it through php -l before...
Roan Kattouw [Tue, 8 Feb 2011 12:14:35 +0000 (12:14 +0000)]
Fix double commas from r81721. This time I actually ran it through php -l before committing *shame*