Last modified: 2014-11-15 12:05:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T21303, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19303 - Cite: when using "group=" attribute within "ref" element the space can cause line-break
Cite: when using "group=" attribute within "ref" element the space can cause ...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-20 08:47 UTC by Bernard Burette
Modified: 2014-11-15 12:05 UTC (History)
2 users (show)

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


Attachments

Description Bernard Burette 2009-06-20 08:47:59 UTC
Hi,

I recently added a " <ref>" tag in a wikipedia article using the "group=" attribute. After saving the page my browser (Firefox) showed the group name at the end of a line and the number at the beginning of the next line!

Looking at the code I think the bug is located in file "Cite_body.php" in function "linkRef" where line 570 looks like 

    ($group == CITEDEFAULT_GROUP)?'':"$group ").$wgCont....

The space that is added to the group name is a whitespace character in HTML so line-breaking can happen there.

Maybe using a non-breaking space like U+00A0 or U+202F or maybe no space at all would be more appropriate?

Thanks!
Comment 1 Gadget850 2014-09-24 09:34:35 UTC
Is this still an issue? If so, can we get a concrete example?
Comment 2 Andre Klapper 2014-11-15 12:05:41 UTC
Bernard: Is this still an issue? If so, can we get a concrete example?

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


Navigation
Links