lhc/web/wiklou.git
14 years agoSet background: white for Chick
Aryeh Gregor [Fri, 29 Jan 2010 20:13:55 +0000 (20:13 +0000)]
Set background: white for Chick

It was setting only color: black, so text was illegible if you had a
dark background set by default.  We could remove the color: rule too,
but that might mess up other things that assume dark-on-light, and
doesn't match what other skins do.  Reported by Dispenser on IRC.

14 years agoUse lowercase color names in CSS for consistency
Aryeh Gregor [Fri, 29 Jan 2010 20:13:37 +0000 (20:13 +0000)]
Use lowercase color names in CSS for consistency

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 29 Jan 2010 20:00:23 +0000 (20:00 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-29 19:00 UTC)

14 years agofollow up r61655
Mark A. Hershberger [Fri, 29 Jan 2010 19:18:41 +0000 (19:18 +0000)]
follow up r61655
Use Nikerabbit's much better wording for the error message.

14 years agoFollowup r61663 per Chads comment. Move $db declaration earlier, use $db->getType()
Sam Reed [Fri, 29 Jan 2010 17:34:32 +0000 (17:34 +0000)]
Followup r61663 per Chads comment. Move $db declaration earlier, use $db->getType()

Remove now unused global

14 years ago* (bug 22315) SpecialRecentChangesQuery hook now pass $query_options and checks the...
Alexandre Emsenhuber [Fri, 29 Jan 2010 17:27:30 +0000 (17:27 +0000)]
* (bug 22315) SpecialRecentChangesQuery hook now pass $query_options and checks the return value

14 years agoFollowup to 61664
Sam Reed [Fri, 29 Jan 2010 16:45:55 +0000 (16:45 +0000)]
Followup to 61664

Support LoginForm::UserBlocked in ApiLogin

14 years ago* Add USER_BLOCKED case to UserLogin.
Raimond Spekking [Fri, 29 Jan 2010 15:25:20 +0000 (15:25 +0000)]
* Add USER_BLOCKED case to UserLogin.
* Let Lockout extension use this case for a proper error message

14 years agoDuplicate "definition" of $wgUser in same method
Sam Reed [Fri, 29 Jan 2010 14:43:26 +0000 (14:43 +0000)]
Duplicate "definition" of $wgUser in same method

