aboutsummaryrefslogtreecommitdiffstats
path: root/includes/ImagePage.php
Commit message (Collapse)AuthorAgeFilesLines
* * (bug 2056) Since we added img_type to the schema we return 0 if the imageÆvar Arnfjörð Bjarmason2005-05-031-1/+1
| | | | | | | | type is unrecognized, not '', whoever changed that forgot to update this if statement. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8826
* * Fix up the TOC markup a bit.Brion Vibber2005-04-301-5/+5
| | | | | | | | | | | | Moved the outer box back from <div> to <table>, as the inline-size workarounds would break a lot of pages which use floated-right sidebars. Make TOC styles available as a class .toc, so the #toc doesn't need to be (ab)used to create alternates with the same style. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8756
* Move image TOC into content area; a float tends to overlap and crunch inBrion Vibber2005-04-301-1/+1
| | | | | | | | | ugly ways when the title is long or the window is small. The markup of the toc itself is still a bit odd (table, may conflict with wiki toc if the description includes one). Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8754
* Mix back some of the changes from previous check-in with additional fixesBrion Vibber2005-04-301-13/+21
| | | | | | | | | | | | | and a cleaner version of the table. * Clean up EXIF display table: - use localized description of items - don't forget to HTML-encode the localized messages! - clean up the style a bit on the middle spacer - distinguish the header and data columns a little better * Don't show 'edit this image' link if no file exists Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8752
* Undo severe uglification and cluttering of exif tableBrion Vibber2005-04-301-25/+41
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8751
* * Only display the uploadLinksBox() if the subject is a valid imageÆvar Arnfjörð Bjarmason2005-04-301-41/+25
| | | | | | | | | * Converted showTOC to an unordered list (it's not tabular data) * Displaying the exifdata as a sidebar again (made some css tweaks to limit the width) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8747
* Remove hardcoded CSS ...Jens Frank2005-04-291-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8740
* Remove debug code ...Jens Frank2005-04-291-20/+7
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8739
* Unclutter ImagePage. Move EXIF data to the end of the page. Move image ↵Jens Frank2005-04-291-30/+69
| | | | | | | upload links to image revision section Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8738
* * Rewrote showEXIFdata() to use addWikiText() instead of addHTML()Ævar Arnfjörð Bjarmason2005-04-251-15/+12
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8630
* * Fixed two fatal XML errorsÆvar Arnfjörð Bjarmason2005-04-251-1/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8625
* * Moving hardcoded styles into CSS.Ævar Arnfjörð Bjarmason2005-04-211-9/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8512
* * Show exif data after the image not before it.Ævar Arnfjörð Bjarmason2005-04-211-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8510
* Automatic EXIF update upon viewingMagnus Manske2005-04-211-1/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8503
* Moving EXIF data retrieval to Image classMagnus Manske2005-04-211-12/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8498
* Adding patched EXIF data display on image page, based on include file by ↵Magnus Manske2005-04-211-2/+32
| | | | | | | Vinay Yadav Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8493
* * When an image is changed, invalidate pages that use it.Tim Starling2005-04-171-30/+59
| | | | | | | | * Introduced image "broken links" allowing the user to quickly upload an image with that name * "Upload a new version of this image" link from the image description page Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8412
* Fixed various bugs with new image code, changed thumbnail paths as per ↵Tim Starling2005-04-161-23/+4
| | | | | | | JeLuF's suggestion Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8382
* Fixed some obvious bugs with the new code and implemented If-Modified-Since ↵Tim Starling2005-04-161-11/+1
| | | | | | | handling Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8379
* Moved image metadata to the database. Changed Image object to have ↵Tim Starling2005-04-101-17/+24
| | | | | | | lightweight constructors, similar to the User object. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8230
* Avoid some redundant title-munging by using makeKnownLinkObjBrion Vibber2005-04-021-8/+10
| | | | | | | Clean up a missing </div> in external edit thingy Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8032
* * Minor syntax cleanup of editExternally related things.Ævar Arnfjörð Bjarmason2005-04-011-4/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8023
* Fix query syntax which broke a couple functions' debug info (foreport from 1.4)Brion Vibber2005-03-271-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7955
* Fixing a fatal XML error that broke XHTML compliance.Ævar Arnfjörð Bjarmason2005-03-261-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7897
* Preliminary support for application/external-editorErik Moeller2005-03-241-1/+19
| | | | | | | | | | | | | | | | | allows editing wiki pages or files with an external application, by using an intermediate helper application (such as the reference one in extensions/ee) which fetches the data and transmits the changes back to the server. This version adds external editor support for uploaded files, as well as for pages. More operations, such as diffs and merges, should support application/external-editor in the future. See extensions/ee/README for some more info on the concept. Documentation will also be placed on http://meta.wikimedia.org/wiki/Help:External_editors Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7859
* * Appllied patch for bug 1686, image metadata cache by Andrius Ramanauskas.Tim Starling2005-03-131-1/+8
| | | | | | | | | * Changed memcached invalidation style in this patch to recache instead of deleting, which is better for concurrency * Added a fix for the media link problem, differnet to my fix for the same problem in REL1_4 but either should work. * Fixed image deletion, it didn't work at all. Not sure when it was broken or if it's been reported. It was working in REL1_4. It was a trivial error. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7678
* Cruft war continues: more uses of isAnon() and isLoggedIn()Brion Vibber2005-02-211-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7514
* De-cruftification continues.Brion Vibber2005-02-211-12/+10
| | | | | | | | | | * Replacing Namespace:: functions with NS_ constants * Replacing make*Link() on strings with make*LinkObj() on Title objects * Using more legible convenience methods on User and Title * Start using a common Linker::commentBlock() to wrap the formatComment() bits in the surrounding formatting Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7512
* Audit tweaks: extra post checks, markup fixes.Brion Vibber2005-02-211-8/+23
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7498
* * Fix annoying blue line in Safari on scaled-down images on description pageBrion Vibber2005-02-191-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7493
* * Block image revert without valid loginBrion Vibber2005-02-081-0/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7408
* fix phpdoc commentAntoine Musso2005-01-271-0/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7278
* Remove debugging codeJens Frank2004-12-281-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6873
* BUG#1218 - Show the original image on image pages if the thumbnail would be ↵Jens Frank2004-12-281-1/+12
| | | | | | | bigger than the original image Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6860
* * Fix image page scaling when thumbnail generation is disabledBrion Vibber2004-12-211-16/+21
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6722
* Merge SCHEMA_WORK into HEAD. Lots of changes, some things are probably broken:Brion Vibber2004-12-191-9/+8
| | | | | | | | | * Page moves/overwrites are a little iffy * Compression might not be working right * Profit! Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6710
* (bug 1024) Fix link to high-res image version on Image: pagesJens Frank2004-12-071-11/+10
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6562
* 1014 fix from REL1_4Brion Vibber2004-12-061-2/+10
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6539
* Add some conditional die()s to suppress fatal error messages if certain ↵Brion Vibber2004-12-031-0/+3
| | | | | | | files are run directly from the web. On a server concerned about path disclosure, display_errors should be off, but we can play nice anyway. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6481
* - Refactor Image class for better maintainabilityErik Moeller2004-12-021-2/+8
| | | | | | | | - Add $wgRepositoryBaseUrl for backlinks to repository wiki from local image pages Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6471
* (bug 973) quickie brake for images with many many usesBrion Vibber2004-12-021-1/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6460
* Split recentchanges and image history list formatters from Skin, where they ↵Brion Vibber2004-11-251-4/+79
| | | | | | | never really belonged. No skin overrides these things, and they just waste server time loading and parsing the code for every page hit where they're not needed. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6382
* using addWikiText for shared upload noticeErik Moeller2004-10-271-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6100
* Implementing user levels management. This is only a very basic interface and ↵Antoine Musso2004-10-241-1/+1
| | | | | | | several things need to be done! A tracking bug is at http://bugzilla.wikipedia.org/show_bug.cgi?id=767 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6066
* Correcting bugs due to double-prefixing table names. Removing obsolete ↵Tim Starling2004-10-241-1/+1
| | | | | | | Database member functions. Adding comments to Database.php Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6052
* Preliminary support for shared upload directory. This is primarily intendedErik Moeller2004-10-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | for the Wikimedia Commons. If $wgUseSharedUploads is set, MediaWiki will try to locate an image file in the shared upload directory if it is not found locally. Thumbnails for shared images will also be generated in the shared directory. Note: I changed $text = $this->replaceInternalLinks ( $text ); $text = $this->replaceExternalLinks( $text ); to $text = $this->replaceExternalLinks( $text ); $text = $this->replaceInternalLinks ( $text ); in Parser.php. Otherwise [[Media:Bla.jpg]] to an absolute URL would be incorrectly parsed as external links. The header of replaceExternalLinks says: Note: we have to do external links before the internal ones So the old order was not consistent with the documentation. I did some tests and nothing seems to be broken, but I have some problems executing parserTests.php so I couldn't test it systematically. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5989
* fix xss attackRiver Tarnell2004-10-141-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5877
* fix two xss attacks and one path validation attackRiver Tarnell2004-10-141-3/+7
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5869
* When deleting images / old image revisions, don't fail out if the fileBrion Vibber2004-10-101-3/+18
| | | | | | | | | | doesn't exist or the oi_archive_name field is empty. Treat it gracefully and continue deleting the database records. Bug 484: image deletion causes an internal error Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5797
* Rasterize plain image views of SVG files at default size (currently 512px ↵Brion Vibber2004-10-051-1/+1
| | | | | | | | | wide, maybe not the best). Prefer ImageMagick over GD when setting up LocalSettings.php Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5705