Last modified: 2013-04-22 16:15:23 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 T25472, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23472 - undesirable space after external link url in printout
undesirable space after external link url in printout
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.21.x
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-11 22:28 UTC by Lee Worden
Modified: 2013-04-22 16:15 UTC (History)
3 users (show)

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


Attachments
remove extra space from a.external.text rule in commonPrint.css (426 bytes, patch)
2010-05-11 22:28 UTC, Lee Worden
Details

Description Lee Worden 2010-05-11 22:28:06 UTC
Created attachment 7360 [details]
remove extra space from a.external.text rule in commonPrint.css

When printing an external link, the stylesheet appends the link's URL with surrounding spaces.  The final space is inappropriate when the link is followed by punctuation, and unnecessary otherwise.

For instance, "[http://mediawiki.org MediaWiki], a popular free software package" prints as "MediaWiki (http://mediawiki.org) , a popular free software package".

Patch included to get rid of the extra space.
Comment 1 p858snake 2011-04-30 00:09:51 UTC
*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*
Comment 2 Sumana Harihareswara 2011-11-10 02:33:12 UTC
Thanks for the patch, Lee!  Sorry for the long wait.  I am adding the "need-review" keyword so developers know that this patch hasn't been reviewed yet.
Comment 3 Sumana Harihareswara 2011-11-24 19:56:15 UTC
Lee, I'm sorry that, because of the delay, your patch no longer applies to MediaWiki's current codebase.  Is the bug still happening?  If so, would you be interested in updating your patch?  If you do, and attach the "need-review" and "patch" keywords, we'll make sure to review it a lot faster.  Again, I'm sorry.
Comment 4 Sumana Harihareswara 2011-11-24 19:56:50 UTC
Comment on attachment 7360 [details]
remove extra space from a.external.text rule in commonPrint.css

Patch no longer applies to MediaWiki trunk in Subversion.
Tested by Rusty in http://lists.wikimedia.org/pipermail/wikitech-l/2011-November/056340.html
Comment 5 Andre Klapper 2013-03-14 17:14:53 UTC
Seems to still apply:

$:andre\> grep -r "attr(href)" .
./common/commonPrint.css:	content: " (" attr(href) ") ";
Comment 6 Nischay Nahata 2013-03-24 20:33:16 UTC
https://gerrit.wikimedia.org/r/#/c/55518/ seems to address this bug.

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


Navigation
Links