Commit graph

135 commits

Author SHA1 Message Date
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
Lupin
11337038b3 removing unused globals and some whitespace cleaning 2006-03-07 01:10:39 +00:00
Brion Vibber
327f9654d0 * Purge thumbnails and metadata cache for action=purge on an image page 2006-03-01 01:27:36 +00:00
Rob Church
b506512bda (bug 4875) Define a div containing the shared image description 2006-02-05 18:32:55 +00:00
Domas Mituzas
2d23e2a977 Tidy up only article views, previews, image pages and diffs. 2006-01-23 18:37:46 +00:00
Brion Vibber
266d41f165 * Added wfDie() wrapper, and some manual die(-1), to force the return code
to the shell to return nonzero when we crap out with an error.
2006-01-14 02:49:43 +00:00
Brion Vibber
04a7e6291e * (bug 1103) Fix up redirect handling for images, categories
Redirects are now followed from the top-level, outside of the Article
  content loading and viewing, for clarity and consistency.
2006-01-13 00:29:20 +00:00
Ævar Arnfjörð Bjarmason
a26d5a49d7 * s~\t+$~~ 2006-01-07 13:31:29 +00:00
Tim Starling
81217f55a0 * Added templatelinks table. The table currently represents a literal list of templates included from each article. That is, the table contains pages which were actually loaded during parsing, not the markup which went into resolving their names.
* Ended the role of $wgLinkCache in link updates. Instead, links (and related entities) are registered in the ParserOutput object during a parse. The LinksUpdate constructor now takes a ParserOutput object as a parameter. $wgLinkCache is still used, but only as a cache of article IDs.
* Because the link list is now saved and restored in the parser cache, meta tag keywords now work on parser cache hits. Some refactoring took place in this area.
* Rendering of the HTML for category links has moved from Parser to OutputPage.
* Did some general pottering around in Article.php, such as allowing an Article object to be created with a specified revision ID, thereby optionally removing the dependence on $wgRequest. Not used at the current time.
* A few documentation tweaks.
2005-12-30 09:33:11 +00:00
Rob Church
f1296ef2d2 * (bug 4426) Add link to user_talk page on image pages 2005-12-30 04:52:50 +00:00
Brion Vibber
2ec5f7958b * Add 'GetInternalURL' hook to match the GetFullURL and GetLocalURL ones 2005-12-26 07:14:42 +00:00
Antoine Musso
2ca68a256d Clean up unused globals! 2005-12-04 18:27:59 +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
Brion Vibber
baed3966b0 * (bug 2111) Collapsable exif metadata table, clean up display
List of non-collapsing fields is in [[MediaWiki:Metadata-fields]].
Intro paragraph is in [[MediaWiki:Metadata-help]].
2005-11-28 23:56:35 +00:00
Brion Vibber
bca270619f * (bug 2740) Accept image deletions on 'enter' submit from MSIE
Confirmation checkbox is gone now; the submit button had been
coopted to replace it in the submission variables, but some
user agents don't go looking for a default button when you
submit by hitting 'enter' in a text entry widget. Just check
that the form was posted; we already have the edit token check
to confirm that it's not a forged request.
2005-11-16 08:15:36 +00:00
Brion Vibber
8f618346f8 * (bug 3643) Fix image page display of large images with resizing disabled 2005-10-07 21:43:55 +00:00
Ævar Arnfjörð Bjarmason
478e7b84b8 * Tweaks to function makeMetadataTable() 2005-09-20 18:03:08 +00:00
Ævar Arnfjörð Bjarmason
54c96537f2 * Showing width/height in image histories 2005-09-19 12:54:18 +00:00
Brion Vibber
aff0023035 * Use the real file link instead of the default-size rasterized version for
large SVG images on image description page
* Include the file name/type/size line for non-resized images
2005-09-13 01:27:21 +00:00
Brion Vibber
3d3ebe8216 * (bug 3127) Render large SVGs at image page size correctly 2005-09-10 23:01:27 +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
Niklas Laxström
c4162ea5ef Wikitext here also 2005-08-20 12:01:08 +00:00
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