Last modified: 2007-04-25 04:36:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9660 - <ref> tags appear on next line when in a line of test that starts with a semicolon
<ref> tags appear on next line when in a line of test that starts with a semi...
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC Windows XP
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-04-22 06:51 UTC by Chris Sherlock
Modified: 2007-04-25 04:36 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Chris Sherlock 2007-04-22 06:51:28 UTC
The below should show the citation number at the end of the line that starts
with a semi-colon. However, the citation number appears as the first element of
the next line. 

; Base Services:<ref name="msdn-base">[[Microsoft Developer Network]] (July
Base Services.]'' Retrieved August 28, 2005.</ref> Provide access to the
fundamental resources available to a Windows system. Included are things like
[[file systems]], [[:Category:Computer device|devices]], [[Process
(computing)|processes]] and [[Thread (computer science)|threads]], access to the
[[Windows registry]], and [[error handling]]. These functions reside in
<tt>kernel.exe</tt>, <tt>krnl286.exe</tt> or <tt>krnl386.exe</tt> files on
16-bit Windows, and <tt>kernel32.dll</tt> and <tt>advapi32.dll</tt> on 32-bit

See permanent link to article revision for example.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-04-22 13:50:51 UTC
A colon ends the boldfaced <dt> element and begins an indented <dd> element.  If
the reference is after the colon, it will be part of the latter, not the former.
 Move the ref to before the colon.
Comment 2 Chris Sherlock 2007-04-24 07:53:07 UTC
That's not a colon... it's a semi-colon. No trying to be pendantic here, but 
they do different things. 
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-04-24 16:10:02 UTC
A semicolon ';' begins a <dt> element.  A colon ':' begins a <dd> element.  The

; Foo : bar

produces the HTML


as intended.  They do different things, but they both do things, and each is
doing the correct thing in the wikitext that you presented.  Move the ref before
the colon and it will be in the <dt> element as, presumably, is desired.
Comment 4 Chris Sherlock 2007-04-25 04:33:53 UTC
I see. I still don't see why this isn't seen as a bug though. I would have 
thought that any text before a newline wouldn't be incorporated into the same 
line, even if it is a cite tag. 
Comment 5 Chris Sherlock 2007-04-25 04:36:17 UTC
Hold on... I follow now. Ignore previous comment. 

Note You need to log in before you can comment on or make changes to this bug.