http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58247
Revision: 58247 Author: raymond Date: 2009-10-28 08:52:17 +0000 (Wed, 28 Oct 2009) Log Message: ----------- Revert r58246. Committed a lot of half done stuff by accident. wtf?? Modified Paths: -------------- trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php trunk/extensions/UploadFromCommons/UploadFromCommons.i18n.php trunk/extensions/UploadFromCommons/UploadFromCommons.php trunk/phase3/includes/DefaultSettings.php trunk/phase3/skins/common/shared.css Modified: trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php =================================================================== --- trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php 2009-10-28 08:27:19 UTC (rev 58246) +++ trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php 2009-10-28 08:52:17 UTC (rev 58247) @@ -42,25 +42,14 @@ $key = wfMemcKey( 'flaggedrevs', 'reviewPercentiles' ); $dbCache = wfGetCache( CACHE_DB ); $data = $dbCache->get( $key ); - $data[1] = 10; - $data[2] = 20; - $data[3] = 30; - $data[4] = 40; - $data[5] = 50; - //$data[6] = 60; - $data[7] = 70; - $data[8] = 80; # Is there a review time table available? if( is_array($data) && count($data) ) { $headerRows = $dataRows = ''; - $colsCount = count( $data ); - $headerRowsDesc = "<th colspan=$colsCount>Percentile/wait</th>"; foreach( $data as $percentile => $perValue ) { $headerRows .= "<th>P<sub>".intval($percentile)."</sub></th>"; $dataRows .= '<td>'.$wgLang->formatTimePeriod($perValue).'</td>'; } $reviewChart = "<table class='wikitable flaggedrevs_stats_table' style='white-space: nowrap;'>\n"; - $reviewChart .= "<tr align='center'>$headerRowsDesc</tr>\n"; $reviewChart .= "<tr align='center'>$headerRows</tr>\n"; $reviewChart .= "<tr align='center'>$dataRows</tr>\n"; $reviewChart .= "</table>\n"; @@ -69,7 +58,7 @@ } # Show review/pending time stats - $wgOut->addHTML( '<hr/>' . wfMsgExt( 'validationstatistics-time', array( 'parse' ), + $wgOut->addWikiText( '<hr/>' . wfMsgExt( 'validationstatistics-time', array( 'parsemag' ), $wgLang->formatTimePeriod($mt), $wgLang->formatTimePeriod($pt), $wgLang->formatTimePeriod($mdt), $reviewChart, $date, $time ) ); Modified: trunk/extensions/UploadFromCommons/UploadFromCommons.i18n.php =================================================================== --- trunk/extensions/UploadFromCommons/UploadFromCommons.i18n.php 2009-10-28 08:27:19 UTC (rev 58246) +++ trunk/extensions/UploadFromCommons/UploadFromCommons.i18n.php 2009-10-28 08:52:17 UTC (rev 58247) @@ -11,6 +11,6 @@ * @author Bryan Tong Minh */ $messages['en'] = array( - 'uploadfromcommons-desc' => 'Quickly upload an image from Commons. Shows how to extend the new upload system', + 'uploadfromcommons' => 'Quickly upload an image from Commons. Shows how to extend the new upload system', 'uploadfromcommons-source' => 'Commons filename:', ); \ No newline at end of file Modified: trunk/extensions/UploadFromCommons/UploadFromCommons.php =================================================================== --- trunk/extensions/UploadFromCommons/UploadFromCommons.php 2009-10-28 08:27:19 UTC (rev 58246) +++ trunk/extensions/UploadFromCommons/UploadFromCommons.php 2009-10-28 08:52:17 UTC (rev 58247) @@ -41,7 +41,7 @@ 'name' => 'UploadFromCommons', 'author' => 'Bryan Tong Minh', 'description' => 'Quickly upload an image from Commons', - 'descriptionmsg' => 'uploadfromcommons-desc', + 'descriptionmsg' => 'uploadfromcommons', 'url' => 'http://www.mediawiki.org/wiki/Extension:UploadFromCommons', 'version' => '1.0', ); Modified: trunk/phase3/includes/DefaultSettings.php =================================================================== --- trunk/phase3/includes/DefaultSettings.php 2009-10-28 08:27:19 UTC (rev 58246) +++ trunk/phase3/includes/DefaultSettings.php 2009-10-28 08:52:17 UTC (rev 58247) @@ -1605,7 +1605,7 @@ * to ensure that client-side caches do not keep obsolete copies of global * styles. */ -$wgStyleVersion = '249'; +$wgStyleVersion = '248'; # Server-side caching: Modified: trunk/phase3/skins/common/shared.css =================================================================== --- trunk/phase3/skins/common/shared.css 2009-10-28 08:27:19 UTC (rev 58246) +++ trunk/phase3/skins/common/shared.css 2009-10-28 08:52:17 UTC (rev 58247) @@ -531,7 +531,6 @@ padding: 3px; margin-bottom: 3px; border: 2px solid #2F6FAB; - clear: both; } div.mw-warning-with-logexcerpt ul li { font-size: 90%; _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs