Tim Starling
98af136ad5
Added ss_images to site_stats, to replace the slow count(*) query in Parser.php.
2006-03-28 05:09:33 +00:00
Rob Church
bff6b799b4
Support a custom convert command for thumbnailing. See DefaultSettings.php and the comments for $wgCustomConvertCommand, for more information.
2006-03-19 03:16:17 +00:00
Lupin
11337038b3
removing unused globals and some whitespace cleaning
2006-03-07 01:10:39 +00:00
Brion Vibber
a230979d98
* (bug 5062) Width sometimes one pixel short when using maximum heights
2006-02-27 08:38:57 +00:00
Brion Vibber
dddff772d1
* (bug 5086) Force image resize dimensions on ImageMagick, as for instance
...
"-resize 100x35!"; some thumbs were off due to differences in rounding and
would be generated smaller than expected.
2006-02-27 00:48:02 +00:00
Domas Mituzas
433ded5bda
allow to disable schema checks - those acquire giant locks on table opens..
2006-02-25 13:47:11 +00:00
Tim Starling
55fa614fe8
Report errors from ImageMagick convert back to the user. Specify output bit depth when calling convert, for those people who are using an inefficient Q16 binary for scaling (i.e. almost everyone). Tweaked -quality.
2006-02-06 05:19:46 +00:00
Tim Starling
b9766fe1e3
More robust directory structure migration, should fix bug #2532 , except for Brion's complaint that the directory structure should be completely different, which he is free to fix in his own time.
2006-02-02 07:07:39 +00:00
Tim Starling
a7d35676eb
fixed infinite recursion in SVG error path
2006-01-12 04:38:20 +00:00
Tim Starling
db816b1bee
Enforce $wgSVGMaxSize when rendering, even for SVGs with a very large source size. This is necessary to limit server memory usage.
2006-01-10 14:13:40 +00:00
Ævar Arnfjörð Bjarmason
a26d5a49d7
* s~\t+$~~
2006-01-07 13:31:29 +00:00
Ævar Arnfjörð Bjarmason
7bbe971aec
* s~ +$~~
2006-01-07 13:09:30 +00:00
Tim Starling
f2a59db33f
Removed $wgLinkCache, converted to a singleton. Removed obsolete cruft from LinkCache.php.
2006-01-05 02:05:53 +00:00
Brion Vibber
4f8cc9d1ee
* Don't delete thumbnails when refreshing exif metadata. This caused thumbs
...
to vanish mysteriously from time to time for files that didn't have metadata.
2005-12-25 09:59:54 +00:00
Antoine Musso
2ca68a256d
Clean up unused globals!
2005-12-04 18:27:59 +00:00
Brion Vibber
9d5a848bac
* (bug 4162) Add $wgThumbnailEpoch timestamp to force old thumbs to
...
be rerendered on demand, sitewide
2005-12-04 09:04:40 +00:00
Brion Vibber
40745cfef8
* (bug 153) Adjust thumbnail size calculations to match consistently;
...
patch by David Benbennick
2005-12-04 08:52:01 +00:00
Tim Starling
ba3e32bc53
profiling
2005-11-26 05:41:02 +00:00
Tim Starling
1c93c62945
Bounded execution time and memory for image thumbnailing
2005-11-26 05:36:34 +00:00
Ævar Arnfjörð Bjarmason
6f2251ff76
* Bah, use wfMsgForContent()
2005-11-02 19:25:10 +00:00
Brion Vibber
219094eb01
Committing various live hacks from Wikimedia servers
2005-10-22 20:52:30 +00:00
Tim Starling
5f06fd8506
Maximum image area
2005-10-19 12:12:14 +00:00
Ævar Arnfjörð Bjarmason
f51b433f52
* Using $wgContLang->ucfirst() instead of $wgLang->ucfirst() in loadFromFile() and loadFromDB()
...
* wfGetHashPath(): Removed redundant globals
2005-10-13 23:36:51 +00:00
Ævar Arnfjörð Bjarmason
8ec161018e
* Fixed some typos in documentation
...
* showins passing width/height to the history function in ImagePage.php
2005-09-19 12:53:49 +00:00
Brion Vibber
d1f1ee8d5c
* (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads
...
by default when 'watchdefault' option is on
2005-09-19 06:10:58 +00:00
Tim Starling
82fbe665ca
Tolerate invalid shared title
2005-09-19 06:08:41 +00:00
Ævar Arnfjörð Bjarmason
3f65f4a933
* Formatting
2005-09-13 17:01:22 +00:00
Brion Vibber
7adb4306ec
* Fix scaling of non-integer SVG unit sizes
2005-09-12 19:38:09 +00:00
Tim Starling
28e419c9f7
profiling fix
2005-09-11 11:20:29 +00:00
Brion Vibber
920fd72f13
* Support SVG rendering with rsvg
...
* Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide
2005-09-10 01:02:41 +00:00
Ævar Arnfjörð Bjarmason
3b07f5c72c
* Set the memcache expiry time to a week instead of infinite
...
* Run $this->purgeCache(); on action=purge
2005-09-09 21:11:46 +00:00
Tim Starling
8a841f6e81
Passed -size hint to convert, as recommended in the convert manpage. This gives a huge saving in CPU and memory time for thumbnailing of large images.
2005-09-07 16:01:42 +00:00
Brion Vibber
22f6120459
* Add 'reupload' and 'reupload-shared' permission keys to restrict new
...
uploads overwriting existing files; default is the old behavior (allowed).
2005-09-05 06:16:48 +00:00
Ævar Arnfjörð Bjarmason
d138f74c78
* Avoid missing argument errors to recordUpload() on image reverts
2005-09-04 15:51:29 +00:00
Ævar Arnfjörð Bjarmason
ca50b7dc65
* Rv: Causing some kind of error, I'll change it back when I figure out what
...
the problem is
2005-09-02 19:11:33 +00:00
Ævar Arnfjörð Bjarmason
efe7338b08
* Reverting back to 1.115, not inserting {{ and }} automatically means that the
...
license selector can be used to insert arbitary text, not just templates,
this doesn't break it either since you just have to change the entries in
MediaWiki:Licenses from e.g:
* GFDL|GNU Free Documentation License
to:
* {{GFDL}}|GNU Free Documentation License
to get the same functionality as before
2005-09-02 18:33:58 +00:00
Brion Vibber
40d68b50c6
Revert last change, which breaks the only usage of the upload license selector
...
with no explanation.
2005-09-02 11:58:17 +00:00
Ævar Arnfjörð Bjarmason
3eccee3b35
* Not inserting {{ and }} automatically around the licensed text
2005-08-31 15:57:04 +00:00
Ævar Arnfjörð Bjarmason
33db62d428
* Support for a license selection box on Special:Upload, configurable from MediaWiki:Licenses
2005-08-29 16:43:48 +00:00
Ævar Arnfjörð Bjarmason
7db8273317
* Removed redudant global decleration
2005-08-26 13:57:34 +00:00
Brion Vibber
e71e92b67e
Committing live hacks: additional profiling points
2005-08-17 20:04:39 +00:00
Brion Vibber
af2177edfd
Code cleanup: normalize case for intval(), strval(), floatval() calls.
2005-08-16 23:36:16 +00:00
Niklas Laxström
b7a0aa9a13
-php notices
2005-08-02 10:40:42 +00:00
Jens Frank
804f9a26d3
Removed unused global
2005-07-26 16:07:14 +00:00
Ævar Arnfjörð Bjarmason
90da6ca44c
* Moved some code into the Exif and FormatExif classes
2005-07-17 19:22:15 +00:00
Niklas Laxström
be70c2e9da
Some shared upload fixes
2005-07-13 15:35:22 +00:00
Brion Vibber
aa47997796
* (bug 2780) Fix thumbnail generation with GD for new image schema
2005-07-11 01:52:27 +00:00
Brion Vibber
9b49b048cf
* Add serialized version number to image metadata cache records
2005-07-11 00:07:20 +00:00
Brion Vibber
526f7811c1
* (bug 2789) memcached image metadata now cleared after deletion
2005-07-10 23:46:37 +00:00
Antoine Musso
157861bc31
fix some issues with phpdoc
2005-07-05 21:22:25 +00:00