lhc/web/wiklou.git
14 years agoPartial revert of r53641 "* (bug 19857) maintenance/deleteRevision.php on last revisi...
Brion Vibber [Fri, 21 Aug 2009 22:51:21 +0000 (22:51 +0000)]
Partial revert of r53641 "* (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks target page"
Unindexed query would scan entire page table.

14 years agoRevert r53600 "Add $wgSecondaryGoNamespace, used if an exact match is not found when...
Brion Vibber [Fri, 21 Aug 2009 22:42:09 +0000 (22:42 +0000)]
Revert r53600 "Add $wgSecondaryGoNamespace, used if an exact match is not found when pressing go - will try to find a match in a different namespace before performing a search."
Revert r53618 "* Replace $wgSecondaryGoNamespace with $wgSecondaryGoNamespaces (taking an array of integers instead of just an integer), per code review of r53600."
Revert r53672 "* Add release note for r53618."
Per bug 11380 this should probably be using the default search namespaces or the user's search namespaces; an additional config array seems unnecessary.

14 years agoRevert r53667 "Enabled use of the greater-than sign (">") in page titles. There is...
Brion Vibber [Fri, 21 Aug 2009 22:31:23 +0000 (22:31 +0000)]
Revert r53667 "Enabled use of the greater-than sign (">") in page titles. There is actually no reason for this character to be restricted because it does not interfere with wiki syntax or HTML tags. This will have immediate applications for articles such as "M>Tram", ">play", "The Videos 86>98", "Tour 00 >> 01 Macabre", and "I>Télé", as well as redirects for "Inequality" and "Bitwise operation"."
Possibility of spitting raw >s into output unnerves me greatly, and could indeed be a problem depending on just where your text gets spat and what's around it. More generally allowing one half of a pair makes little sense and would simply confuse the issue.

14 years agoTypo in comment
Aryeh Gregor [Fri, 21 Aug 2009 22:30:51 +0000 (22:30 +0000)]
Typo in comment

14 years agoUse Html::input()/autofocus a bunch more places
Aryeh Gregor [Fri, 21 Aug 2009 22:30:23 +0000 (22:30 +0000)]
Use Html::input()/autofocus a bunch more places

14 years agoRevert r53710 "* Allow suppressing "line 1" from the diffs, which can get quite annoy...
Brion Vibber [Fri, 21 Aug 2009 22:01:16 +0000 (22:01 +0000)]
Revert r53710 "* Allow suppressing "line 1" from the diffs, which can get quite annoying with many diffs"
Use of static variable here means that running multiple diffs during one request may mess things up. It should rather check if it's been added in $wgOut already.

14 years agoMake Xml::hidden() a wrapper around Html::hidden()
Aryeh Gregor [Fri, 21 Aug 2009 21:57:53 +0000 (21:57 +0000)]
Make Xml::hidden() a wrapper around Html::hidden()

HTML-specific stuff should go into the Html class; it doesn't belong in
Xml.

14 years agoAutofocus Special:Search box
Aryeh Gregor [Fri, 21 Aug 2009 21:57:26 +0000 (21:57 +0000)]
Autofocus Special:Search box

Also generally clean up the code around there: add some line breaks, use
Html instead of Xml (using new Html::hidden()).

14 years agoCleaning up some old PHP 4 object-reference usage in some edit filtering hooks.
Brion Vibber [Fri, 21 Aug 2009 21:51:29 +0000 (21:51 +0000)]
Cleaning up some old PHP 4 object-reference usage in some edit filtering hooks.
There was a mix of uses of the reference and non-uses of the reference. :)
Reverts r53714 and fixes it from the other end by cleaning up the uses to not expect references.

14 years agoLocalisation updates for namespaces from translatewiki.net
Siebrand Mazeland [Fri, 21 Aug 2009 21:46:36 +0000 (21:46 +0000)]
Localisation updates for namespaces from translatewiki.net

