r75973 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75972‎ | r75973 | r75974 >
Date:01:29, 4 November 2010
Author:reedy
Status:deferred (Comments)
Tags:
Comment:
Code cleanup, mainly unused variables
Modified paths:
  • /trunk/extensions/APC/SpecialAPC.php (modified) (history)
  • /trunk/extensions/AbuseFilter/Views/AbuseFilterViewTestBatch.php (modified) (history)
  • /trunk/extensions/CentralAuth/SpecialCentralAuth.php (modified) (history)
  • /trunk/extensions/CentralAuth/SpecialMergeAccount.php (modified) (history)
  • /trunk/extensions/CentralNotice/SpecialBannerAllocation.php (modified) (history)
  • /trunk/extensions/CodeReview/ui/CodeStatusChangeListView.php (modified) (history)
  • /trunk/extensions/ContributionReporting/FundraiserStatistics_body.php (modified) (history)
  • /trunk/extensions/DynamicPageList/DPLMain.php (modified) (history)
  • /trunk/extensions/ExtensionDistributor/ExtensionDistributor_body.php (modified) (history)
  • /trunk/extensions/FixedImage/FixedImage.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/FRDependencyUpdate.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedRevsXML.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/api/ApiReview.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/forms/RevisionReviewForm.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php (modified) (history)
  • /trunk/extensions/Gadgets/Gadgets.php (modified) (history)
  • /trunk/extensions/GlobalBlocking/SpecialGlobalBlockList.php (modified) (history)
  • /trunk/extensions/GlobalUsage/SpecialGlobalUsage.php (modified) (history)
  • /trunk/extensions/OpenSearchXml/ApiOpenSearchXml.php (modified) (history)
  • /trunk/extensions/PagedTiffHandler/PagedTiffHandler_body.php (modified) (history)
  • /trunk/extensions/PagedTiffHandler/TiffReader.php (modified) (history)
  • /trunk/extensions/PagedTiffHandler/tests/PagedTiffHandlerTest.php (modified) (history)
  • /trunk/extensions/ReaderFeedback/ReaderFeedback.class.php (modified) (history)
  • /trunk/extensions/ReaderFeedback/ReaderFeedback.hooks.php (modified) (history)
  • /trunk/extensions/ReaderFeedback/ReaderFeedbackXML.php (modified) (history)
  • /trunk/extensions/ReaderFeedback/specialpages/RatingHistory_body.php (modified) (history)
  • /trunk/extensions/ReaderFeedback/specialpages/ReaderFeedback_body.php (modified) (history)
  • /trunk/extensions/SecurePoll/includes/entities/Entity.php (modified) (history)
  • /trunk/extensions/SecurePoll/includes/main/Context.php (modified) (history)
  • /trunk/extensions/SecurePoll/includes/talliers/HistogramRangeTallier.php (modified) (history)
  • /trunk/extensions/SecurePoll/includes/talliers/PluralityTallier.php (modified) (history)
  • /trunk/extensions/SecurePoll/includes/talliers/SchulzeTallier.php (modified) (history)
  • /trunk/extensions/SiteMatrix/SiteMatrix_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GlobalUsage/SpecialGlobalUsage.php
