Alexandre Emsenhuber [Sun, 23 Aug 2009 20:19:22 +0000 (20:19 +0000)]
* (bug 20365) Page name with with c/g/h/j/s/u + x are now correctly handled in Special:MovePage with Esperanto as content language
Aryeh Gregor [Sun, 23 Aug 2009 20:09:59 +0000 (20:09 +0000)]
Reformat comment
<3 vim Ctrl-V
Rotem Liss [Sun, 23 Aug 2009 19:47:18 +0000 (19:47 +0000)]
Localization update.
Purodha B Blissenbach [Sun, 23 Aug 2009 17:48:25 +0000 (17:48 +0000)]
Split date, and time, in Mediawiki:enotif_body, and show localized special page name in generated e-mail.
Siebrand Mazeland [Sun, 23 Aug 2009 12:53:57 +0000 (12:53 +0000)]
* for php2js, all colons in messages will be replaced by " : ". That's not really needed. Commented out and added FIXME. Was introduced in r55290.
* update command line output
Alexandre Emsenhuber [Sun, 23 Aug 2009 09:39:13 +0000 (09:39 +0000)]
Redo r53641, reverted in r55457, now using indexed queries:
* (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks target page
Alexandre Emsenhuber [Sun, 23 Aug 2009 08:16:24 +0000 (08:16 +0000)]
* (bug 20362) Special:Statistics now produces valid HTML when view counters are enabled
Raimond Spekking [Sun, 23 Aug 2009 07:42:38 +0000 (07:42 +0000)]
Follow-up r55513 and r55515: Add new message keys to maintenance script
Don't commit on a sunday morning b4 breakfast (r55519) :-/
Raimond Spekking [Sun, 23 Aug 2009 07:40:22 +0000 (07:40 +0000)]
Follow-up r55513 and r55515: Add new message keys to maintenance script
Saving a file helps to commit (r55519) :-/
Raimond Spekking [Sun, 23 Aug 2009 07:20:52 +0000 (07:20 +0000)]
Follow-up r55513 and r55515: Add new message keys to maintenance script
Aryeh Gregor [Sun, 23 Aug 2009 03:42:33 +0000 (03:42 +0000)]
RELEASE-NOTES typo
Aryeh Gregor [Sun, 23 Aug 2009 03:33:11 +0000 (03:33 +0000)]
Enforce $wgMinimalPasswordLength client-side
. . . except not really. It works fine on Opera 9.6, except for the
slight detail that if you enter a password that's too short, Opera will
helpfully repeat your password back to you un-*ed when telling you it's
too short. Same in Opera 10.00 Beta 3. So the code is commented out,
and there are no functional changes. We'll need UA sniffing when the
code is uncommented. But I already wrote it, so may as well commit it
for future use.
This recycles the "passwordtooshort" message to provide the client-side
error message, using the title attribute on the input. Since the title
attribute might be displayed when the user hasn't actually entered an
invalid password, I've reworded it to not imply the user actually
entered an incorrect password, so it just states the requirement. (This
accords with the advice given in the HTML 5 spec.) I didn't make up a
new message name for that, because it's not a big deal if translations
do imply that the password is wrong, since that should theoretically be
the most common case anyway.
Brion Vibber [Sun, 23 Aug 2009 01:25:48 +0000 (01:25 +0000)]
* (bug 20317) Cleaned up default main page link accesskey settings
Cleanup from r46398 (bug 17184) which moved the accesskey from 'n-mainpage' onto 'p-logo' to avoid duplicating the access key on both the logo and the main page.
Putting the 'z' accesskey default on 'n-mainpage-description' now instead of p-logo; also kept 'z' for 'n-mainpage' for back-compat for people with older customized sidebars which don't specify mainpage-description.
Brion Vibber [Sun, 23 Aug 2009 00:45:36 +0000 (00:45 +0000)]
* (bug 11143) Links containing invalid UTF-8 percent-code sequences are now
cleanly disabled instead of breaking parsing entirely on PHP 5.2.
This was fixed as a side-effect of r55382 for bug 15248; adding comments
in Title::secureAndSplit nothing this.
Brion Vibber [Sun, 23 Aug 2009 00:14:03 +0000 (00:14 +0000)]
* (bug 20358) Unprotect tab was missing accesskey; now same as protect tab.
Patch by RockMFR: http://bug-attachment.wikimedia.org/attachment.cgi?id=6484
Brion Vibber [Sat, 22 Aug 2009 22:44:44 +0000 (22:44 +0000)]
Add a Makefile and a copy of the cssjanus script so folks can update the RTL variant stylesheet more easily.
cssjanus from r28 on the Google Code project: http://code.google.com/p/cssjanus/source/browse/#svn/trunk
Plus a patch for the broken options: http://code.google.com/p/cssjanus/issues/detail?id=11
cssjanus is under Apache license.
Alexandre Emsenhuber [Sat, 22 Aug 2009 22:26:31 +0000 (22:26 +0000)]
Per Brion's comment on r52683: use $wgOut->isPrintable() rather than $wgRequest->getBool( 'printable' )
Brion Vibber [Sat, 22 Aug 2009 21:53:57 +0000 (21:53 +0000)]
Change r52690 per suggestions on CodeReview: rearrange from boolean OR mysteriously changed to binary OR to a nice plain if statement.
Rotem Liss [Sat, 22 Aug 2009 21:12:54 +0000 (21:12 +0000)]
Localization update.
Alex Z [Sat, 22 Aug 2009 20:17:28 +0000 (20:17 +0000)]
Mostly revert r53358 and r53365 per comments on code review. Change message to just say "Database" and remove the getDBtypeForMsg function (since I can't think of any other use for it)
Brion Vibber [Sat, 22 Aug 2009 20:15:22 +0000 (20:15 +0000)]
Clean up some of the unnecessary tabs splattered throughout our output. They tend to combine confusingly and just inflate both source and output without actually improving readability much.
Alexandre Emsenhuber [Sat, 22 Aug 2009 20:00:41 +0000 (20:00 +0000)]
use tabs for identation, not spaces
Brion Vibber [Sat, 22 Aug 2009 19:55:28 +0000 (19:55 +0000)]
Reduce output size of Skin::makeVariablesScript() for the head variables.
Drops a lot of unnecessary whitespace (but keeps newlines for legibility) and puts multiple defs into a single 'var' statement.
Reduces the head vars script from 1485 bytes to 1201 (nearly 20% savings), though this is of course reduced with gzipping (27 bytes, 4%). Cutting those bytes out of *every dang request* doesn't hurt though. :)
Siebrand Mazeland [Sat, 22 Aug 2009 19:53:22 +0000 (19:53 +0000)]
Update with messages from embedVideo.js (follow-up to r55494)
Siebrand Mazeland [Sat, 22 Aug 2009 19:50:48 +0000 (19:50 +0000)]
Fix formatting error that caused mergeJavascriptMsg.php to bork on js2php
Siebrand Mazeland [Sat, 22 Aug 2009 19:42:14 +0000 (19:42 +0000)]
* change trim() for $postFile to ltrim(). Want the trailing newline
* update comments
Brion Vibber [Sat, 22 Aug 2009 19:32:39 +0000 (19:32 +0000)]
Cut search icons by ~100 bytes each; optipng default settings.
Siebrand Mazeland [Sat, 22 Aug 2009 19:20:03 +0000 (19:20 +0000)]
Update with mergeJavascriptMsg.php js2php
Siebrand Mazeland [Sat, 22 Aug 2009 19:16:29 +0000 (19:16 +0000)]
Hope this is the last formatting issue fixed.
Siebrand Mazeland [Sat, 22 Aug 2009 19:12:41 +0000 (19:12 +0000)]
Update messages and formatting
Raimond Spekking [Sat, 22 Aug 2009 19:12:19 +0000 (19:12 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-22 19:00 UTC)
Siebrand Mazeland [Sat, 22 Aug 2009 19:04:54 +0000 (19:04 +0000)]
Random fixes for messages and message formatting
Siebrand Mazeland [Sat, 22 Aug 2009 18:41:05 +0000 (18:41 +0000)]
Update mwEmbed.i18n.php
For some reasons libEmbedVideo/embedVideo.js is not imported (could not get any json vars from:/libEmbedVideo/embedVideo.js). Looking into that.
Siebrand Mazeland [Sat, 22 Aug 2009 18:31:43 +0000 (18:31 +0000)]
* update comment writing (add space to second and third line)
* stylize.php and indentation updated
Raimond Spekking [Sat, 22 Aug 2009 18:22:00 +0000 (18:22 +0000)]
Merge r55331 from wmf-deployment (which was merged from a live hack)
Note: Not per SVN merge because syntax differs:
dbsource( ..., $dbw );
vs.
$dbw->sourceFile( ... );
Chad Horohoe [Sat, 22 Aug 2009 16:50:03 +0000 (16:50 +0000)]
Merge r53381 from wmf-deployment. Throw more informational error on creation failure.
Siebrand Mazeland [Sat, 22 Aug 2009 12:12:43 +0000 (12:12 +0000)]
* added missing message "mwe-no_text_tracks_found"
* harmonise message prefix
* fix typos in message keys
* fix typos in messages
* remove trailing whitespace
Should be almost done now. Next step is to get a proper mwEmbed.i18n.php, verify and fix that, and give it to the translators.
Philip Tzou [Sat, 22 Aug 2009 11:36:13 +0000 (11:36 +0000)]
Update the Chinese conversion tables.
Shinjiman [Sat, 22 Aug 2009 09:47:51 +0000 (09:47 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Rotem Liss [Sat, 22 Aug 2009 07:55:44 +0000 (07:55 +0000)]
Localization update.
Raimond Spekking [Sat, 22 Aug 2009 07:03:52 +0000 (07:03 +0000)]
Follow-up r55459: Fix for PHP Notice: Undefined variable: deleted in /var/www/w/includes/UserMailer.php on line 379
Michael Dale [Sat, 22 Aug 2009 06:49:47 +0000 (06:49 +0000)]
* Fixed some AMW issues
Raimond Spekking [Sat, 22 Aug 2009 06:48:32 +0000 (06:48 +0000)]
Follow-up r55459: Add new message keys to maintenance script
Michael Dale [Sat, 22 Aug 2009 06:36:19 +0000 (06:36 +0000)]
hard coded requested imageinfo prop in api upload result (to avoid static call to non-static: ApiQueryImageInfo::getAllowedParams();
Michael Dale [Sat, 22 Aug 2009 05:57:00 +0000 (05:57 +0000)]
* Fixed some AMW regressions.
* Fixed upload destination check
* Localized more of AMW
Michael Dale [Sat, 22 Aug 2009 05:24:21 +0000 (05:24 +0000)]
re-added $partname for warning checks 53361#c3664
Brion Vibber [Sat, 22 Aug 2009 01:24:04 +0000 (01:24 +0000)]
Pet peeve time: reduce clutter from common $wgContLang->isRTL() ? 'x' : 'y' pattern. :)
Introduced helpers:
$lang->getDir() returns 'ltr' or 'rtl' for HTML 'dir' attrib
$lang->alignStart() returns 'left' or 'right' for HTML 'align' attrib or CSS 'text-align' property
$lang->alignEnd() returns 'right' or 'left'
And cleaned up a couple arrays of icons to just reverse the order of items rather than repeating the items twice for each possibility.
Alex Z [Sat, 22 Aug 2009 00:46:13 +0000 (00:46 +0000)]
Parse error: syntax error, unexpected T_VARIABLE in w/includes/UserMailer.php on line 480
Chad Horohoe [Fri, 21 Aug 2009 23:33:38 +0000 (23:33 +0000)]
(bug 15646) Page creation notification email is sent when a watched page is deleted
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.
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.
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.
Aryeh Gregor [Fri, 21 Aug 2009 22:30:51 +0000 (22:30 +0000)]
Typo in comment
Aryeh Gregor [Fri, 21 Aug 2009 22:30:23 +0000 (22:30 +0000)]
Use Html::input()/autofocus a bunch more places
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.
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.
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()).
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.
Siebrand Mazeland [Fri, 21 Aug 2009 21:46:36 +0000 (21:46 +0000)]
Localisation updates for namespaces from translatewiki.net
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. :)
Aryeh Gregor [Fri, 21 Aug 2009 21:35:52 +0000 (21:35 +0000)]
Autofocus password, not name, if name is prefilled
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.
Aryeh Gregor [Fri, 21 Aug 2009 21:34:52 +0000 (21:34 +0000)]
Omit useless value="" in Html::input()
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.
Siebrand Mazeland [Fri, 21 Aug 2009 21:25:08 +0000 (21:25 +0000)]
Localisation updates for special page aliases 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
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)
Aryeh Gregor [Fri, 21 Aug 2009 21:06:28 +0000 (21:06 +0000)]
Don't output useless value=""
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.
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.
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.
Aryeh Gregor [Fri, 21 Aug 2009 20:39:16 +0000 (20:39 +0000)]
Correct outdated comments
Aryeh Gregor [Fri, 21 Aug 2009 20:38:53 +0000 (20:38 +0000)]
Don't escape >" in tag contents, no point
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
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!
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.
Shinjiman [Fri, 21 Aug 2009 14:36:04 +0000 (14:36 +0000)]
*(bug 17742) Fixes inconsistent special page aliases for the Taiwanese language.
Philip Tzou [Fri, 21 Aug 2009 04:44:46 +0000 (04:44 +0000)]
Add and modify parser test for new language converter rules.
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.
Chad Horohoe [Fri, 21 Aug 2009 00:32:38 +0000 (00:32 +0000)]
Remove random comments.
Alex Z [Fri, 21 Aug 2009 00:25:39 +0000 (00:25 +0000)]
Delete maintenance/fetchInterwiki.pl - has been obsolete since r1589
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
Rotem Liss [Thu, 20 Aug 2009 21:49:59 +0000 (21:49 +0000)]
Localization update.
Alexandre Emsenhuber [Thu, 20 Aug 2009 21:35:22 +0000 (21:35 +0000)]
Document wfWarn() function
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
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.
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.
Ilmari Karonen [Thu, 20 Aug 2009 15:27:51 +0000 (15:27 +0000)]
add parser test for r55382
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!
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)
Raimond Spekking [Thu, 20 Aug 2009 13:41:34 +0000 (13:41 +0000)]
Follow-up r55368: Fix parser tests
Michael Dale [Thu, 20 Aug 2009 13:31:25 +0000 (13:31 +0000)]
* working inline uploader
Michael Dale [Thu, 20 Aug 2009 12:14:14 +0000 (12:14 +0000)]
* skin revert
Michael Dale [Thu, 20 Aug 2009 12:05:16 +0000 (12:05 +0000)]
* restored control Builder as wel
Michael Dale [Thu, 20 Aug 2009 11:57:37 +0000 (11:57 +0000)]
* partial revert to 55208 (pre kskin)
Philip Tzou [Thu, 20 Aug 2009 11:45:49 +0000 (11:45 +0000)]
Fixed some of tests failed caused by r55371.
Michael Dale [Thu, 20 Aug 2009 11:37:48 +0000 (11:37 +0000)]
* kskin final state before revert for presentations
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.
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.
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****