14 years agoDon't prefill new account name, and autofocus
Aryeh Gregor [Fri, 21 Aug 2009 21:40:05 +0000 (21:40 +0000)]
Don't prefill new account name, and autofocus

It's kind of silly to prefill the name of the account to be created from
cookies . . . presumably that account already exists.  :)

14 years agoAutofocus password, not name, if name is prefilled
Aryeh Gregor [Fri, 21 Aug 2009 21:35:52 +0000 (21:35 +0000)]
Autofocus password, not name, if name is prefilled

14 years agoUse Html::input() for login form
Aryeh Gregor [Fri, 21 Aug 2009 21:35:34 +0000 (21:35 +0000)]
Use Html::input() for login form

This fixes some invalid HTML output in r54567, and also makes the output
look more consistent and prettier.

14 years agoOmit useless value="" in Html::input()
Aryeh Gregor [Fri, 21 Aug 2009 21:34:52 +0000 (21:34 +0000)]
Omit useless value="" in Html::input()

14 years agoNo need to store the value of the magic quotes check here; just use a local var for...
Brion Vibber [Fri, 21 Aug 2009 21:26:34 +0000 (21:26 +0000)]
No need to store the value of the magic quotes check here; just use a local var for clarity.

14 years agoLocalisation updates for special page aliases from translatewiki.net
Siebrand Mazeland [Fri, 21 Aug 2009 21:25:08 +0000 (21:25 +0000)]
Localisation updates for special page aliases from translatewiki.net

14 years agoLocalisation updates for core magic words from translatewiki.net
Siebrand Mazeland [Fri, 21 Aug 2009 21:17:54 +0000 (21:17 +0000)]
Localisation updates for core magic words from translatewiki.net