@@ -105,7 +105,6 @@
106106 return;
107107 }
108108
109 - $offset = $query->getOffsetString();
110109 $navbar = $this->getNavBar( $query );
111110 $targetName = $this->target->getText();
112111
Index: trunk/extensions/CodeReview/ui/CodeStatusChangeListView.php
@@ -62,7 +62,6 @@
6363 }
6464
6565 function formatValue( $name, $value ) {
66 - global $wgLang;
6766 switch( $name ) {
6867 case 'cpc_rev_id':
6968 return $this->mView->mSkin->link(
Index: trunk/extensions/CentralNotice/SpecialBannerAllocation.php
@@ -128,7 +128,7 @@
129129 * Show a list of banners with allocation. Newer banners are shown first.
130130 */
131131 function showList() {
132 - global $wgRequest, $wgOut, $wgUser, $wgRequest, $wgLang;
 132+ global $wgOut, $wgUser, $wgRequest, $wgLang;
133133
134134 $sk = $wgUser->getSkin();
135135 $viewPage = $this->getTitleFor( 'NoticeTemplate', 'view' );
Index: trunk/extensions/GlobalBlocking/SpecialGlobalBlockList.php
@@ -149,8 +149,6 @@
150150 if ($row->gb_anon_only)
151151 $options[] = wfMsg('globalblocking-list-anononly');
152152
153 - $titleObj = SpecialPage::getTitleFor( "GlobalBlockList" );
154 -
155153 ## Do afterthoughts (comment, links for admins)
156154 $info = array();
157155
Index: trunk/extensions/Gadgets/Gadgets.php
@@ -137,7 +137,7 @@
138138 } else {
139139 $destination = &$options;
140140 }
141 - foreach( $thisSection as $gname => $code ) {
 141+ foreach( $thisSection as $gname ) {
142142 $destination[wfMsgExt( "gadget-$gname", 'parseinline' )] = $gname;
143143 }
144144 }
Index: trunk/extensions/APC/SpecialAPC.php
@@ -100,7 +100,6 @@
101101 }
102102 }
103103
104 - $dir = dirname( __FILE__ );
105104 $wgOut->addLink( array( 'rel' => 'stylesheet', 'type' => 'text/css',
106105 'href' => "$wgScriptPath/extensions/APC/apc.css?$wgStyleVersion", )
107106 );
@@ -181,7 +180,7 @@
182181 }
183182
184183 protected function doObHostStats() {
185 - global $wgOut, $wgLang;
 184+ global $wgOut;
186185
187186 $mem = apc_sma_info();
188187
Index: trunk/extensions/ExtensionDistributor/ExtensionDistributor_body.php
@@ -69,7 +69,7 @@
7070
7171 $this->extensionList = array();
7272
73 - foreach ( $wgExtDistBranches as $branchPath => $branch ) {
 73+ foreach ( $wgExtDistBranches as $branchPath ) {
7474 $wc = "$wgExtDistWorkingCopy/$branchPath/extensions";
7575 $dir = opendir( $wc );
7676
Index: trunk/extensions/OpenSearchXml/ApiOpenSearchXml.php
@@ -159,8 +159,7 @@
160160 (?:\|$pipeContents)*
161161 \]\]
162162 #six", array( $this, '_stripLink' ), $text );
163 -
164 - $protocols = wfUrlProtocols();
 163+
165164 $text = preg_replace( '#\\[(?:$protocols).*? (.*?)\\]#s', '$1', $text ); // URL links
166165 $text = preg_replace( '#</?[a-z0-9]+.*?>#s', '', $text ); // HTML-style tags
167166 $text = preg_replace( '#\\{\\|.*?\\|\\}#s', '', $text ); // tables
Index: trunk/extensions/FixedImage/FixedImage.php
@@ -47,7 +47,7 @@
4848
4949 function fixedImageSetup( &$parser ) {
5050 global $wgFixedImageHooks;
51 - foreach( $wgFixedImageHooks as $key => $data ) {
 51+ foreach( $wgFixedImageHooks as $key ) {
5252 $wrapper = create_function( '$text, $params=null',
5353 "return fixedImageHandler('$key', \$text, \$params);" );
5454 $parser->setHook( $key, $wrapper );
Index: trunk/extensions/PagedTiffHandler/TiffReader.php
@@ -113,7 +113,6 @@
114114
115115 public function check( $debug = false ) {
116116 $offset = $this->ifd_offsets[$this->embed_files]['offset'];
117 - $rounds = 0;
118117 // loop over all ifd
119118 while ( $offset && $offset <= $this->real_eof ) {
120119 // save the offset if it is the highest one
Index: trunk/extensions/PagedTiffHandler/tests/PagedTiffHandlerTest.php
@@ -25,7 +25,6 @@
2626 class PagedTiffHandlerTest extends PHPUnit_Framework_TestCase {
2727
2828 private $handler;
29 - private $image;
3029 private $preCheckError = false;
3130
3231 function upload( $title, $path ) {
Index: trunk/extensions/PagedTiffHandler/PagedTiffHandler_body.php
@@ -60,11 +60,8 @@
6161 * - check for running-identify-service
6262 */
6363 function verifyUpload( $fileName ) {
64 - global $wgTiffMaxEmbedFiles, $wgTiffMaxMetaSize, $wgMaxUploadSize,
65 - $wgTiffRejectOnError, $wgTiffRejectOnWarning, $wgTiffUseTiffReader,
66 - $wgTiffReaderPath, $wgTiffReaderCheckEofForJS;
 64+ global $wgTiffUseTiffReader, $wgTiffReaderCheckEofForJS;
6765
68 - wfLoadExtensionMessages( 'PagedTiffHandler' );
6966 $status = Status::newGood();
7067 if ( $wgTiffUseTiffReader ) {
7168 $tr = new TiffReader( $fileName );
@@ -382,6 +379,7 @@
383380
384381 wfProfileIn( 'PagedTiffHandler' );
385382 wfDebug( __METHOD__ . ": $cmd\n" );
 383+ $retval = null;
386384 $err = wfShellExec( $cmd, $retval );
387385 wfProfileOut( 'PagedTiffHandler' );
388386
Index: trunk/extensions/SiteMatrix/SiteMatrix_body.php
@@ -78,7 +78,7 @@
7979 uasort( $this->specials, array( __CLASS__, 'sortSpecial' ) );
8080
8181 if( $hideEmpty ){
82 - foreach( $xLanglist as $lang => $unused ){
 82+ foreach( $xLanglist as $lang ){
8383 $empty = true;
8484 foreach ( $this->sites as $site ) {
8585 if( !empty( $this->matrix[$site][$lang] ) ){
Index: trunk/extensions/ContributionReporting/FundraiserStatistics_body.php
@@ -78,7 +78,7 @@
7979
8080 // Chart maximums
8181 foreach ( $egFundraiserStatisticsFundraisers as $fundraiser ) {
82 - foreach ( $charts as $name => $chart ) {
 82+ foreach ( $charts as $name ) {
8383 $chartMax = $this->query( $charts[$name]['query'], $fundraiser['start'], $fundraiser['end'] );
8484 if ( $chartMax > $charts[$name]['max'] ) {
8585 $charts[$name]['max'] = $chartMax;
@@ -161,7 +161,7 @@
162162 // Tabs
163163 $first = true;
164164 $htmlCharts = Xml::openElement( 'div', array( 'class' => 'fundraiserstats-chart-tabs' ) );
165 - foreach ( $charts as $chart => $columns ) {
 165+ foreach ( $charts as $chart ) {
166166 $htmlCharts .= Xml::tags(
167167 'div',
168168 array(
Index: trunk/extensions/CentralAuth/SpecialCentralAuth.php
@@ -8,7 +8,7 @@
99 }
1010
1111 function execute( $subpage ) {
12 - global $wgOut, $wgRequest, $wgUser;
 12+ global $wgOut;
1313 global $wgExtensionAssetsPath, $wgCentralAuthStyleVersion;
1414 global $wgUser, $wgRequest;
1515 $this->setHeaders();
Index: trunk/extensions/CentralAuth/SpecialMergeAccount.php
@@ -6,7 +6,7 @@
77 }
88
99 function execute( $subpage ) {
10 - global $wgOut, $wgRequest, $wgUser;
 10+ global $wgOut, $wgUser;
1111 $this->setHeaders();
1212
1313 if ( !$this->userCanExecute( $wgUser ) ) {
Index: trunk/extensions/FlaggedRevs/forms/RevisionReviewForm.php
@@ -217,7 +217,7 @@
218218 if ( $iDims ) {
219219 $this->dims = $iDims;
220220 } else {
221 - foreach ( FlaggedRevs::getDimensions() as $tag => $levels ) {
 221+ foreach ( FlaggedRevs::getDimensions() as $tag ) {
222222 if ( $this->dims[$tag] === 0 ) {
223223 $this->unapprovedTags++;
224224 }
Index: trunk/extensions/FlaggedRevs/FRDependencyUpdate.php
@@ -25,7 +25,7 @@
2626 # Get any links that are only in the stable version...
2727 $cLinks = $this->getCurrentVersionLinks();
2828 foreach ( $this->sLinks as $ns => $titles ) {
29 - foreach ( $titles as $title => $pageId ) {
 29+ foreach ( $titles as $title ) {
3030 if ( !isset( $cLinks[$ns][$title] ) ) {
3131 self::addDependency( $deps, $ns, $title );
3232 }
@@ -33,7 +33,7 @@
3434 }
3535 # Get any images that are only in the stable version...
3636 $cImages = $this->getCurrentVersionImages();
37 - foreach ( $this->sImages as $image => $n ) {
 37+ foreach ( $this->sImages as $image ) {
3838 if ( !isset( $cImages[$image] ) ) {
3939 self::addDependency( $deps, NS_FILE, $image );
4040 }
@@ -41,7 +41,7 @@
4242 # Get any templates that are only in the stable version...
4343 $cTemplates = $this->getCurrentVersionTemplates();
4444 foreach ( $this->sTemplates as $ns => $titles ) {
45 - foreach ( $titles as $title => $id ) {
 45+ foreach ( $titles as $title ) {
4646 if ( !isset( $cTemplates[$ns][$title] ) ) {
4747 self::addDependency( $deps, $ns, $title );
4848 }
@@ -49,7 +49,7 @@
5050 }
5151 # Get any categories that are only in the stable version...
5252 $cCategories = $this->getCurrentVersionCategories();
53 - foreach ( $this->sCategories as $category => $sort ) {
 53+ foreach ( $this->sCategories as $category ) {
5454 if ( !isset( $cCategories[$category] ) ) {
5555 self::addDependency( $deps, NS_CATEGORY, $category );
5656 }
@@ -108,7 +108,7 @@
109109 } else {
110110 $diffs = $dbkeys;
111111 }
112 - foreach ( $diffs as $dbk => $id ) {
 112+ foreach ( $diffs as $dbk ) {
113113 $arr[] = array(
114114 'ftr_from' => $this->title->getArticleId(),
115115 'ftr_namespace' => $ns,
@@ -125,7 +125,7 @@
126126 */
127127 protected function getDepDeletions( array $existing, array $new ) {
128128 $del = array();
129 - foreach ( $existing as $ns => $dbkeys ) {
 129+ foreach ( $existing as $ns ) {
130130 if ( isset( $new[$ns] ) ) {
131131 $del[$ns] = array_diff_key( $existing[$ns], $new[$ns] );
132132 } else {
Index: trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php
@@ -57,7 +57,7 @@
5858 # Special token to discourage fiddling...
5959 $form->setValidatedParams( $wgRequest->getVal( 'validatedParams' ) );
6060 # Tag values
61 - foreach ( FlaggedRevs::getDimensions() as $tag => $levels ) {
 61+ foreach ( FlaggedRevs::getDimensions() as $tag ) {
6262 # This can be NULL if we uncheck a checkbox
6363 $val = $wgRequest->getInt( "wp$tag" );
6464 $form->setDim( $tag, $val );
Index: trunk/extensions/FlaggedRevs/FlaggedRevsXML.php
@@ -182,7 +182,7 @@
183183 if ( $prettyBox ) {
184184 $tag .= "<table id='mw-fr-revisionratings-box' align='center' class='$css' cellpadding='0'>";
185185 }
186 - foreach ( FlaggedRevs::getDimensions() as $quality => $x ) {
 186+ foreach ( FlaggedRevs::getDimensions() as $quality ) {
187187 $level = isset( $flags[$quality] ) ? $flags[$quality] : 0;
188188 $encValueText = wfMsgHtml( "revreview-$quality-$level" );
189189 $level = $flags[$quality];
Index: trunk/extensions/FlaggedRevs/api/ApiReview.php
@@ -62,7 +62,7 @@
6363 $form->setNotes( $params['notes'] );
6464 // The flagging parameters have the form 'flag_$name'.
6565 // Extract them and put the values into $form->dims
66 - foreach ( FlaggedRevs::getDimensions() as $tag => $levels ) {
 66+ foreach ( FlaggedRevs::getDimensions() as $tag ) {
6767 $form->setDim( $tag, intval( $params['flag_' . $tag] ) );
6868 }
6969 if ( $form->isApproval() ) {
@@ -174,7 +174,7 @@
175175 if ( FlaggedRevs::dimensionsEmpty() ) {
176176 $desc['unapprove'] = "If set, revision will be unapproved rather than approved.";
177177 } else {
178 - foreach ( FlaggedRevs::getDimensions() as $flagname => $levels ) {
 178+ foreach ( FlaggedRevs::getDimensions() as $flagname ) {
179179 $desc['flag_' . $flagname] = "Set the flag ''{$flagname}'' to the specified value";
180180 }
181181 }
Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewTestBatch.php
@@ -78,7 +78,8 @@
7979 function doTest() {
8080 // Quick syntax check.
8181 global $wgUser, $wgOut;
82 - if ( ( $result = AbuseFilter::checkSyntax( $this->mFilter ) ) !== true ) {
 82+ $result = AbuseFilter::checkSyntax( $this->mFilter );
 83+ if ( $result !== true ) {
8384 $wgOut->addWikiMsg( 'abusefilter-test-syntaxerr' );
8485 return;
8586 }
Index: trunk/extensions/ReaderFeedback/ReaderFeedback.hooks.php
@@ -133,7 +133,7 @@
134134 'onchange' => "updateFeedbackForm()" );
135135 $form .= '&#160;' . Xml::openElement( 'select', $attribs );
136136 $levels = array_reverse($levels,true);
137 - foreach( $levels as $i => $name ) {
 137+ foreach( $levels as $i ) {
138138 $optionClass = array( 'class' => "rfb-rating-option-$i" );
139139 $form .= Xml::option( wfMsg("readerfeedback-level-$i"), $i, ($i == $selected), $optionClass ) ."\n";
140140 }
Index: trunk/extensions/ReaderFeedback/specialpages/RatingHistory_body.php
@@ -117,7 +117,7 @@
118118 $data = false;
119119 $html = '';
120120 // Do each graphs for said time period
121 - foreach( ReaderFeedback::getFeedbackTags() as $tag => $weight ) {
 121+ foreach( ReaderFeedback::getFeedbackTags() as $tag ) {
122122 // Check if cached version is available.
123123 // If not, then generate a new one.
124124 $filePath = $this->getFilePath( $tag );
Index: trunk/extensions/ReaderFeedback/specialpages/ReaderFeedback_body.php
@@ -54,7 +54,7 @@
5555 # Get our rating dimensions
5656 $this->dims = array();
5757 $unsureCount = 0;
58 - foreach( ReaderFeedback::getFeedbackTags() as $tag => $weight ) {
 58+ foreach( ReaderFeedback::getFeedbackTags() as $tag ) {
5959 $this->dims[$tag] = $wgRequest->getIntOrNull( "wp$tag" );
6060 if( $this->dims[$tag] === null ) { // nothing sent at all :(
6161 $wgOut->redirect( $this->page->getLocalUrl() );
Index: trunk/extensions/ReaderFeedback/ReaderFeedback.class.php
@@ -204,7 +204,7 @@
205205 array( 'USE INDEX' => array('revision' => 'page_timestamp') )
206206 );
207207 $votes = array();
208 - foreach( ReaderFeedback::getFeedbackTags() as $tag => $w ) {
 208+ foreach( ReaderFeedback::getFeedbackTags() as $tag ) {
209209 $votes[$tag] = array( 0 => 0, 1 => 0, 2 => 0, 3 => 0, 4 => 0 );
210210 }
211211 // Read votes and tally the numbers
@@ -226,7 +226,7 @@
227227 }
228228 // Output multi-column list
229229 $html = "<table class='rfb-reader_feedback_table' cellspacing='0'><tr>";
230 - foreach( ReaderFeedback::getFeedbackTags() as $tag => $w ) {
 230+ foreach( ReaderFeedback::getFeedbackTags() as $tag ) {
231231 // Get tag average...
232232 $dist = isset($votes[$tag]) ? $votes[$tag] : array();
233233 $count = array_sum($dist);
Index: trunk/extensions/ReaderFeedback/ReaderFeedbackXML.php
@@ -47,7 +47,7 @@
4848 public static function getTagMenu( $selected = '' ) {
4949 $s = "<label for='wpRatingTag'>" . wfMsgHtml('readerfeedback-tagfilter') . "</label>&#160;";
5050 $s .= Xml::openElement( 'select', array('name' => 'ratingtag', 'id' => 'wpRatingTag') );
51 - foreach( ReaderFeedback::getFeedbackTags() as $tag => $weight ) {
 51+ foreach( ReaderFeedback::getFeedbackTags() as $tag ) {
5252 $s .= Xml::option( wfMsg( "readerfeedback-$tag" ), $tag, $selected===$tag );
5353 }
5454 $s .= Xml::closeElement('select')."\n";
Index: trunk/extensions/SecurePoll/includes/talliers/SchulzeTallier.php
@@ -93,7 +93,7 @@
9494 }
9595
9696 # Now $winners is the list of candidates that tie for this position
97 - foreach ( $winners as $oid => $unused ) {
 97+ foreach ( $winners as $oid ) {
9898 $ranks[$oid] = $currentRank;
9999 }
100100 $currentRank += count( $winners );
Index: trunk/extensions/SecurePoll/includes/talliers/PluralityTallier.php
@@ -33,7 +33,7 @@
3434 // Show the results
3535 $s = "<table class=\"securepoll-results\">\n";
3636
37 - foreach ( $this->tally as $oid => $rank ) {
 37+ foreach ( $this->tally as $oid ) {
3838 $option = $this->optionsById[$oid];
3939 $s .= '<tr><td>' . $option->parseMessageInline( 'text' ) . "</td>\n" .
4040 '<td>' . $this->tally[$oid] . "</td>\n" .
@@ -46,7 +46,7 @@
4747 function getTextResult() {
4848 // Calculate column width
4949 $width = 10;
50 - foreach ( $this->tally as $oid => $rank ) {
 50+ foreach ( $this->tally as $oid ) {
5151 $option = $this->optionsById[$oid];
5252 $width = max( $width, strlen( $option->getMessage( 'text' ) ) );
5353 }
@@ -60,7 +60,7 @@
6161 if ( $qtext !== '' ) {
6262 $s .= wordwrap( $qtext ) . "\n";
6363 }
64 - foreach ( $this->tally as $oid => $rank ) {
 64+ foreach ( $this->tally as $oid ) {
6565 $option = $this->optionsById[$oid];
6666 $otext = $option->getMessage( 'text' );
6767 if ( strlen( $otext ) > $width ) {
Index: trunk/extensions/SecurePoll/includes/talliers/HistogramRangeTallier.php
@@ -69,7 +69,7 @@
7070 Xml::tags( 'td', array( 'class' => 'securepoll-results-row-heading' ),
7171 $optionLabels[$oid] ) .
7272 "\n";
73 - foreach ( $labels as $score => $label ) {
 73+ foreach ( $labels as $score ) {
7474 $s .= Xml::element( 'td', array(), $this->histogram[$oid][$score] ) . "\n";
7575 }
7676 $s .= Xml::element( 'td', array(), $average ) . "\n";
Index: trunk/extensions/SecurePoll/includes/entities/Entity.php
@@ -148,7 +148,6 @@
149149 * @param $name string
150150 */
151151 function getMessage( $name ) {
152 - $id = $this->getId();
153152 foreach ( $this->context->languages as $language ) {
154153 if ( empty( $this->messagesLoaded[$language] ) ) {
155154 $this->loadMessages( $language );
Index: trunk/extensions/SecurePoll/includes/main/Context.php
@@ -197,7 +197,7 @@
198198 if ( isset( $this->messagesLoaded[$lang] ) ) {
199199 $cacheRow = $this->messagesLoaded[$lang];
200200 $uncachedIds = array_flip( $ids );
201 - foreach ( $uncachedIds as $id => $unused ) {
 201+ foreach ( $uncachedIds as $id ) {
202202 if ( isset( $cacheRow[$id] ) ) {
203203 unset( $uncachedIds[$id] );
204204 }
Index: trunk/extensions/DynamicPageList/DPLMain.php
@@ -105,8 +105,6 @@
106106 $_sOffset = $wgRequest->getVal( 'DPL_offset', ExtDynamicPageList::$options['offset']['default'] );
107107 $iOffset = ( $_sOffset == '' ) ? 0: intval( $_sOffset );
108108
109 - $iCount = - 1;
110 -
111109 // commandline parameters like %DPL_offset% are replaced
112110 $input = self::resolveUrlArg( $input, 'DPL_offset' );
113111 $input = self::resolveUrlArg( $input, 'DPL_count' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r76027First round of merging changes from trunk thru HEAD (last rev was r75973). St...demon19:04, 4 November 2010
r76184Fix oversight in r75973 that broke gadgets tab in preferencesnikerabbit09:21, 6 November 2010
r76229* Fix fatals from r75973 (in for loops)...aaron02:58, 7 November 2010
r76600Partial revert of r75973: brokenaaron21:58, 12 November 2010
r76606Revert the rest of my daft parts of r75973reedy00:19, 13 November 2010

Comments

#Comment by MaxSem (talk | contribs)   08:49, 6 November 2010

Either this, or r75678 broke Gadgets: http://img46.imageshack.us/i/gadgets.png/

#Comment by Trevor Parscal (WMF) (talk | contribs)   20:54, 12 November 2010

The changes this rev introduces for FundraiserStatistics_body.php has been reverted. Lots of errors and mistakes were made.

Status & tagging log