lhc/web/wiklou.git
13 years agoAdd placeholder for "bh" code. Falls back to "bho" per r87676.
Siebrand Mazeland [Sun, 8 May 2011 07:39:13 +0000 (07:39 +0000)]
Add placeholder for "bh" code. Falls back to "bho" per r87676.

13 years agoChange language code from "bh" which is the code for the Bihari macro language to...
Siebrand Mazeland [Sun, 8 May 2011 07:37:07 +0000 (07:37 +0000)]
Change language code from "bh" which is the code for the Bihari macro language to "bho", the correct code for Bhojpuri.

13 years agoChange $text to $html. This has been bothering me for awhile. It's stupid, counterint...
Daniel Friesen [Sun, 8 May 2011 00:10:31 +0000 (00:10 +0000)]
Change $text to $html. This has been bothering me for awhile. It's stupid, counterintuitive, we call it text making people think of it as text then note (oh, this isn't text, it's html, you'd better escape it yourself or you'll screw yourself over with an XSS vector).

13 years ago* (bug 24711) MV_EditPageAjax.php uses deprecated LogReader and LogViewer
Sam Reed [Sat, 7 May 2011 23:46:16 +0000 (23:46 +0000)]
* (bug 24711) MV_EditPageAjax.php uses deprecated LogReader and LogViewer

Not fixing usage, just SVN copy'd it from trunk into MetavidWiki extension as it's the only place still using it

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Sat, 7 May 2011 21:26:26 +0000 (21:26 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-07 20:56:00 UTC)

13 years agoFollow-up r87651: PLURAL is needed for other languages with more than 1 plural forms
Raimond Spekking [Sat, 7 May 2011 19:42:47 +0000 (19:42 +0000)]
Follow-up r87651: PLURAL is needed for other languages with more than 1 plural forms

13 years ago(follow-up r87651) whoops, forgot release notes.
Brian Wolff [Sat, 7 May 2011 19:37:52 +0000 (19:37 +0000)]
(follow-up r87651) whoops, forgot release notes.

13 years ago(bug 28868) Include the number of pages in the default getLongDesc for multipaged...
Brian Wolff [Sat, 7 May 2011 19:34:14 +0000 (19:34 +0000)]
(bug 28868) Include the number of pages in the default getLongDesc for multipaged documents

This will only include the number of pages if there is at least two pages.
If you have a pdf with a single page, it won't say 1 page. I modeled this
on how animated images will only say x frames if x > 1.

(For reference, this will affect extensions like pdfHandler, but it won't
affect extensions like PagedTiffHandler since that one totally overrides
the default method)

13 years agoFollowup r87578:
Niklas Laxström [Sat, 7 May 2011 17:04:00 +0000 (17:04 +0000)]
Followup r87578:

PHP Notice:  Use of Linker::makeLinkObj is deprecated. [Called from call_user_func_array in (internal function)] for /w/i.php?title=Special:RecentChanges&translations=filter<ul>
<li>- line - calls Linker::makeLinkObj()</li>
<li>Skin.php line 1552 calls call_user_func_array()</li>
<li>- line - calls Skin::__call()</li>
<li>Renameuser.php line 58 calls SkinVector::makeLinkObj()</li>
<li>- line - calls wfRenameUserLogActionText()</li>

13 years agoSigh, syntax terror in r87640
Niklas Laxström [Sat, 7 May 2011 16:50:36 +0000 (16:50 +0000)]
Sigh, syntax terror in r87640

13 years agoFollow-up r87637: the terrors of copy-and-paste.
Happy-melon [Sat, 7 May 2011 15:37:23 +0000 (15:37 +0000)]
Follow-up r87637: the terrors of copy-and-paste.

13 years agoAutoloader entries for r86041.
Happy-melon [Sat, 7 May 2011 15:30:46 +0000 (15:30 +0000)]
Autoloader entries for r86041.

13 years agoFix E_STRICT reported on r86273 CR.
Happy-melon [Sat, 7 May 2011 15:28:55 +0000 (15:28 +0000)]
Fix E_STRICT reported on r86273 CR.

