Tim Starling [Thu, 31 May 2007 01:43:41 +0000 (01:43 +0000)]
Fixed a few filerepo bugs, added some documentation
Aaron Schulz [Thu, 31 May 2007 00:35:07 +0000 (00:35 +0000)]
*Add newFromArchiveName()
Aaron Schulz [Wed, 30 May 2007 23:06:55 +0000 (23:06 +0000)]
*clean up comment
Tim Starling [Wed, 30 May 2007 21:02:32 +0000 (21:02 +0000)]
Merged filerepo-work branch:
* Added support for configuration of an arbitrary number of commons-style file repositories.
* Split Image.php into filerepo/File.php and filerepo/LocalFile.php
* Renamed Image::getImagePath() to File::getPath()
* Added initial support for timestamp-based file fetching (OldLocalFile), to be expanded upon by aaron.
* Changed the interface for Image/File object creation: use wfFindFile() or wfLocalFile() depending on semantics
* ImageGallery::add() now accepts a title object as the first parameter
* Moved file handling operations on upload from SpecialUpload to File
* Removed path-related functions from ImageFunctions.php. Removed static path accessors from File.
* Added a Content-Disposition header to thumb.php output
* Improved thumb.php error handling
* Updated the unit test suite to kind of partially work with modern computers. RunTests.php doesn't work just yet. Fixed an actual regression that the test suite detected -- moved some defines to Defines.php where they will be loaded consistently.
Daniel Cannon [Wed, 30 May 2007 19:48:41 +0000 (19:48 +0000)]
Fix for bugzilla.wikimedia.org/show_bug.cgi?id=10036 -- add "maxlength=200" to wpBlockReason inputbox.
Brion Vibber [Wed, 30 May 2007 18:57:17 +0000 (18:57 +0000)]
Honestly this whatlinkshere further link looks weird to me still, but it looks less weird with the parens taken outside the link, matching the behavior of similar links elsewhere. :)
Raimond Spekking [Wed, 30 May 2007 17:47:13 +0000 (17:47 +0000)]
* (bug 10070) Update Old Chinese / Late Middle Chinese (zh-classical) translations
Patch by Shinjiman
Raimond Spekking [Wed, 30 May 2007 16:46:21 +0000 (16:46 +0000)]
* (bug 10069) Update Cantonese (zh-yue) translations
Patch by Shinjiman
Raimond Spekking [Wed, 30 May 2007 16:42:51 +0000 (16:42 +0000)]
* (bug 10068) Update Chinese (zh-cn and zh-tw) translations
Patch by Alex S.H. Lin
Raimond Spekking [Wed, 30 May 2007 16:35:16 +0000 (16:35 +0000)]
* (bug 10070) Update Old Chinese / Late Middle Chinese (zh-classical) translations
Patch by Shinjiman
Raimond Spekking [Wed, 30 May 2007 16:24:35 +0000 (16:24 +0000)]
* (bug 10071) Update Georgian translations
Patch by Malafaya
Niklas Laxström [Wed, 30 May 2007 15:56:23 +0000 (15:56 +0000)]
* Võro (fiu-vro) updates from Võrok
Brion Vibber [Wed, 30 May 2007 15:24:36 +0000 (15:24 +0000)]
* Add Google Wireless Transcoder to the Unicode editing blacklist
Rotem Liss [Wed, 30 May 2007 15:03:45 +0000 (15:03 +0000)]
Update.
Anders Wegge Jakobsen [Wed, 30 May 2007 13:50:36 +0000 (13:50 +0000)]
New danish translation for whatlinkshere-links
Niklas Laxström [Wed, 30 May 2007 13:41:32 +0000 (13:41 +0000)]
* Start of Burmese (my) translation by Hakka
Raimond Spekking [Wed, 30 May 2007 09:47:31 +0000 (09:47 +0000)]
* (bug 7859) Update Kazakh translations
Patch by AlefZet
Ivan Lanin [Wed, 30 May 2007 07:04:11 +0000 (07:04 +0000)]
Indonesian (id) localisation updates.
River Tarnell [Wed, 30 May 2007 01:46:56 +0000 (01:46 +0000)]
i assume this was meant to be a left-pointing arrow rather than a question mark. (the link title is still a little strange though)
Raimond Spekking [Tue, 29 May 2007 22:02:02 +0000 (22:02 +0000)]
(bug 7960) Link to "what links here" for each "what links here" entry
Patch from Thomas "Tango" Dalton
Greg Sabino Mullane [Tue, 29 May 2007 21:04:16 +0000 (21:04 +0000)]
Make sure BlockHideName really defaults to 0, not false. Fixes bug 10007.
Greg Sabino Mullane [Tue, 29 May 2007 20:28:59 +0000 (20:28 +0000)]
The variable mLastResult may be null /or/ false: check for both in affected rows method.
Aaron Schulz [Tue, 29 May 2007 19:53:23 +0000 (19:53 +0000)]
*Add U param to parseinline regexp to fix regression that left the \n in parsed messages. (.*) was being greedy swallowing up the \n character before the </p> tag, allowing the \n? to be ignored since it is optional.
Aaron Schulz [Tue, 29 May 2007 15:29:10 +0000 (15:29 +0000)]
*Fix fucked up grammar in rcnote
Raimond Spekking [Tue, 29 May 2007 14:43:30 +0000 (14:43 +0000)]
* Adding 1 message to optional per hint (bug 7859, comment# 71)
* Moving 1 message from ignore to optional (some languages like spaces between)
Raimond Spekking [Tue, 29 May 2007 14:11:07 +0000 (14:11 +0000)]
(bug 10041, comment #1) typo in language name
Raimond Spekking [Mon, 28 May 2007 19:15:43 +0000 (19:15 +0000)]
After revert of r22435 and talk with Brion on IRC previously introduced and newly function parameters merged to an array.
Introducing 'frameless' keyword to [[Image:]] syntax which respects the user preferences for image width like 'thumb' but without a frame.
Now we can use frameless images without the need to nailing its size by a constant pixel parameter. Scaling by different user preference/anon view will always keep the proportions.
Usage: [[Image:name.jpg|frameless|right]]
Raimond Spekking [Mon, 28 May 2007 16:37:00 +0000 (16:37 +0000)]
* (bug 7859) Update Kazakh translations
Patch by AlefZet
Raimond Spekking [Mon, 28 May 2007 16:27:42 +0000 (16:27 +0000)]
* (bug 9742) Update Lithuanian translations
Patch by Edgaras
Antoine Musso [Mon, 28 May 2007 12:32:29 +0000 (12:32 +0000)]
Add class for prev/next/numlinks just like r22473 / r22482
Niklas Laxström [Mon, 28 May 2007 10:53:30 +0000 (10:53 +0000)]
* Greek (el) updates by dead3y3
Niklas Laxström [Mon, 28 May 2007 10:44:07 +0000 (10:44 +0000)]
* Hakka (hak) translation
Anders Wegge Jakobsen [Mon, 28 May 2007 09:14:36 +0000 (09:14 +0000)]
Reworked translation for da, by Lars Helbo
Yuri Astrakhan [Mon, 28 May 2007 08:06:40 +0000 (08:06 +0000)]
API: fixed broken redirects feature
Yuri Astrakhan [Mon, 28 May 2007 06:59:19 +0000 (06:59 +0000)]
API bug 10046: incorrect action produces invalid response format
Aaron Schulz [Mon, 28 May 2007 04:23:59 +0000 (04:23 +0000)]
*use /s modifier for parseinline regexp, <p> tags were being left on some messages
Yuri Astrakhan [Sun, 27 May 2007 23:50:24 +0000 (23:50 +0000)]
API: Enabled API login throttling (with amidaniel's help)
fixed memcached-client comments
minor queryRevisions fix
River Tarnell [Sun, 27 May 2007 23:39:54 +0000 (23:39 +0000)]
SpecialPage::exists needs to fold case when checking if a name exists
River Tarnell [Sun, 27 May 2007 22:13:56 +0000 (22:13 +0000)]
- need to include </div> in empty result case, otherwise page layout is screwed
- use a class instead of id, so it works with special page transclusion
River Tarnell [Sun, 27 May 2007 22:07:44 +0000 (22:07 +0000)]
works better without syntax errors
River Tarnell [Sun, 27 May 2007 22:01:55 +0000 (22:01 +0000)]
+hakka
Jens Frank [Sun, 27 May 2007 21:00:35 +0000 (21:00 +0000)]
(bug 7993) support mathematical symbol classes
Jens Frank [Sun, 27 May 2007 19:52:29 +0000 (19:52 +0000)]
(bug 7899) Added \hline and \vline to the list of allowed TeX commands
Antoine Musso [Sun, 27 May 2007 08:22:37 +0000 (08:22 +0000)]
* cleaner indenting for query pages
* enclose the content generated in a <div id="mw-spcontent"> (for javascript)
Aaron Schulz [Sat, 26 May 2007 17:06:48 +0000 (17:06 +0000)]
*More r22450 cleanup, don't add &action=edit to broken links for special pages
Antoine Musso [Sat, 26 May 2007 16:50:52 +0000 (16:50 +0000)]
debug comment :(
Antoine Musso [Sat, 26 May 2007 16:50:14 +0000 (16:50 +0000)]
Fix for r22450: handle links to special pages when using Linker::makeLink();
Antoine Musso [Sat, 26 May 2007 16:23:34 +0000 (16:23 +0000)]
* Fix #908: links to Special: pages should check for existence,
and display appropriately
* Add SpecialPage::exists() method.
Niklas Laxström [Sat, 26 May 2007 14:57:45 +0000 (14:57 +0000)]
* Updates to Slovak (sk) by helix84
Brion Vibber [Fri, 25 May 2007 18:02:29 +0000 (18:02 +0000)]
Reverting r22430 for now; I don't really like this keyword creep, and even if I did the parameters on makeImageLinkObj are totally out of control.
Raimond Spekking [Fri, 25 May 2007 16:32:46 +0000 (16:32 +0000)]
Introducing 'frameless' keyword to [[Image:]] syntax which respects the user preferences for image width like 'thumb' but without a frame.
Now we can use frameless images without the need to nailing its size by a constant pixel parameter. Scaling by different user preference/anon view will always keep the proportions.
Usage: [[Image:name.jpg|frameless|right]]
Brion Vibber [Fri, 25 May 2007 16:25:05 +0000 (16:25 +0000)]
Revert r22423 -- mysteriously destroys several core files
Raimond Spekking [Fri, 25 May 2007 12:12:17 +0000 (12:12 +0000)]
Introducing 'frameless' keyword to [[Image:]] syntax which respects the user preferences for image width like 'thumb' but without a frame.
Now we can use frameless images without the need to nailing its size by a constant pixel parameter. Scaling by different user preference/anon view will always keep the proportions.
Usage: [[Image:name.jpg|frameless|right]]
Robert Stojnić [Thu, 24 May 2007 18:25:15 +0000 (18:25 +0000)]
Revert r22403 for the moment. Probably should ask Brion before changing dtds.
Antoine Musso [Thu, 24 May 2007 18:06:21 +0000 (18:06 +0000)]
Rename $wgSlaveLagOhNo (r22310) to $wgSlaveLagCritical.
Robert Stojnić [Thu, 24 May 2007 17:42:32 +0000 (17:42 +0000)]
Paired commit with 22402. Makes necessary schema additions for the extra parameter needed for index updates.
Raimond Spekking [Thu, 24 May 2007 14:06:21 +0000 (14:06 +0000)]
revert r22298 due to complains by da.wp community about uncommon translations/wordings.
Anders Wegge Jakobsen [Thu, 24 May 2007 11:46:17 +0000 (11:46 +0000)]
Typo corrected
Anders Wegge Jakobsen [Thu, 24 May 2007 11:34:24 +0000 (11:34 +0000)]
Correctio of time formats
Raimond Spekking [Thu, 24 May 2007 10:21:39 +0000 (10:21 +0000)]
Reinstating <span></span>, breaks parsertest.
Anders Wegge Jakobsen [Thu, 24 May 2007 09:57:56 +0000 (09:57 +0000)]
Adding missing translations for da
Raimond Spekking [Wed, 23 May 2007 20:09:55 +0000 (20:09 +0000)]
Use proper CSS class instead of hardcoded style for new thumb parameter 'border', per hint of Brion
Brion Vibber [Wed, 23 May 2007 18:32:49 +0000 (18:32 +0000)]
bug 8772: fix for previous patch -- function that takes one parameters was passed two.
Raimond Spekking [Tue, 22 May 2007 21:51:48 +0000 (21:51 +0000)]
* (bug 10008) Update Russian translations
Patch by Alexander Sigachov
Raimond Spekking [Tue, 22 May 2007 21:39:57 +0000 (21:39 +0000)]
* (bug 6072) Add a 'border' keyword to the image syntax
Usage: [[Image:filename.jpg|border|right|100px]]
Niklas Laxström [Tue, 22 May 2007 20:44:35 +0000 (20:44 +0000)]
* Revert r22349, breaks things up
River Tarnell [Tue, 22 May 2007 17:07:46 +0000 (17:07 +0000)]
* (bug 7432) Change language name for Aromanian (roa-rup)
Niklas Laxström [Tue, 22 May 2007 16:54:41 +0000 (16:54 +0000)]
* Returnto now works with special pages with subpage parameters
Aaron Schulz [Tue, 22 May 2007 16:49:40 +0000 (16:49 +0000)]
*Check $wgUseRCPatrol to avoid possible expensive query if likely not needed
Aaron Schulz [Tue, 22 May 2007 16:38:18 +0000 (16:38 +0000)]
*Just to be safe, avoid query when IN() is empty
Aaron Schulz [Tue, 22 May 2007 16:30:13 +0000 (16:30 +0000)]
*Make bot edit flagging less fragile, flag auto-patrolled edits too
Niklas Laxström [Tue, 22 May 2007 15:11:17 +0000 (15:11 +0000)]
* Some updates
Raimond Spekking [Tue, 22 May 2007 11:25:30 +0000 (11:25 +0000)]
* (bug 10001) Update Swedish translations
Patch by Lejonel
Raimond Spekking [Tue, 22 May 2007 11:22:02 +0000 (11:22 +0000)]
* (bug 9999) Update Japanese translations
Patch by Edgaras
* some small tweaks
Yuri Astrakhan [Tue, 22 May 2007 04:39:49 +0000 (04:39 +0000)]
API: applied the patch by amidaniel to allow the same limits for sysops as for bots.
Aryeh Gregor [Tue, 22 May 2007 03:12:18 +0000 (03:12 +0000)]
Don't call static functions non-statically either. Also, remove redundant @access, and add type hinting.
Aaron Schulz [Tue, 22 May 2007 02:52:37 +0000 (02:52 +0000)]
*Update documentation, be explicit about access/scope to avoid E_STRICT errors
Aaron Schulz [Tue, 22 May 2007 02:22:59 +0000 (02:22 +0000)]
*A bit of cleanup for bug 5057, make upload link consistent with reupload-own right checking
Aaron Schulz [Mon, 21 May 2007 23:56:05 +0000 (23:56 +0000)]
*Flag bot edits
River Tarnell [Mon, 21 May 2007 23:21:29 +0000 (23:21 +0000)]
"Changes newer than 1 seconds may not be shown in this list." is kind of ridiculous. make the warning and "more obvious warning" thresholds configurable, default 15 resp. 30 seconds.
River Tarnell [Mon, 21 May 2007 19:50:37 +0000 (19:50 +0000)]
use rawurldecode instead of str_replace, from brion
River Tarnell [Mon, 21 May 2007 19:41:56 +0000 (19:41 +0000)]
replace + with %2B in REQUEST_URI before urldecoding the title, so that literal "+" in the title works correctly
Raimond Spekking [Mon, 21 May 2007 18:56:03 +0000 (18:56 +0000)]
Introducing new image parameter 'upright' and corresponding variable $wgThumbUpright.
This allows better proportional view of upright images related to landscape images on a page without nailing the width of upright images to a fix value which makes views for anon unproportional and user preferences useless
Usage:
* [[Image:pix.jpg|thumb|upright|caption]] = Upright image will be scaled down by $wgThumbUpright (default 0.75, seems to me the best value)
* [[Image:pix.jpg|thumb|upright=0.6|caption]] = Upright image will be scaled down by 0.6
Size of thumb is always rounded to full __0 px to avoid odd thumbsizes and spare the cache
If used in combination with a width, upright will be ignored.
Rotem Liss [Mon, 21 May 2007 18:52:07 +0000 (18:52 +0000)]
Update and fix.
Brion Vibber [Mon, 21 May 2007 18:45:31 +0000 (18:45 +0000)]
Revert r22245 and all its monster offspring...
Adding a class for the example is not only ugly, it's fragile -- customizations to the actual threshold will have no effect on the sample.
The sensible thing is to construct an actual bit of sample text using the actual classes -- a null link (<a href="#">) with appropriate class would show the effect nicely and be robust to customizations.
Rotem Liss [Mon, 21 May 2007 16:41:01 +0000 (16:41 +0000)]
Update.
Raimond Spekking [Mon, 21 May 2007 09:01:35 +0000 (09:01 +0000)]
* Big update for Danish messages.
Thanks to Lars J. Helbo
* Making one message optional instead of ignored
Yuri Astrakhan [Mon, 21 May 2007 06:32:32 +0000 (06:32 +0000)]
API:
revisions - removed oldid (not used except in content retrieval), added extra prop options to optimize bandwidth, continue value is now an integer in JSON
minor help screen improvement.
Yuri Astrakhan [Mon, 21 May 2007 05:25:36 +0000 (05:25 +0000)]
API: added query parameter indexpageids to list the page ids of all returned page items (bug 9121)
Yuri Astrakhan [Mon, 21 May 2007 04:34:48 +0000 (04:34 +0000)]
API: recentchanges and usercontribs cleaned up to allow more precise properties selection. Minor security updates.
Yuri Astrakhan [Mon, 21 May 2007 00:10:01 +0000 (00:10 +0000)]
API: breaking change: backlinks, embeddedin & imageusage now return lists in json instead of a map, and do not return anything when titles do not exist. (bug 9970)
Yuri Astrakhan [Sun, 20 May 2007 23:41:25 +0000 (23:41 +0000)]
API: Improved usercontribs module.
Yuri Astrakhan [Sun, 20 May 2007 23:31:44 +0000 (23:31 +0000)]
API: documentation and cleanup.
Antoine Musso [Sun, 20 May 2007 20:49:21 +0000 (20:49 +0000)]
Fix 5850: added hexadecimal html entities comments for $digitTransformTable
entries. maintenance/language/digit2html.php can help rebuilding them.
Antoine Musso [Sun, 20 May 2007 15:19:28 +0000 (15:19 +0000)]
tests:
* now detect when PHPUnit.php is missing
* tweak some require calls
Antoine Musso [Sun, 20 May 2007 12:00:13 +0000 (12:00 +0000)]
Fix PHP strict standards warning in enhanced recent changes.
Antoine Musso [Sun, 20 May 2007 11:51:46 +0000 (11:51 +0000)]
Fix #9973 : "Changed Size" still shows on enhanced recent changes for "collapsed" items
Yuri Astrakhan [Sun, 20 May 2007 10:08:40 +0000 (10:08 +0000)]
API:
breaking change: Query watchlist shows flags only when explicitly requested with wlparam=flags, and rc_this_oldid (textid) is no longer accessible
query watchlist cleanup
bug in the integer parameter min/max validation
bug in feed formatting in error handling
some documentation
Yuri Astrakhan [Sun, 20 May 2007 08:34:47 +0000 (08:34 +0000)]
API:
* query=images - error when no valid pages
* log - added proper showing of the patrol events
* revisions - code cleanup
Yuri Astrakhan [Sat, 19 May 2007 23:54:22 +0000 (23:54 +0000)]
API: fixed bug in categories: error when no valid titles are given