lhc/web/wiklou.git
13 years agoCache the results of wfIsWindows()
Platonides [Tue, 26 Oct 2010 15:14:56 +0000 (15:14 +0000)]
Cache the results of wfIsWindows()
Each php_uname() call produces a uname syscall.

The cached one is three times faster (3.197545885) which is liklely to be the difference between a php var lookup and a syscall on my system.

== Test script ==
<?php

function wfIsWindows() {
if ( substr( php_uname(), 0, 7 ) == 'Windows' ) {
return true;
} else {
return false;
}
}

function wfIsWindowsCached() {
static $isWindows = null;
if ( $isWindows === null ) {
$isWindows = substr( php_uname(), 0, 7 ) == 'Windows';
}
return $isWindows;
}

$win = $nonwin = 0;

$time = microtime( true );
for ( $i = 1; $i < 5e8; $i++ ) {
if ( wfIsWindowsCached() ) {
$win++;
} else {
$nonwin++;
}
}

$time = microtime( true ) - $time;
echo "Time elapsed: $time\n";

13 years agoPlace into an else branch in the odd case where we are in safe_mode and passthru...
Platonides [Tue, 26 Oct 2010 14:31:13 +0000 (14:31 +0000)]
Place into an else branch in the odd case where we are in safe_mode and passthru is additionally blocked.

13 years agoKeep it in Title.php Having it on Defines would allow to use it wrong.
Platonides [Tue, 26 Oct 2010 14:08:33 +0000 (14:08 +0000)]
Keep it in Title.php Having it on Defines would allow to use it wrong.
Follow up r75379 (r74035, r74034)

13 years agomake noparser shouldn't try to run Broken tests
Platonides [Tue, 26 Oct 2010 14:03:27 +0000 (14:03 +0000)]
make noparser shouldn't try to run Broken tests

13 years agoMarking parsertests as broken until r74646 is fixed.
Platonides [Tue, 26 Oct 2010 13:56:14 +0000 (13:56 +0000)]
Marking parsertests as broken until r74646 is fixed.

13 years agoFollow up r75245.
Platonides [Tue, 26 Oct 2010 13:54:47 +0000 (13:54 +0000)]
Follow up r75245.
Fix PHP Fatal error:  Call to a member function ucfirst() on a non-object

13 years agoRevert r75415 after a talk with demon. The linebreaks are not shown in the output...
Raimond Spekking [Tue, 26 Oct 2010 12:51:30 +0000 (12:51 +0000)]
Revert r75415 after a talk with demon. The linebreaks are not shown in the output but Translatewiki like them to make the translation process a bit easier.

13 years agoReduce more WebInstaller bloat, move getFieldset(Start|End) to WebInstallerPage where...
Chad Horohoe [Tue, 26 Oct 2010 12:05:57 +0000 (12:05 +0000)]
Reduce more WebInstaller bloat, move getFieldset(Start|End) to WebInstallerPage where its used

13 years agoClarify some visibilities based on actual usage
Chad Horohoe [Tue, 26 Oct 2010 12:02:23 +0000 (12:02 +0000)]
Clarify some visibilities based on actual usage

13 years agoReduce linebreaks
Chad Horohoe [Tue, 26 Oct 2010 11:56:18 +0000 (11:56 +0000)]
Reduce linebreaks

13 years agorm unused code
Chad Horohoe [Tue, 26 Oct 2010 11:55:47 +0000 (11:55 +0000)]
rm unused code

13 years agoFollowup r75392: reduce some duplication, eliminate bool param
Chad Horohoe [Tue, 26 Oct 2010 11:45:21 +0000 (11:45 +0000)]
Followup r75392: reduce some duplication, eliminate bool param

13 years agoFollowup for r75314 (bug 23923) -- regression fix for prefix of '0' being ignored...
Brion Vibber [Mon, 25 Oct 2010 23:49:03 +0000 (23:49 +0000)]
Followup for r75314 (bug 23923) -- regression fix for prefix of '0' being ignored since r75314

Don't forget that the string '0' evaluates to false in boolean context!

13 years ago(bug 198: Easy, secure in-place upgrade) Introduce new $wgUpgradeKey. When set in...
Chad Horohoe [Mon, 25 Oct 2010 23:18:47 +0000 (23:18 +0000)]
(bug 198: Easy, secure in-place upgrade) Introduce new $wgUpgradeKey. When set in LocalSettings, it allows the user to unlock the installer/upgrader with a hidden key. The days of having to move LocalSettings.php in order to perform an upgrade are gone. The key is the only thing loaded by the installer, you still have to provide the SQL information yourself (as an extra layer of sanity to keep unauthorized users from running it)

13 years agoFollowup r75371, use MediaWiki default user and content language for messages
Chad Horohoe [Mon, 25 Oct 2010 21:46:35 +0000 (21:46 +0000)]
Followup r75371, use MediaWiki default user and content language for messages

13 years agoFollowup r74035, add GAID_FOR_UPDATE to the defines for back-compat
Chad Horohoe [Mon, 25 Oct 2010 20:25:43 +0000 (20:25 +0000)]
Followup r74035, add GAID_FOR_UPDATE to the defines for back-compat

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 25 Oct 2010 19:51:56 +0000 (19:51 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-25 19:28:00 UTC)

13 years agofailfunction is dead
Sam Reed [Mon, 25 Oct 2010 19:41:54 +0000 (19:41 +0000)]
failfunction is dead

13 years ago* moved installMainpage to CoreInstaller as requested in r75366
Jure Kajzer [Mon, 25 Oct 2010 18:57:44 +0000 (18:57 +0000)]
* moved installMainpage to CoreInstaller as requested in r75366

13 years agoRemoved overzealous cleanup that was responsible for failures of tests in CruiseContr...
Max Semenik [Mon, 25 Oct 2010 17:45:46 +0000 (17:45 +0000)]
Removed overzealous cleanup that was responsible for failures of tests in CruiseControl. Will investigate this further later, now fixing just enough to make things work.

13 years agoUnused since r74966 $wgHandheldStyle is handled by the resourceloader.
Platonides [Mon, 25 Oct 2010 17:12:16 +0000 (17:12 +0000)]
Unused since r74966 $wgHandheldStyle is handled by the resourceloader.

13 years ago* DatabaseOracle - throw connection exception instead of debug+false
Jure Kajzer [Mon, 25 Oct 2010 16:49:59 +0000 (16:49 +0000)]
* DatabaseOracle - throw connection exception instead of debug+false
* DatabaseOracle - fixed $wgContLang local usage in update
* Installer - added Main Page insertion as a new installation step (fixes bug 22308)

13 years agoFollow up r75361 : removing a work in progress test case
Antoine Musso [Mon, 25 Oct 2010 16:28:15 +0000 (16:28 +0000)]
Follow up r75361 : removing a work in progress test case

13 years ago* bypassers ($force, --help) moved to the top. Less error prone.
Antoine Musso [Mon, 25 Oct 2010 16:23:56 +0000 (16:23 +0000)]
* bypassers ($force, --help)  moved to the top. Less error prone.
* prefix parameters with double dashes '--'
* get ride of spaces before semi-column ':'
* some comments to help us read the code

tip: reviewers should strip white spaces (svn diff -x -ub)

13 years ago$wgRequest usage removed in r75272
Platonides [Mon, 25 Oct 2010 16:06:00 +0000 (16:06 +0000)]
$wgRequest usage removed in r75272

13 years agoRevert mainpage part of r75347. Should go in its own method, with messages, proper...
Chad Horohoe [Mon, 25 Oct 2010 14:41:13 +0000 (14:41 +0000)]
Revert mainpage part of r75347. Should go in its own method, with messages, proper error handling, and should fix bug 22308 (trivial)

