lhc/web/wiklou.git
12 years agoQUnit reorganization
Krinkle [Thu, 19 May 2011 21:35:32 +0000 (21:35 +0000)]
QUnit reorganization
* Moved QUnit directory from /resources/test/ to /tests/qunit/.
* Includes an .htaccess file in /tests/qunit/ to allow reading this from the browser (since /tests/.htaccess disallows this by default, as it should)
* Deleted "/unit/main.css" which wasn't used for anything (was an idea I had but redundant now)
* Renamed /qunit/unit/ to /qunit/suites/
* Re-organized structure within /suites/ to match that of MediaWiki's. (ie. /resources/jquery, /resources/mediawiki.util etc.)
This will make it easier to write a "check if all JS have a test suite" thingy.
* Added a few "Clean up" sections in the test suites to remove added elements (namely added portlet links)

12 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Thu, 19 May 2011 21:27:39 +0000 (21:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-19 20:54:00 UTC)

12 years agoFix 2 things from CR in r88047, and one not noticed
Sam Reed [Thu, 19 May 2011 21:13:03 +0000 (21:13 +0000)]
Fix 2 things from CR in r88047, and one not noticed

12 years agoRevert r88399 (delete fuzz-tester). Apparently people use it ;-)
Chad Horohoe [Thu, 19 May 2011 19:56:26 +0000 (19:56 +0000)]
Revert r88399 (delete fuzz-tester). Apparently people use it ;-)