14 years agoLocalisation extension for core messages from translatewiki.net (2009-08-21 20:59...
Siebrand Mazeland [Fri, 21 Aug 2009 21:09:57 +0000 (21:09 +0000)]
Localisation extension for core messages from translatewiki.net (2009-08-21 20:59 UTC)

14 years agoDon't output useless value=""
Aryeh Gregor [Fri, 21 Aug 2009 21:06:28 +0000 (21:06 +0000)]
Don't output useless value=""

14 years agoOnly require necessary fields in Special:ResetPass
Aryeh Gregor [Fri, 21 Aug 2009 21:06:06 +0000 (21:06 +0000)]
Only require necessary fields in Special:ResetPass

This fixes r54567.  That made the password fields on Special:ResetPass
always required, but in fact the current password should never be
required (existing users always might have empty passwords), and the new
password is only required if $wgMinimalPasswordLength > 0.

This commit also permits passing array( 'required' ) to
Html::(rawE|e)lement() instead of array( 'required' => 'meaningless' ),
for boolean attribs only.  This syntax is used in SpecialResetpass.

14 years agoMove validation logic from input() to rawElement()
Aryeh Gregor [Fri, 21 Aug 2009 20:50:35 +0000 (20:50 +0000)]
Move validation logic from input() to rawElement()

This way callers of rawElement() or element() will also get correct
behavior.

14 years agoSwitch from Xml:: to Html:: in a few places
Aryeh Gregor [Fri, 21 Aug 2009 20:39:35 +0000 (20:39 +0000)]
Switch from Xml:: to Html:: in a few places

These should all theoretically be covered by the parser tests.  All
tests pass, the only change needed was to account for less overescaping
in Html::expandAttributes().  There's no reason to escape <>' in
"-quoted attributes, unless I'm mistaken and have just added some XSS.

14 years agoCorrect outdated comments
Aryeh Gregor [Fri, 21 Aug 2009 20:39:16 +0000 (20:39 +0000)]
Correct outdated comments

14 years agoDon't escape >" in tag contents, no point
Aryeh Gregor [Fri, 21 Aug 2009 20:38:53 +0000 (20:38 +0000)]
Don't escape >" in tag contents, no point

14 years ago* (bug 20296) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3: Parameter...
Alexandre Emsenhuber [Fri, 21 Aug 2009 20:18:20 +0000 (20:18 +0000)]
* (bug 20296) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3: Parameter 1 was expected to be a reference but value given when unstubbing $wgContLang

14 years agoFix for wgArticleId being exported to JavaScript as a string instead of integer. :P
Brion Vibber [Fri, 21 Aug 2009 18:11:13 +0000 (18:11 +0000)]
Fix for wgArticleId being exported to JavaScript as a string instead of integer. :P
Throw around some intval()s on page id, length data coming out of database into Title and Article objects and the link cache... blast PHP's soft typing!

14 years ago1. Revert my revision r55371. Since it may override logged user's settings.
Philip Tzou [Fri, 21 Aug 2009 16:00:01 +0000 (16:00 +0000)]
1. Revert my revision r55371. Since it may override logged user's settings.
2. Patch for situations that some wikis like zhwikisource may disabled some language variants. We should treat these disabled variants unacceptable in LanguageConverter.

14 years ago*(bug 17742) Fixes inconsistent special page aliases for the Taiwanese language.
Shinjiman [Fri, 21 Aug 2009 14:36:04 +0000 (14:36 +0000)]
*(bug 17742) Fixes inconsistent special page aliases for the Taiwanese language.

14 years agoAdd and modify parser test for new language converter rules.
Philip Tzou [Fri, 21 Aug 2009 04:44:46 +0000 (04:44 +0000)]
Add and modify parser test for new language converter rules.

14 years agoMove dumpRev and orphanStats to subclass Maintenance. Make orphanStats bail out early...
Chad Horohoe [Fri, 21 Aug 2009 00:59:11 +0000 (00:59 +0000)]
Move dumpRev and orphanStats to subclass Maintenance. Make orphanStats bail out early if blob_orphans doesn't exist. dumpRev could use a nice description.

14 years agoRemove random comments.
Chad Horohoe [Fri, 21 Aug 2009 00:32:38 +0000 (00:32 +0000)]
Remove random comments.

14 years agoDelete maintenance/fetchInterwiki.pl - has been obsolete since r1589
Alex Z [Fri, 21 Aug 2009 00:25:39 +0000 (00:25 +0000)]
Delete maintenance/fetchInterwiki.pl - has been obsolete since r1589

14 years agoTweak Access-Control-Allow-Origin stuff per comments on r54127.
Alex Z [Fri, 21 Aug 2009 00:22:08 +0000 (00:22 +0000)]
Tweak Access-Control-Allow-Origin stuff per comments on r54127.
Use a wildcard syntax rather than string/regex options

14 years agoLocalization update.
Rotem Liss [Thu, 20 Aug 2009 21:49:59 +0000 (21:49 +0000)]
Localization update.

14 years agoDocument wfWarn() function
Alexandre Emsenhuber [Thu, 20 Aug 2009 21:35:22 +0000 (21:35 +0000)]
Document wfWarn() function

14 years agobug 20327 Error in FlaggedRevs.hooks.php after r55168's restructuring of history...
Brion Vibber [Thu, 20 Aug 2009 21:31:38 +0000 (21:31 +0000)]
bug 20327 Error in FlaggedRevs.hooks.php after r55168's restructuring of history page classes

14 years agoRemove somewhat braindead comments
Aryeh Gregor [Thu, 20 Aug 2009 21:30:47 +0000 (21:30 +0000)]
Remove somewhat braindead comments

On second thought, if you're outputting user-supplied JS without careful
validation, it doesn't really matter if it's HTML-escaped or not.  :D
CSS has expr() and such too.

14 years agoUpdate ChangesList output for enhanced changes to use CSS instead of obsolete attrbut...
Alex Z [Thu, 20 Aug 2009 21:06:24 +0000 (21:06 +0000)]
Update ChangesList output for enhanced changes to use CSS instead of obsolete attrbutes and elements (cellpadding, <tt>, etc.)
The test page I was using successfully validated as HTML 5 :)
Tested for signs of obvious regressions in FF 3.5, IE8, Opera 9.64 and Safari 4.0.
Supposedly, the border-spacing property isn't supported by IE, but I didn't see any obvious issues when testing,
so either the information I got was wrong/outdated, or its not actually necessary here. Needs testing in IE6/7 to verify.
If I did everything right, there shouldn't be any visible changes, save maybe a couple trivial spacing quirks.