Move $wgDBtype later so only obtained if needed (ie we haven't died before then)

14 years agoReduce code duplication by having tables added in all code paths, by adding before if
Sam Reed [Fri, 29 Jan 2010 14:38:57 +0000 (14:38 +0000)]
Reduce code duplication by having tables added in all code paths, by adding before if

14 years ago* (bug 22181) Do not truncate if the ellipsis actually make the string longer
Raimond Spekking [Fri, 29 Jan 2010 13:39:06 +0000 (13:39 +0000)]
* (bug 22181) Do not truncate if the ellipsis actually make the string longer

14 years agoRemove trailing ?>
Chad Horohoe [Fri, 29 Jan 2010 11:50:58 +0000 (11:50 +0000)]
Remove trailing ?>

14 years agofollow up r61319
Mark A. Hershberger [Fri, 29 Jan 2010 08:13:23 +0000 (08:13 +0000)]
follow up r61319
took out the ".." but otherwise left it the same.  On my system, this
installs an SQLite file in $IP/config/data by default using the web
installer.  Setting it to "$IP/../data" presents the user with the
/full/path/to/the/MW/../data which seemed more confusing to me.

14 years agofollow up r61357
Mark A. Hershberger [Fri, 29 Jan 2010 07:25:09 +0000 (07:25 +0000)]
follow up r61357
* fix up fopen warnings — I was bedazzled by phpUnit's
  set_error_handler that turned warnings into exceptions and Tim set
  me right.
* Use Tim's read loop
* No need for private $fh member
* Fix some minor problems with PHP versions (no "timeout" param in
  pre-5.2.1, POST issue in Hardy's PHP version where timeout is null.)
* Fix how tests are run on old versions of phpUnit.

14 years agoFix for r61582: if $wgDebugPrintHttpHeaders is false, don't construct the header...
Tim Starling [Fri, 29 Jan 2010 04:29:26 +0000 (04:29 +0000)]
Fix for r61582: if $wgDebugPrintHttpHeaders is false, don't construct the header string and then throw it away, skip the whole code block and save a few microseconds.

14 years ago(bug 22310) Only need to declare $join_conds once
Chad Horohoe [Fri, 29 Jan 2010 02:37:51 +0000 (02:37 +0000)]
(bug 22310) Only need to declare $join_conds once

14 years agoFix careless errors in r61442 and r61444.
Tim Starling [Fri, 29 Jan 2010 00:51:08 +0000 (00:51 +0000)]
Fix careless errors in r61442 and r61444.

14 years agostylize.php and fix whitespace for JSMin.php
Aryeh Gregor [Fri, 29 Jan 2010 00:02:57 +0000 (00:02 +0000)]
stylize.php and fix whitespace for JSMin.php

Two spaces were being used for indentation instead of a tab, and for
some reason stylize.php didn't fix that, but repeated
s/^\(\(  \)*\)  /\1\t/ worked.

14 years agoStep one in fixing OutputPage's documentation:
Alexandre Emsenhuber [Thu, 28 Jan 2010 21:58:50 +0000 (21:58 +0000)]
Step one in fixing OutputPage's documentation:
* Groupped methods by function
* Added documentation
* Fixed some doxygen warnings
* Some little style fixes
(more to come)

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 28 Jan 2010 21:54:45 +0000 (21:54 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-27 21:30 UTC)

14 years agoFollowup r61181, put @return nothing back on history(). Some people like it.
Chad Horohoe [Thu, 28 Jan 2010 19:46:12 +0000 (19:46 +0000)]
Followup r61181, put @return nothing back on history(). Some people like it.

14 years agoFixed as per Tim's comments on r61179:
Jure Kajzer [Thu, 28 Jan 2010 14:58:45 +0000 (14:58 +0000)]
Fixed as per Tim's comments on r61179:
* made insertOneRow and getSequenceData private
* renamed fieldInfo to fieldInfoMulti and made it private (for internal use on Oracle only)
* wrapped fieldInfoMulti in fieldInfo with error if $table parameter is an array
* reverted tableName function to only support a non-array parameter
* wrapped all tableName calls with array parameter with array_map with callback
* wrapped fieldInfo into textFieldSize function to avoid reimplementation of functionality
* fixed unnessesary multiple calls to tableName with same parameter inside a single procedure

14 years ago(bug 22286) Unicode 5.1 aliases for Malayam. This was done in the Wikimedia config...
Roan Kattouw [Thu, 28 Jan 2010 12:46:50 +0000 (12:46 +0000)]
(bug 22286) Unicode 5.1 aliases for Malayam. This was done in the Wikimedia config at first, moving it into the trunk messages file per Siebrand

14 years ago* Fixed $opts['tagfilter'] emptiness check
Aaron Schulz [Thu, 28 Jan 2010 08:57:34 +0000 (08:57 +0000)]
* Fixed $opts['tagfilter'] emptiness check
* Doc cleanup/spacing

14 years agoMinor followup to r61609
Sam Reed [Thu, 28 Jan 2010 07:15:49 +0000 (07:15 +0000)]
Minor followup to r61609

If we're checking the key is *, no point reusing it, as we know what it is. Simplfy bug link/reference

14 years agoFix documentation errors (r61324)
OverlordQ [Thu, 28 Jan 2010 06:41:38 +0000 (06:41 +0000)]
Fix documentation errors (r61324)

14 years ago* (bug 21922) YAML output should quote asterisk when used as key
Sam Reed [Wed, 27 Jan 2010 22:02:49 +0000 (22:02 +0000)]
* (bug 21922) YAML output should quote asterisk when used as key

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 27 Jan 2010 19:19:12 +0000 (19:19 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-27 19:00 UTC)

14 years agoUse isset() instead of array_key_exists()
Chad Horohoe [Wed, 27 Jan 2010 19:14:18 +0000 (19:14 +0000)]
Use isset() instead of array_key_exists()

14 years ago$mDesiredDestName property changed from protected to public. Used in extensions...
Jack D. Pond [Wed, 27 Jan 2010 19:08:31 +0000 (19:08 +0000)]
$mDesiredDestName property changed from protected to public.  Used in extensions to check/validate/process user destination names in uploads.

14 years agoUse Html::element() for Xml::submitButton()
Aryeh Gregor [Wed, 27 Jan 2010 18:59:52 +0000 (18:59 +0000)]
Use Html::element() for Xml::submitButton()

There are a bunch of other places where we could switch to Html methods
here too.  See
<http://www.mediawiki.org/wiki/Special:Code/MediaWiki/61130#c5451>.

14 years agoNew configuration variables $wgDebugTimestamps and $wgDebugPrintHttpHeaders for contr...
Niklas Laxström [Wed, 27 Jan 2010 17:21:18 +0000 (17:21 +0000)]
New configuration variables $wgDebugTimestamps and $wgDebugPrintHttpHeaders for controlling debug output.

I find these useful, maybe someone else will too.

14 years agoLet crazy people run updates on broken setups like 5.3.1
Chad Horohoe [Wed, 27 Jan 2010 17:02:48 +0000 (17:02 +0000)]
Let crazy people run updates on broken setups like 5.3.1

14 years agoRevert r61572. These titles are output parameters. A reference is the only way they...
Platonides [Wed, 27 Jan 2010 14:39:03 +0000 (14:39 +0000)]
Revert r61572. These titles are output parameters. A reference is the only way they can work correctly
(eg. think on a hook that always does 'return $titleResult = Title::newFromText("Foo");').

14 years agoApply r61570 (Follow-up r61150: Do not pass objects as references in new hooks).
Platonides [Wed, 27 Jan 2010 11:52:35 +0000 (11:52 +0000)]
Apply r61570 (Follow-up r61150: Do not pass objects as references in new hooks).
This time in the correct place.

14 years agoNo jquery.ui for now.
Tim Starling [Wed, 27 Jan 2010 09:50:19 +0000 (09:50 +0000)]
No jquery.ui for now.

14 years agoParser tests now working under phpunit
Mark A. Hershberger [Wed, 27 Jan 2010 07:00:07 +0000 (07:00 +0000)]
Parser tests now working under phpunit

14 years agoBreak up tests so problems are easier to track down.
Mark A. Hershberger [Wed, 27 Jan 2010 06:58:15 +0000 (06:58 +0000)]
Break up tests so problems are easier to track down.

14 years agoMake the instantiation tests actually work.
Mark A. Hershberger [Wed, 27 Jan 2010 06:51:42 +0000 (06:51 +0000)]
Make the instantiation tests actually work.

14 years ago* Removed JS2 stuff from jquery.js. If there's anything we really need from it, it...
Tim Starling [Wed, 27 Jan 2010 05:17:26 +0000 (05:17 +0000)]
* Removed JS2 stuff from jquery.js. If there's anything we really need from it, it can be re-added to wikibits.js, but that can wait for the extension analysis which I'm going to do next.
* Added Ryan Grove's jsmin.php and wrote a maintenance script wrapper called minify.php
* Added a makefile to rebuild skins/common
* Rebuilt jquery.min.js

14 years ago* Moved js2stopgap.js to skins/common/jquery.js, like I said I was going to do months...
Tim Starling [Wed, 27 Jan 2010 04:17:49 +0000 (04:17 +0000)]
* Moved js2stopgap.js to skins/common/jquery.js, like I said I was going to do months ago.
* Add a $modules parameter to OutputPage::includeJQuery() so that we can include jquery.ui in the main UsabilityInitiative jQuery request in a reasonably flexible way, if we need to.
* Removed $wgExtensionJavascriptLoader, added in r61137 without explanation, seems to be the usual misspelt JS2/mwEmbed rubbish that I keep deleting.

14 years agoRemoved the nasty-looking JS-based position:fixed simulation, used by the "standard...
Tim Starling [Wed, 27 Jan 2010 03:19:30 +0000 (03:19 +0000)]
Removed the nasty-looking JS-based position:fixed simulation, used by the "standard" (MW 1.0) skin for non-default "floating" quickbar settings in IE 6 and below. Appears to be broken anyway and nobody cares enough to fix it. To resolve r61071.

14 years ago(bug 19600) don't display searchmenu-new when user has not got permission to
Conrad Irwin [Wed, 27 Jan 2010 03:06:56 +0000 (03:06 +0000)]
(bug 19600) don't display searchmenu-new when user has not got permission to
create the page.

14 years agoRevert r61528, r61527, r61526, r61525, r61519, r61515, r61053, r61052 (Parser::doQuot...
Tim Starling [Wed, 27 Jan 2010 02:41:22 +0000 (02:41 +0000)]
Revert r61528, r61527, r61526, r61525, r61519, r61515, r61053, r61052 (Parser::doQuotes() rewrite). Lots of issues to discuss, needs more review than I have time to give it pre-1.16. I'll split it out to a branch.

14 years agoFix isSyndicated() description too
Chad Horohoe [Wed, 27 Jan 2010 00:11:13 +0000 (00:11 +0000)]
Fix isSyndicated() description too

14 years agoMake isSyndicated() return a boolean like its name, documentation and callers suggest...
Chad Horohoe [Wed, 27 Jan 2010 00:09:25 +0000 (00:09 +0000)]
Make isSyndicated() return a boolean like its name, documentation and callers suggest it should

14 years agoAnd while I'm at it: removed unused global declarations of $wgFeedClasses
Alexandre Emsenhuber [Tue, 26 Jan 2010 20:52:55 +0000 (20:52 +0000)]
And while I'm at it: removed unused global declarations of $wgFeedClasses

14 years agoFollow-up r61021: added some documentation per Tim's request
Alexandre Emsenhuber [Tue, 26 Jan 2010 20:47:34 +0000 (20:47 +0000)]
Follow-up r61021: added some documentation per Tim's request

14 years agoUse 'AS' for column alias
Greg Sabino Mullane [Tue, 26 Jan 2010 20:36:22 +0000 (20:36 +0000)]
Use 'AS' for column alias

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 26 Jan 2010 19:51:57 +0000 (19:51 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-26 19:15 UTC)

14 years agoStep 4: Profit!!
Platonides [Tue, 26 Jan 2010 18:58:07 +0000 (18:58 +0000)]
Step 4: Profit!!
Add and use PregSplitIterator instead of a direct preg_split.
Slower, but with an upper bound on memory usage.

14 years agoStep 3: Balance the quotes directly on $text
Platonides [Tue, 26 Jan 2010 18:56:50 +0000 (18:56 +0000)]
Step 3: Balance the quotes directly on $text
Side effect: Some ' are converted to &#39; on output.

14 years agoStep 2: Take out countBoldAndItalic()
Platonides [Tue, 26 Jan 2010 18:55:56 +0000 (18:55 +0000)]
Step 2: Take out countBoldAndItalic()

14 years agoStep 1: Apply attachment 2 from bug 18765.
Platonides [Tue, 26 Jan 2010 18:55:10 +0000 (18:55 +0000)]
Step 1: Apply attachment 2 from bug 18765.

14 years agoParser documentation:
Platonides [Tue, 26 Jan 2010 16:16:00 +0000 (16:16 +0000)]
Parser documentation:
"We are not counting sequences of five apostrophes." comment is wrong.
It was added on r4578, when they stopped being counted, but since r4747 (fixing bug 40) they are counted again.

Clarify what $first variables are.

14 years agoInform user of parsekit/php -l usage, fix line breaks in output
Chad Horohoe [Tue, 26 Jan 2010 13:40:00 +0000 (13:40 +0000)]
Inform user of parsekit/php -l usage, fix line breaks in output

14 years agoCosmetic changes from r61052 comments:
Platonides [Tue, 26 Jan 2010 11:57:01 +0000 (11:57 +0000)]
Cosmetic changes from r61052 comments:
 else if -> elseif
 Space after #
 Prefer !== to !=

14 years agoRevert r61005, r61047 (show copyright message on special pages). Maybe this could...
Tim Starling [Tue, 26 Jan 2010 03:10:44 +0000 (03:10 +0000)]
Revert r61005, r61047 (show copyright message on special pages). Maybe this could be configurable and off by default, but I'd be just as happy with an idiosyncratic change like this being a local patch.

14 years agoFix parser test broken by r61465
OverlordQ [Mon, 25 Jan 2010 20:39:15 +0000 (20:39 +0000)]
Fix parser test broken by r61465

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 25 Jan 2010 19:38:21 +0000 (19:38 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-25 19:15 UTC)

14 years agoFixme on r57980: Memcached would be bad here, rename variable with wg prefix. Fixes...
Chad Horohoe [Mon, 25 Jan 2010 13:57:51 +0000 (13:57 +0000)]
Fixme on r57980: Memcached would be bad here, rename variable with wg prefix. Fixes to UsabilityInitiative will follow

14 years agoThreading info type needs a name
Chad Horohoe [Mon, 25 Jan 2010 13:36:58 +0000 (13:36 +0000)]
Threading info type needs a name

14 years ago(bug 22233) Update mediazilla default interwiki to point to correct domain
Chad Horohoe [Mon, 25 Jan 2010 13:04:46 +0000 (13:04 +0000)]
(bug 22233) Update mediazilla default interwiki to point to correct domain

14 years agoMade the bug #21793 test only check for the PHP 5.3.x version of the bug, and allow...
Tim Starling [Mon, 25 Jan 2010 04:59:46 +0000 (04:59 +0000)]
Made the bug #21793 test only check for the PHP 5.3.x version of the bug, and allow the PHP 5.2.x version. There isn't actually any reported MW bug arising from the 5.2.x version at this time.

14 years agoNeed a newline after this error
Chad Horohoe [Mon, 25 Jan 2010 03:46:31 +0000 (03:46 +0000)]
Need a newline after this error

14 years agoUse Html::linkedScript()
Aryeh Gregor [Sun, 24 Jan 2010 19:43:02 +0000 (19:43 +0000)]
Use Html::linkedScript()

Follow-up to r61432.  This has a simpler call interface and encapsulates
ugly $wgJsMimeType nonsense.

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 24 Jan 2010 19:16:37 +0000 (19:16 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-24 19:00 UTC)

14 years agoRevert r61405. Language code is only added if the core translation is at a reasonable...
Siebrand Mazeland [Sun, 24 Jan 2010 17:15:21 +0000 (17:15 +0000)]
Revert r61405. Language code is only added if the core translation is at a reasonable level.

Use something like "$wgExtraLanguageNames['ltg'] = 'Latgaļu'; # Latgalian" if you really need support for languages without a basic localisation level.

14 years agoParser tests:
Max Semenik [Sun, 24 Jan 2010 15:44:00 +0000 (15:44 +0000)]
Parser tests:
* Now defining a message in MediaWiki: namespace with !! article works
* Started covering image blacklisting with tests, only one basic test so far.

14 years agoAPI: Support key-params arrays in 'descriptionmsg' in meta=siteinfo&siprop=extensions
Roan Kattouw [Sun, 24 Jan 2010 12:11:18 +0000 (12:11 +0000)]
API: Support key-params arrays in 'descriptionmsg' in meta=siteinfo&siprop=extensions

14 years agoAPI: (bug 22248) Output extension URLs in meta=siteinfo&siprop=extensions
Roan Kattouw [Sun, 24 Jan 2010 10:19:16 +0000 (10:19 +0000)]
API: (bug 22248) Output extension URLs in meta=siteinfo&siprop=extensions

14 years agoAPI: Document the behavior added in r61447
Roan Kattouw [Sun, 24 Jan 2010 10:10:00 +0000 (10:10 +0000)]
API: Document the behavior added in r61447

14 years agoRevert r61414 per CR comment: wfTimestampNow() doesn't take a TS_* parameter
Roan Kattouw [Sun, 24 Jan 2010 10:05:19 +0000 (10:05 +0000)]
Revert r61414 per CR comment: wfTimestampNow() doesn't take a TS_* parameter

14 years agominor followup to r61447, moving commment
Sam Reed [Sun, 24 Jan 2010 00:14:21 +0000 (00:14 +0000)]
minor followup to r61447, moving commment

14 years ago* (bug 22245) blfilterredirect=nonredirects in blredirect mode wrongly filtering
Sam Reed [Sat, 23 Jan 2010 23:32:15 +0000 (23:32 +0000)]
* (bug 22245) blfilterredirect=nonredirects in blredirect mode wrongly filtering

If filterredir == 'nonredirects', only filter if !redirect

14 years agoLess fail for 61445
Sam Reed [Sat, 23 Jan 2010 23:10:47 +0000 (23:10 +0000)]
Less fail for 61445

14 years agoProperly fix r61436/r61442
Sam Reed [Sat, 23 Jan 2010 22:58:24 +0000 (22:58 +0000)]
Properly fix r61436/r61442

14 years agoNormalise comment usage (# --> //)
Sam Reed [Sat, 23 Jan 2010 22:52:40 +0000 (22:52 +0000)]
Normalise comment usage (# --> //)

14 years agoMore of r61437 (adding/removing whitespace)
Sam Reed [Sat, 23 Jan 2010 22:47:49 +0000 (22:47 +0000)]
More of r61437 (adding/removing whitespace)

14 years agoFollowup to r61436
Sam Reed [Sat, 23 Jan 2010 22:43:21 +0000 (22:43 +0000)]
Followup to r61436

-rakkaus:#mediawiki-i18n- [23-Jan-2010 22:40:23] PHP Notice:  Undefined property: ApiQueryAllpages::$params in /www/w/includes/api/ApiQueryAllpages.php on line 62

14 years agoRefactor array_intersect_key from ApiResult.php to GlobalFunctions.php
Sam Reed [Sat, 23 Jan 2010 22:31:37 +0000 (22:31 +0000)]
Refactor array_intersect_key from ApiResult.php to GlobalFunctions.php

14 years agoLog HTTP requests similar to SQL queries and other stuff
Niklas Laxström [Sat, 23 Jan 2010 22:30:21 +0000 (22:30 +0000)]
Log HTTP requests similar to SQL queries and other stuff

14 years agoAdd/remove whitelines to increase readability in API code files
Sam Reed [Sat, 23 Jan 2010 22:26:40 +0000 (22:26 +0000)]
Add/remove whitelines to increase readability in API code files

14 years agoNormalise check for filterredir in Allpages to that of backlinks
Sam Reed [Sat, 23 Jan 2010 21:28:27 +0000 (21:28 +0000)]
Normalise check for filterredir in Allpages to that of backlinks

Add a couple of blank lines

14 years agofilterredir is mutually exclusive (one value)
Sam Reed [Sat, 23 Jan 2010 21:25:25 +0000 (21:25 +0000)]
filterredir is mutually exclusive (one value)

Change 2nd if for else if in both 1st and 2nd queries

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sat, 23 Jan 2010 20:39:00 +0000 (20:39 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-23 20:15 UTC)

14 years agoUse Html::element instead of Xml::element
Niklas Laxström [Sat, 23 Jan 2010 20:15:39 +0000 (20:15 +0000)]
Use Html::element instead of Xml::element

It produces nicer output and has no braindeadiness with empty contents

14 years agoPart 2 at solving conflict with vector and js edit
Niklas Laxström [Sat, 23 Jan 2010 20:11:42 +0000 (20:11 +0000)]
Part 2 at solving conflict with vector and js edit

Add OutputPage::includeJQuery() for loading the jQuery currently shipped
with core. Extension can use this function to avoid loading it multiple
times. No support for plugins etc.

Changes Translate extension to use that function, restored compatability
with 1.15 for at least this part of code.

14 years ago* Document a bit
Alexandre Emsenhuber [Sat, 23 Jan 2010 20:07:17 +0000 (20:07 +0000)]
* Document a bit
* Fix some doxygen warnings
* Use spaces instead of tabs in the middle of lines

14 years agoAvoid "PHP Warning: Division by zero in maintenance/mcc.php on line 92" if there...
Alexandre Emsenhuber [Sat, 23 Jan 2010 19:00:56 +0000 (19:00 +0000)]
Avoid "PHP Warning:  Division by zero in maintenance/mcc.php on line 92" if there's only a single server

14 years agoRELEASE-NOTES for r61421
Sam Reed [Sat, 23 Jan 2010 18:28:49 +0000 (18:28 +0000)]
RELEASE-NOTES for r61421

14 years agoAPI: Fix bug where deprecated boolean parameters would always trigger the deprecated...
Roan Kattouw [Sat, 23 Jan 2010 17:48:02 +0000 (17:48 +0000)]
API: Fix bug where deprecated boolean parameters would always trigger the deprecated warning.

14 years ago(bug 19528) Revert 55749: "according to the XSLT 1.0 spec, the MIME type should be...
Bryan Tong Minh [Sat, 23 Jan 2010 15:27:53 +0000 (15:27 +0000)]
(bug 19528) Revert 55749: "according to the XSLT 1.0 spec, the MIME type should be text/xml or application/xml. In XSLT 2.0, it is application/xslt+xml. Either way, text/xsl is wrong." The mime type text/xsl is the only one supported by all modern browsers.

14 years agoStylise on ApiParse.php
Sam Reed [Sat, 23 Jan 2010 15:25:14 +0000 (15:25 +0000)]
Stylise on ApiParse.php

14 years ago* $fname -> __METHOD__
Alexandre Emsenhuber [Sat, 23 Jan 2010 15:24:44 +0000 (15:24 +0000)]
* $fname -> __METHOD__
* some style fixes

14 years agoFix indentation in r61407. PLEASE don't use spaces for indentation, always use tabs.
Roan Kattouw [Sat, 23 Jan 2010 15:09:16 +0000 (15:09 +0000)]
Fix indentation in r61407. PLEASE don't use spaces for indentation, always use tabs.

14 years agoFollowup to r61412: don't use time(), we have our own function for this
Roan Kattouw [Sat, 23 Jan 2010 15:05:24 +0000 (15:05 +0000)]
Followup to r61412: don't use time(), we have our own function for this

14 years agoTypo in comment, no such thing as wfGetFile()
Chad Horohoe [Sat, 23 Jan 2010 14:25:10 +0000 (14:25 +0000)]
Typo in comment, no such thing as wfGetFile()

14 years ago* (bug 22240) - API: include time in siteinfo
Sam Reed [Sat, 23 Jan 2010 12:37:03 +0000 (12:37 +0000)]
* (bug 22240) - API: include time in siteinfo

Patch by Matthew Britton

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 23 Jan 2010 10:21:54 +0000 (10:21 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese