Brion Vibber
95e391545a
* (bug 6074) Correct squid purging of offsite upload URLs
...
You can now feed both local relative URLs and fully-qualified URLs to the
squid purge functions; local URLs will have $wgInternalServer prepended
if needed. This avoids the broken URLs produced by other functions prepending
it when it wasn't always needed.
2006-05-24 21:57:25 +00:00
Rob Church
b01da48ba2
Suppress images in galleries which appear on the bad image list (when rendering for a wiki page; galleries in special pages and categories are unaffected)
2006-05-16 19:15:58 +00:00
Antoine Musso
7ebdb6de89
Revert to r14165 . Did too many changes, didnt even run parserTests (i am bad)
2006-05-11 22:40:38 +00:00
Antoine Musso
bc14eb8045
Replacing var keyword with private / public as we now require PHP5.
2006-05-11 19:10:41 +00:00
Rob Church
9401ed5bb2
(bug 5782) Allow entries in the bad image list to use canonical namespace names
2006-05-02 00:41:30 +00:00
Antoine Musso
473cd5cbcc
unused variables as per #3692
2006-05-01 10:53:59 +00:00
Rob Church
7518139ca5
(bug 5716) Warn when a user tries to upload a file which was previously deleted
2006-04-29 22:01:21 +00:00
Antoine Musso
69689725c1
Switching from phpdoc to doxygen (use less than 32MB of memory).
...
Run maintenance/mwdocgen.php to generate doc in ./docs/html/ .
2006-04-19 15:46:24 +00:00
Tim Starling
e37ac151a9
Use a separate query group for commons.
2006-04-11 19:53:38 +00:00
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