14 years agoadd parser test for r55382
Ilmari Karonen [Thu, 20 Aug 2009 15:27:51 +0000 (15:27 +0000)]
add parser test for r55382

14 years ago(bug 15248) Normalize NBSP and other odd Unicode whitespace characters to normal...
Ilmari Karonen [Thu, 20 Aug 2009 14:56:11 +0000 (14:56 +0000)]
(bug 15248) Normalize NBSP and other odd Unicode whitespace characters to normal spaces.
Note: run cleanupTitles.php and cleanupImages.php after deploying this!

14 years ago* non firefogg add media wizard upload updates (only works once bug noted)
Michael Dale [Thu, 20 Aug 2009 14:06:16 +0000 (14:06 +0000)]
* non firefogg add media wizard upload updates (only works once bug noted)

14 years agoFollow-up r55368: Fix parser tests
Raimond Spekking [Thu, 20 Aug 2009 13:41:34 +0000 (13:41 +0000)]
Follow-up r55368: Fix parser tests

14 years ago* working inline uploader
Michael Dale [Thu, 20 Aug 2009 13:31:25 +0000 (13:31 +0000)]
* working inline uploader

14 years ago* skin revert
Michael Dale [Thu, 20 Aug 2009 12:14:14 +0000 (12:14 +0000)]
* skin revert

14 years ago* restored control Builder as wel
Michael Dale [Thu, 20 Aug 2009 12:05:16 +0000 (12:05 +0000)]
* restored control Builder as wel

14 years ago* partial revert to 55208 (pre kskin)
Michael Dale [Thu, 20 Aug 2009 11:57:37 +0000 (11:57 +0000)]
* partial revert to 55208  (pre kskin)

14 years agoFixed some of tests failed caused by r55371.
Philip Tzou [Thu, 20 Aug 2009 11:45:49 +0000 (11:45 +0000)]
Fixed some of tests failed caused by r55371.

14 years ago* kskin final state before revert for presentations
Michael Dale [Thu, 20 Aug 2009 11:37:48 +0000 (11:37 +0000)]
* kskin final state before revert for presentations

14 years agoSet linkTrail for Chinese language. There is no character should be appended to a...
Philip Tzou [Thu, 20 Aug 2009 11:16:19 +0000 (11:16 +0000)]
Set linkTrail for Chinese language. There is no character should be appended to a titlelink in Chinese wiki.

14 years agoSave the variant find from HTTP_ACCEPT_LANGUAGE to $mPreferredVariant, so we do not...
Philip Tzou [Thu, 20 Aug 2009 11:11:15 +0000 (11:11 +0000)]
Save the variant find from HTTP_ACCEPT_LANGUAGE to $mPreferredVariant, so we do not need to do it again.

14 years ago* slightly better sequencer css layout.
Michael Dale [Thu, 20 Aug 2009 10:29:09 +0000 (10:29 +0000)]
* slightly better sequencer css layout.
* now to fix the mismatched selectors *****I hate kskin right now****

14 years ago* minor css fixes
Michael Dale [Thu, 20 Aug 2009 09:55:40 +0000 (09:55 +0000)]
* minor css fixes
* fixes to inline uploads
* stubs for recent uploaded asset import listing

