Commit graph

113 commits

Author SHA1 Message Date
Niklas Laxström
c3072720b2 Include the dot 2005-08-20 10:49:46 +00:00
Niklas Laxström
9ef36be04b Allow wikitext again in sharedupload 2005-08-20 10:48:15 +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
f2cfcfdd99 *html-safety fixes
*made some things localizable or better localizable
2005-08-12 17:18:53 +00:00
Brion Vibber
f2b9274bce * (bug 3117) Fix display of upload size and type with tidy on.
Wikitext blocks should never be inserted in the middle of a line,
they are expected to be block elements!
2005-08-12 04:44:43 +00:00
River Tarnell
b817c0c15f merge ORACLE_WORK. sorry, this may break some parts of MySQL, i did not test extensively. 2005-08-02 13:35:19 +00:00
Niklas Laxström
be70c2e9da Some shared upload fixes 2005-07-13 15:35:22 +00:00
River Tarnell
2b23eba0ef add message before commons desc
html, not wikitext
2005-07-04 03:10:20 +00:00
River Tarnell
c08b3a2bd1 show article text before commons text 2005-07-04 02:59:23 +00:00
Erik Moeller
ce7cefb93e don't show link to licensing info if info is already transcluded 2005-07-03 06:06:57 +00:00
River Tarnell
90bc976ea5 don't display "Upload a new version" etc. for commons images, it has no meaning 2005-07-03 05:21:06 +00:00
River Tarnell
8e35c6da67 fixes from live site 2005-07-03 05:01:21 +00:00
River Tarnell
8e2724711f fixes for action=render on image pages 2005-07-03 04:56:53 +00:00
River Tarnell
b90802e4ce typos 2005-07-03 04:46:44 +00:00
River Tarnell
f392152834 fetch commons descriptions for display on local wikis 2005-07-03 04:40:07 +00:00
Brion Vibber
f8b783977e * (bug 2656) Fix regression: prevent blocked users from reverting images 2005-07-01 21:15:31 +00:00
Brion Vibber
2c115d9c6a * (bug 2488) Format 'deletedtext' message as wikitext 2005-06-22 21:38:15 +00:00
Jens Frank
04f3b6154a BUG#2292 - catch 'null' return values for getThumbnail() 2005-06-13 06:38:02 +00:00
Ævar Arnfjörð Bjarmason
27105c2129 * (bug 898) Mime type autodetection. 2005-05-21 07:46:17 +00:00
Jens Frank
9398de0199 (bug 2110) "noarticletext" should not display on Image page for "sharedupload" media 2005-05-20 22:41:17 +00:00
Ævar Arnfjörð Bjarmason
c411e2048c * Added CSS styles to each Exif tag to make them styleable. 2005-05-09 12:50:40 +00:00
Ævar Arnfjörð Bjarmason
7df42e1009 * Moved the Metadata link next to the image link in the TOC 2005-05-09 09:50:45 +00:00
Ævar Arnfjörð Bjarmason
d7c5996274 * Moving the metadata table back into a vertical table, I'm working on making
collapsable sections within it so it won't be so big.
2005-05-08 16:19:12 +00:00
Ævar Arnfjörð Bjarmason
8f96eb5e2a * Don't display the metadata TOC link for pages where it's not applicable 2005-05-05 02:39:21 +00:00
Ævar Arnfjörð Bjarmason
171edcdffc * msg:exiftags => msg:metadata (exiftags no longer exists)
* The TOC rewritten as a proper <ul> to make it easier to skin it
* id="file" added to the actual file to make it linkable
2005-05-05 01:44:17 +00:00
Ævar Arnfjörð Bjarmason
3d5da489c9 * (bug 2056) Since we added img_type to the schema we return 0 if the image
type is unrecognized, not '', whoever changed that forgot to update this if
  statement.
2005-05-03 09:02:31 +00:00
Brion Vibber
28c9a74779 * Fix up the TOC markup a bit.
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.
2005-04-30 06:41:09 +00:00
Brion Vibber
566d70d81a Move image TOC into content area; a float tends to overlap and crunch in
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).
2005-04-30 02:52:52 +00:00
Brion Vibber
e4b96bc7ec Mix back some of the changes from previous check-in with additional fixes
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
2005-04-30 02:37:16 +00:00
Brion Vibber
3073714101 Undo severe uglification and cluttering of exif table 2005-04-30 01:59:51 +00:00
Ævar Arnfjörð Bjarmason
9ad30a36b9 * Only display the uploadLinksBox() if the subject is a valid image
* 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)
2005-04-30 01:41:52 +00:00
Jens Frank
c5a70bead7 Remove hardcoded CSS ... 2005-04-29 20:56:39 +00:00
Jens Frank
92c6bdbbe3 Remove debug code ... 2005-04-29 20:52:23 +00:00
Jens Frank
ffbd771fdf Unclutter ImagePage. Move EXIF data to the end of the page. Move image upload links to image revision section 2005-04-29 19:45:49 +00:00
Ævar Arnfjörð Bjarmason
bdc10a03f3 * Rewrote showEXIFdata() to use addWikiText() instead of addHTML() 2005-04-25 23:44:16 +00:00
Ævar Arnfjörð Bjarmason
cab1599a4c * Fixed two fatal XML errors 2005-04-25 22:56:31 +00:00
Ævar Arnfjörð Bjarmason
f8923e57db * Moving hardcoded styles into CSS. 2005-04-21 20:56:55 +00:00
Ævar Arnfjörð Bjarmason
b9828d25ff * Show exif data after the image not before it. 2005-04-21 18:28:25 +00:00
Magnus Manske
fb7ab9aa6f Automatic EXIF update upon viewing 2005-04-21 12:59:32 +00:00
Magnus Manske
c6740488f6 Moving EXIF data retrieval to Image class 2005-04-21 11:28:56 +00:00
Magnus Manske
6fd215ec51 Adding patched EXIF data display on image page, based on include file by Vinay Yadav 2005-04-21 09:23:34 +00:00
Tim Starling
8c8ef55be5 * When an image is changed, invalidate pages that use it.
* 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
2005-04-17 08:30:15 +00:00
Tim Starling
8395a4e8e7 Fixed various bugs with new image code, changed thumbnail paths as per JeLuF's suggestion 2005-04-16 11:05:41 +00:00
Tim Starling
f90c740f91 Fixed some obvious bugs with the new code and implemented If-Modified-Since handling 2005-04-16 05:48:21 +00:00
Tim Starling
efba9e3476 Moved image metadata to the database. Changed Image object to have lightweight constructors, similar to the User object. 2005-04-10 18:29:30 +00:00
Brion Vibber
f943ce06fd Avoid some redundant title-munging by using makeKnownLinkObj
Clean up a missing </div> in external edit thingy
2005-04-02 20:55:19 +00:00
Ævar Arnfjörð Bjarmason
e48e5e3428 * Minor syntax cleanup of editExternally related things. 2005-04-01 16:40:20 +00:00
Brion Vibber
1b43d4ee09 Fix query syntax which broke a couple functions' debug info (foreport from 1.4) 2005-03-27 22:29:37 +00:00
Ævar Arnfjörð Bjarmason
1915eed782 Fixing a fatal XML error that broke XHTML compliance. 2005-03-26 16:51:42 +00:00
Erik Moeller
1b562068b6 Preliminary support for application/external-editor
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
2005-03-24 13:30:09 +00:00