Commit graph

35 commits

Author SHA1 Message Date
Aryeh Gregor 31d5539803 Give image <gallery>s fluid width
Bug 3276.  Patch by DieBuche, with style cleanups by me, plus a tweak
from comment 27 of the bug to fix spacing.  This incidentally removes
the border around galleries, but this was hard to notice anyway, and
could be easily readded if desired.  Tested in a few browsers, including
IE6, but more testing and/or input from CSS gurus would be appreciated.

Updates parser tests, including for Cite.
2010-11-29 00:11:19 +00:00
Platonides d9b8f32959 Add lists cite_link_label_group-$group to be used for the groups links names.
Fixes bug 22265
2010-05-22 14:28:48 +00:00
OverlordQ 3de4107480 Update parser test to match core wrt thumbnailing (r61777) 2010-02-01 21:44:34 +00:00
Robert Rohde 75004e338f Extends Cite to allows <ref> content to be defined within a <references> block
See comments on Bug 5997, Bug 15724, and discussion at:
 http://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Citing_sources&oldid=304222618#Improving_.3Cref.3E
2009-07-26 22:15:13 +00:00
Remember the dot bb757ec5ba Updated parser test for r52726 and r53287 2009-07-15 04:19:41 +00:00
Aryeh Gregor da56a4b7db Fix parser test broken by r51414 2009-06-05 16:04:19 +00:00
Aryeh Gregor 35593a4bbe Remove superfluous border="0" from images
This should be (and appears to be) handled just fine by CSS.  If it
breaks in any skins, those should have an appropriate CSS rule added.
2009-04-03 14:46:32 +00:00
Aryeh Gregor 245673a16c Don't add empty title attributes to anchor links
All parser tests updated.
2009-03-31 14:26:40 +00:00
Aryeh Gregor 87d06b1ef4 Fix parser test broken by r49020 2009-03-31 14:16:36 +00:00
Alex Z. ca5c36c9b5 (bug 16854) Show an error message when a page has <ref> tags and no <references/>. Patch by Brad Jorsch. 2009-01-26 18:02:28 +00:00
Tim Starling c3048a5e92 Reverting r45379 as per comment 5 on bug 16854, i.e. it doesn't work with section editing. 2009-01-07 13:10:29 +00:00
Chad Horohoe a82380d2a6 (bug 16854) Provide explicit error when <references /> is omitted. Patch by Brad Jorsch. 2009-01-03 18:59:22 +00:00
Siebrand Mazeland 101a9cda45 (bug 44) Rename Image namespace to File. Based on a patch by brion.
* Parser tests updated. 14 failing parser tests before the change, added one, and the same 14 failing parser tests are remaining
* added namespace aliases for Image and Image_talk for backward compatibility purposes
2008-11-17 21:27:00 +00:00
Brion Vibber 340559a0f2 Parser test case for bug 14216
from https://bugzilla.wikimedia.org/attachment.cgi?id=5005
2008-06-20 18:41:14 +00:00
Brion Vibber 27023a48a9 update parser test case results with current message value 2008-04-18 22:48:57 +00:00
Steve Sanbeg 448a99da51 add group option, initialize structures when we start group, clear them when finished 2008-03-21 15:25:26 +00:00
Brion Vibber 58f061fadf Revert r32256 -- lots of notice errors about undefined index & such seen while running tests 2008-03-21 00:19:18 +00:00
Steve Sanbeg b9db9c27e4 add "group" parameter to allow multiple reference/footnote groups 2008-03-20 21:26:54 +00:00
Brion Vibber e44423e8e9 Update tests for <ref> fragment ID changes in r32160
Note that underscores *are* valid to begin an ID with in XHTML, but not in HTML 4, so are recommended against in HTML-compatible XHTML, although browsers seem to allow it.
2008-03-19 20:17:57 +00:00
Aryeh Gregor a03e2a48d5 Improve clarity of error message when no text is given for a reference. 2008-01-04 13:58:40 +00:00
Aryeh Gregor 7a0d1123e9 Parser test to check for the regression fixed by 28906. 2007-12-27 22:25:15 +00:00
Aryeh Gregor b3b7be4e85 Changed messages to be a more standard format, to help localization with BetaWiki et al., at request of siebrand. Thanks to help from siebrand. All Cite parser tests pass. 2007-12-16 20:18:33 +00:00
Aryeh Gregor 7e700530b8 Reduce nesting and code duplication in guardedRef; add comments. This is preparatory to possibly adding new attributes, like group or HTML attributes. Also, add a new parser test to verify failure on errors, improve should-never-occur messages slightly. 2007-12-16 18:49:10 +00:00
Brion Vibber 1445748d41 adjust parser tests to match slightly wider gallery width per r25822 2007-09-13 19:24:43 +00:00
Tim Starling 2c253f3a5c updated image syntax 2007-08-31 16:45:54 +00:00
Brion Vibber f078bbdb08 Alter test cases for changed behavior of <references/> when no <ref>s were present 2007-05-09 14:48:05 +00:00
Raimond Spekking 4b24633d84 Fix for r20190 2007-03-08 11:20:36 +00:00
Raimond Spekking ca51a61190 * (bug 8941) fix cite parser test, broken by r19845
patch by Rob Church
2007-02-10 19:07:34 +00:00
Aryeh Gregor 627c004733 More bloody parser tests 2007-02-06 13:32:50 +00:00
Aryeh Gregor 34babc0603 Hopefully fix parsertests for Cite (thanks Rob) 2007-02-04 03:12:57 +00:00
Brion Vibber ff99847497 Parser tests for recent change in <ref> behavior, plus fix for failure of that behavior when the first ref is set to exactly "0" 2006-11-03 15:34:46 +00:00
Brion Vibber 9b81afd41d Add parser test for bug 6299 2006-07-10 17:59:37 +00:00
Brion Vibber 34ce1052bc Fix tests for a parser fix with <ol> 2006-07-10 17:56:51 +00:00
Brion Vibber d3aa609189 Add regression test for bug 6164 2006-06-01 21:11:29 +00:00
Brion Vibber dd15a590bb A few test cases for <ref> behavior 2006-06-01 05:58:52 +00:00