Page MenuHomePhabricator

undesirable space after external link url in printout
Closed, ResolvedPublic


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, "[ MediaWiki], a popular free software package" prints as "MediaWiki ( , a popular free software package".

Patch included to get rid of the extra space.

Version: 1.21.x
Severity: minor

attachment commonPrint.patch ignored as obsolete



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:10 PM
bzimport set Reference to bz23472.
bzimport added a subscriber: Unknown Object (MLST).

*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*

sumanah wrote:

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.

sumanah wrote:

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.

sumanah wrote:

Comment on attachment 7360
remove extra space from a.external.text rule in commonPrint.css

Patch no longer applies to MediaWiki trunk in Subversion.
Tested by Rusty in

Seems to still apply:

$:andre\> grep -r "attr(href)" .
./common/commonPrint.css: content: " (" attr(href) ") ";