Commit graph

129 commits

Author SHA1 Message Date
Æ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
Antoine Musso
0651431607 comments 2005-07-03 23:08:16 +00:00
Brion Vibber
7d6ea71a6a * (bug 2597) Don't crash when undeleting an image description page
Added a backtrace on Image constructor given bogus title for debugging aid
2005-06-29 01:42:37 +00:00
Brion Vibber
ccb209d29e Ensure that width and height fields are not null when we insert 2005-06-28 22:07:09 +00:00
Ævar Arnfjörð Bjarmason
6585731ced * Using wfSupressWarnings() to avoid warnings on corrupt exif headers 2005-06-20 09:50:55 +00:00
Tim Starling
ad01e39c51 stats changes ported from 1.4 2005-06-19 03:05:51 +00:00
Brion Vibber
3e99b0178f * (bug 2267) Don't generate thumbnail at the same size as the source image. 2005-05-30 07:21:10 +00:00
Tim Starling
42399f8c91 fixed check for old cache values in commons, and some other stuff 2005-05-28 06:57:59 +00:00
Brion Vibber
e0ce5a322e * links and brokenlinks tables merged to pagelinks; this will reduce pain
dealing with moves and deletes of widely-linked pages.

The updaters should be fixed up to understand future versions without the
tables there without breaking upgrades.
2005-05-26 10:23:36 +00:00
Erik Moeller
ee6bf35cb4 don't choke if EXIF library is not available 2005-05-21 15:59:30 +00:00
Ævar Arnfjörð Bjarmason
27105c2129 * (bug 898) Mime type autodetection. 2005-05-21 07:46:17 +00:00
Ævar Arnfjörð Bjarmason
90ae95ee43 * Using new icons in the /common/images/icons/ directory 2005-05-15 14:03:13 +00:00
Tim Starling
cc58c1deb2 Ignore cache keys from previous version 2005-05-14 09:54:26 +00:00
Ævar Arnfjörð Bjarmason
416ee3f058 * Save '0' in img_metadata when no metadata has been found, to indicate that
it shouldn't be checked again.
2005-05-13 09:58:53 +00:00
Ævar Arnfjörð Bjarmason
c03a314301 * Removed checks for $wgShowEXIF, these functions never even get called from
the parent if it's false so they're redundant.
2005-05-09 19:25:57 +00:00
Ævar Arnfjörð Bjarmason
7e8946295d * Removed a left over debug statement. 2005-05-09 13:35:36 +00:00
Ævar Arnfjörð Bjarmason
f8bd0a6f6e * Checking against Exif::mFlatExif, Exif::mValidExif no longer exists 2005-05-09 11:54:37 +00:00
Ævar Arnfjörð Bjarmason
04b79884fb * Improved the debug output of retrieveExifData()
* Implemented the Exif::version() check, if the version in the stored metadata
  does not match the current version the exif data is regenerated and the
  current version saved in the metadata. Ensured that old images are updated
  in the future if the output format is changed.
2005-05-09 11:26:44 +00:00
Ævar Arnfjörð Bjarmason
e92372f4c6 * Added debug statements to retriveExifData() 2005-05-09 09:28:06 +00:00
Ævar Arnfjörð Bjarmason
19b0ea60da * Removed the wfSuppressWarnings() I inserted previously 2005-05-08 21:03:03 +00:00
Ævar Arnfjörð Bjarmason
be2eb3ebf9 * Renamed the $exif var to $metadata to avoid confusion
* The Exif class is now globally accessable from within Image
* Degrade gracefully if wfShowEXIF is false
* Support for the new format() function in the Exif class
2005-05-08 16:13:46 +00:00
Ævar Arnfjörð Bjarmason
5cfa89d97b * Adding wfSuppressWarnings() before the Exif validation, some of the type
checks in Exif::validate will spew warnings on invalid data.
2005-05-08 07:32:04 +00:00
Ævar Arnfjörð Bjarmason
37354f7884 * To the tune of "America, Fuck Yeah" from "Team America: World Police"
"Type checking, FUCK YEAH! Coming again, to save the mother fucking day yeah" !
  (we now have typechecking of Exif tags)
2005-05-08 07:08:04 +00:00
Ævar Arnfjörð Bjarmason
6d75cf8ca5 * Removing /* private */ comment, already specified in the phpdoc 2005-05-08 04:11:32 +00:00