https://bugzilla.wikimedia.org/show_bug.cgi?id=67225
Bug ID: 67225
Summary: Hovercards: Space before removed parentheses should
also be removed in the extract
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Popups
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
This commit removed parentheses from extracts:
https://gerrit.wikimedia.org/r/#/c/132663/
However, the space before the parentheses is not removed, which results in an
incorrect space, often directly before punctuation.
Example: http://en.wikifur.com/wiki/Category:NordicFuzzCon_staff
For the article "Vappu", which starts:
"Vappu (born August 7), also known as Lexy, Alexis and Alexistar..."
The extract is:
"Vappu , also known as Lexy, Alexis and Alexistar..."
There should not be a space after "Vappu". I think you could do something like
"(\s?)" before the rest of the regex to remove this.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l