Brion Vibber [Thu, 19 Jul 2007 15:49:25 +0000 (15:49 +0000)]
rename checkboxMouseupHandler to checkboxClickHandler for the feel-good value of non-confusing names :D
Brion Vibber [Thu, 19 Jul 2007 15:33:12 +0000 (15:33 +0000)]
* (bug 10642) Fix shift-click checkbox behavior for Opera 9.0+ and 6.0
The previous code was using the 'onmouseup' event to trigger the shift-click multiple selection behavior. This had a number of problems:
* Opera 6.0 doesn't fire this event on radio buttons
* Opera 7.x and 8.x flip the check state before sending the event, while Opera 9.x and other browsers flip it after
* A UA check for Opera was used to work around the state inconsistency for 7.x and 8.x, which broke on 9.x
* Minor quibble: the event fires if you click outside the radio and release while the mouse is over it, though that wouldn't normally count as a click on the radio.
I've switched it to use the 'onclick' event handler instead, which resolves this:
* Opera 6.x fires this event
* All tested browsers have flipped the check state before the event, so special-case code can be removed.
Tested browsers:
* Opera 9.2, 9.0, 8.5, 8.0, 7.5, 6.0/Mac
* Firefox 2/Mac
* Safari 2/Mac
* Safari 3/Win
* IE 7/Win
* IE 6/Win
* IE 5.2/Mac
* iCab 3/Mac
* Mozilla 1.1/Mac
Brion Vibber [Thu, 19 Jul 2007 14:46:14 +0000 (14:46 +0000)]
and bump style ver
Brion Vibber [Thu, 19 Jul 2007 14:45:56 +0000 (14:45 +0000)]
bug 10638 -- fix regression in Opera < 9.5 by bad version check in r24163
Raimond Spekking [Thu, 19 Jul 2007 14:24:09 +0000 (14:24 +0000)]
Underscores in namespaces are useful, thanks to Nikerabbit
Raimond Spekking [Thu, 19 Jul 2007 09:39:36 +0000 (09:39 +0000)]
fix regressions from r24262/24263
Raimond Spekking [Thu, 19 Jul 2007 09:02:32 +0000 (09:02 +0000)]
* (bug 10637) Update Thai translation
Patch by Manop K
Raimond Spekking [Thu, 19 Jul 2007 08:17:42 +0000 (08:17 +0000)]
* (bug 10636) Update Thai translation
Patch by Manop K
Niklas Laxström [Thu, 19 Jul 2007 08:04:20 +0000 (08:04 +0000)]
* Updates to Norwegian (no) by Jhs
Niklas Laxström [Thu, 19 Jul 2007 07:58:12 +0000 (07:58 +0000)]
* Updates to Italian (it) by BrokenArrow
Raimond Spekking [Thu, 19 Jul 2007 07:37:38 +0000 (07:37 +0000)]
* (bug 10591) Use Arabic numerals (0,1,2...) for the Malayam language
Aryeh Gregor [Thu, 19 Jul 2007 05:29:55 +0000 (05:29 +0000)]
While we value our third-party contributors, we don't generally mention them in the RELEASE-NOTES. Might be a good idea to start, though? Maybe make a "contributors" section? Hmm. An idea for another version, perhaps.
Brion Vibber [Wed, 18 Jul 2007 22:13:35 +0000 (22:13 +0000)]
Fix several JS problems with MSIE/Mac:
* Use of Array.push() broke things, as it's not missing. Work around with a[a.length] = foo
-- shift-checkbox selection and sortable table setup were causing JS errors on every page view
* Use of 'if (x in arr)' breaks *parsing* in MSIE/Mac. :P Work around work 'for (y in arr) if (x == y)'
-- broke upload.js, so the license selector hackaround didn't get run
* Upload AJAX calls weren't checking for client compatibility before doing things
-- littered spinners on the page
Raimond Spekking [Wed, 18 Jul 2007 22:01:41 +0000 (22:01 +0000)]
* (bug 10616) Update Chinese translations
Patch by Shinjiman
Rob Church [Wed, 18 Jul 2007 21:47:09 +0000 (21:47 +0000)]
(bug 10634) Fake out log_id until the column is live on Wikimedia
Brion Vibber [Wed, 18 Jul 2007 20:48:56 +0000 (20:48 +0000)]
bump style version for the last commit removing the recently-added 'overflow: hidden' on headers.
That had RTL issues, and also broke all headers in IE/Mac 5.x
Rotem Liss [Wed, 18 Jul 2007 20:43:59 +0000 (20:43 +0000)]
Partial revert of r24168: it *does* have other effects, it breaks headings on RTL wikis (each heading near left-floated items, e.g. images or infoboxes, is moved to the right, over (or under) the sidebar.
Brion Vibber [Wed, 18 Jul 2007 20:13:08 +0000 (20:13 +0000)]
Fix for site stats changes... sanity checks cause a rebuild of stats now, so need more tables available in test harness, and there are 2 articles created at that point in the test
Brion Vibber [Wed, 18 Jul 2007 20:05:58 +0000 (20:05 +0000)]
Revert r24237, r24239, r24245 for the moment. We expect transwiki system to change to allow multiple pages in a batch in future, and the implementation for renaming here seems a bit precarious.
Rob Church [Wed, 18 Jul 2007 19:48:43 +0000 (19:48 +0000)]
Fix double-escaping
Brion Vibber [Wed, 18 Jul 2007 19:19:50 +0000 (19:19 +0000)]
Tweaks to the AJAX license preview:
* Rename 'licence' to 'license' for consistency with the rest of the code.
* The preview code was assuming simple templates with no parameters and no subst:s, which failed on most of the selections used now on Commons. Now doing a full pre-save transform and parse on {{$license}}, just as will be done on the final save.
* When selecting 'None' again after another option, the preview pane is now cleared.
A fun 'todo' might be to also pass the currently selected filename, if any, to the license preview. Some of the templates in use attempt to use the current-page-name variables to include a self-link. At the moment using a hardcoded 'Image:Sample.jpg' for the virtual title on the preview rendering.
Brion Vibber [Wed, 18 Jul 2007 18:46:07 +0000 (18:46 +0000)]
remove spurious htmlspecialchars() on input; remove unnecessary null checks
Rotem Liss [Wed, 18 Jul 2007 16:18:34 +0000 (16:18 +0000)]
Update.
Raimond Spekking [Wed, 18 Jul 2007 16:04:49 +0000 (16:04 +0000)]
* (bug 10631) Warn when illegal characters are removed from filename at upload
Probably a regression, I am sure I have seen this warning in the past
Raimond Spekking [Wed, 18 Jul 2007 12:33:15 +0000 (12:33 +0000)]
fix to show the source article name in log
Raimond Spekking [Wed, 18 Jul 2007 11:10:43 +0000 (11:10 +0000)]
* (bug 6808) Allow import to different page name
* (bug 6436) Localization of Special:Import XML parser Error message(s).
Reworking error message handling as the former behaviour showed success though import failed
Proper XML functions for input forms
Rob Church [Wed, 18 Jul 2007 09:52:17 +0000 (09:52 +0000)]
It helps when you don't break things...
Rob Church [Wed, 18 Jul 2007 09:29:41 +0000 (09:29 +0000)]
Introduce IndexPager::preprocessResults(); useful for doing batch existence checks, etc.
Aaron Schulz [Wed, 18 Jul 2007 08:49:24 +0000 (08:49 +0000)]
*Decrappify inefficient hook/link update scheme for this extension
Rob Church [Wed, 18 Jul 2007 07:18:08 +0000 (07:18 +0000)]
Clean up and update documentation for Title::isAlwaysKnown()
Daniel Cannon [Wed, 18 Jul 2007 05:25:53 +0000 (05:25 +0000)]
(bug 10602) API: Add two protected accessors to ApiMain allowing extending class to add to or override existing modules and formats.
Rob Church [Wed, 18 Jul 2007 02:53:04 +0000 (02:53 +0000)]
tyop
Ivan Lanin [Wed, 18 Jul 2007 01:55:04 +0000 (01:55 +0000)]
Indonesian (id) localisation updates.
Rob Church [Tue, 17 Jul 2007 22:30:52 +0000 (22:30 +0000)]
Pass the user as an argument to 'isValidPassword' hook callbacks; see docs/hooks.txt for more information
Brion Vibber [Tue, 17 Jul 2007 20:27:23 +0000 (20:27 +0000)]
clarify comment
Brion Vibber [Tue, 17 Jul 2007 19:16:53 +0000 (19:16 +0000)]
* (bug 10572) Force refresh after clearing visitation timestamps on watchlist
Brion Vibber [Tue, 17 Jul 2007 18:14:36 +0000 (18:14 +0000)]
URL-encode the content-disposition suggested filename for XML export data.
This fixes the filename encoding for non-pure-ASCII site names on IE 6/7, and may fix issues with other ASCIIish chars.
Safari 2/Mac messes up the filename either way, but percent codes are probably still better here than garbage characters. :)
IE/Mac and Safari 3/Win don't appear to pay attention to the content-disposition and still show the XML inline.
Brion Vibber [Tue, 17 Jul 2007 17:16:59 +0000 (17:16 +0000)]
* (bug 8054) Return search page for empty search requests with ugly URLs
Send things to Special:Search as long as a 'search=' parameter is given, even if it's empty.
Also removed a redundant second check for the parameter.
Rob Church [Tue, 17 Jul 2007 16:52:55 +0000 (16:52 +0000)]
Fix
Rotem Liss [Tue, 17 Jul 2007 16:50:49 +0000 (16:50 +0000)]
Update.
Rob Church [Tue, 17 Jul 2007 16:44:40 +0000 (16:44 +0000)]
* Clean up User::isValidPassword()
* Document 'isValidPassword' hook
Brion Vibber [Tue, 17 Jul 2007 15:50:50 +0000 (15:50 +0000)]
Revert r24105, r24106, r24107 'security fix' forbidden text/css and text/javascript for pages not matching some particular formats.
This doesn't actually do the job; browsers aren't this picky about their JavaScript, and many aren't picky about CSS either. Further, this actually breaks internal JS such as the gen=js mode.
Raimond Spekking [Tue, 17 Jul 2007 15:28:36 +0000 (15:28 +0000)]
* Removing some {{PLURAL:}} calls as wfMsgforContent does not support plural :-(
* Update German
Brion Vibber [Tue, 17 Jul 2007 15:13:57 +0000 (15:13 +0000)]
A little more cleanup on the fallback (non-cURL) HttpFunctions fetch.
Include a User-Agent header equivalent to the cURL one; this also is needed
when fetching export pages from Wikipedia, as we currently block the default
PHP user-agent string...
Brion Vibber [Tue, 17 Jul 2007 14:46:43 +0000 (14:46 +0000)]
* (bug 10615) Fix for transwiki import when CURL not available
Was doing a POST without sending Content-Length header, which some web servers get real pissy about.
Now sends a 'Content-Length: 0' header
Aaron Schulz [Tue, 17 Jul 2007 10:27:23 +0000 (10:27 +0000)]
*Note cascading protection, patch by Lejonel (bug 10614)
Niklas Laxström [Tue, 17 Jul 2007 08:43:51 +0000 (08:43 +0000)]
* Updates
Raimond Spekking [Tue, 17 Jul 2007 07:07:24 +0000 (07:07 +0000)]
Housekeeping
* Making message 'sorbs' optional. It is untranslated/untranslatable in most languages.
* Removing http://www.sorbs.net from all messages. It was removed from MessagesEn.php in r17528 as it is no longer the DNSBL default.
Raimond Spekking [Tue, 17 Jul 2007 06:24:04 +0000 (06:24 +0000)]
* (bug 10577) Update Thai translation
Patch by Manop K
Daniel Cannon [Tue, 17 Jul 2007 06:04:09 +0000 (06:04 +0000)]
It appears that some MIME detectors on Windows machines identify svg's as 'image/svg' instead of 'image/svg+xml'. Might as well have both in $wgMediaHandlers.
Ævar Arnfjörð Bjarmason [Tue, 17 Jul 2007 03:46:28 +0000 (03:46 +0000)]
ok 0 => msg ==> fail(msg) ; ok 1 => msg ==> pass(msg)
Ævar Arnfjörð Bjarmason [Tue, 17 Jul 2007 03:32:43 +0000 (03:32 +0000)]
Importing Test.php 0.12 from CPAN
Ævar Arnfjörð Bjarmason [Tue, 17 Jul 2007 03:32:39 +0000 (03:32 +0000)]
removed byte order mark, this makes t/maint/bom.t pass
Rob Church [Tue, 17 Jul 2007 00:22:57 +0000 (00:22 +0000)]
Update comment
Rob Church [Mon, 16 Jul 2007 22:40:32 +0000 (22:40 +0000)]
Mention bug fix from r24181 in release notes; if the "other bug" is worth mentioning too, please add that as well
Greg Sabino Mullane [Mon, 16 Jul 2007 21:28:01 +0000 (21:28 +0000)]
Fix bug 10608, plus a bonus one that was hidden by that bug.
Aryeh Gregor [Mon, 16 Jul 2007 20:05:32 +0000 (20:05 +0000)]
Er, right. Best to have "return true;" somewhere in the function, isn't it?
Aryeh Gregor [Mon, 16 Jul 2007 20:01:54 +0000 (20:01 +0000)]
Whoops, reversed inequality. Forgot to check whether this is being run *too* often.
Aryeh Gregor [Mon, 16 Jul 2007 19:48:18 +0000 (19:48 +0000)]
(bug 4650) Added various sanity checks to site stats generation.
Rotem Liss [Mon, 16 Jul 2007 19:03:05 +0000 (19:03 +0000)]
Update.
Anders Wegge Jakobsen [Mon, 16 Jul 2007 17:09:09 +0000 (17:09 +0000)]
Updated translations for da
Rob Church [Mon, 16 Jul 2007 17:04:39 +0000 (17:04 +0000)]
(bug 3173) Option to offer exported pages as a download, rather than displaying inline, as in most browsers; set Content-disposition: attachment with a filename incorporating the site name and timestamp. Defaults to being checked. Also rewrote the Export form generator to use Xml class methods; tweaked spacing on the existing check box. Tweaked English default for "exporttext".
Raimond Spekking [Mon, 16 Jul 2007 17:03:21 +0000 (17:03 +0000)]
Oops from r24157. Thanks to [[:de:User:UV]].
Anders Wegge Jakobsen [Mon, 16 Jul 2007 16:59:24 +0000 (16:59 +0000)]
Updated translations for da
Aryeh Gregor [Mon, 16 Jul 2007 15:53:55 +0000 (15:53 +0000)]
, too
Aryeh Gregor [Mon, 16 Jul 2007 15:51:08 +0000 (15:51 +0000)]
* RELEASE-NOTES from last commit
* (bug 1629) Stop section edit links from being shoved down by other floats, using a one-line CSS fix that should have no other effects
* Move some editsection rules into shared.css (some more header stuff is still left scattered around and should probably be centralized before that document structure is mercilessly purged as evil and un-semantic)
Raimond Spekking [Mon, 16 Jul 2007 15:15:26 +0000 (15:15 +0000)]
* Add a message if category is empty
Aryeh Gregor [Mon, 16 Jul 2007 14:42:27 +0000 (14:42 +0000)]
* Add CSS compatibility for Opera 9.5
* Remove largely untested handheld stylesheet, which was causing more trouble
than good. Proper handheld support will be added at a future date. For now,
display should be acceptable either with CSS turned off or when using a so-
phisticated handheld browser.
Per discussion with David Storey from Opera.
Rob Church [Mon, 16 Jul 2007 11:30:27 +0000 (11:30 +0000)]
Less verbose; don't bother with "return not evaluated", gives the wrong impression (i.e. hooks *have* to return something) - if the return would affect whether or not an operation occurs, it's probably better to be explicit about this, e.g. "Set $result and return false to override..."
Rob Church [Mon, 16 Jul 2007 11:21:21 +0000 (11:21 +0000)]
Rename 'SpecialContribSubEnd' hook to more appropriate 'ContributionsToolLinks', pass user identifier as first parameter, correct misleading documentation ($nt is a Title, not a User), use standard language in release notes as for other hooks
Raimond Spekking [Mon, 16 Jul 2007 10:44:38 +0000 (10:44 +0000)]
Housekeeping:
* Removing outdated messages
* linkfixing URLs
* spaces
Raimond Spekking [Mon, 16 Jul 2007 08:44:21 +0000 (08:44 +0000)]
* (bug 10575, 10576) Update Swedish translations
Patch by Lejonel
Raimond Spekking [Mon, 16 Jul 2007 08:25:12 +0000 (08:25 +0000)]
* (bug 10581) Update Chinese translations
Patch by Shinjiman
Raimond Spekking [Mon, 16 Jul 2007 08:13:01 +0000 (08:13 +0000)]
* (bug 10577) Update Thai translation
Patch by Manop K
Raimond Spekking [Mon, 16 Jul 2007 08:02:36 +0000 (08:02 +0000)]
* (bug 10598) Update Japanese translation
Patch by Kkkdc
Daniel Cannon [Mon, 16 Jul 2007 07:11:25 +0000 (07:11 +0000)]
Document recently added SpecialContribsSubEnd hook, as well as SpecialContributionsBeforeMainOutput (which apparently didn't get documented when it was added).
Daniel Cannon [Mon, 16 Jul 2007 01:10:38 +0000 (01:10 +0000)]
Added hook point to allow extensions to add to contentSub on Special:Contributions.
Aryeh Gregor [Sun, 15 Jul 2007 20:21:05 +0000 (20:21 +0000)]
Remove bogus 'speak: none;' declaration. It's invalid for the media types, breaking CSS validation, and will only confuse actual screen readers that are clever enough to look at screen/projection CSS.
Jens Frank [Sun, 15 Jul 2007 11:14:53 +0000 (11:14 +0000)]
New Parser::setTransparentTagHook for parser extension and template compatibility
Anders Wegge Jakobsen [Sun, 15 Jul 2007 07:34:00 +0000 (07:34 +0000)]
Updated translations for da
Yuri Astrakhan [Sun, 15 Jul 2007 06:56:54 +0000 (06:56 +0000)]
API: an alternative "continue" value formatted as a URL-encoded snippet. Commented at this point.
Yuri Astrakhan [Sun, 15 Jul 2007 06:26:41 +0000 (06:26 +0000)]
API: improved list=logevents - added leprop, decoded some log types
Rob Church [Sun, 15 Jul 2007 05:08:06 +0000 (05:08 +0000)]
MIME is an acronym...
Daniel Cannon [Sun, 15 Jul 2007 05:04:24 +0000 (05:04 +0000)]
Actually, let's make that message a tid bit more clear: "Page type not compatible with requested mime type."
Daniel Cannon [Sun, 15 Jul 2007 04:57:45 +0000 (04:57 +0000)]
Security fix: Previously it was possible to include unprotected and even content pages in site and user jss/css pages via action=raw. Now when requesting a page as text/javascript or text/css, if it should not contain such content, it simply returns '/* EMPTY */'.
Rotem Liss [Sun, 15 Jul 2007 01:32:10 +0000 (01:32 +0000)]
Have this message appear in Special:Allmessages.
Rotem Liss [Sun, 15 Jul 2007 01:28:55 +0000 (01:28 +0000)]
Update.
Yuri Astrakhan [Sun, 15 Jul 2007 01:12:54 +0000 (01:12 +0000)]
API: Fixed Bug 10544 Add 'rc_id' column to 'recentchanges' query.
Yuri Astrakhan [Sun, 15 Jul 2007 00:52:35 +0000 (00:52 +0000)]
API: Removed maximum limit checking when running api in an internal mode.
Rob Church [Sat, 14 Jul 2007 23:59:32 +0000 (23:59 +0000)]
Show the spinner for the destination filename check, too
Rob Church [Sat, 14 Jul 2007 23:54:00 +0000 (23:54 +0000)]
* Indicate when a preview is unavailable/failed
* Show a little progress "spinner" during the AJAX request
Rob Church [Sat, 14 Jul 2007 22:06:01 +0000 (22:06 +0000)]
(bug 10520) Preview licences during upload via AJAX
Yuri Astrakhan [Sat, 14 Jul 2007 19:04:31 +0000 (19:04 +0000)]
API: Big change: Removed all userCanRead() checks per IRC discussion. Only rvprop=content will now check that the page can be read.
Rob Church [Sat, 14 Jul 2007 18:41:26 +0000 (18:41 +0000)]
(bug 10530) Introduce optional "sp-contributions-explain" message for additional explanation in Special:Contributions
Brion Vibber [Fri, 13 Jul 2007 18:08:41 +0000 (18:08 +0000)]
Add support for $suffix parameter on wfBasename() clone of basename(), for completeness' sake
Brion Vibber [Fri, 13 Jul 2007 17:25:06 +0000 (17:25 +0000)]
* (bug 10508) Allow HTML attributes on <gallery>
* (bug 1962) Allow HTML attributes on <math>
Raimond Spekking [Fri, 13 Jul 2007 15:51:48 +0000 (15:51 +0000)]
German translation
Niklas Laxström [Fri, 13 Jul 2007 15:25:57 +0000 (15:25 +0000)]
* Updates to fi
Andrew Garrett [Fri, 13 Jul 2007 14:34:10 +0000 (14:34 +0000)]
(bug 10567) Updates for french localisation, by Rémi Kaupp
Rob Church [Fri, 13 Jul 2007 09:35:12 +0000 (09:35 +0000)]
(bug 10558) Remove duplicate titles in WatchlistEditor::extractTitles()