13 years agoLocalisation updates for namespace names from http://translatewiki.net.
Siebrand Mazeland [Sat, 7 May 2011 15:27:28 +0000 (15:27 +0000)]
Localisation updates for namespace names from translatewiki.net.

13 years agoMove minimum database versions to Defines.php
Happy-melon [Sat, 7 May 2011 15:25:27 +0000 (15:25 +0000)]
Move minimum database versions to Defines.php

13 years agoCentralise the minimum-required-php-version in a MW_MIN_PHP_VERSION constant in Defin...
Happy-melon [Sat, 7 May 2011 15:16:01 +0000 (15:16 +0000)]
Centralise the minimum-required-php-version in a MW_MIN_PHP_VERSION constant in Defines.php.  This requires loading Defines.php before the PHP4 version checks, so include a big note reminding people not to include anything other than vanilla define() statements in there.

I have a sneaking suspicion that including Defines.php in the entry points might not play nicely with HipHop, but I can't test it (wrong OS).

13 years agoLocalisation updates for magic words from http://translatewiki.net.
Siebrand Mazeland [Sat, 7 May 2011 14:57:19 +0000 (14:57 +0000)]
Localisation updates for magic words from translatewiki.net.

13 years ago* Implement MW_VERSION constant in Defines.php and use it in preference to $wgVersion...
Happy-melon [Sat, 7 May 2011 14:53:08 +0000 (14:53 +0000)]
* Implement MW_VERSION constant in Defines.php and use it in preference to $wgVersion.  Defines.php will have been loaded anywhere that DefaultSettings.php has been loaded.
* Move the declaration of $wgFeedClasses from Defines.php to WebStart.php

13 years agoRevert r87542 and rename RELEASE-NOTES to keep them both in trunk and branch
Platonides [Sat, 7 May 2011 14:45:48 +0000 (14:45 +0000)]
Revert r87542 and rename RELEASE-NOTES to keep them both in trunk and branch
per http://thread.gmane.org/gmane.science.linguistics.wikipedia.technical/53208

13 years agoLocalisation updates for special page aliases from http://translatewiki.net.
Siebrand Mazeland [Sat, 7 May 2011 14:19:48 +0000 (14:19 +0000)]
Localisation updates for special page aliases from translatewiki.net.

