r66535 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66534‎ | r66535 | r66536 >
Date:15:42, 16 May 2010
Author:hartman
Status:ok
Tags:
Comment:
Add styles for printing wikitables.

Fixes bug 23507.
Follow up of r48842
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/skins/common/commonPrint.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/common/commonPrint.css
@@ -309,6 +309,24 @@
310310 /*
311311 ** Table rendering
312312 */
 313+table.wikitable {
 314+ margin: 1em 1em 1em 0;
 315+ border: 1px #aaa solid;
 316+ border-collapse: collapse;
 317+}
 318+.wikitable th, .wikitable td {
 319+ border: 1px #aaa solid;
 320+ padding: 0.2em;
 321+}
 322+.wikitable th {
 323+ text-align: center;
 324+ background: #F9F9F9;
 325+ font-weight: bold;
 326+}
 327+.wikitable caption {
 328+ font-weight: bold;
 329+}
 330+
313331 a.sortheader {
314332 margin: 0px 0.3em;
315333 }
Index: trunk/phase3/RELEASE-NOTES
@@ -164,6 +164,7 @@
165165 * (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added new
166166 variable {{REVISIONMONTH1}} when unpadded version is needed.
167167 * Special:Userrights didn't recognize user as changing his/her own rights if user did not capitalize first letter of username.
 168+* (bug 23507) Add styles for printing wikitables
168169
169170 === API changes in 1.17 ===
170171 * (bug 22738) Allow filtering by action type on query=logevent

Follow-up revisions

RevisionCommit summaryAuthorDate
r66536Update wgStyleVersion. Follow up to r66534 and r66535hartman15:47, 16 May 2010
r66547Follow up r66535. Specifically set a white background, for the cases where th...platonides20:00, 16 May 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r48842* Add CSS defintion of the 'wikitable' class to shared.css. Style copied from...raymond20:00, 25 March 2009

Status & tagging log