Alexandre Emsenhuber [Sun, 10 Oct 2010 08:35:07 +0000 (08:35 +0000)]
Use full path to Maintenance.php
Max Semenik [Sat, 9 Oct 2010 20:40:07 +0000 (20:40 +0000)]
require_once to please CruiseControl, formatting
Raimond Spekking [Sat, 9 Oct 2010 19:32:58 +0000 (19:32 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-09 19:18:00 UTC)
Max Semenik [Sat, 9 Oct 2010 19:19:54 +0000 (19:19 +0000)]
Follow-up r74558: remove var_dump()
Max Semenik [Sat, 9 Oct 2010 19:17:20 +0000 (19:17 +0000)]
Restored the ability to run extension tests from the main runner
Max Semenik [Sat, 9 Oct 2010 19:12:35 +0000 (19:12 +0000)]
* Updated run-tests.bat to take recent changes into account
* Fixed $wgHooks being reset during tests - thanks, Platonides
Max Semenik [Sat, 9 Oct 2010 19:00:44 +0000 (19:00 +0000)]
Follow-up r74553, r74554 and r74555: don't guess, just include stuff properly
Platonides [Sat, 9 Oct 2010 18:40:05 +0000 (18:40 +0000)]
Follow r74554. Also take include path into account.
Platonides [Sat, 9 Oct 2010 18:32:13 +0000 (18:32 +0000)]
Look for PHPUnit folder in the PATH and add support for Windows.
Follow r74553
Platonides [Sat, 9 Oct 2010 18:15:37 +0000 (18:15 +0000)]
Readd after r72566 a phpunit.php so that globals are kept global.
Sam Reed [Sat, 9 Oct 2010 13:59:15 +0000 (13:59 +0000)]
Not sure why watch was marked as deprecated, but unwatch wasn't... Marking unwatch deprecated
Alexandre Emsenhuber [Sat, 9 Oct 2010 13:34:19 +0000 (13:34 +0000)]
Fixed comment; wfEncryptPassword() is deprecated
Alexandre Emsenhuber [Sat, 9 Oct 2010 12:30:20 +0000 (12:30 +0000)]
One more remplacement to __METHOD__
Alexandre Emsenhuber [Sat, 9 Oct 2010 12:15:23 +0000 (12:15 +0000)]
Use __METHOD__; name was false
Alexandre Emsenhuber [Sat, 9 Oct 2010 11:53:19 +0000 (11:53 +0000)]
And while I'm a it: This doesn't require DB access
Alexandre Emsenhuber [Sat, 9 Oct 2010 11:47:40 +0000 (11:47 +0000)]
* Added missing call to parent constructor
* Removed trailing whitespaces
Sam Reed [Sat, 9 Oct 2010 00:01:45 +0000 (00:01 +0000)]
Comment return types, some explicit class variable declaration
Platonides [Fri, 8 Oct 2010 22:51:03 +0000 (22:51 +0000)]
Change the FIXME to the other way.
The issue is, php strtolower() calls tolower(3), which is locale sensitive.
Eg. LC_ALL='pt_BR.ISO-8859-1' php -r'echo strtolower("ÉÁÇÚÍ");'
Adding a call to setlocale(LC_ALL,'C'); in Setup.php may be a good idea.
Platonides [Fri, 8 Oct 2010 22:20:57 +0000 (22:20 +0000)]
Add parsertest for r74526.
Note that if we hadn't the first escaping, we would have a security vulnerability.
So be careful if you break this parser test.
Raimond Spekking [Fri, 8 Oct 2010 21:40:52 +0000 (21:40 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-08 21:23:00 UTC)
Aryeh Gregor [Fri, 8 Oct 2010 18:52:23 +0000 (18:52 +0000)]
Fix double-escaping for section edit link tooltips
Bug 25462.
Trevor Parscal [Fri, 8 Oct 2010 18:42:20 +0000 (18:42 +0000)]
* Improved on r73971 by removing the $name parameter from MessageBlobStore::gerenateMessageBlob, since it was not being used.
* Fixed bug introduced in r73971 caused by using a module name rather than a module object in MessageBlobStore::updateModule
Purodha B Blissenbach [Fri, 8 Oct 2010 17:51:23 +0000 (17:51 +0000)]
More documentation.
Purodha B Blissenbach [Fri, 8 Oct 2010 14:34:56 +0000 (14:34 +0000)]
ConvertGrammar() added to LanguageKsh.php
Roan Kattouw [Fri, 8 Oct 2010 10:49:32 +0000 (10:49 +0000)]
Improve mediaWiki.parser() (which is a very strange name for a function that expands $1, $2, ... in i18n messages) to use .replace() with a callback, so it will handle edge cases like more than 9 parameters ($10 would be treated as $1 followed by a literal 0) or a parameter's value containing $n (which would then get substituted again). Code written by Neil Kandalgaonkar and trivially modified by me.
Roan Kattouw [Fri, 8 Oct 2010 10:25:23 +0000 (10:25 +0000)]
Fix r74454: convert $wgCacheEpoch to a UNIX timestamp before comparing it with other UNIX timestamps
Trevor Parscal [Thu, 7 Oct 2010 23:31:30 +0000 (23:31 +0000)]
* ResourceLoaderModule.php - added basePath argument to ResourceLoaderFileModule::__construct to help make module definitions be less repeditive.
* Vector.hooks.php, WikiEditor.hooks.php - implemented new basePath argument for ResourceLoaderFileModule::__construct
Roan Kattouw [Thu, 7 Oct 2010 19:46:06 +0000 (19:46 +0000)]
Remove $wgMemc->set() call left over from r73645
Roan Kattouw [Thu, 7 Oct 2010 19:35:05 +0000 (19:35 +0000)]
(bug 25201) Respect $wgCacheEpoch in the resource loader
* The mtime of each module is now maxed with $wgCacheEpoch before being used. I chose to make this the caller's responsibility rather than getModifiedTime()'s, otherwise custom modules can (and inevitably will) forget to respect $wgCacheEpoch
* Invalidate message blobs if they're older than $wgCacheEpoch
Raimond Spekking [Thu, 7 Oct 2010 19:25:06 +0000 (19:25 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-07 19:02:00 UTC)
Roan Kattouw [Thu, 7 Oct 2010 18:37:53 +0000 (18:37 +0000)]
Move $j=jQuery alias up to mediawiki.js from wikibits.js, so code running before wikibits.js can use $j
Aaron Schulz [Thu, 7 Oct 2010 18:12:27 +0000 (18:12 +0000)]
Removed single-purpose HTMLCacheUpdate::doUpdate hook, now unused
Roan Kattouw [Thu, 7 Oct 2010 18:12:06 +0000 (18:12 +0000)]
(bug 25276) Fix TOC show/hide toggle. Original fix in r70887 (resourceloader branch), JS change was lost when the mediawiki.legacy.*.js files were removed later and never got ported to wikibits.js
Roan Kattouw [Thu, 7 Oct 2010 17:56:43 +0000 (17:56 +0000)]
Remove obsolete TODO comment
Roan Kattouw [Thu, 7 Oct 2010 17:48:46 +0000 (17:48 +0000)]
Remove $wgUseDataURLs as promised by the comment in DefaultSettings.php . Data URL embedding is now always used.
Roan Kattouw [Thu, 7 Oct 2010 17:41:58 +0000 (17:41 +0000)]
Fix spelling in comment
Max Semenik [Thu, 7 Oct 2010 17:13:24 +0000 (17:13 +0000)]
Whitespace consistency
Max Semenik [Thu, 7 Oct 2010 16:20:20 +0000 (16:20 +0000)]
Revert r74273 per CR: this patch is not needed because our SQL conversion magic handles the MySQL version just fine, and I've tweaked it in r74428 to look nicer
Max Semenik [Thu, 7 Oct 2010 16:13:54 +0000 (16:13 +0000)]
Support conversion of floating-point MySQL types in DatabaseSqlite::sourceStream()
Trevor Parscal [Wed, 6 Oct 2010 21:37:51 +0000 (21:37 +0000)]
Created mediawiki.views.history and moved init functionality from mediawiki.legacy.history to it.
Sam Reed [Wed, 6 Oct 2010 21:18:55 +0000 (21:18 +0000)]
Explicit class variable definition
Parameter hints
Sam Reed [Wed, 6 Oct 2010 21:16:28 +0000 (21:16 +0000)]
Followup r71831, User::newFromName, not newFromText
Trevor Parscal [Wed, 6 Oct 2010 20:42:08 +0000 (20:42 +0000)]
* Moved search/IE7 specific CSS rule into search.css with a CSS hack, which is now part of mediawiki.legacy.search, reducing the number of requests for IE7 users by 1
* Added mediawiki.specials.search, which will eventually replace mediawiki.legacy.search
* Removed javascript injections in the body which were focusing the search box on load
* Added emulation for HTML5 autofocus attribute on the search page, this may be useful elsewhere and should be considered for use globally
Trevor Parscal [Wed, 6 Oct 2010 20:37:34 +0000 (20:37 +0000)]
Removed CSS file/rule which was added to fix a bug it never actually fixed. More investigation needs to be put into bug #19334
Raimond Spekking [Wed, 6 Oct 2010 19:31:45 +0000 (19:31 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-06 19:11:00 UTC)
Trevor Parscal [Wed, 6 Oct 2010 19:05:59 +0000 (19:05 +0000)]
Improved on r74282 and r74333 in response to CR comments.
Max Semenik [Wed, 6 Oct 2010 16:31:50 +0000 (16:31 +0000)]
New-installer: removed an ugly and unneeded warning, there's nothing special about adding full-text support
Platonides [Wed, 6 Oct 2010 16:29:18 +0000 (16:29 +0000)]
Fix (marking as incomplete) the test ApiWatchTest::testGetRollbackToken for
Failed asserting that an array has the key <string:pageid>
when there's no [[Main Page]] (eg. it was installed in a different language).
Sam Reed [Wed, 6 Oct 2010 16:00:54 +0000 (16:00 +0000)]
If Main page is missing for testGetRollbackToken, mark as imcomplete (bloody unit tests)
Chad Horohoe [Wed, 6 Oct 2010 14:02:23 +0000 (14:02 +0000)]
Tweak INSTALL to be more accurate with new-installer. Will do UPGRADE later
Trevor Parscal [Tue, 5 Oct 2010 23:24:56 +0000 (23:24 +0000)]
Moved the HTML5 placeholder attribute emulation in ext.vector.simpleSearch into it's own jQuery plugin called jquery.placeholder.
Trevor Parscal [Tue, 5 Oct 2010 21:51:24 +0000 (21:51 +0000)]
Fixed jQuery bug/enahnced jQuery to not blindly convert anything that's not a string to an integer and append 'px', resulting in values like "nullpx" and "NaNpx" which would cause errors in Internet Explorer. Now we are using ( parseInt( size ) || 0 ) + "px" so that if size is null or NaN it will be converted to 0. I've also passed this upstream (dev.jquery.com/ticket/7116)
Trevor Parscal [Tue, 5 Oct 2010 20:54:38 +0000 (20:54 +0000)]
* Fixed mistake made in r74271 where some functions were moved from core jquery.wikiEditor into jquery.wikiEditor.iframe, causing errors for textarea mode. These changes properly split the functions, allowing the iframe to override the textarea functions, and using $.client to only execute them on IE. (tested in IE7)
* Also fixed IE bug, where "delete window.myThing;" fails but "delete myThing;" succeeds.
Raimond Spekking [Tue, 5 Oct 2010 18:54:47 +0000 (18:54 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-05 18:38:00 UTC)
Neil Kandalgaonkar [Tue, 5 Oct 2010 18:35:02 +0000 (18:35 +0000)]
removing file I used to test commit access
Neil Kandalgaonkar [Tue, 5 Oct 2010 18:34:39 +0000 (18:34 +0000)]
testing commit access
Brion Vibber [Tue, 5 Oct 2010 15:10:14 +0000 (15:10 +0000)]
Revert r74286, r74287 -- broke parserTests completely; mixed lots of formatting and code cleanup in with functional changes making it impossible to review cleanly.
Greg Sabino Mullane [Tue, 5 Oct 2010 15:00:19 +0000 (15:00 +0000)]
Remove parserTests.inc checks, as testing is now done quite differently.
Greg Sabino Mullane [Tue, 5 Oct 2010 13:36:05 +0000 (13:36 +0000)]
Make the watchlist query ordering consistent across DBs.
Mark A. Hershberger [Tue, 5 Oct 2010 03:51:49 +0000 (03:51 +0000)]
(second commit to get all files.)
= BacklinkCache.php =
* BacklinkCache class
** Set a few otherwise unset varables ($wgContLang & $wgMemc in
BacklinkCache)
= testHelpers.inc =
* TectRecorder class
** TestRecorder::record() accept and use a recorder object
** change TestFileIterator::setParser use a MediaWikiParserTest instead
of ParserTest
= parserTest.inc =
* ParserTest class
** Make $ParserTest->regex and $ParsaerTest->savedGlobals member
variables available to stop warnings.
** Force ParserTest::$showProgress and $showFailure to false
** Set ParserTest::$uploadDir on time
** Move ParserTest::chomp() and addArticle() to bootstrap for
MediaWikiTestSetup.
** Update ParserTest::runTest so that Success and Failure are reported
via reporter->showsTestResult() or ParserTestSuiteBackend::show*()
as needed.
** Set $ParserTest->uploadDir with setupUploadDir()
** Change ParserTest->setupGlobals() so that $wgDBprefix doesn't get
to set to the “parsertest_” bits.
** Sprinkle $this->teardownGlobals() at exit points in
ParserTest->teardownDatabase()
= bootstrap.php =
* MediaWikiTestSetup class
** Make member variables MediaWikiTestSetup::$suite,
MediaW* Make member variables MediaWikiTestSetup::$suite,
MediaWikiTestSetup::$regex, MediaWikiTestSetup::$runDisabled
available.
* Setup a constructor MediaWikiTestSetup that accepts an optional
PHPUnit_Framework_TestSuite so they can use PHPUnit.
* Change MediaWikiParserTest so that it is derived from
MediaWikiTestSetup instead of PHPUnit_Framework_TestSuite
* Make MediaWikiParserTest create a PHPUnit_Framework_TestSuite for
the parser tests and pass it to the new parent (MediaWikiTestSetup)
as the PHPUnit testsuite.
* Replace MediaWikiParserTest->run() with MediaWikiParserTest::suite()
so that the tests can be loaded into a suite and then run with
PHPUnit's test runner.
= ParserHelpers.php =
* ParserUnitTest class
** Force run() $backend to use ParserTestSuiteBackend instead of
trying to get the backend from the suite member.
** Use ParserTest::runTest() instead of
ParserikiTestSetup::$regex, MediaWikiTestSetup::$runDisabled
available.
** Setup a constructor MediaWikiTestSetup that accepts an optional
PHPUnit_Framework_TestSuite so they can use PHPUnit.
** Change MediaWikiParserTest so that it is derived from
MediaWikiTestSetup instead of PHPUnit_Framework_TestSuite
** Make MediaWikiParserTest create a PHPUnit_Framework_TestSuite for
the parser tests and pass it to the new parent (MediaWikiTestSetup)
as the PHPUnit testsuite.
** Replace MediaWikiParserTest->run() with MediaWikiParserTest::suite()
so that the tests can be loaded into a suite and then run with
PHPUnit's test runner.
= ParserHelpers.php =
* ParserUnitTest class
** Force run() $backend to use ParserTestSuiteBackend instead of
trying to get the backend from the suite member.
** Use ParserTest::runTest() instead of
ParserTestSuiteBackend::runTest()
* ParserTestSuiteBackend class
** extends PHPUnit_FrameWork_TestSuite instead of ParserTest
** Add member variables $recorder, $term, and $usePHPUnit
** Add a constructor that determines if PHPUnit is usewd.
** Add a method showTestResult() that can be used to show success or
failure
** Change showSucess and showFailure() to be static and use identical
arguments and only use PHPUnit_Framework_Assert::assertEquals
when PHPUnit is in use.
= SearchEngineTest.php =
** Fix path in require to bootstrap.php
Mark A. Hershberger [Tue, 5 Oct 2010 03:47:08 +0000 (03:47 +0000)]
= BacklinkCache.php =
* BacklinkCache class
** Set a few otherwise unset varables ($wgContLang & $wgMemc in
BacklinkCache)
= testHelpers.inc =
* TectRecorder class
** TestRecorder::record() accept and use a recorder object
** change TestFileIterator::setParser use a MediaWikiParserTest instead
of ParserTest
= parserTest.inc =
* ParserTest class
** Make $ParserTest->regex and $ParsaerTest->savedGlobals member
variables available to stop warnings.
** Force ParserTest::$showProgress and $showFailure to false
** Set ParserTest::$uploadDir on time
** Move ParserTest::chomp() and addArticle() to bootstrap for
MediaWikiTestSetup.
** Update ParserTest::runTest so that Success and Failure are reported
via reporter->showsTestResult() or ParserTestSuiteBackend::show*()
as needed.
** Set $ParserTest->uploadDir with setupUploadDir()
** Change ParserTest->setupGlobals() so that $wgDBprefix doesn't get
to set to the “parsertest_” bits.
** Sprinkle $this->teardownGlobals() at exit points in
ParserTest->teardownDatabase()
= bootstrap.php =
* MediaWikiTestSetup class
** Make member variables MediaWikiTestSetup::$suite,
MediaW* Make member variables MediaWikiTestSetup::$suite,
MediaWikiTestSetup::$regex, MediaWikiTestSetup::$runDisabled
available.
* Setup a constructor MediaWikiTestSetup that accepts an optional
PHPUnit_Framework_TestSuite so they can use PHPUnit.
* Change MediaWikiParserTest so that it is derived from
MediaWikiTestSetup instead of PHPUnit_Framework_TestSuite
* Make MediaWikiParserTest create a PHPUnit_Framework_TestSuite for
the parser tests and pass it to the new parent (MediaWikiTestSetup)
as the PHPUnit testsuite.
* Replace MediaWikiParserTest->run() with MediaWikiParserTest::suite()
so that the tests can be loaded into a suite and then run with
PHPUnit's test runner.
= ParserHelpers.php =
* ParserUnitTest class
** Force run() $backend to use ParserTestSuiteBackend instead of
trying to get the backend from the suite member.
** Use ParserTest::runTest() instead of
ParserikiTestSetup::$regex, MediaWikiTestSetup::$runDisabled
available.
** Setup a constructor MediaWikiTestSetup that accepts an optional
PHPUnit_Framework_TestSuite so they can use PHPUnit.
** Change MediaWikiParserTest so that it is derived from
MediaWikiTestSetup instead of PHPUnit_Framework_TestSuite
** Make MediaWikiParserTest create a PHPUnit_Framework_TestSuite for
the parser tests and pass it to the new parent (MediaWikiTestSetup)
as the PHPUnit testsuite.
** Replace MediaWikiParserTest->run() with MediaWikiParserTest::suite()
so that the tests can be loaded into a suite and then run with
PHPUnit's test runner.
= ParserHelpers.php =
* ParserUnitTest class
** Force run() $backend to use ParserTestSuiteBackend instead of
trying to get the backend from the suite member.
** Use ParserTest::runTest() instead of
ParserTestSuiteBackend::runTest()
* ParserTestSuiteBackend class
** extends PHPUnit_FrameWork_TestSuite instead of ParserTest
** Add member variables $recorder, $term, and $usePHPUnit
** Add a constructor that determines if PHPUnit is usewd.
** Add a method showTestResult() that can be used to show success or
failure
** Change showSucess and showFailure() to be static and use identical
arguments and only use PHPUnit_Framework_Assert::assertEquals
when PHPUnit is in use.
= SearchEngineTest.php =
** Fix path in require to bootstrap.php
Sam Reed [Mon, 4 Oct 2010 23:29:05 +0000 (23:29 +0000)]
Tweak/refactoring around of tests
Mark 3 as incomplete (ie broken)
Trevor Parscal [Mon, 4 Oct 2010 22:16:18 +0000 (22:16 +0000)]
Moved some of the functionality from mediawiki.legacy.prefs into mediawiki.specials.preferences.
Sam Reed [Mon, 4 Oct 2010 21:18:38 +0000 (21:18 +0000)]
Followup r74234 flip parameters
Ryan Kaldari [Mon, 4 Oct 2010 21:07:21 +0000 (21:07 +0000)]
adding close window button for use with all skins
Antoine Musso [Mon, 4 Oct 2010 20:55:14 +0000 (20:55 +0000)]
Profiling table (optional) for SQLite
Raimond Spekking [Mon, 4 Oct 2010 19:02:27 +0000 (19:02 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-04 18:48:00 UTC)
Platonides [Mon, 4 Oct 2010 15:04:41 +0000 (15:04 +0000)]
Fix issues after r54561 which avoided use of the 7z wrapper.
popen() doesn't like two-letter modes but the approach checked for it at
too high level, used as mode the letter t, not r, which was an invalid
option for SevenZipStream, and is still an invalid argument for popen.
Roan Kattouw [Mon, 4 Oct 2010 09:11:15 +0000 (09:11 +0000)]
Per r74201 CR, make it clear that the list of languages supporting variant conversion may not be complete
Daniel Friesen [Mon, 4 Oct 2010 05:38:48 +0000 (05:38 +0000)]
Clean up names of my bodyAttr hooks on Brion's recomendation.
Sam Reed [Mon, 4 Oct 2010 00:01:16 +0000 (00:01 +0000)]
Fix tabs/spaces from r74242
Sam Reed [Sun, 3 Oct 2010 23:59:42 +0000 (23:59 +0000)]
Revert r74240, the depends seem to do some weird dependancy parameter passing or something...
Sam Reed [Sun, 3 Oct 2010 23:03:57 +0000 (23:03 +0000)]
Fixup testGetToken again
Iterate through both users, checking for rights to delete/block/protect
Sam Reed [Sun, 3 Oct 2010 22:52:12 +0000 (22:52 +0000)]
Mark testWatchDelete as incomplete (watch isn't verified)
Sam Reed [Sun, 3 Oct 2010 22:51:01 +0000 (22:51 +0000)]
Nuke returns from end of tests
Sam Reed [Sun, 3 Oct 2010 22:13:04 +0000 (22:13 +0000)]
Object return type hints
Brion Vibber [Sun, 3 Oct 2010 21:25:33 +0000 (21:25 +0000)]
Changed phpunit Makefile to require 'make destructive' to run the test suites as a temporary safety check.
Looks like somebody's snuck a bunch of destructive tests into the default PHPUnit test suite;
this is unsafe and could cause admins and developers to damage their wikis contents accidentally,
not realizing that their main page will be deleted etc.
Tests should be split up into those which alter the live database and those that don't; only
those which are non-destructive should run unless explicitly requested.
Sam Reed [Sun, 3 Oct 2010 20:53:32 +0000 (20:53 +0000)]
Much improved RELEASE-NOTES for r74235. Cheers brion
Sam Reed [Sun, 3 Oct 2010 20:31:08 +0000 (20:31 +0000)]
RELEASE-NOTES for * (bug 25303) API: integer parameter validation does not actually validate
Sam Reed [Sun, 3 Oct 2010 20:29:44 +0000 (20:29 +0000)]
Minor tweaks to r74232, add a value for $botMax on calls for integer validation (otherwise the bool gets pushed into it!)
Documentation in ApiDelete
Sam Reed [Sun, 3 Oct 2010 20:07:23 +0000 (20:07 +0000)]
Followup r74230, if we make things array, we should make them not an array afterwards
Well, the more sane way, is just treat them seperately, than having to do $value = $value[0];, based on whether it was an array already
Cheers to Siebrand (was already poking it myself :))
Raimond Spekking [Sun, 3 Oct 2010 19:25:07 +0000 (19:25 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-03 19:11:00 UTC)
Sam Reed [Sun, 3 Oct 2010 19:07:11 +0000 (19:07 +0000)]
First part of "*(bug 25303) API: integer parameter validation does not actually validate, only warn"
Actually make the validation of the range occur
Fix typo in ApiBase.php
Sam Reed [Sun, 3 Oct 2010 18:23:31 +0000 (18:23 +0000)]
Fix comment typo
Sam Reed [Sun, 3 Oct 2010 18:21:58 +0000 (18:21 +0000)]
Marking testApiGotCookie incomplete
$this->markTestIncomplete( "The server can't do external HTTP requests, and the internal one won't give cookies" );
Alexandre Emsenhuber [Sun, 3 Oct 2010 17:37:26 +0000 (17:37 +0000)]
Fix groupping in comments
Sam Reed [Sun, 3 Oct 2010 16:32:46 +0000 (16:32 +0000)]
Fiuxp issues from r74213 CR
Use public, not protected, needs to be accessible outside the class
Sam Reed [Sun, 3 Oct 2010 15:58:00 +0000 (15:58 +0000)]
Variable UserWrapper used in both testApiLoginBadPass and testApiLoginGoodPass
Switch testApiLoginGoodPass to use sysOp user, as I imagine, logins would be a false positive, per Brion r74122#c9828
Sam Reed [Sun, 3 Oct 2010 15:24:47 +0000 (15:24 +0000)]
Revert r74122, making r74117 live again
Some refactoring, to encapsulate users. Added a UserWrapper, contains the setup username/password and user object. Allows for ease of adding of multiple users (and groups)
Per Brion, if logging in user == wguser, we skip login tests, so use a secondary user
Fixup testApiLoginBadPass, we should get a WrongPass when the passwords wrong, but we've given a token
Daniel Friesen [Sun, 3 Oct 2010 14:12:41 +0000 (14:12 +0000)]
Add to OutputPage::headElement a OutputPageBodyAttrs hook for extensions and a bodyAttrs callback to Skin so that Extensions and Skins are able to add attributes and classes to the <body> tag without neeing to do insane things.
Roan Kattouw [Sun, 3 Oct 2010 12:11:42 +0000 (12:11 +0000)]
Per r69587 CR, mention which languages support variant conversion in the API help for the converttitles parameter
Alexandre Emsenhuber [Sun, 3 Oct 2010 09:25:28 +0000 (09:25 +0000)]
* Standardised file description headers
* added @file where needed
* added file description headers where needed
Alexandre Emsenhuber [Sun, 3 Oct 2010 08:50:23 +0000 (08:50 +0000)]
Per Nikerabbit, follow-up to r74191: tag for removal in 1.19; I removed the last usage of these functions in r74190
Alexandre Emsenhuber [Sun, 3 Oct 2010 08:42:38 +0000 (08:42 +0000)]
Added wfDeprecated() to wfAbruptExit() and wfErrorExit() and removed a comment that mentioned it
Alexandre Emsenhuber [Sun, 3 Oct 2010 08:14:38 +0000 (08:14 +0000)]
Removed forward comapt code with 5.1.0+ and modified code to use the new version
Alexandre Emsenhuber [Sun, 3 Oct 2010 08:05:26 +0000 (08:05 +0000)]
Added fname parameter to the query() call
Sean Colombo [Sun, 3 Oct 2010 04:31:29 +0000 (04:31 +0000)]
Tweak variable name to be camel case (as per feedback on r70849).
Sean Colombo [Sun, 3 Oct 2010 04:28:17 +0000 (04:28 +0000)]
More details on RELEASE-NOTES as per feedback on r70850.
Brion Vibber [Sun, 3 Oct 2010 02:01:02 +0000 (02:01 +0000)]
Initialize $wgTexvc with $IP rather than relative to current working directory. Fixes math parser tests when running with a cwd other than $IP when $wgTexvc isn't explicitly set.
Brion Vibber [Sun, 3 Oct 2010 01:03:10 +0000 (01:03 +0000)]
Extract common code in ResourceLoaderUserOptionsModule (sloppy copy-pasting of the originals looks like the cause of the bug fixed in r74145)