12 years ago(bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is added...
Roan Kattouw [Thu, 19 May 2011 19:48:50 +0000 (19:48 +0000)]
(bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is added to the textarea on the edit form. Patch by Erwin Dokter

12 years agoLocalization update for he.
Rotem Liss [Thu, 19 May 2011 19:03:24 +0000 (19:03 +0000)]
Localization update for he.

12 years agoSingle messages can be passed as strings to Api::dieUsageMsg()
Antoine Musso [Thu, 19 May 2011 17:51:16 +0000 (17:51 +0000)]
Single messages can be passed as strings to Api::dieUsageMsg()

Since r88045

12 years agoCorrect case in function call: wfGetDb() -> wfGetDB()
Alexandre Emsenhuber [Thu, 19 May 2011 17:31:32 +0000 (17:31 +0000)]
Correct case in function call: wfGetDb() -> wfGetDB()

12 years agowgIniGetBool -> wfIniGetBool (typo, fu 88391)
Antoine Musso [Thu, 19 May 2011 17:23:35 +0000 (17:23 +0000)]
wgIniGetBool -> wfIniGetBool (typo, fu 88391)

12 years agoAdd release note for fixing bug 4330 (r88385)
Robin Pepermans [Thu, 19 May 2011 17:09:04 +0000 (17:09 +0000)]
Add release note for fixing bug 4330 (r88385)

12 years agoUnmaintained and unused
Sam Reed [Thu, 19 May 2011 00:27:57 +0000 (00:27 +0000)]
Unmaintained and unused

Bye Bye

12 years agoFix somewhat duplicated class names in fuzz-tester.php
Sam Reed [Thu, 19 May 2011 00:15:16 +0000 (00:15 +0000)]
Fix somewhat duplicated class names in fuzz-tester.php

12 years agoAdd/remove/tweak method documentation
Sam Reed [Thu, 19 May 2011 00:03:31 +0000 (00:03 +0000)]
Add/remove/tweak method documentation

12 years ago* Remove commented-out debug call (FU r88143)
Krinkle [Wed, 18 May 2011 22:10:32 +0000 (22:10 +0000)]
* Remove commented-out debug call (FU r88143)
* Update comment to reflect changes to function (FU r87208)

12 years agouse string as callback when possible (since PHP 5.2.3)
Antoine Musso [Wed, 18 May 2011 20:33:47 +0000 (20:33 +0000)]
use string as callback when possible (since PHP 5.2.3)

12 years agoChanging console.log(e) to a throw. console.log makes it go toString() which is prett...
Krinkle [Wed, 18 May 2011 20:31:28 +0000 (20:31 +0000)]
Changing console.log(e) to a throw. console.log makes it go toString() which is pretty much the same as the e.message in the console.log call above it. This also made it impossible for QUnit to get it's hand on the actual error. Fixed it by moing it outside of the if statement so it can be caught.

12 years agoMakes sure wgAdditionalMailParams is null in safe mode
Antoine Musso [Wed, 18 May 2011 20:28:44 +0000 (20:28 +0000)]
Makes sure wgAdditionalMailParams is null in safe mode

The global is used for a call to PHP mail() function as a way to add
additional parameters.  This will cause mail() to send E_NOTICE when
using safe mode.

Since we could use the global at different places, it makes sens to
ensure it has a sane value through Setup.php

Follow up r75557

12 years agomakes UserMailer::send() a bit simpler
Antoine Musso [Wed, 18 May 2011 20:17:26 +0000 (20:17 +0000)]
makes UserMailer::send() a bit simpler
* $contentType now default to 'text/plain; charset=UTF-8';
* uses array instead of string concatenations

12 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Wed, 18 May 2011 20:12:29 +0000 (20:12 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-18 20:01:00 UTC)

12 years agoPer discussion, only apply to .free and .autonumber (so custom link texts are not...
Robin Pepermans [Wed, 18 May 2011 19:44:01 +0000 (19:44 +0000)]
Per discussion, only apply to .free and .autonumber (so custom link texts are not broken)

12 years agoFollow-up to r88378 & r88379: move to common/shared.css (appropriate place) and add...
Robin Pepermans [Wed, 18 May 2011 19:36:12 +0000 (19:36 +0000)]
Follow-up to r88378 & r88379: move to common/shared.css (appropriate place) and add @noflip

12 years agoDB_READ -> DB_SLAVE, the former is obsolete
Alexandre Emsenhuber [Wed, 18 May 2011 19:29:50 +0000 (19:29 +0000)]
DB_READ -> DB_SLAVE, the former is obsolete

12 years agoApplying patch by Ryan Kaldari (bug 28690): Adding border to jQuery UI 'vector' theme...
Krinkle [Wed, 18 May 2011 19:19:35 +0000 (19:19 +0000)]
Applying patch by Ryan Kaldari (bug 28690): Adding border to jQuery UI 'vector' theme dialog

12 years agofix r88378: fix CSS id in modern skin
Robin Pepermans [Wed, 18 May 2011 18:10:40 +0000 (18:10 +0000)]
fix r88378: fix CSS id in modern skin

12 years ago(bug 4330) External URLs should always be treated as LTR, also in RTL text (CSS fix...
Robin Pepermans [Wed, 18 May 2011 18:03:06 +0000 (18:03 +0000)]
(bug 4330) External URLs should always be treated as LTR, also in RTL text (CSS fix thanks to Amir Aharoni)

12 years agoQUnit test suite improvements
Krinkle [Wed, 18 May 2011 17:58:38 +0000 (17:58 +0000)]
QUnit test suite improvements
* [jquery.autoEllipsis.js] Adding check to verify that span exists and is the only and direct child
* [mediawiki.js] Deleting window.awesome after the test is ran. This will make the test suite pass QUnit's "No globals" mode which is useful to detect if a module introduced an (implied) global variable.

12 years agoAdd simple test for jquery.autoEllipsis
Roan Kattouw [Tue, 17 May 2011 22:19:27 +0000 (22:19 +0000)]
Add simple test for jquery.autoEllipsis

12 years agoAdding release notes for recent bug fixes and functionality added by me during the...
Krinkle [Tue, 17 May 2011 22:14:00 +0000 (22:14 +0000)]
Adding release notes for recent bug fixes and functionality added by me during the Berlin Hackathon 2011 (and the days afterwards)

12 years agoUse consistent notation for "@todo FIXME". Should update http://svn.wikimedia.org...
Siebrand Mazeland [Tue, 17 May 2011 22:03:20 +0000 (22:03 +0000)]
Use consistent notation for "@todo FIXME". Should update svn.wikimedia.org/doc/todo.html nicely.

12 years agoFixing typo from r55396 + code styl/whitespace
Krinkle [Tue, 17 May 2011 21:54:12 +0000 (21:54 +0000)]
Fixing typo from r55396 + code styl/whitespace

12 years agoFollow up r87630. The file cache is now checked at reportHTML() which overrides the...
Platonides [Tue, 17 May 2011 21:21:21 +0000 (21:21 +0000)]
Follow up r87630. The file cache is now checked at reportHTML() which overrides the default implementation of MWException::reportHTML()

12 years ago(no commit message)
Raimond Spekking [Tue, 17 May 2011 20:25:48 +0000 (20:25 +0000)]

12 years agoRevert r88046 due to revert of parent revision r88043.
Raimond Spekking [Tue, 17 May 2011 18:41:07 +0000 (18:41 +0000)]
Revert r88046 due to revert of parent revision r88043.

12 years agoRemoved usage of error suppression operator
Alexandre Emsenhuber [Tue, 17 May 2011 18:03:50 +0000 (18:03 +0000)]
Removed usage of error suppression operator

12 years agoFollow up r8832: Adding file extension (module name must match filename)
Krinkle [Tue, 17 May 2011 17:21:57 +0000 (17:21 +0000)]
Follow up r8832: Adding file extension (module name must match filename)

12 years agoPassing module to handlePending (bug 28998; Follow-up r88053)
Krinkle [Tue, 17 May 2011 17:20:24 +0000 (17:20 +0000)]
Passing module to handlePending (bug 28998; Follow-up r88053)

12 years ago* Moving jQuery extend into its own module (jquery.mwPrototypes) (bug 27149; Introduc...
Krinkle [Tue, 17 May 2011 17:19:12 +0000 (17:19 +0000)]
* Moving jQuery extend into its own module (jquery.mwPrototypes) (bug 27149; Introduced in r)

12 years agoTypo
Niklas Laxström [Tue, 17 May 2011 13:29:45 +0000 (13:29 +0000)]
Typo

12 years agoFollow up r88270 — remove commas from table creation that break a
Mark A. Hershberger [Tue, 17 May 2011 11:56:53 +0000 (11:56 +0000)]
Follow up r88270 — remove commas from table creation that break a
sqlite install.

12 years ago* (bug 29022) Link to disable email notifications should be in the email notification
Brion Vibber [Tue, 17 May 2011 11:41:49 +0000 (11:41 +0000)]
* (bug 29022) Link to disable email notifications should be in the email notification

Adds a line linking to Special:Preferences to enotif_body message that formats watchlist-based email notifications.
This allows the receiving user to immediately go adjust their settings if they decide they don't want them.

Only changed the English message; needs to be duplicated in localizations.

(Long-term, this message should be broken up so the header lines can be handled independently.)

12 years agoMake @deprecated documentation more consistent (see: http://svn.wikimedia.org/doc...
Siebrand Mazeland [Tue, 17 May 2011 08:46:29 +0000 (08:46 +0000)]
Make @deprecated documentation more consistent (see: svn.wikimedia.org/doc/deprecated.html).

12 years agoSuprtfluous whitespace removed.
Siebrand Mazeland [Tue, 17 May 2011 08:32:10 +0000 (08:32 +0000)]
Suprtfluous whitespace removed.

12 years ago* remove unneeded behavior change for action=info in NS_MEDIAWIKI.
Siebrand Mazeland [Tue, 17 May 2011 08:17:44 +0000 (08:17 +0000)]
* remove unneeded behavior change for action=info in NS_MEDIAWIKI.
* remove superfluous whitespace and update FIXME notation.

12 years agodb -> dbw
Chad Horohoe [Tue, 17 May 2011 00:18:00 +0000 (00:18 +0000)]
db -> dbw

12 years agoMore config stuff: method for applying settings, getting defaults, doc fixes, etc
Chad Horohoe [Tue, 17 May 2011 00:04:49 +0000 (00:04 +0000)]
More config stuff: method for applying settings, getting defaults, doc fixes, etc

12 years ago(bug 28992) Revision numbers in the patrol log are transformed in the user language.
Siebrand Mazeland [Mon, 16 May 2011 23:36:39 +0000 (23:36 +0000)]
(bug 28992) Revision numbers in the patrol log are transformed in the user language.

12 years agoFollowup r88270: add new table to updaters
Chad Horohoe [Mon, 16 May 2011 23:22:51 +0000 (23:22 +0000)]
Followup r88270: add new table to updaters

12 years ago(bug 29011) Remove hard coded text from Special:LockDb.
Siebrand Mazeland [Mon, 16 May 2011 23:21:32 +0000 (23:21 +0000)]
(bug 29011) Remove hard coded text from Special:LockDb.

Who locked the database and when will be displayed in the content language, as reason, locker and timestamp are saved in $wgReadOnlyFile.

12 years agoUpdate deprecated shortcuts to current values as of 2011-version of QUnit
Krinkle [Mon, 16 May 2011 22:54:54 +0000 (22:54 +0000)]
Update deprecated shortcuts to current values as of 2011-version of QUnit
* equals -> equal
* same -> deepEqual

12 years agomw.util.getActionFrom incorrectly returns null
Krinkle [Mon, 16 May 2011 22:51:29 +0000 (22:51 +0000)]
mw.util.getActionFrom incorrectly returns null
* Return 'view' for urls like:
 - /w/index.php?title=Foobar
* Anything else, fallback to 'view' (just like PHP does)
* JSHint
 - ['view'] is better written in dot notation.
 - 'action' was already defined on line 235.
 - 'actionRe' is defined multiple times (loop).
 - Use '===' to compare with '0'.
 - 'title' is already defined.
 >> The code check passed 100%!
* Adding QUnit test for getActionFrom and getTitleFrom

(Follow-up r87964)

12 years agoAdd exposeGlobals() b/c stuff
Chad Horohoe [Mon, 16 May 2011 21:14:51 +0000 (21:14 +0000)]
Add exposeGlobals() b/c stuff

12 years agoInitial commit of configuration management backend proposal. Feedback desired before...
Chad Horohoe [Mon, 16 May 2011 21:04:55 +0000 (21:04 +0000)]
Initial commit of configuration management backend proposal. Feedback desired before I go much further.
* Common use case is Conf::get( 'myVar' );
* Support for default install (new `config` table) added, should be trivial to add backends for CDB, Memcache, etc...
*

12 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Mon, 16 May 2011 20:57:27 +0000 (20:57 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-16 20:37:00 UTC)

12 years ago* Changed load order in QUnit to mirror the order in MediaWiki itself.
Krinkle [Mon, 16 May 2011 18:18:28 +0000 (18:18 +0000)]
* Changed load order in QUnit to mirror the order in MediaWiki itself.
* Added testswarm.inject.js to SVN (Follow-up r87899)

12 years agoSplit mw.user from mediawiki.js into its own module
Krinkle [Mon, 16 May 2011 17:58:54 +0000 (17:58 +0000)]
Split mw.user from mediawiki.js into its own module
* Split mw.user from mediawiki.js into its own module
* Except for "new Map()" to "new mw.Map()", no code was changed.
* Merged addModules call in OutputPage->addDefaultModules for "mediawiki.action.view.tablesorting" into existing call to addModules (no need for two calls, addModules takes an array)
* This also makes the mw.loader.load call at the bottom of mediawiki.js redundant (now in dependancies for mediawiki.user in Resources.php)
* Added QUnit test suite for mw.user

12 years agoRemove verboseness (image and infobox) in Special:Contributions for diff size display...
Siebrand Mazeland [Mon, 16 May 2011 17:51:44 +0000 (17:51 +0000)]
Remove verboseness (image and infobox) in Special:Contributions for diff size display as added in r88111.

12 years agoOnly increment the page count if the page has been created; also simplified a bit...
Alexandre Emsenhuber [Mon, 16 May 2011 17:41:58 +0000 (17:41 +0000)]
Only increment the page count if the page has been created; also simplified a bit the code

12 years agoRemoved configuration storage in the MediaWiki class:
Alexandre Emsenhuber [Mon, 16 May 2011 16:46:30 +0000 (16:46 +0000)]
Removed configuration storage in the MediaWiki class:
* It serves no purpose, since to be useful we would need to propagate it to all to all objects called by the MediaWiki class
* It is in the wrong place; the MediaWiki class is an helper class for the index.php script, not the base class for the software (and the class could maybe even be renamed)

12 years agothree new hooks in SpecialUndelete.php from Wikia codebase so that extensions, such...
Jack Phoenix [Mon, 16 May 2011 13:30:32 +0000 (13:30 +0000)]
three new hooks in SpecialUndelete.php from Wikia codebase so that extensions, such as the Video extension, can use their custom PageArchive class

12 years agopeace, love and coding style
Jack Phoenix [Mon, 16 May 2011 13:15:15 +0000 (13:15 +0000)]
peace, love and coding style

12 years agosome coding style tweaks
Jack Phoenix [Mon, 16 May 2011 13:04:57 +0000 (13:04 +0000)]
some coding style tweaks

12 years agounbreak ProfilerSimpleTrace, some Profile refactoring made it not worky :( Also,...
Domas Mituzas [Mon, 16 May 2011 12:50:02 +0000 (12:50 +0000)]
unbreak ProfilerSimpleTrace, some Profile refactoring made it not worky :( Also, add it to AutoLoader

12 years agoFix ProfilerSimpleTextBreakage introduced by r86633
Domas Mituzas [Mon, 16 May 2011 12:45:08 +0000 (12:45 +0000)]
Fix ProfilerSimpleTextBreakage introduced by r86633

12 years agofurther update to skin due to module update, also some margin/padding tweaks to accou...
Ryan Kaldari [Mon, 16 May 2011 12:18:54 +0000 (12:18 +0000)]
further update to skin due to module update, also some margin/padding tweaks to account for formatting differences unique to our skin

12 years agoFollowup r88211: make the release notes entry say something useful
Niklas Laxström [Mon, 16 May 2011 10:12:14 +0000 (10:12 +0000)]
Followup r88211: make the release notes entry say something useful

12 years agoupdating our jquery ui button skin to match changes in jquery.ui.button functionality...
Ryan Kaldari [Mon, 16 May 2011 10:11:58 +0000 (10:11 +0000)]
updating our jquery ui button skin to match changes in jquery.ui.button functionality, per current version in trunk

12 years agoFollow-up r88190: coding style
Niklas Laxström [Mon, 16 May 2011 09:59:23 +0000 (09:59 +0000)]
Follow-up r88190: coding style

12 years agoWhitespace changes
Niklas Laxström [Mon, 16 May 2011 09:40:19 +0000 (09:40 +0000)]
Whitespace changes

12 years agoFollow-up 88165: kis
Niklas Laxström [Mon, 16 May 2011 09:30:55 +0000 (09:30 +0000)]
Follow-up 88165: kis

12 years ago(bug 28174) Message amended so as to not explicitly refer to LTR/RTL screen layout.
Purodha B Blissenbach [Mon, 16 May 2011 01:33:12 +0000 (01:33 +0000)]
(bug 28174) Message amended so as to not explicitly refer to LTR/RTL screen layout.

12 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Sun, 15 May 2011 20:44:40 +0000 (20:44 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-15 19:54:00 UTC)

12 years ago(bug 26742) Add @noflip to RTL-specific rules in jquery.ui.datepicker.css
Roan Kattouw [Sun, 15 May 2011 16:19:39 +0000 (16:19 +0000)]
(bug 26742) Add @noflip to RTL-specific rules in jquery.ui.datepicker.css

12 years agoKill the error suppression operator in the Api
Bryan Tong Minh [Sun, 15 May 2011 14:57:10 +0000 (14:57 +0000)]
Kill the error suppression operator in the Api

12 years agoBug 28715 - Display what the server default timezone is in the timezone selection...
Rob Lanphier [Sun, 15 May 2011 14:51:01 +0000 (14:51 +0000)]
Bug 28715 - Display what the server default timezone is in the timezone selection preference.

12 years agoRemoved usage of error suppression operator in Special:LockDB and Special:UnlockDB
Alexandre Emsenhuber [Sun, 15 May 2011 14:48:15 +0000 (14:48 +0000)]
Removed usage of error suppression operator in Special:LockDB and Special:UnlockDB

12 years agoPer CR r75906, reintroduce ApiUpload::transformWarnings()
Bryan Tong Minh [Sun, 15 May 2011 14:46:13 +0000 (14:46 +0000)]
Per CR r75906, reintroduce ApiUpload::transformWarnings()

12 years agoAdd check for evil, EVIL @
Chad Horohoe [Sun, 15 May 2011 14:32:49 +0000 (14:32 +0000)]
Add check for evil, EVIL @

12 years agoFix Bug #28995: “public interface for getting state of a module” from
Mark A. Hershberger [Sun, 15 May 2011 14:26:24 +0000 (14:26 +0000)]
Fix Bug #28995: “public interface for getting state of a module” from
    Bergi

    Sometimes userscripts need to know about the registrated modules,
    mostly about their state.
    …
    My patch also resolves inconsistencies in the naming conventions
    of getters and setters; I think there should be a clear
    difference.

12 years agow/s and typo fix
Mark A. Hershberger [Sun, 15 May 2011 14:18:35 +0000 (14:18 +0000)]
w/s and typo fix

12 years agoFix directory name, mw-config, not config
Alexandre Emsenhuber [Sun, 15 May 2011 14:15:43 +0000 (14:15 +0000)]
Fix directory name, mw-config, not config

12 years agoChanging !isset to is_null (thanks Roan!) and fixing some coding style stuff
Rob Lanphier [Sun, 15 May 2011 13:56:12 +0000 (13:56 +0000)]
Changing !isset to is_null (thanks Roan!) and fixing some coding style stuff
Followup to r88178

12 years agoSetting $wgLocalTZoffset based on $wgLocaltimezone, using code that used to
Rob Lanphier [Sun, 15 May 2011 13:42:10 +0000 (13:42 +0000)]
Setting $wgLocalTZoffset based on $wgLocaltimezone, using code that used to
be in a comment in DefaultSettings.  Pair programmed with hashar.

12 years agoFix for HipHop breakage in r87748 etc. Please do not use require_once(dirname(__FILE_...
Tim Starling [Sun, 15 May 2011 13:36:59 +0000 (13:36 +0000)]
Fix for HipHop breakage in r87748 etc. Please do not use require_once(dirname(__FILE__)...) to fetch class, function or define() dependencies anymore. You do not need to have HipHop to know that doing so will break it.

12 years agoRevert r87635, r87637, r87639, r87643 (MW_MIN_PHP_VERSION etc.): breaks HipHop support.
Tim Starling [Sun, 15 May 2011 13:21:16 +0000 (13:21 +0000)]
Revert r87635, r87637, r87639, r87643 (MW_MIN_PHP_VERSION etc.): breaks HipHop support.

12 years ago* (bug 27593) API: add error message when sha1/sha1base36 is invalid
Sam Reed [Sun, 15 May 2011 13:16:13 +0000 (13:16 +0000)]
* (bug 27593) API: add error message when sha1/sha1base36 is invalid

12 years agoFollow up r87805. Remove unused global.
Platonides [Sun, 15 May 2011 13:12:19 +0000 (13:12 +0000)]
Follow up r87805. Remove unused global.

12 years ago(bug 23464) File: prefixes are now chopped off during uploading.
Bryan Tong Minh [Sun, 15 May 2011 12:51:52 +0000 (12:51 +0000)]
(bug 23464) File: prefixes are now chopped off during uploading.

12 years agoProfile brace substitution per title to help detect the "bad templates". (Make this...
Platonides [Sun, 15 May 2011 12:40:32 +0000 (12:40 +0000)]
Profile brace substitution per title to help detect the "bad templates". (Make this configurable?)

12 years agoMove $wgContLang out of the switch
Platonides [Sun, 15 May 2011 12:37:50 +0000 (12:37 +0000)]
Move $wgContLang out of the switch

12 years agoFollow up r88053. This was trying to throw the return value of a function called...
Platonides [Sun, 15 May 2011 12:36:21 +0000 (12:36 +0000)]
Follow up r88053. This was trying to throw the return value of a function called MWException.

12 years ago(bug 1780) Uploading files with non-ascii characters are now forbidden on Windows...
Bryan Tong Minh [Sun, 15 May 2011 12:35:50 +0000 (12:35 +0000)]
(bug 1780) Uploading files with non-ascii characters are now forbidden on Windows. PHP on Windows does not reliably support non-ascii characters to forbid them all. Theoretically we could detect the filesystem locale and iconv the filename, but that is just too much hassle. Added message 'windows-nonascii-filename'.

12 years agoPerform an early exit
Platonides [Sun, 15 May 2011 12:34:00 +0000 (12:34 +0000)]
Perform an early exit

12 years agoHipHop build fixes:
Tim Starling [Sun, 15 May 2011 12:25:36 +0000 (12:25 +0000)]
HipHop build fixes:
* Generate the file list from the autoloader so that it won't break so often
* Removed spyc.php from AutoLoader.php, was deleted in r86302

12 years agoIn tests, remove references to wgInputEncoding and wgOutputEncoding
Antoine Musso [Sun, 15 May 2011 12:09:59 +0000 (12:09 +0000)]
In tests, remove references to wgInputEncoding and wgOutputEncoding

Those globals are no more used as of r87589

12 years agoinitialize Profiler instance singleton with ProfilerStub if 'bogus' is detected,...
Domas Mituzas [Sun, 15 May 2011 11:16:59 +0000 (11:16 +0000)]
initialize Profiler instance singleton with ProfilerStub if 'bogus' is detected, rather than failing. CBA to debug. Reviewed by Tim eating his lunch.

12 years agoRemove debugging code introduced in r88115
Roan Kattouw [Sun, 15 May 2011 10:57:01 +0000 (10:57 +0000)]
Remove debugging code introduced in r88115

12 years agoRedo r88144
Krinkle [Sun, 15 May 2011 10:47:37 +0000 (10:47 +0000)]
Redo r88144

12 years agoFollow-up r87176 use wfLocalFile instead of wfFindFile
Bryan Tong Minh [Sun, 15 May 2011 10:43:51 +0000 (10:43 +0000)]
Follow-up r87176 use wfLocalFile instead of wfFindFile

12 years agoRevert r88144, deleted the wrong file
Roan Kattouw [Sun, 15 May 2011 10:42:33 +0000 (10:42 +0000)]
Revert r88144, deleted the wrong file

12 years agoFollow-up r87176: Make importDump.php import files
Bryan Tong Minh [Sun, 15 May 2011 10:39:15 +0000 (10:39 +0000)]
Follow-up r87176: Make importDump.php import files
* Fixes for Import.php: Check sha1 of the file; only delete source files if they are temporary
* importDump.php now imports embedded files if --uploads is set; if they are not present it will try to get them from --image-base-path