14 years ago* (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added
Raimond Spekking [Thu, 20 Aug 2009 09:13:29 +0000 (09:13 +0000)]
* (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added

14 years ago* moved $wgEnableTemporalOggUrls configuration var from default settings to oggHandler
Michael Dale [Thu, 20 Aug 2009 05:44:10 +0000 (05:44 +0000)]
* moved $wgEnableTemporalOggUrls configuration var from default settings to oggHandler

14 years ago* broken kskin integration mvpcf bootstrapping
Michael Dale [Thu, 20 Aug 2009 04:28:52 +0000 (04:28 +0000)]
* broken kskin integration mvpcf bootstrapping

14 years agoDe-clutter base directory; moving install-utils.inc into maintenance.
Brion Vibber [Wed, 19 Aug 2009 23:40:48 +0000 (23:40 +0000)]
De-clutter base directory; moving install-utils.inc into maintenance.

14 years agoOops and fix the test it was supposed to check.
Chad Horohoe [Wed, 19 Aug 2009 23:35:24 +0000 (23:35 +0000)]
Oops and fix the test it was supposed to check.

14 years agoAdd dash to Britney Spears
Chad Horohoe [Wed, 19 Aug 2009 23:34:42 +0000 (23:34 +0000)]
Add dash to Britney Spears

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-19 22:36 UTC)
Siebrand Mazeland [Wed, 19 Aug 2009 22:47:58 +0000 (22:47 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-19 22:36 UTC)

14 years ago* minor updates
Michael Dale [Wed, 19 Aug 2009 18:48:12 +0000 (18:48 +0000)]
* minor updates

14 years agoIncrimented $wgStyleVersion to refelct the changes in r55333.
Trevor Parscal [Wed, 19 Aug 2009 18:34:07 +0000 (18:34 +0000)]
Incrimented $wgStyleVersion to refelct the changes in r55333.

14 years agofix up doc comment on Database::buildConcat()
Brion Vibber [Wed, 19 Aug 2009 18:28:59 +0000 (18:28 +0000)]
fix up doc comment on Database::buildConcat()

14 years agoCleanup for r54264 "* Don't suppress warnings while developing, wasting my time for...
Brion Vibber [Wed, 19 Aug 2009 18:22:31 +0000 (18:22 +0000)]
Cleanup for r54264 "* Don't suppress warnings while developing, wasting my time for debugging"
Remove the warning suppression entirely; if you're seeing any warnings come up here it's probably because you forgot an isset() :) Please find and fix any such items.

14 years agoBug #20175 identifies some rendering artifacts which started popping up when we start...
Trevor Parscal [Wed, 19 Aug 2009 18:19:42 +0000 (18:19 +0000)]
Bug #20175 identifies some rendering artifacts which started popping up when we started messing with the font sizes of Vector at the body level. The problem is that Vector was originally designed with a fixed font size set at the body level, but using fixed font sizes like px and pt (which browsers like IE 5 - 7 don't scaled with user's prefs) - so changing it to something relative caused other issues like the tabs not lining up right and such. This patch switches the approach to using a 100% font size on everything except for the actual text in the UI, usually set at the a or span tag level (closest to text as possible). Everything in the #bodyContent and #siteNotice is also scaled at that level, so content can use relative sizes as usual without any change in behavior. This approach avoids strange rounding errors which each browser seems to handle differently, making the tabs look right - while also giving users of older IE browser control over their font sizes. Thus, this fixes #20175.

14 years agoRevert r54291 "(bug 19004) Added support for tags to the API. Patch by Matthew Britton."
Brion Vibber [Wed, 19 Aug 2009 17:34:08 +0000 (17:34 +0000)]
Revert r54291 "(bug 19004) Added support for tags to the API. Patch by Matthew Britton."
Per notes on code review, this doesn't handle multiple tags correctly right now.

14 years agoBreak installer guts out of config/index.php so we can display the "arglebargle need...
Brion Vibber [Wed, 19 Aug 2009 17:03:00 +0000 (17:03 +0000)]
Break installer guts out of config/index.php so we can display the "arglebargle need PHP 5" error.
The installer now uses enough PHP 5 features that PHP 4 won't even parse the file. :)

Still todo:
* auto-forward hits from index.php to index.php5 on a PHP 4/5 mixed setup

14 years ago* some k-skin clean up for better jquery.ui compatibility
Michael Dale [Wed, 19 Aug 2009 16:29:35 +0000 (16:29 +0000)]
* some k-skin clean up for better jquery.ui compatibility

14 years ago* some sequence fixes
Michael Dale [Wed, 19 Aug 2009 14:35:50 +0000 (14:35 +0000)]
* some sequence fixes

14 years ago* crappy broken kskin merge with mvpcf for now
Michael Dale [Wed, 19 Aug 2009 13:01:45 +0000 (13:01 +0000)]
* crappy broken kskin merge with mvpcf for now
* minor sequencer fix
* other minor code cleanup

14 years ago* don't wrap video player container if already in DOM
Michael Dale [Wed, 19 Aug 2009 11:58:02 +0000 (11:58 +0000)]
* don't wrap video player container if already in DOM

14 years ago* playhead width and player select fixes
Michael Dale [Wed, 19 Aug 2009 11:42:38 +0000 (11:42 +0000)]
* playhead width and player select fixes

14 years agoAdd doc comment for JS2 dependency in live preview enhancements from r55239
Andrew Garrett [Wed, 19 Aug 2009 11:06:13 +0000 (11:06 +0000)]
Add doc comment for JS2 dependency in live preview enhancements from r55239

14 years ago* working display of menus .. now to fix j hooking
Michael Dale [Wed, 19 Aug 2009 10:39:33 +0000 (10:39 +0000)]
* working display of menus .. now to fix j hooking

14 years ago* remove message "wgfogg_wrong_version"; was unused
Siebrand Mazeland [Wed, 19 Aug 2009 10:28:33 +0000 (10:28 +0000)]
* remove message "wgfogg_wrong_version"; was unused
* rename some message keys, to avoid duplicates in mwEmbed.i18n.php with other MediaWiki message keys (not yet done)
* fix link errors and unwanted changes introduced in r55296 where ":" was replaced by " : " also in messages
* update mwEmbed.i18n.php with updated keys

14 years ago* updated kskin integration (still mostly broken)
Michael Dale [Wed, 19 Aug 2009 09:07:58 +0000 (09:07 +0000)]
* updated kskin integration (still mostly broken)

14 years agoFollow-up to http://www.mediawiki.org/wiki/Special:Code/MediaWiki/54561: use the...
Benjamin Lees [Wed, 19 Aug 2009 05:41:42 +0000 (05:41 +0000)]
Follow-up to mediawiki.org/wiki/Special:Code/MediaWiki/54561: use the class autoloader.

14 years agonewline at end of output :)
Brion Vibber [Wed, 19 Aug 2009 05:08:17 +0000 (05:08 +0000)]
newline at end of output :)

