Tim Starling [Mon, 23 Jul 2007 17:19:56 +0000 (17:19 +0000)]
Debugging
Tim Starling [Mon, 23 Jul 2007 17:18:32 +0000 (17:18 +0000)]
debugging code accidentally left in
Rob Church [Mon, 23 Jul 2007 08:58:09 +0000 (08:58 +0000)]
s/one time/once/
Aaron Schulz [Mon, 23 Jul 2007 03:03:04 +0000 (03:03 +0000)]
*grr
Rob Church [Sun, 22 Jul 2007 23:37:01 +0000 (23:37 +0000)]
Skip the difference engine cache when 'action=purge' is used while requesting a difference page, to allow refreshing the cache in case of errors
Rob Church [Sun, 22 Jul 2007 23:26:04 +0000 (23:26 +0000)]
Bug number for r24323
Rob Church [Sun, 22 Jul 2007 23:25:26 +0000 (23:25 +0000)]
(bug 9575) Accept upload description from GET parameters
Rob Church [Sun, 22 Jul 2007 23:16:48 +0000 (23:16 +0000)]
* Pass new Revision to the 'ArticleInsertComplete' and 'ArticleSaveComplete' hooks; see docs/hooks.txt for more information
* Document 'ArticleInsertComplete' hook
Rob Church [Sun, 22 Jul 2007 21:55:52 +0000 (21:55 +0000)]
Correct language - not "no object caching", rather, "no object caching [using the items we haven't detected]"
Anders Wegge Jakobsen [Sun, 22 Jul 2007 21:30:21 +0000 (21:30 +0000)]
Adding missing translations for da
Rotem Liss [Sun, 22 Jul 2007 15:29:44 +0000 (15:29 +0000)]
Update.
Jens Frank [Sun, 22 Jul 2007 15:15:58 +0000 (15:15 +0000)]
Commas at the end of enumerations only works in PHP...
Tim Starling [Sun, 22 Jul 2007 15:07:54 +0000 (15:07 +0000)]
rv again
Tim Starling [Sun, 22 Jul 2007 14:45:12 +0000 (14:45 +0000)]
* Introduced FileRepoStatus -- result class for file repo operations.
* Ported file delete/restore to the filerepo framework. Some user-visible changes in error reporting.
* $wgSaveDeletedFiles has been removed, the feature is now enabled unconditionally. Added a "deleted" directory for the default location, protected by a .htaccess file and the practical obscurity of content hashes.
* Fixed bug 2735: "Preview" shown in title bar for action=submit on special pages
* Removed "restore" links from the deletion log embedded in Special:Undelete
* Added img_sha1/oi_sha1 fields, preserved through upload, delete and restore
* Referenced the new oi_metadata etc. fields to preserve metadata across upload and delete/restore.
Aaron Schulz [Sun, 22 Jul 2007 03:26:50 +0000 (03:26 +0000)]
*Store page_id in ar_page
Aaron Schulz [Sun, 22 Jul 2007 01:40:58 +0000 (01:40 +0000)]
*Add ar_page; allows for easier restoration when several large pages are merged into one deleted history.
Rob Church [Sat, 21 Jul 2007 01:00:42 +0000 (01:00 +0000)]
Introduce 'UserGetRights' hook; see docs/hooks.txt for more information
Rob Church [Sat, 21 Jul 2007 00:44:35 +0000 (00:44 +0000)]
Remove green blob from the centre (was supposed to be part of the "scaled-down flower" concept, but just looks odd at this size)
Brion Vibber [Fri, 20 Jul 2007 15:15:09 +0000 (15:15 +0000)]
pretty up the hook error message with an explanation of what it should do instead
Brion Vibber [Fri, 20 Jul 2007 13:42:13 +0000 (13:42 +0000)]
* Removed obsolete maintenance/changeuser.sql script; use RenameUser extension
Ævar Arnfjörð Bjarmason [Fri, 20 Jul 2007 00:15:12 +0000 (00:15 +0000)]
this has been replaced by t/inc/Sanitizer.t
Ævar Arnfjörð Bjarmason [Fri, 20 Jul 2007 00:05:48 +0000 (00:05 +0000)]
don't slurp the whole file, we only need to test line 1, this speeds things up immensely
Ævar Arnfjörð Bjarmason [Fri, 20 Jul 2007 00:05:45 +0000 (00:05 +0000)]
Report the lines win32 newlines are found at
Brion Vibber [Thu, 19 Jul 2007 19:06:32 +0000 (19:06 +0000)]
Don't do gzip compression if the URL path ends in .gz or .tgz
This confuses Safari and triggers a download of the page,
even though it's pretty clearly labeled as viewable HTML.
Bad Safari! Bad!
Bug is still present in Safari 2.0.4/Mac and 3.0.2/Win.
We have had a live hack for this on Wikimedia sites for .gz files;
hadn't noticed the .tgz problem before though.
While I was in there, also made a tweak so wfGzipHandler() makes
sure the Vary: header is there whether the current agent sent us
an Accept-Encoding header or not.
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).