https://bugzilla.wikimedia.org/show_bug.cgi?id=31146
Web browser: ---
Bug #: 31146
Summary: Replace colons by em spaces at the beginning of verses
inside poem tag
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: Poem
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 9096
--> https://bugzilla.wikimedia.org/attachment.cgi?id=9096
Patch to add colon replacement at the beginning of verses
In wikisource where the poem extension is mainly used, it has become common
practice to use one or several colons at the beginning of indented verses. This
is the most practical solution to get em spaces (the typographic rule is to
indent shortest verses by one em space for each missing foot compared to the
longest verse). However, the html generated code is really ugly in those cases
: sometimes up to 5 or 6 nested definition lists.
My solution : inside the poem tag, replace the colons at the beginning of each
line by em spaces: &s;emsp;. The result will be the same for the reader,
but the underlying html code will be much cleaner.
Patch enclosed.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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