14 years agoRevert r54585 "Fix bug 19261 by saving the username as the signature if it is submitt...
Brion Vibber [Wed, 19 Aug 2009 02:33:04 +0000 (02:33 +0000)]
Revert r54585 "Fix bug 19261 by saving the username as the signature if it is submitted empty"

Looks like the base problem is that empty is being interpreted as "put empty in the sig" instead of as "use default sig" at signature replacement time.
We shouldn't be saving the username into preferences if it hasn't been explicitly typed; if the user changes their name, they should automatically pick up the new value.

14 years agoFollow-up r54629 - clarify that we're making the style sheets work in Opera, not...
Brion Vibber [Wed, 19 Aug 2009 02:17:05 +0000 (02:17 +0000)]
Follow-up r54629 - clarify that we're making the style sheets work in Opera, not that we're making them not work :)

14 years agoRevert image crop for now:
Brion Vibber [Wed, 19 Aug 2009 02:07:00 +0000 (02:07 +0000)]
Revert image crop for now:
r54746 "Update formatting for r54745"
r54745 "Added crop support for inline images."
r54748 "Making demon happy (adding public/protected to function definitions) and add some comments along the way."

Several issues:
* Implementation is ImageMagick-specific, no support for GD backend
* Specification syntax is pretty ugly and non-obvious imo... [[File:foo.jpg|<width>px|<left>x<top>x<width>x<height]]
* Crop syntax seems to be tied to pixels... I _presume_ source pixels? This would break if a file is re-uploaded with a new size.
* In general I'm very leery of tacking on more infinite-options-in-infinte-combinations for image rendering; our treatment of resizing already has implications for CPU and disk usage and this just adds another level of arbitrary-rendered horror. ;)

