Rob Church [Sun, 29 Jul 2007 19:53:50 +0000 (19:53 +0000)]
Refactor addClickHandler() and introduce addHandler()
Rob Church [Sun, 29 Jul 2007 18:53:40 +0000 (18:53 +0000)]
Note
Rob Church [Sun, 29 Jul 2007 18:51:36 +0000 (18:51 +0000)]
Whoops, missed this one...
Rob Church [Sun, 29 Jul 2007 18:48:20 +0000 (18:48 +0000)]
* More precise comment
* Trim whitespace
Rob Church [Sun, 29 Jul 2007 18:41:49 +0000 (18:41 +0000)]
* Use a table to present file histories
* (bug 10741) Don't show deletion links for non-sysops [in file histories]
Rob Church [Sun, 29 Jul 2007 16:50:40 +0000 (16:50 +0000)]
strpos() !== false is faster than strstr()
Rob Church [Sun, 29 Jul 2007 15:21:01 +0000 (15:21 +0000)]
Document this file all over
Rob Church [Sun, 29 Jul 2007 14:32:44 +0000 (14:32 +0000)]
Tweak comment
Rob Church [Sun, 29 Jul 2007 14:32:26 +0000 (14:32 +0000)]
(bug 10732 and others) Further fixes to protect chaining JavaScript; introduce addClickHandler() to work around missing addEventListener() in IE and other browsers that suck
Rotem Liss [Sun, 29 Jul 2007 02:25:15 +0000 (02:25 +0000)]
Rebuild.
Rotem Liss [Sun, 29 Jul 2007 02:22:18 +0000 (02:22 +0000)]
Use the same order as in the English messages file.
Rotem Liss [Sun, 29 Jul 2007 02:18:16 +0000 (02:18 +0000)]
A message (fileexists) with the same name of another one was introduced in r24313; renaming it to fileexistserror. Other messages files that updated since this revision may also have to rename the message.
Rotem Liss [Sun, 29 Jul 2007 02:04:43 +0000 (02:04 +0000)]
Use native newlines when rebuilding a messages file.
Rotem Liss [Sun, 29 Jul 2007 01:57:45 +0000 (01:57 +0000)]
Fix.
Rob Church [Sat, 28 Jul 2007 23:13:48 +0000 (23:13 +0000)]
Whee, turns out the error-puking JavaScript made it into 1.10, so this needs a RELEASE NOTE!
Rob Church [Sat, 28 Jul 2007 23:10:58 +0000 (23:10 +0000)]
Bump $wgStyleVersion
Rob Church [Sat, 28 Jul 2007 23:09:16 +0000 (23:09 +0000)]
* (bug 10732) Protection chaining checkbox broken - this appears to have regressed in r24272/r24274; we might do worse than to fix things up so checkboxes without a certain class can't be shift-clicked or whatever
* Rewrite a couple bits in allowCascade() - isCascadeableLevel() was inefficient, and the function was throwing up errors and whatnot due to bad checking of selection indexes and so on
Rob Church [Sat, 28 Jul 2007 22:21:23 +0000 (22:21 +0000)]
* Allow overwriting existing files with conflicting names using the --override option
* More useful output (no. of files added, overwritten, skipped)
* Trim some whitespace and kill a dud global \o/
Tim Starling [Sat, 28 Jul 2007 01:15:35 +0000 (01:15 +0000)]
Committing some work in progress -- abstraction of handler-specific metadata formatting. The return format of MediaHandler::formatMetadata() might still need some tweaking, but I believe there is feature parity at this point.
Greg Sabino Mullane [Fri, 27 Jul 2007 12:23:58 +0000 (12:23 +0000)]
Various updates to Postgres schema and updater.
Greg Sabino Mullane [Fri, 27 Jul 2007 11:52:38 +0000 (11:52 +0000)]
Add ar_page column
Raimond Spekking [Thu, 26 Jul 2007 11:05:47 +0000 (11:05 +0000)]
Adding "thumb" to the image editbutton. In this way it's mainly used.
Per suggestion of Denis Barthel (de.wp)
Rob Church [Wed, 25 Jul 2007 22:47:01 +0000 (22:47 +0000)]
(bug 10701) Link to Special:Listusers in default Special:Statistics messages
Niklas Laxström [Wed, 25 Jul 2007 16:41:25 +0000 (16:41 +0000)]
* Updates to Slovak (sk) by Helix84
Yuri Astrakhan [Wed, 25 Jul 2007 06:51:05 +0000 (06:51 +0000)]
API: Fix for bug 10662 imageinfo is not cleared for each page
Nick Jenkins [Wed, 25 Jul 2007 01:53:04 +0000 (01:53 +0000)]
Trivial cosmetic anal-retentive adjustment to four wfDebug() edit-conflict debugging messages.
Nick Jenkins [Wed, 25 Jul 2007 01:46:50 +0000 (01:46 +0000)]
Tweak to prevent strict standards warning: Only variables should be assigned by reference in includes/api/ApiLogin.php on line 154
Ivan Lanin [Tue, 24 Jul 2007 19:57:33 +0000 (19:57 +0000)]
Indonesian (id) localisation updates.
Raimond Spekking [Tue, 24 Jul 2007 11:18:26 +0000 (11:18 +0000)]
Updates German
Raimond Spekking [Tue, 24 Jul 2007 08:18:57 +0000 (08:18 +0000)]
* (bug 10653) Update Chinese translations
Patch by Shinjiman
Raimond Spekking [Tue, 24 Jul 2007 07:57:54 +0000 (07:57 +0000)]
* (bug 10674) Update Thai translation
Patch by Manop K
Aaron Schulz [Mon, 23 Jul 2007 23:46:53 +0000 (23:46 +0000)]
*Look only at unique keys. If a file has versions that have the same key, this can otherwise through errors trying to delete non-existent files during cleanup.
Tim Starling [Mon, 23 Jul 2007 22:38:12 +0000 (22:38 +0000)]
fixed comment
Tim Starling [Mon, 23 Jul 2007 22:37:52 +0000 (22:37 +0000)]
Added ar_page
Aryeh Gregor [Mon, 23 Jul 2007 21:40:05 +0000 (21:40 +0000)]
(bug 10672) Make Linker::doEditSectionLink protected, not private
Aryeh Gregor [Mon, 23 Jul 2007 19:39:53 +0000 (19:39 +0000)]
Optimize User::getID() for special cases, and User::isLoggedIn() generally (the latter seems to have always required a database query in the past, when in fact it never should).
Tim Starling [Mon, 23 Jul 2007 18:28:52 +0000 (18:28 +0000)]
32 width
Tim Starling [Mon, 23 Jul 2007 17:22:09 +0000 (17:22 +0000)]
Fixed LocalRepo::cleanupDeletedBatch(), wasn't working
Tim Starling [Mon, 23 Jul 2007 17:21:20 +0000 (17:21 +0000)]
Seed subdirs in the deleted zone with a blank index.html file, to prevent crawling.
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.