* to ensure that client-side caches do not keep obsolete copies of global
* styles.
*/
-$wgStyleVersion = '225';
+$wgStyleVersion = '226';
# Server-side caching:
. "<div id=\"mw-imagepage-section-filehistory\">\n"
. $wgOut->parse( wfMsgNoTrans( 'filehist-help' ) )
. $navLinks . "\n"
- . Xml::openElement( 'table', array( 'class' => 'filehistory' ) ) . "\n"
+ . Xml::openElement( 'table', array( 'class' => 'wikitable filehistory' ) ) . "\n"
. '<tr><td></td>'
. ( $this->current->isLocal() && ($wgUser->isAllowed('delete') || $wgUser->isAllowed('deleterevision') ) ? '<td></td>' : '' )
. '<th>' . wfMsgHtml( 'filehist-datetime' ) . '</th>'
$this->outputHeader();
$wgOut->addHTML(
- Xml::openElement( 'table', array( 'class' => 'mw-listgrouprights-table' ) ) .
+ Xml::openElement( 'table', array( 'class' => 'wikitable mw-listgrouprights-table' ) ) .
'<tr>' .
Xml::element( 'th', null, wfMsg( 'listgrouprights-group' ) ) .
Xml::element( 'th', null, wfMsg( 'listgrouprights-rights' ) ) .
$this->doRawOutput();
}
- $text = Xml::openElement( 'table', array( 'class' => 'mw-statistics-table' ) );
+ $text = Xml::openElement( 'table', array( 'class' => 'wikitable mw-statistics-table' ) );
# Statistic - pages
$text .= $this->getPageStats();
$html .= $this->doTagRow( $tag, 0 );
}
- $wgOut->addHTML( Xml::tags( 'table', array( 'class' => 'mw-tags-table' ), $html ) );
+ $wgOut->addHTML( Xml::tags( 'table', array( 'class' => 'wikitable mw-tags-table' ), $html ) );
}
function doTagRow( $tag, $hitcount ) {
wfRunHooks( 'SoftwareInfo', array( &$software ) );
$out = Xml::element( 'h2', array( 'id' => 'mw-version-software' ), wfMsg( 'version-software' ) ) .
- Xml::openElement( 'table', array( 'id' => 'sv-software' ) ) .
+ Xml::openElement( 'table', array( 'class' => 'wikitable', 'id' => 'sv-software' ) ) .
"<tr>
<th>" . wfMsg( 'version-software-product' ) . "</th>
<th>" . wfMsg( 'version-software-version' ) . "</th>
wfRunHooks( 'SpecialVersionExtensionTypes', array( &$this, &$extensionTypes ) );
$out = Xml::element( 'h2', array( 'id' => 'mw-version-ext' ), wfMsg( 'version-extensions' ) ) .
- Xml::openElement( 'table', array( 'id' => 'sv-ext' ) );
+ Xml::openElement( 'table', array( 'class' => 'wikitable', 'id' => 'sv-ext' ) );
foreach ( $extensionTypes as $type => $text ) {
if ( isset ( $wgExtensionCredits[$type] ) && count ( $wgExtensionCredits[$type] ) ) {
ksort( $myWgHooks );
$ret = Xml::element( 'h2', array( 'id' => 'mw-version-hooks' ), wfMsg( 'version-hooks' ) ) .
- Xml::openElement( 'table', array( 'id' => 'sv-hooks' ) ) .
+ Xml::openElement( 'table', array( 'class' => 'wikitable', 'id' => 'sv-hooks' ) ) .
"<tr>
<th>" . wfMsg( 'version-hook-name' ) . "</th>
<th>" . wfMsg( 'version-hook-subscribedby' ) . "</th>
/**
* File histories
*/
-table.filehistory {
- border:1px solid #ccc;
- border-collapse:collapse;
-}
-
table.filehistory th,
table.filehistory td {
- padding: 0 0.2em 0 0.2em;
vertical-align:top;
- border:1px solid #ccc;
}
table.filehistory th {
text-align: left;
font-weight: bold;
}
-/*
- * Special:ListGroupRights styling
- * Special:Statistics styling
- * Special:Tags styling
-*/
-
-table.mw-listgrouprights-table,
-table.mw-statistics-table,
-table.mw-tags-table {
- border: 1px solid #ccc;
- border-collapse: collapse;
-}
-
+/* Special:ListGroupRights styling */
table.mw-listgrouprights-table tr {
vertical-align: top;
}
-table.mw-listgrouprights-table td, table.mw-listgrouprights-table th,
-table.mw-statistics-table td, table.mw-statistics-table th,
-table.mw-tags-table td, table.mw-tags-table th {
- padding: 0.5em 0.2em 0.5em 0.2em;
- border: 1px solid #ccc;
-}
-
+/* Special:Statistics styling */
td.mw-statistics-numbers {
text-align: right;
}
text-align: center;
}
-/** Special:Version */
-
-table#sv-ext, table#sv-hooks, table#sv-software {
- margin: 1em;
- padding:0em;
-}
-
-#sv-ext td, #sv-hooks td, #sv-software td,
-#sv-ext th, #sv-hooks th, #sv-software th {
- border: 1px solid #A0A0A0;
- padding: 0 0.15em 0 0.15em;
-}
-#sv-ext th, #sv-hooks th, #sv-software th {
- background-color: #F0F0F0;
- color: black;
- padding: 0 0.15em 0 0.15em;
-}
-tr.sv-space{
- height: 0.8em;
- border:none;
-}
-tr.sv-space td { display: none; }
-
/*
Table pager (e.g. Special:Imagelist)
- remove underlines from the navigation link
text-align: center;
}
-/** Special:Version */
-
-table#sv-ext, table#sv-hooks, table#sv-software {
- margin: 1em;
- padding:0em;
-}
-
-#sv-ext td, #sv-hooks td, #sv-software td,
-#sv-ext th, #sv-hooks th, #sv-software th {
- border: 1px solid #A0A0A0;
- padding: 0 0.15em 0 0.15em;
-}
-#sv-ext th, #sv-hooks th, #sv-software th {
- background-color: #F0F0F0;
- color: black;
- padding: 0 0.15em 0 0.15em;
-}
-tr.sv-space{
- height: 0.8em;
- border:none;
-}
-tr.sv-space td { display: none; }
/*
Table pager (e.g. Special:Imagelist)