I'd much rather we move towards limiting the number of rendered variants we have, not increase them... IMO cropping would be better served with an interface allowing for explicit, visible cropping which creates either a new saved version, or a 'cloned' virtual file which can be referred to by name... and more importantly, uses of it would be trackable so that if crops needs to be updated they can be cleanly.

14 years agoFollowup r53884, use wfSuppressWarnings/wfRestoreWarnings instead of @
Chad Horohoe [Wed, 19 Aug 2009 01:55:13 +0000 (01:55 +0000)]
Followup r53884, use wfSuppressWarnings/wfRestoreWarnings instead of @

14 years agoCleanup from r54770 "Add Html::input() convenience function"
Brion Vibber [Wed, 19 Aug 2009 01:39:05 +0000 (01:39 +0000)]
Cleanup from r54770 "Add Html::input() convenience function"
Split the giant arrays of attributes/values to one item per line, which makes them easier to look at, easier to grep, and easier to see what's happening when they're changed in diffs.
We're not printing; vertical space isn't at a premium. ;)

14 years agoFix syntax error from r55287
Siebrand Mazeland [Wed, 19 Aug 2009 01:07:27 +0000 (01:07 +0000)]
Fix syntax error from r55287

14 years agoRedo r54644. php -l still sucks, but some people don't have parsekit. So let's suppor...
Chad Horohoe [Wed, 19 Aug 2009 00:46:18 +0000 (00:46 +0000)]
Redo r54644. php -l still sucks, but some people don't have parsekit. So let's support both :)

14 years ago* language updates and fixes/enhancements to js/php merge system
Michael Dale [Wed, 19 Aug 2009 00:28:57 +0000 (00:28 +0000)]
* language updates and fixes/enhancements to js/php merge system

14 years agoMultithreaded rebuild currently relies on PHP's pcntl extension, which is not present...
Brion Vibber [Wed, 19 Aug 2009 00:26:59 +0000 (00:26 +0000)]
Multithreaded rebuild currently relies on PHP's pcntl extension, which is not present by default and unsupported on Windows.
Rather than just spitting out a fatal error, let's gracefully fall back to single threading and tell the user why.
(Also now actually validating the thread number, though a maximum might be wise. ;)