This changeset contains both resorted arrays as well as updates. Unfortunately the resorting makes the diffs unreadable :(.

13 years agoFollowup r87261
Sam Reed [Sat, 7 May 2011 14:02:22 +0000 (14:02 +0000)]
Followup r87261

Somewhat vague spec is somehwat vague

13 years agoFollow-up r85918:
Happy-melon [Sat, 7 May 2011 14:01:49 +0000 (14:01 +0000)]
Follow-up r85918:
* Clean up the ugly adding-then-removing-then-readding HTML <head> and <body> tags in DBConnectionError, deprecates MWException::htmlBodyOnly()
* Also deprecates MWException::htmlHeader(), removes code duplication since MWException::reportHTML() can safely call wfDie() and get an output format appropriate for the entry point
* Copy a couple of HTML headers (Cache-control, Pragma and Content-type) to the wfDie() implementation.

13 years ago(bug 28834) Restore nl2br() wrappers removed in r85918.
Happy-melon [Sat, 7 May 2011 13:24:47 +0000 (13:24 +0000)]
(bug 28834) Restore nl2br() wrappers removed in r85918.

13 years ago(bug 28797) Fix ApiBase::parseMsg() to properly handle nested error arrays.
Happy-melon [Sat, 7 May 2011 13:05:22 +0000 (13:05 +0000)]
(bug 28797) Fix ApiBase::parseMsg() to properly handle nested error arrays.

13 years ago(bug 28667) "old title gets two review log entries after move". Fixed this by firing...
Aaron Schulz [Sat, 7 May 2011 10:24:38 +0000 (10:24 +0000)]
(bug 28667) "old title gets two review log entries after move". Fixed this by firing the revisionfromedit hook on the new title, which makes a bit more sense.

13 years agoNotice: Use of undefined constant GAID_FOR_UPDATE - assumed 'GAID_FOR_UPDATE' in...
Aaron Schulz [Sat, 7 May 2011 09:55:18 +0000 (09:55 +0000)]
Notice: Use of undefined constant GAID_FOR_UPDATE - assumed 'GAID_FOR_UPDATE' in D:\www\MW_trunk\phase3\includes\Title.php on line 3085

13 years agoList all removed globals in my recent commits in RELEASE-NOTES
Sam Reed [Fri, 6 May 2011 23:39:04 +0000 (23:39 +0000)]
List all removed globals in my recent commits in RELEASE-NOTES

13 years agoRemove another unused deprecated function
Sam Reed [Fri, 6 May 2011 23:31:59 +0000 (23:31 +0000)]
Remove another unused deprecated function

Update 1 inbound caller

13 years agoKill $wgExtraRandompageSQL
Sam Reed [Fri, 6 May 2011 23:25:57 +0000 (23:25 +0000)]
Kill $wgExtraRandompageSQL

Rewrote extension using them to subclass SpecialRandompage

13 years agoKill $wgAllowUserSkin
Sam Reed [Fri, 6 May 2011 23:18:11 +0000 (23:18 +0000)]
Kill $wgAllowUserSkin

13 years agoHTMLCacheUpdate->invalidate() deprecated since 1.16, unused
Sam Reed [Fri, 6 May 2011 23:15:01 +0000 (23:15 +0000)]
HTMLCacheUpdate->invalidate() deprecated since 1.16, unused

13 years agoXml::hidden() --> Html::hidden()
Sam Reed [Fri, 6 May 2011 23:13:09 +0000 (23:13 +0000)]
Xml::hidden() --> Html::hidden()

Xml::hidden() killed

13 years agoRemove addExtraSQL
Sam Reed [Fri, 6 May 2011 23:07:20 +0000 (23:07 +0000)]
Remove addExtraSQL

13 years agoDocumentation
Sam Reed [Fri, 6 May 2011 22:53:59 +0000 (22:53 +0000)]
Documentation

Remove some deprecated in 1.16 functions with no callers

13 years agoFix fail attempt at passing string by reference in r87589
Sam Reed [Fri, 6 May 2011 22:17:48 +0000 (22:17 +0000)]
Fix fail attempt at passing string by reference in r87589

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Fri, 6 May 2011 22:11:48 +0000 (22:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-06 22:02:00 UTC)

13 years agoKill off the long deprecated $wgInputEncoding and $wgOutputEncoding globals
Sam Reed [Fri, 6 May 2011 22:09:47 +0000 (22:09 +0000)]
Kill off the long deprecated $wgInputEncoding and $wgOutputEncoding globals

13 years agoKill $wgRateLimitsExcludedGroups which was deprecated in 1.13
Sam Reed [Fri, 6 May 2011 21:57:55 +0000 (21:57 +0000)]
Kill $wgRateLimitsExcludedGroups which was deprecated in 1.13

13 years agomw.util.isMainPage(); Was never released, removing before release since it's deprecat...
Krinkle [Fri, 6 May 2011 21:55:25 +0000 (21:55 +0000)]
mw.util.isMainPage(); Was never released, removing before release since it's deprecated: Use wgIsMainPage in mw.config instead.

13 years agoMore versions added to @deprecated tags
Sam Reed [Fri, 6 May 2011 21:50:18 +0000 (21:50 +0000)]
More versions added to @deprecated tags

Couple of inbound calls fixed up

Some ancient code removed as it's been marked deprecated

13 years agoLocalization update for he.
Rotem Liss [Fri, 6 May 2011 21:26:29 +0000 (21:26 +0000)]
Localization update for he.

13 years agoKill some more long deprecated unused functions
Sam Reed [Fri, 6 May 2011 21:09:34 +0000 (21:09 +0000)]
Kill some more long deprecated unused functions

Add more @deprecated since where appropriate

13 years agoRemove some stuff marked as deprecated <= 1.16 unused
Sam Reed [Fri, 6 May 2011 20:59:58 +0000 (20:59 +0000)]
Remove some stuff marked as deprecated <= 1.16 unused

Stuff still used left for the moment

Added some since to @deprecated

Added wfDeprecated( __METHOD__ ); in one case

13 years agoCouple more deprecated things removed
Sam Reed [Fri, 6 May 2011 20:50:16 +0000 (20:50 +0000)]
Couple more deprecated things removed

13 years agoMore __ for r87572
Sam Reed [Fri, 6 May 2011 20:46:13 +0000 (20:46 +0000)]
More __ for r87572

13 years agoAdd wfDeprecated( __METHOD ); to one method marked for 1.19
Sam Reed [Fri, 6 May 2011 20:43:32 +0000 (20:43 +0000)]
Add wfDeprecated( __METHOD ); to one method marked for 1.19

13 years agoBye bye config directory
Sam Reed [Fri, 6 May 2011 20:36:58 +0000 (20:36 +0000)]
Bye bye config directory

13 years agoRemove install-utils.inc marked for 1.19 removal
Sam Reed [Fri, 6 May 2011 20:35:52 +0000 (20:35 +0000)]
Remove install-utils.inc marked for 1.19 removal

13 years agoRemoved more functions marked for removal in 1.19: wfParseCIDR(), wfRFC822Phrase...
Alexandre Emsenhuber [Fri, 6 May 2011 18:22:37 +0000 (18:22 +0000)]
Removed more functions marked for removal in 1.19: wfParseCIDR(), wfRFC822Phrase() and userMailer().

13 years agoRemoved LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText...
Alexandre Emsenhuber [Fri, 6 May 2011 18:17:52 +0000 (18:17 +0000)]
Removed LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText hooks. They are deprecated since 1.6 or so.

13 years agoRemove functions marked for removal in 1.19
Alexandre Emsenhuber [Fri, 6 May 2011 18:10:53 +0000 (18:10 +0000)]
Remove functions marked for removal in 1.19

13 years ago(bug 10154) Don't allow user to specify days beyond $wgRCMaxAge
Chad Horohoe [Fri, 6 May 2011 15:45:13 +0000 (15:45 +0000)]
(bug 10154) Don't allow user to specify days beyond $wgRCMaxAge

13 years agoFix for r80864, host not server. Like r87498
Chad Horohoe [Fri, 6 May 2011 14:57:05 +0000 (14:57 +0000)]
Fix for r80864, host not server. Like r87498

13 years agoFix 2 more 1.18's from RELEASE-NOTES in r87542
Sam Reed [Fri, 6 May 2011 14:52:12 +0000 (14:52 +0000)]
Fix 2 more 1.18's from RELEASE-NOTES in r87542

13 years agoFollowup r87541
Sam Reed [Fri, 6 May 2011 14:48:00 +0000 (14:48 +0000)]
Followup r87541

Move RELEASE-NOTES to HISTORY

13 years agoBump trunk version since we've branched
Chad Horohoe [Fri, 6 May 2011 14:45:25 +0000 (14:45 +0000)]
Bump trunk version since we've branched

13 years ago5.2.3, like we do everywhere else
Chad Horohoe [Thu, 5 May 2011 22:27:54 +0000 (22:27 +0000)]
5.2.3, like we do everywhere else

13 years agoFix for r87278: if we're installing with the same user we're going to use, skip creat...
Chad Horohoe [Thu, 5 May 2011 21:28:26 +0000 (21:28 +0000)]
Fix for r87278: if we're installing with the same user we're going to use, skip creation && grants since there's no point.

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

13 years agoFollowup r87487: drop unused message
Chad Horohoe [Thu, 5 May 2011 18:55:10 +0000 (18:55 +0000)]
Followup r87487: drop unused message

13 years agoMoved wfTimestampNow() near other wfTimestamp() functions
Alexandre Emsenhuber [Thu, 5 May 2011 17:42:14 +0000 (17:42 +0000)]
Moved wfTimestampNow() near other wfTimestamp() functions

13 years agoFixes ForeignDBRepo SQL server connection. Fixes bug #28836.
Merlijn S. van Deen [Thu, 5 May 2011 15:04:19 +0000 (15:04 +0000)]
Fixes ForeignDBRepo SQL server connection. Fixes bug #28836.

13 years agoPer bug 28738 comment 4, pack ResourceLoader URLs by encoding foo.bar|foo.baz|bar...
Roan Kattouw [Thu, 5 May 2011 13:46:47 +0000 (13:46 +0000)]
Per bug 28738 comment 4, pack ResourceLoader URLs by encoding foo.bar|foo.baz|bar.baz|bar.quux as foo.bar,baz|bar.baz,quux

* Expand these URLs in ResourceLoaderContext
* Build and emit these URLs in OutputPage::makeResourceLoaderLink() and in mw.loader
* Throw an exception in ResourceLoader::register() for module names that contain pipe characters or commas. Commas need to be forbidden for this packing feature to work. Pipes were already forbidden but weren't checked for

13 years agoFor bug 28738, have the installer check for the Suhosin GET variable length limit...
Roan Kattouw [Thu, 5 May 2011 11:52:23 +0000 (11:52 +0000)]
For bug 28738, have the installer check for the Suhosin GET variable length limit and set $wgResourceLoaderMaxQueryLength correspondingly in LocalSettings.php . Of course this only works for new installs, no idea if this can be handled cleanly for upgrades

13 years agoUPGRADE updates:
Tim Starling [Thu, 5 May 2011 10:37:20 +0000 (10:37 +0000)]
UPGRADE updates:
* $wgDBadminuser is no longer required
* $wgUpgradeKey is no longer required
* The installer has moved to /mw-config
* You can't change the encoding any more so that's not a concern
* Moved the 1.16 info to its own section
* Cleaned up heading consistency and levels so that it looks nice in the table of contents in the new installer
* Removed duplicate backup section

13 years agoFix PHP notice in r85922. Sorry for the holdup, I kinda forgot about it
Leo Koppelkamm [Thu, 5 May 2011 09:12:55 +0000 (09:12 +0000)]
Fix PHP notice in r85922. Sorry for the holdup, I kinda forgot about it

13 years agoBug 28822 - Upgrade from normal 1.16 wiki to 1.17 fails with fatal error
Max Semenik [Thu, 5 May 2011 08:20:15 +0000 (08:20 +0000)]
Bug 28822 - Upgrade from normal 1.16 wiki to 1.17 fails with fatal error

13 years agoKill $wgSkinExtensionFunctions. Way back in r4934 when it was introduced, it was...
Chad Horohoe [Thu, 5 May 2011 06:29:33 +0000 (06:29 +0000)]
Kill $wgSkinExtensionFunctions. Way back in r4934 when it was introduced, it was near the beginning of Setup.php, and $wgExtensionFunctions was near the end. Thus, they served two different purposes for doing extension setup. Refactoring over time has brought these processes side-by-side and thus the unused (and less-featured) one is getting the axe.

-1 more awful global \o/

13 years ago* Fix for bug 28534: IE 6 content type detection again
Tim Starling [Thu, 5 May 2011 05:29:50 +0000 (05:29 +0000)]
* Fix for bug 28534: IE 6 content type detection again
* Fix for bug 28639: user object instance cache pollution
* Release notes formatting tweak.

13 years ago(bug 28641) Doc fix for wfEmptyMsg()
Chad Horohoe [Thu, 5 May 2011 05:26:27 +0000 (05:26 +0000)]
(bug 28641) Doc fix for wfEmptyMsg()

13 years ago(bug 23495) Allow createAndPromote.php to create non-sysop users
Chad Horohoe [Thu, 5 May 2011 05:11:50 +0000 (05:11 +0000)]
(bug 23495) Allow createAndPromote.php to create non-sysop users

13 years agoAdded jquery.appear, which adds a new event which fires the first time something...
Trevor Parscal [Wed, 4 May 2011 23:26:43 +0000 (23:26 +0000)]
Added jquery.appear, which adds a new event which fires the first time something comes into view. This is useful for lazy-loading data.

13 years agoLikely that nobody is calling getPath() on a ForeignAPI repo, but best to warn them...
Russ Nelson [Wed, 4 May 2011 23:17:00 +0000 (23:17 +0000)]
Likely that nobody is calling getPath() on a ForeignAPI repo, but best to warn them anyway.

13 years agoVarious fixes for CleanUpTest
Chad Horohoe [Wed, 4 May 2011 23:09:18 +0000 (23:09 +0000)]
Various fixes for CleanUpTest

13 years agoMove CleanUpTest, fixes in next commit
Chad Horohoe [Wed, 4 May 2011 23:05:25 +0000 (23:05 +0000)]
Move CleanUpTest, fixes in next commit

13 years agoThis part of the API seems universally ignored. If anybody needs this, they're going...
Russ Nelson [Wed, 4 May 2011 22:26:48 +0000 (22:26 +0000)]
This part of the API seems universally ignored. If anybody needs this, they're going to have to modify every caller anyway, so it serves no purpose by existing. There, now my commit message is longer than the code being changed. My work here is done.

13 years agoRevert r81542 for now, too lazy to fix this properly
Chad Horohoe [Wed, 4 May 2011 22:08:40 +0000 (22:08 +0000)]
Revert r81542 for now, too lazy to fix this properly

13 years agoDocumentation
Sam Reed [Wed, 4 May 2011 21:23:25 +0000 (21:23 +0000)]
Documentation

Remove unused variables

13 years agomw.loader fixes
Krinkle [Wed, 4 May 2011 20:58:14 +0000 (20:58 +0000)]
mw.loader fixes
* Renaming locally declared function "request" to "getScriptTag" to avoid confusion or conflict with the other local "request" function inside the mw.loader closure
* (bug 26804) Code clean up ($skin was generated locally already)

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Wed, 4 May 2011 20:09:49 +0000 (20:09 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-04 19:40:00 UTC)

13 years agoNo current need for an alias to getPath()
Russ Nelson [Wed, 4 May 2011 18:34:50 +0000 (18:34 +0000)]
No current need for an alias to getPath()

13 years ago* (bug 28812) API's parse module documentation should no longer include section tree...
Sam Reed [Wed, 4 May 2011 18:14:30 +0000 (18:14 +0000)]
* (bug 28812) API's parse module documentation should no longer include section tree warning

Remove wrong comment

13 years agoPartial revert of r87345. Causing unreadable buttons in ArticleFeedback (http://i...
Krinkle [Wed, 4 May 2011 17:23:17 +0000 (17:23 +0000)]
Partial revert of r87345. Causing unreadable buttons in ArticleFeedback (i.imgur.com/PyxOw.png ), likely breaks other things as well.

13 years agoFollow-up r87411: Remove stray f
Raimond Spekking [Wed, 4 May 2011 17:23:14 +0000 (17:23 +0000)]
Follow-up r87411: Remove stray f

13 years agoFollow-up r87394: Add reference back to MediaWiki::performRequestForTitle per IAlex...
Paul Copperman [Wed, 4 May 2011 17:17:27 +0000 (17:17 +0000)]
Follow-up r87394: Add reference back to MediaWiki::performRequestForTitle per IAlex' comment.

13 years agoTag names can't contain template parameters (thanksfully)
Platonides [Wed, 4 May 2011 14:40:25 +0000 (14:40 +0000)]
Tag names can't contain template parameters (thanksfully)

13 years agoFollow-up r87326: Add regression test.
Paul Copperman [Wed, 4 May 2011 11:51:38 +0000 (11:51 +0000)]
Follow-up r87326: Add regression test.

13 years agoRemove references from function parameters in Wiki.php. They aren't needed for object...
Paul Copperman [Wed, 4 May 2011 11:50:34 +0000 (11:50 +0000)]
Remove references from function parameters in Wiki.php. They aren't needed for objects and sometimes cause warnings when called with non-vars.

13 years agoFollow-up r87266: Fix parser test
Paul Copperman [Wed, 4 May 2011 11:48:47 +0000 (11:48 +0000)]
Follow-up r87266: Fix parser test

13 years agoFollow-up r87210: Add MediaWikiLangTestCase to the autoloader and make the class...
Paul Copperman [Wed, 4 May 2011 11:46:28 +0000 (11:46 +0000)]
Follow-up r87210: Add MediaWikiLangTestCase to the autoloader and make the class abstract.

13 years agoDrop the $out params I added before I added context to Skin, as well deprecate some...
Daniel Friesen [Wed, 4 May 2011 10:43:40 +0000 (10:43 +0000)]
Drop the $out params I added before I added context to Skin, as well deprecate some of the $out params in other methods.

13 years ago* fixed tableName handling for internal purposes (bug if using sharedDB as i need...
Jure Kajzer [Wed, 4 May 2011 10:43:34 +0000 (10:43 +0000)]
* fixed tableName handling for internal purposes (bug if using sharedDB as i need raw table name)

13 years agoSome release notes updates:
Tim Starling [Wed, 4 May 2011 02:09:16 +0000 (02:09 +0000)]
Some release notes updates:
* Removed the obsolete part about continuous integration models. I already removed it in the 1.16 branch and will shortly remove it from the 1.17 branch.
* Updated the information about supported databases.
* Removed the part about XHTML support since we target HTML 5 now.
* Say what mediawiki-l is instead of saying what it isn't.

13 years agoAdd proper $out setting to Skin::getCategories which is present in the other similar...
Daniel Friesen [Wed, 4 May 2011 01:53:05 +0000 (01:53 +0000)]
Add proper $out setting to Skin::getCategories which is present in the other similar methods. Replaces r87380.

13 years agoAdd hack to shut up fatals when getCategories() is called without an actual OutputPage
Chad Horohoe [Wed, 4 May 2011 01:43:03 +0000 (01:43 +0000)]
Add hack to shut up fatals when getCategories() is called without an actual OutputPage

13 years agoFollow up r87210
Platonides [Tue, 3 May 2011 22:37:14 +0000 (22:37 +0000)]
Follow up r87210

13 years agoRemove unused global
Platonides [Tue, 3 May 2011 22:15:57 +0000 (22:15 +0000)]
Remove unused global

13 years agoUse canonical case
Platonides [Tue, 3 May 2011 22:14:52 +0000 (22:14 +0000)]
Use canonical case

13 years agomw.util.test fixes
Krinkle [Tue, 3 May 2011 21:57:33 +0000 (21:57 +0000)]
mw.util.test fixes
* Remove hiding of rows after the test, in almost all cases someone will want to unhide these, especially in case of an error; Plus, there were some inconsistencies in firefox with the hovering of the last (non-collapsible) row.
* Changing mw.util.addCSS to a style that is actually visible on the action=mwutiltest page.
* Making the entire row red in case of errors (easier finding of the error)
* Moving $.isDomElement tests to mw.util.test instead of in comments
* Adding missing tests for all mw.util properties
* Fix bug where $.isDomElement fails if the passed argument isn't an object at all (eg. null or undefined). Check variable first before checking object property (<code>$.isDomElement( document.getElementById('notexist') );</code> returned TypeError: Result of expression 'el' [null] is not an object.)
** Adding test for this
* Try/Catch the evaluation
** Reports catched exceptions through mw.log instead of using throw. This way non-consoled browsers can be easily debugged through mw.log's console.
** Fixes: (bug 28803) mw.util.test doesn't handle exceptions
* Using a canonical variable instead of a localized one in the tests.
** Fixes: (bug 28788) 2 tests related to wgTitle in mediawiki.util.test are broken for non-English wikis.

13 years agor87345: Restore black link color
Leo Koppelkamm [Tue, 3 May 2011 21:26:30 +0000 (21:26 +0000)]
r87345: Restore black link color