13 years ago* fixed accidental revert of r75343
Jure Kajzer [Mon, 25 Oct 2010 12:06:37 +0000 (12:06 +0000)]
* fixed accidental revert of r75343

13 years ago* Installer for Oracle fixes
Jure Kajzer [Mon, 25 Oct 2010 11:07:55 +0000 (11:07 +0000)]
* Installer for Oracle fixes
* added Main Page creation within install
* added MEDIAWIKI_INSTALL constant; some scripts still use it
* started OracleUpgrader scripts for upgrade from 1.16
* fixed some not null defaults that comply with mysql data type default on not null fields
* FKs made defferable

13 years ago* null value => default value handling
Jure Kajzer [Mon, 25 Oct 2010 10:56:07 +0000 (10:56 +0000)]
* null value => default value handling
* duplicateTable call fix
* some internal calls to query replaced with doQuery
* added update method overload

13 years ago(bug 24853) Kill failFunction - Fixed! :D
Sam Reed [Sun, 24 Oct 2010 21:27:33 +0000 (21:27 +0000)]
(bug 24853) Kill failFunction - Fixed! :D

13 years agoComment out unused if (code inside it is commented out
Sam Reed [Sun, 24 Oct 2010 21:02:57 +0000 (21:02 +0000)]
Comment out unused if (code inside it is commented out

13 years agoStart of bug 24853, killing off 'functional' parts of failfunction code. Seems when...
Sam Reed [Sun, 24 Oct 2010 20:48:48 +0000 (20:48 +0000)]
Start of bug 24853, killing off 'functional' parts of failfunction code. Seems when the constructors start getting changed, it starts borking. Using this as a point of reversion/stashing

13 years agoadded support for standard, cologneblue, nostalgia in mw.util.addPortletLink + update...
Krinkle [Sun, 24 Oct 2010 19:32:11 +0000 (19:32 +0000)]
added support for standard, cologneblue, nostalgia in mw.util.addPortletLink + updated the test suite

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 24 Oct 2010 19:30:56 +0000 (19:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-24 19:14:00 UTC)

13 years ago* If a action=parse request provides an oldid that is actually the current revision...
Sam Reed [Sun, 24 Oct 2010 19:16:46 +0000 (19:16 +0000)]
* If a action=parse request provides an oldid that is actually the current revision id, try the parser cache, and save it to it if necessary

13 years agobug25289 Hook that optionally adds custom content instead of article content on diff...
Priyanka Dhanda [Sun, 24 Oct 2010 18:57:25 +0000 (18:57 +0000)]
bug25289 Hook that optionally adds custom content instead of article content on diff pages. Now only used by FlaggedRevs to not load the content on history pages when pending changes are enabled.

13 years agoMoving test suit to Special:Blankpage instead
Krinkle [Sun, 24 Oct 2010 17:52:19 +0000 (17:52 +0000)]
Moving test suit to Special:Blankpage instead

13 years agoadding debug test suit for mediaWiki.util, visible on Special:MWUtilTest?debug=true
Krinkle [Sun, 24 Oct 2010 17:40:22 +0000 (17:40 +0000)]
adding debug test suit for mediaWiki.util, visible on Special:MWUtilTest?debug=true

13 years agoFix for r75313: add array_unique(), otherwise groups are listed twice if they are...
Alexandre Emsenhuber [Sun, 24 Oct 2010 16:05:46 +0000 (16:05 +0000)]
Fix for r75313: add array_unique(), otherwise groups are listed twice if they are both in $wgGroupPermissions and $wgRevokePermissions

13 years ago(bug 23923) Special:Prefixindex no longer shows results if nothing was requested.
Bryan Tong Minh [Sun, 24 Oct 2010 15:33:00 +0000 (15:33 +0000)]
(bug 23923) Special:Prefixindex no longer shows results if nothing was requested.

I believe that this was the intention of the original code anyway, but isset was used on places where it should not have been.

13 years ago(bug 23934) Groups defined in $wgRevokePermissions but not in $wgGroupPermissions...
Bryan Tong Minh [Sun, 24 Oct 2010 15:24:04 +0000 (15:24 +0000)]
(bug 23934) Groups defined in $wgRevokePermissions but not in $wgGroupPermissions now appear on Special:ListGroupRights

13 years agoeol whitespace cleanup
Mark A. Hershberger [Sun, 24 Oct 2010 15:12:13 +0000 (15:12 +0000)]
eol whitespace cleanup

13 years agoMoved tests to a dub directory. Added a stub smoke test that we're going to start...
Priyanka Dhanda [Sun, 24 Oct 2010 15:09:13 +0000 (15:09 +0000)]
Moved tests to a dub directory. Added a stub smoke test that we're going to start populating

13 years agoRemove unnecessary @error surpressing operator. $pageSet is always defined and getGoo...
Bryan Tong Minh [Sun, 24 Oct 2010 14:56:13 +0000 (14:56 +0000)]
Remove unnecessary @error surpressing operator. $pageSet is always defined and getGoodTitles() always returns an array

13 years agoRemoved trailing whitespaces
Alexandre Emsenhuber [Sun, 24 Oct 2010 07:59:01 +0000 (07:59 +0000)]
Removed trailing whitespaces

13 years agoadded string trimming for older browsers
Krinkle [Sat, 23 Oct 2010 21:08:58 +0000 (21:08 +0000)]
added string trimming for older browsers

13 years agoFixed some doxygen warnings and consistency in documentation
Alexandre Emsenhuber [Sat, 23 Oct 2010 21:01:54 +0000 (21:01 +0000)]
Fixed some doxygen warnings and consistency in documentation

13 years agoadded mw.util.getWikilink and ported enableCheckboxShiftClick to jQuery
Krinkle [Sat, 23 Oct 2010 20:12:56 +0000 (20:12 +0000)]
added mw.util.getWikilink and ported enableCheckboxShiftClick to jQuery

13 years agoFollow-up r70638:
Bryan Tong Minh [Sat, 23 Oct 2010 18:53:39 +0000 (18:53 +0000)]
Follow-up r70638:
* Use a single query to get the page_props instead of one per page
* Removed the $wgPageProps global
* Removed a lot of useless crap

13 years agoUse more descriptive names for the test methods.
Mark A. Hershberger [Sat, 23 Oct 2010 18:07:02 +0000 (18:07 +0000)]
Use more descriptive names for the test methods.

13 years agoRevert r70703 and followup r70715: broke &redirect for API edit with a fatal error
Roan Kattouw [Sat, 23 Oct 2010 17:48:08 +0000 (17:48 +0000)]
Revert r70703 and followup r70715: broke &redirect for API edit with a fatal error

13 years agoRelease notes for r75272.
Chad Horohoe [Sat, 23 Oct 2010 17:33:37 +0000 (17:33 +0000)]
Release notes for r75272.

13 years agoUpdate documentation a bit more.
Mark A. Hershberger [Sat, 23 Oct 2010 17:28:39 +0000 (17:28 +0000)]
Update documentation a bit more.

13 years agoadding begin of mediaWiki.util and loading it by default + trailing whitespace cleanu...
Krinkle [Sat, 23 Oct 2010 17:24:07 +0000 (17:24 +0000)]
adding begin of mediaWiki.util and loading it by default + trailing whitespace cleanup in mediawiki.js

13 years agoBREAKING CHANGE: Per r70640 CR, salt patrol tokens with rcid in the API too. This...
Roan Kattouw [Sat, 23 Oct 2010 17:22:38 +0000 (17:22 +0000)]
BREAKING CHANGE: Per r70640 CR, salt patrol tokens with rcid in the API too. This means patrol tokens are now different for every recentchanges entry.

13 years agoAdd examples of depends
Mark A. Hershberger [Sat, 23 Oct 2010 17:08:03 +0000 (17:08 +0000)]
Add examples of depends

13 years agoRemove action=raw from Special:Statistics. We wanted to keep it for back-compat ...
Chad Horohoe [Sat, 23 Oct 2010 17:04:45 +0000 (17:04 +0000)]
Remove action=raw from Special:Statistics. We wanted to keep it for back-compat (see lists.wikimedia.org/pipermail/wikitech-l/2008-August/039202.html), but it's been two years since then. All of this info is available through the API with meta=siteinfo&siprop=statistics. Also a followup to r65059, finalize removal of job queue from Special:Statistics.

13 years agoinclude JUnit logger instead of requireing it
Markus Glaser [Sat, 23 Oct 2010 17:02:08 +0000 (17:02 +0000)]
include JUnit logger instead of requireing it

13 years agoRevert r70640 per CR: don't expose unsalted edit tokens in URLs. Should instead chang...
Roan Kattouw [Sat, 23 Oct 2010 16:56:07 +0000 (16:56 +0000)]
Revert r70640 per CR: don't expose unsalted edit tokens in URLs. Should instead change the API's patrol functionality to salt patrol tokens (coming up shortly)

13 years agoAdd a test for capitalization to the data provider
Mark A. Hershberger [Sat, 23 Oct 2010 16:41:49 +0000 (16:41 +0000)]
Add a test for capitalization to the data provider

13 years agoAdded rvparse to parse revisions. For performance reasons if this option is used...
Bryan Tong Minh [Sat, 23 Oct 2010 16:41:20 +0000 (16:41 +0000)]
Added rvparse to parse revisions. For performance reasons if this option is used, rvlimit is enforced to 1.

13 years agoExample data provider
Mark A. Hershberger [Sat, 23 Oct 2010 16:41:03 +0000 (16:41 +0000)]
Example data provider

13 years agouse the install-phpunit.sh script
Mark A. Hershberger [Sat, 23 Oct 2010 16:05:41 +0000 (16:05 +0000)]
use the install-phpunit.sh script

13 years agoInitial check in for install script for PHPunit
Mark A. Hershberger [Sat, 23 Oct 2010 16:05:02 +0000 (16:05 +0000)]
Initial check in for install script for PHPunit

13 years agoFix r63813, r64717 (session path detection in new installer). Surprise surprise,...
Chad Horohoe [Sat, 23 Oct 2010 16:02:34 +0000 (16:02 +0000)]
Fix r63813, r64717 (session path detection in new installer). Surprise surprise, the PHP documentation doesn't match what happens in practice :p

13 years agoupdated sample configuration with option to run against grid
Markus Glaser [Sat, 23 Oct 2010 15:54:27 +0000 (15:54 +0000)]
updated sample configuration with option to run against grid

13 years agoadded settings to run tests against a selenium grid
Markus Glaser [Sat, 23 Oct 2010 15:52:12 +0000 (15:52 +0000)]
added settings to run tests against a selenium grid

13 years agoPer r72349 CR, bring gen=js behavior back, at least for now. It'd be nasty to serve...
Roan Kattouw [Sat, 23 Oct 2010 15:42:19 +0000 (15:42 +0000)]
Per r72349 CR, bring gen=js behavior back, at least for now. It'd be nasty to serve weird stuff to people still hitting gen=js with old code.

13 years agoAdded iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions
Bryan Tong Minh [Sat, 23 Oct 2010 15:40:55 +0000 (15:40 +0000)]
Added iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions

13 years agoRevert r73976 (Implements bug 24343 "localurl discards section id"). Per BZ feedback...
Chad Horohoe [Sat, 23 Oct 2010 15:32:31 +0000 (15:32 +0000)]
Revert r73976 (Implements bug 24343 "localurl discards section id"). Per BZ feedback, this doesn't actually fix the original issue, it adds a new parser function to work around the issue.

13 years agoFix immediate issues in r72900. I'd still like more testing and perhaps requests...
Niklas Laxström [Sat, 23 Oct 2010 15:24:08 +0000 (15:24 +0000)]
Fix immediate issues in r72900. I'd still like more testing and perhaps requests from language communities before adding the rest.

13 years agoFix a few visibilities, add a @todo
Chad Horohoe [Sat, 23 Oct 2010 15:16:25 +0000 (15:16 +0000)]
Fix a few visibilities, add a @todo

13 years agoInitial checkin from !mwhack of a sample PHPUnit check.
Mark A. Hershberger [Sat, 23 Oct 2010 15:06:06 +0000 (15:06 +0000)]
Initial checkin from !mwhack of a sample PHPUnit check.

13 years agoFollow-up to r74771, 75241: complete rename for bat-smg to sgs.
Siebrand Mazeland [Sat, 23 Oct 2010 14:56:55 +0000 (14:56 +0000)]
Follow-up to r74771, 75241: complete rename for bat-smg to sgs.

13 years agoRevert r73593, root cause has long been fixed
Roan Kattouw [Sat, 23 Oct 2010 14:53:06 +0000 (14:53 +0000)]
Revert r73593, root cause has long been fixed

13 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 23 Oct 2010 14:48:18 +0000 (14:48 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

13 years agoRename MessagesBat_smg.php to MessagesSgs.php. Follow-up to r74771. Needs a follow...
Siebrand Mazeland [Sat, 23 Oct 2010 14:47:44 +0000 (14:47 +0000)]
Rename MessagesBat_smg.php to MessagesSgs.php. Follow-up to r74771. Needs a follow-up commit for extensions with translations in bat-smg and a new file MessagesBat_smg.php having $fallback = 'sgs'.

13 years agoAdd 'bat-smg' to $wgDummyLanguageCodes - addresses MaxSem's comment 10095 on r74771.
Siebrand Mazeland [Sat, 23 Oct 2010 14:41:09 +0000 (14:41 +0000)]
Add 'bat-smg' to $wgDummyLanguageCodes - addresses MaxSem's comment 10095 on r74771.

13 years ago* Standardised file description headers
Alexandre Emsenhuber [Sat, 23 Oct 2010 14:16:26 +0000 (14:16 +0000)]
* Standardised file description headers
* added @file where needed
* added file description headers where needed

13 years agoPer Reedy, fix for r70274: forgot to change this
Alexandre Emsenhuber [Sat, 23 Oct 2010 13:52:06 +0000 (13:52 +0000)]
Per Reedy, fix for r70274: forgot to change this

13 years agoReverted r70151 and re-did what it was intended to do in a proper way: instead of...
Max Semenik [Sat, 23 Oct 2010 11:16:44 +0000 (11:16 +0000)]
Reverted r70151 and re-did what it was intended to do in a proper way: instead of just quietly serializing a crippled connection, fix the caller and receive nice exceptions when something else is broken instead of bug-hunting later.

13 years agoRevert r73942, which was itself a revert of r73887. After r75213 it will not cause...
Max Semenik [Sat, 23 Oct 2010 09:59:57 +0000 (09:59 +0000)]
Revert r73942, which was itself a revert of r73887. After r75213 it will not cause additional test failures.

13 years agore r70916: avoid resetting $wgMemc which leads to failures for me
Mark A. Hershberger [Sat, 23 Oct 2010 03:01:47 +0000 (03:01 +0000)]
re r70916: avoid resetting $wgMemc which leads to failures for me

13 years agoAdd __METHOD__ to query() call in runBatchedQuery.php
Roan Kattouw [Fri, 22 Oct 2010 22:43:14 +0000 (22:43 +0000)]
Add __METHOD__ to query() call in runBatchedQuery.php

13 years agoPDO doesn't seem to like opening nothing
Max Semenik [Fri, 22 Oct 2010 19:48:38 +0000 (19:48 +0000)]
PDO doesn't seem to like opening nothing

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 22 Oct 2010 19:41:58 +0000 (19:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-22 18:58:00 UTC)

13 years agoFixed missing break; in ResourceLoaderFileModule::__construct, and added extra error...
Trevor Parscal [Thu, 21 Oct 2010 22:34:26 +0000 (22:34 +0000)]
Fixed missing break; in ResourceLoaderFileModule::__construct, and added extra error checking to it's input arrays.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 21 Oct 2010 21:55:48 +0000 (21:55 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-21 19:58:00 UTC)

13 years agoRenamed vector and monobook modules to skins.vector and skins.monobook - a convention...
Trevor Parscal [Thu, 21 Oct 2010 21:33:49 +0000 (21:33 +0000)]
Renamed vector and monobook modules to skins.vector and skins.monobook - a convention that should be followed in the future for other skins.

13 years agoResourceLoaderFileModule now uses mediaWiki.loader.load to load scripts in debug...
Trevor Parscal [Thu, 21 Oct 2010 21:25:27 +0000 (21:25 +0000)]
ResourceLoaderFileModule now uses mediaWiki.loader.load to load scripts in debug mode.

13 years agofollow-up to r73178: fix copypaste mistake
Jack Phoenix [Thu, 21 Oct 2010 20:42:42 +0000 (20:42 +0000)]
follow-up to r73178: fix copypaste mistake

13 years agoFollow up r67073 : add curly to if statement
Antoine Musso [Thu, 21 Oct 2010 18:26:17 +0000 (18:26 +0000)]
Follow up r67073 : add curly to if statement

13 years ago* Followup r75064 — fix misleading doc comment
Mark A. Hershberger [Thu, 21 Oct 2010 18:18:00 +0000 (18:18 +0000)]
* Followup r75064 — fix misleading doc comment
* Don't let redirects set the status object to an error.

13 years agoChanged the way that ResourceLoaderFileModule and mediaWiki.loader work in debug...
Trevor Parscal [Thu, 21 Oct 2010 01:03:46 +0000 (01:03 +0000)]
Changed the way that ResourceLoaderFileModule and mediaWiki.loader work in debug mode. As of this commit, in debug mode, ResourceLoaderFileModule will emit code which appends a a script tag for each raw JavaScript file in the module, instead of the concatenated code of the module's scripts. This eliminates the need to disable batch loading on the client in debug mode, since it effectively supersedes the effect of turning batch loading off.

13 years agoFollowup r75096 per Platonides, name the stuff better, rather than just fixing the...
Sam Reed [Wed, 20 Oct 2010 23:36:21 +0000 (23:36 +0000)]
Followup r75096 per Platonides, name the stuff better, rather than just fixing the typo..

13 years agoImproves on r75055, improving comment accuracy, and removing useless casting.
Trevor Parscal [Wed, 20 Oct 2010 20:56:33 +0000 (20:56 +0000)]
Improves on r75055, improving comment accuracy, and removing useless casting.

13 years ago* Improves on r75054 and r75036 by adding comments and renaming variables
Trevor Parscal [Wed, 20 Oct 2010 20:43:30 +0000 (20:43 +0000)]
* Improves on r75054 and r75036 by adding comments and renaming variables
* Fixes issue cased by creating a file module that only contains a list of dependencies.

13 years agoFew more explicit class variable declarations
Sam Reed [Wed, 20 Oct 2010 20:16:46 +0000 (20:16 +0000)]
Few more explicit class variable declarations

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 20 Oct 2010 19:23:57 +0000 (19:23 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-10-20 19:06:00 UTC)

13 years agoInclude $IP in path passed to remap() so filesystem access will work properly
Roan Kattouw [Wed, 20 Oct 2010 19:13:43 +0000 (19:13 +0000)]
Include $IP in path passed to remap() so filesystem access will work properly