Note that this could be implemented without pcntl instead by shelling out to subprocesses.

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-18 23:54 UTC)
Siebrand Mazeland [Wed, 19 Aug 2009 00:20:05 +0000 (00:20 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-18 23:54 UTC)

14 years agoDisable the mysterious keypress throttling that overrides your operating system's...
Brion Vibber [Tue, 18 Aug 2009 23:55:37 +0000 (23:55 +0000)]
Disable the mysterious keypress throttling that overrides your operating system's keypress throttling for the up and down arrow keys in mwsuggest drop down.
The throttle didn't work prior to r55064, which was just fine since it makes your system behave more slowly for no apparent reason. :)

14 years ago* added support for merging php -> js (already supported js -> php)
Michael Dale [Tue, 18 Aug 2009 23:49:36 +0000 (23:49 +0000)]
* added support for merging php -> js (already supported js -> php)

14 years ago$wgMaximumMovedPages should only count moved pages
Aryeh Gregor [Tue, 18 Aug 2009 23:25:36 +0000 (23:25 +0000)]
$wgMaximumMovedPages should only count moved pages

(bug 20289) Previously, some pages that weren't actually moved were
counted against the limit by mistake.  Whether it's sane for people to
move pages back and forth by hand to get around the limit is open to
debate, of course.

14 years ago* update messages in the actual JavaScript files; also remove trailing whitespace
Siebrand Mazeland [Tue, 18 Aug 2009 23:23:59 +0000 (23:23 +0000)]
* update messages in the actual JavaScript files; also remove trailing whitespace
* update mwEmbed.i18n.php

14 years agoRedo addArgs() as addArg() so we can actually do useful things with arguments like...
Chad Horohoe [Tue, 18 Aug 2009 23:06:24 +0000 (23:06 +0000)]
Redo addArgs() as addArg() so we can actually do useful things with arguments like descriptions and proper requirement checks, similar to addOption()

14 years agoRemove duplicate tab added in r55281
Siebrand Mazeland [Tue, 18 Aug 2009 22:22:55 +0000 (22:22 +0000)]
Remove duplicate tab added in r55281

14 years agoStylize, reindent, pretty comment blocks, updated command line output
Siebrand Mazeland [Tue, 18 Aug 2009 22:13:31 +0000 (22:13 +0000)]
Stylize, reindent, pretty comment blocks, updated command line output

14 years agoQuick hack workaround for lack of optional argument lists in Maintenance class:
Brion Vibber [Tue, 18 Aug 2009 22:03:57 +0000 (22:03 +0000)]
Quick hack workaround for lack of optional argument lists in Maintenance class:
* don't list the start argument (good: means we default to 0; bad: means the --help doesn't list it)
* use "0" rather than 0 as the default so it doesn't fail the ctype_digit check

14 years agoUpdate capitalisation, some rewording, spelling fixes
Siebrand Mazeland [Tue, 18 Aug 2009 21:56:04 +0000 (21:56 +0000)]
Update capitalisation, some rewording, spelling fixes

14 years ago* removed <JAVASCRIPT EN REPLACE> in favor of normal $messages['en'] check
Michael Dale [Tue, 18 Aug 2009 21:44:37 +0000 (21:44 +0000)]
* removed <JAVASCRIPT EN REPLACE> in favor of normal $messages['en'] check
* updated maintenance script accordingly

14 years agoRemove all usage of projection stylesheets
Aryeh Gregor [Tue, 18 Aug 2009 21:22:59 +0000 (21:22 +0000)]
Remove all usage of projection stylesheets

(bug 18497) We don't actually intend for any of these stylesheets to be
used for projection, so providing projection is incorrect.  Opera will
not use screen stylesheets in full-screen mode, but *only* if there's at
least one projection stylesheet present somewhere.  If we remove *all*
projection stylesheets, then theoretically it should fall back to screen
stylesheets.  I've confirmed that this works fine on my dev wiki with
Opera 9.6.

14 years ago* fixes for multiple iframes target mismatch for single page
Michael Dale [Tue, 18 Aug 2009 21:12:53 +0000 (21:12 +0000)]
* fixes for multiple iframes target mismatch for single page
** lays groundwork for multiple in-page uploads

14 years agoRevert r55255 "Unblocking: Linking to contributions list instead of user page for...
Brion Vibber [Tue, 18 Aug 2009 21:00:30 +0000 (21:00 +0000)]
Revert r55255 "Unblocking: Linking to contributions list instead of user page for IPs (other messages do so as well)"
This message seems to be used for the subtitle link on unblock success on Special:BlockList, and is used both for accounts and IPs. Needs to handle both these cases at least; double-check also handling of IP ranges?