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)
Siebrand Mazeland [Sat, 2 Oct 2010 23:34:58 +0000 (23:34 +0000)]
Fix broken r74177 because it needs a constant and address CR comment on r71412 properly. Documented that 604800 is 7*24*3600
Siebrand Mazeland [Sat, 2 Oct 2010 23:23:10 +0000 (23:23 +0000)]
Use 7*24*3600 instead of 604800.
Addressing style nitpick by Simetrical on r71412.
Siebrand Mazeland [Sat, 2 Oct 2010 22:49:41 +0000 (22:49 +0000)]
Follow-up r74173: remove more PHP pre-5.1.0 comments, including two TODOs. Yay.
Siebrand Mazeland [Sat, 2 Oct 2010 22:45:28 +0000 (22:45 +0000)]
Remove comment related to PHP pre-5.1 version.
Siebrand Mazeland [Sat, 2 Oct 2010 22:42:44 +0000 (22:42 +0000)]
Remove comments related to no longer existent and relevant compatibility function for array_diff_key().
Siebrand Mazeland [Sat, 2 Oct 2010 22:41:44 +0000 (22:41 +0000)]
Remove comment related to no longer supported PHP versions.
Siebrand Mazeland [Sat, 2 Oct 2010 22:22:12 +0000 (22:22 +0000)]
Remove some references to no longer supported PHP version.
Also add a FIXME for a check in DefaultSettings.php and fix indentation in install-utils.inc.
Platonides [Sat, 2 Oct 2010 22:17:41 +0000 (22:17 +0000)]
Release notes for r73950
Alexandre Emsenhuber [Sat, 2 Oct 2010 21:58:04 +0000 (21:58 +0000)]
And while I'm a it:
* Fixed E_STRICT about different signature of TextPassDumper::dump() and BackupDumper::dump()
* Add the possibility to show the help message...
Alexandre Emsenhuber [Sat, 2 Oct 2010 21:51:44 +0000 (21:51 +0000)]
Per Platonides; follow-up r74158: XMLReader is included in PHP since 5.1.0
Alexandre Emsenhuber [Sat, 2 Oct 2010 21:40:43 +0000 (21:40 +0000)]
MediaWiki even require PHP 5.1.0+ ;)
Brian Wolff [Sat, 2 Oct 2010 21:35:00 +0000 (21:35 +0000)]
follow-up r74150 - empty() == bad.
Alexandre Emsenhuber [Sat, 2 Oct 2010 21:09:23 +0000 (21:09 +0000)]
Fix doc: $wgExtensionFunctions, not $wgExtensionSetupFunctions
Brian Wolff [Sat, 2 Oct 2010 20:36:23 +0000 (20:36 +0000)]
Fix undefined variable notice if $wgHiddenPrefs[] = 'fancysig'.
Use !empty($blah) since that is what the rest of the code is doing. This does
not change the behaviour in any way, only gets rid of the warning. Issue
discovered by jorenl on irc.
Raimond Spekking [Sat, 2 Oct 2010 19:58:17 +0000 (19:58 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-02 19:45:00 UTC)
Max Semenik [Sat, 2 Oct 2010 18:45:18 +0000 (18:45 +0000)]
Fix botched up comments
Niklas Laxström [Sat, 2 Oct 2010 16:54:53 +0000 (16:54 +0000)]
Fix logic error in IMS check introduced in r72940. Was sending 304 even for modified files
Niklas Laxström [Sat, 2 Oct 2010 16:11:44 +0000 (16:11 +0000)]
Fix personal user styles being broken since introduction in r73024
Alexandre Emsenhuber [Sat, 2 Oct 2010 14:23:26 +0000 (14:23 +0000)]
Fixed a doxygen warning
Alexandre Emsenhuber [Sat, 2 Oct 2010 13:45:35 +0000 (13:45 +0000)]
Removed trailing whitespaces
Max Semenik [Sat, 2 Oct 2010 10:18:48 +0000 (10:18 +0000)]
Bug 25338: fixed exception in Resource Loader
Max Semenik [Sat, 2 Oct 2010 08:37:51 +0000 (08:37 +0000)]
rm obsolete comment
Alexandre Emsenhuber [Sat, 2 Oct 2010 08:31:55 +0000 (08:31 +0000)]
removed some unused variables
Alexandre Emsenhuber [Sat, 2 Oct 2010 08:30:03 +0000 (08:30 +0000)]
Fix for r74134: copy-paste error
Alexandre Emsenhuber [Sat, 2 Oct 2010 08:29:01 +0000 (08:29 +0000)]
removed call to deprecated function dbsource() and a comment that mentioned it
Alexandre Emsenhuber [Sat, 2 Oct 2010 08:04:58 +0000 (08:04 +0000)]
__FUNCTION__ -> __METHOD__
Alexandre Emsenhuber [Sat, 2 Oct 2010 07:57:43 +0000 (07:57 +0000)]
added @file to the file description header
Alexandre Emsenhuber [Sat, 2 Oct 2010 07:40:54 +0000 (07:40 +0000)]
removed trailing whitespaces
Alexandre Emsenhuber [Sat, 2 Oct 2010 07:39:17 +0000 (07:39 +0000)]
Uncommented some used options; added the possibility to define $wgScriptPath
Philip Tzou [Sat, 2 Oct 2010 06:49:52 +0000 (06:49 +0000)]
Update the Chinese conversion tables.
Platonides [Fri, 1 Oct 2010 23:11:21 +0000 (23:11 +0000)]
Revert r74117. Breaks the test. Using an internal request it doesn't fail with NeedToken, but gives Success instead.
Platonides [Fri, 1 Oct 2010 22:59:57 +0000 (22:59 +0000)]
Remove suite included twice in suite.xml
Rename MediaWikiParserTestSuite class to MediaWikiParserTest. This way, it matches its file basename, which makes phpunit not to consider, when loading MediaWikiParserText.php, the ParserUnitTest (coming from ParserHelpers.php require) as a standalone test class, which is what was producing the warning: No tests found in class "ParserUnitTest".
All tests pass for me now:
Tests: 752, Assertions: 3706, Incomplete: 2.
Incomplete tests are testApiListPages() and testWatchRollback()
Platonides [Fri, 1 Oct 2010 22:59:04 +0000 (22:59 +0000)]
Follow up r73976. Made the test do not depend on $wgUsePathInfo being true and $wgArticlePath the default.
Sam Reed [Fri, 1 Oct 2010 22:32:56 +0000 (22:32 +0000)]
Make user 'sysop', so we get delete/protect token, makes testGetToken pass (maybe not the best fix.. Have 2 users..? Or check rights or something)
Sam Reed [Fri, 1 Oct 2010 22:27:56 +0000 (22:27 +0000)]
Fixup testApiLoginBadPass per r74113, still failing, it's checking for "NeedToken" at the end of the test, but "success" is being returned, which seems wrong to me...
Trevor Parscal [Fri, 1 Oct 2010 22:13:29 +0000 (22:13 +0000)]
Fixed mistake in r73686 where I wrapped CSS in a JavaScript conditional.
Trevor Parscal [Fri, 1 Oct 2010 22:06:03 +0000 (22:06 +0000)]
Fixed typo in r73673, thank for spotting that Roan!
Sam Reed [Fri, 1 Oct 2010 21:50:52 +0000 (21:50 +0000)]
Switch testApiLoginGoodPass to use doApiRequest
Submitting for IRC sanity check :D
Trevor Parscal [Fri, 1 Oct 2010 21:50:32 +0000 (21:50 +0000)]
Fixed bug that caused version numbers to be output incorectly. JavaScript's Array.prototype.join() uses "," as a default value, not "".
Max Semenik [Fri, 1 Oct 2010 21:06:32 +0000 (21:06 +0000)]
Installer: added an environment check for SQLite search capabilities
Alexandre Emsenhuber [Fri, 1 Oct 2010 20:56:39 +0000 (20:56 +0000)]
Be sure that MW_NO_SETUP is defined before executing updates, this is not always defined at that point
Trevor Parscal [Fri, 1 Oct 2010 20:46:42 +0000 (20:46 +0000)]
Removed double-encoding of dependencies and group for custom loader scripts.
Alexandre Emsenhuber [Fri, 1 Oct 2010 20:39:07 +0000 (20:39 +0000)]
Fix for r72553: DatabaseUpdater::execute() doesn't exist...
Trevor Parscal [Fri, 1 Oct 2010 20:26:18 +0000 (20:26 +0000)]
Added group param to loader script wrapping.
Sam Reed [Fri, 1 Oct 2010 20:17:01 +0000 (20:17 +0000)]
Minor followup to r74095, remove method as all it does is call it's parent (Thanks to Nikerabbit on IRC)
Remove leading tab from ApiMove
Sam Reed [Fri, 1 Oct 2010 20:12:50 +0000 (20:12 +0000)]
* (bug 25248) API: paraminfo errors with certain modules
Added a needsToken() function, rather than calling getTokenSalt, which can throw silly errors due to dependencies on parameters
Sam Reed [Fri, 1 Oct 2010 19:37:38 +0000 (19:37 +0000)]
Remove error from ApiUserrights getPossibleErrors, it doesn't explicitally throw an error for missing user param. Does some other fancy errors from the special page. We should have a way for that to tell us it throws some errors....
Remove trailing whitespace
Raimond Spekking [Fri, 1 Oct 2010 19:37:33 +0000 (19:37 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-01 19:27:00 UTC)
Full export after separation of countries/states
Alexandre Emsenhuber [Fri, 1 Oct 2010 19:32:49 +0000 (19:32 +0000)]
Break lines at 80 chars
Alexandre Emsenhuber [Fri, 1 Oct 2010 19:29:37 +0000 (19:29 +0000)]
Follow-up r72872: added RELEASE-NOTES entry
Trevor Parscal [Fri, 1 Oct 2010 19:22:06 +0000 (19:22 +0000)]
Improved on r73046 by removing asumption of $ === jQuery.
Trevor Parscal [Fri, 1 Oct 2010 19:20:27 +0000 (19:20 +0000)]
Improves on r73032 by making more consistent use of escape sequences.
Trevor Parscal [Fri, 1 Oct 2010 18:11:07 +0000 (18:11 +0000)]
Improved on r73093 by allowing jQuery to properly escape some HTML attributes.
Trevor Parscal [Fri, 1 Oct 2010 18:05:55 +0000 (18:05 +0000)]
Resolves issue in r73046 where a jQuery plugin assumed $; wrapped it in a closure to solve this.
Trevor Parscal [Fri, 1 Oct 2010 17:39:32 +0000 (17:39 +0000)]
Resolved issues in r73026, namely a confusing comment and a missing var keyword.
Max Semenik [Fri, 1 Oct 2010 16:09:01 +0000 (16:09 +0000)]
"self::" --> "this->"
Alexandre Emsenhuber [Fri, 1 Oct 2010 16:04:07 +0000 (16:04 +0000)]
And while I'm a it: __FUNCTION__ -> __METHOD__
Alexandre Emsenhuber [Fri, 1 Oct 2010 16:00:19 +0000 (16:00 +0000)]
wfOut() -> $this->output() for consistency
Chad Horohoe [Fri, 1 Oct 2010 15:11:06 +0000 (15:11 +0000)]
wfOut() -> $this->output(). More useful in the long run. No functional changes.
Sam Reed [Fri, 1 Oct 2010 11:21:46 +0000 (11:21 +0000)]
Few explicit class variable definitions
Niklas Laxström [Fri, 1 Oct 2010 06:39:42 +0000 (06:39 +0000)]
Fix timestamp generation for pages broken in r72961.
Trevor Parscal [Thu, 30 Sep 2010 21:58:32 +0000 (21:58 +0000)]
Added tests for new TS_ISO_8601_BASIC timestamp format added in r74043 (and fixed in r74045)
Trevor Parscal [Thu, 30 Sep 2010 21:32:19 +0000 (21:32 +0000)]
Fixed bug in r74043 where a : was left out of a regex for matching timestamps to TS_ISO_8691_BASIC
Trevor Parscal [Thu, 30 Sep 2010 21:20:09 +0000 (21:20 +0000)]
* Added support for basic version of ISO_8601 timestamp format (see en.wikipedia.org/wiki/ISO_8601)
* Made use of ISO_8601 basic for ResourceLoader
Chad Horohoe [Thu, 30 Sep 2010 20:19:46 +0000 (20:19 +0000)]
Followup r74034, missed one GAID_FOR_UPDATE
Raimond Spekking [Thu, 30 Sep 2010 20:11:36 +0000 (20:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-30 19:59:00 UTC)
Chad Horohoe [Thu, 30 Sep 2010 19:13:25 +0000 (19:13 +0000)]
Refactor GAID_FOR_UPDATE into Title::GAID_FOR_UPDATE. Yay less file-scope code (extensions will follow)
Chad Horohoe [Thu, 30 Sep 2010 15:35:10 +0000 (15:35 +0000)]
(bug 25367) wfShellExec() is more explicit when failing due to disabled passthru()
Trevor Parscal [Thu, 30 Sep 2010 06:54:23 +0000 (06:54 +0000)]
Added some content for basic unit tests for ResourceLoader class.
Mark A. Hershberger [Thu, 30 Sep 2010 01:00:16 +0000 (01:00 +0000)]
* Update Makefile with recommended SHELL variable
* Use $(shell pwd) so that if the makefile is executed with ‘-C path',
it will find the suite.xml
* Update ExtraParserTest with a sane-for-testing default for
$wgShowDBErrorBacktrace
* Set $wgContLang if for some reasaon, it is null.
Trevor Parscal [Wed, 29 Sep 2010 23:57:53 +0000 (23:57 +0000)]
Added some content for basic unit tests for ResourceLoader class.
Platonides [Wed, 29 Sep 2010 23:27:26 +0000 (23:27 +0000)]
Do not show math toolbar button if TeX is disabled.
Do not show image and media toolbar buttons if the wiki can't show images (either by local upload or via a foreign repo)
Trevor Parscal [Wed, 29 Sep 2010 23:25:07 +0000 (23:25 +0000)]
Removed the requirement to define getModifiedTime for a module, the default implementation returns 1
Platonides [Wed, 29 Sep 2010 21:52:52 +0000 (21:52 +0000)]
Added a couple of <nowiki> - <pre> tests per bug 13238
Trevor Parscal [Wed, 29 Sep 2010 21:42:30 +0000 (21:42 +0000)]
Moved wgDBName out of $wgUseAjax / $wgEnableMWSuggest conditional - this needs to be done in deployment as well.
Trevor Parscal [Wed, 29 Sep 2010 21:13:56 +0000 (21:13 +0000)]
Fixed a use of ResourceLoader::getModule as a static method when converting things over in r73971.
Platonides [Wed, 29 Sep 2010 20:24:38 +0000 (20:24 +0000)]
Follow up r73951
Aryeh Gregor [Wed, 29 Sep 2010 20:05:16 +0000 (20:05 +0000)]
Fix IEFixes.js loading again
Bug 25167. The fix in r65774 was wrong -- apparently I didn't test well
enough. I've tested the new fix by loading IE6 and requesting a page
from my wiki without it, verifying with Wireshark that no HTTP request
was sent for IEFixes.js, and then repeating with the fix applied to
verify it works.
Will backport to 1.16, like r65774, since this is still a regression
from 1.15. Note that only IE6 and less were ever affected, and things
seem to be mostly usable without the fixes file, so I don't think this
is of enormous importance.
Raimond Spekking [Wed, 29 Sep 2010 20:04:42 +0000 (20:04 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-09-29 19:56:00 UTC)
Antoine Musso [Wed, 29 Sep 2010 19:51:48 +0000 (19:51 +0000)]
Implements bug 24343 "localurl discards section id".
* parser hook 'linkurl' which use Title::getLinkUrl()
* very basic tests for the Title class
Trevor Parscal [Wed, 29 Sep 2010 19:06:32 +0000 (19:06 +0000)]
Updated hooks documentation as per changes in r73971.
Trevor Parscal [Wed, 29 Sep 2010 19:04:04 +0000 (19:04 +0000)]
Made ResourceLoader an instantiable object, rather than a static one, making it more modular and testable.
Chad Horohoe [Wed, 29 Sep 2010 18:48:05 +0000 (18:48 +0000)]
Move 'no license' further down the list. We want people to freely license their work! Pointed out by vimpulse on IRC
Chad Horohoe [Wed, 29 Sep 2010 18:19:03 +0000 (18:19 +0000)]
Move doApiRequest() up a level so ApiTest can use it as well. Fix first two tests to do internal FauxRequests rather than relying on an external HTTP connection
Chad Horohoe [Wed, 29 Sep 2010 18:18:07 +0000 (18:18 +0000)]
Document return values I needed
Trevor Parscal [Wed, 29 Sep 2010 18:02:56 +0000 (18:02 +0000)]
Added support for PHPUnit 3.5, where PHPUnit_Util_Timer is replaced with PHP_Timer.
Chad Horohoe [Wed, 29 Sep 2010 17:39:06 +0000 (17:39 +0000)]
Mark test incomplete if Main Page only has one author like on my install
Ryan Kaldari [Wed, 29 Sep 2010 17:25:17 +0000 (17:25 +0000)]
fixing per comments at r70517
Chad Horohoe [Wed, 29 Sep 2010 16:26:24 +0000 (16:26 +0000)]
Remove bogus addGroup() call. All users are in *
Platonides [Wed, 29 Sep 2010 16:20:41 +0000 (16:20 +0000)]
Fixed dummy test that only checks that the License object can be created.
Platonides [Wed, 29 Sep 2010 16:05:46 +0000 (16:05 +0000)]
Move some globals into the class.
Platonides [Wed, 29 Sep 2010 15:54:43 +0000 (15:54 +0000)]
Tiny changes, fix comment, remove unused globals and throw and exception instead of a fatal if given a wrong langcode.