Index: trunk/extensions/DSMW/logootComponent/LogootId.php |
— | — | @@ -50,13 +50,13 @@ |
51 | 51 | $val2 = new Math_BigInteger( $logid->mInt ); |
52 | 52 | |
53 | 53 | if ( ( $val1->compare( $val2 ) ) < 0 ) |
54 | | - return -1; |
| 54 | + return -1; |
55 | 55 | else if ( ( $val1->compare( $val2 ) ) > 0 ) |
56 | | - return 1; |
| 56 | + return 1; |
57 | 57 | else if ( strcmp( $this->mSessionId, $logid->mSessionId ) < 0 ) |
58 | | - return -1; |
| 58 | + return -1; |
59 | 59 | else if ( strcmp( $this->mSessionId, $logid->mSessionId ) > 0 ) |
60 | | - return 1; |
| 60 | + return 1; |
61 | 61 | return 0; |
62 | 62 | } |
63 | 63 | |
Index: trunk/extensions/DSMW/logootComponent/LogootPosition.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | while ( $i < $max ) { |
26 | 26 | |
27 | 27 | if ( $thisPos[$i]->compareTo( $position->mPosition[$i] ) != 0 ) |
28 | | - break; |
| 28 | + break; |
29 | 29 | $i++; |
30 | 30 | } |
31 | 31 | if ( $i >= $this->size() && $i >= $position->size() )return 0; |
Index: trunk/extensions/SemanticProjectManagement/includes/SPM_WBS.php |
— | — | @@ -169,7 +169,7 @@ |
170 | 170 | |
171 | 171 | $hasChildren = $allTempChildren; |
172 | 172 | if (count($hasChildren)>0) |
173 | | - $hasChild = true; |
| 173 | + $hasChild = true; |
174 | 174 | } |
175 | 175 | |
176 | 176 | $task->addWBS(1,0); |
— | — | @@ -206,4 +206,4 @@ |
207 | 207 | |
208 | 208 | |
209 | 209 | } |
210 | | -} |
\ No newline at end of file |
| 210 | +} |
Index: trunk/extensions/SemanticProjectManagement/includes/SPM_GanttChart.php |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | |
183 | 183 | $hasChildren = $allTempChildren; |
184 | 184 | if (count($hasChildren)>0) |
185 | | - $hasChild = true; |
| 185 | + $hasChild = true; |
186 | 186 | } |
187 | 187 | |
188 | 188 | $task->addWBS(1,0); |
— | — | @@ -190,4 +190,4 @@ |
191 | 191 | |
192 | 192 | |
193 | 193 | } |
194 | | -} |
\ No newline at end of file |
| 194 | +} |
Index: trunk/extensions/SemanticProjectManagement/includes/SPM_ProjectManagementClass.php |
— | — | @@ -299,10 +299,10 @@ |
300 | 300 | static function cmpDate($task1,$task2){ |
301 | 301 | $date1 = $task1->getPlannedStartDate(); |
302 | 302 | if ($date1!=null) |
303 | | - $res1 = strtotime($date1->getXMLSchemaDate()); |
| 303 | + $res1 = strtotime($date1->getXMLSchemaDate()); |
304 | 304 | $date2 = $task2->getPlannedStartDate(); |
305 | 305 | if ($date2!=null) |
306 | | - $res2 = strtotime($date2->getXMLSchemaDate()); |
| 306 | + $res2 = strtotime($date2->getXMLSchemaDate()); |
307 | 307 | return ($res1<$res2); |
308 | 308 | |
309 | 309 | } |
— | — | @@ -826,7 +826,7 @@ |
827 | 827 | $time1 = explode("T",$date); |
828 | 828 | $time2 = explode("-",$time1[0]); |
829 | 829 | if (count($time1)>1){ |
830 | | - $time3 = explode(":",$time1[1]); |
| 830 | + $time3 = explode(":",$time1[1]); |
831 | 831 | } else { |
832 | 832 | $time3 = array(0,0,0); |
833 | 833 | } |
— | — | @@ -1746,7 +1746,7 @@ |
1747 | 1747 | $res .= "<Type>2</Type>\r\n"; |
1748 | 1748 | $res .= "<IsNull>0</IsNull>\r\n"; |
1749 | 1749 | if($this->m_timestamp!=null) |
1750 | | - $res .= "<CreateDate>" . date("Y-m-d", $this->m_timestamp) . "T" . date("H:i:s", $this->m_timestamp) . "</CreateDate>\r\n"; |
| 1750 | + $res .= "<CreateDate>" . date("Y-m-d", $this->m_timestamp) . "T" . date("H:i:s", $this->m_timestamp) . "</CreateDate>\r\n"; |
1751 | 1751 | $res .= "<WBS>" . $this->WBStoSTring($this->m_WBS) . "</WBS>\r\n"; |
1752 | 1752 | $res .= "<OutlineNumber>" . $this->WBStoSTring($this->m_WBS) . "</OutlineNumber>\r\n"; |
1753 | 1753 | $res .= "<OutlineLevel>" . $this->m_outlineLevel . "</OutlineLevel>\r\n"; |
— | — | @@ -1757,15 +1757,15 @@ |
1758 | 1758 | $res .= "<ConstraintDate>" . $this->parsedate($this->m_plannedStart) . "</ConstraintDate>\r\n"; |
1759 | 1759 | } |
1760 | 1760 | if ($this->m_plannedFinish!=null) |
1761 | | - $res .= "<Finish>" . $this->parsedate($this->m_plannedFinish) . "</Finish>\r\n"; |
| 1761 | + $res .= "<Finish>" . $this->parsedate($this->m_plannedFinish) . "</Finish>\r\n"; |
1762 | 1762 | if ($this->m_earlyStart!=null) |
1763 | | - $res .= "<EarlyStart>" . $this->parsedate($this->m_earlyStart) . "</EarlyStart>\r\n"; |
| 1763 | + $res .= "<EarlyStart>" . $this->parsedate($this->m_earlyStart) . "</EarlyStart>\r\n"; |
1764 | 1764 | if ($this->m_earlyFinish!=null) |
1765 | | - $res .= "<EarlyFinish>" . $this->parsedate($this->m_earlyFinish) . "</EarlyFinish>\r\n"; |
| 1765 | + $res .= "<EarlyFinish>" . $this->parsedate($this->m_earlyFinish) . "</EarlyFinish>\r\n"; |
1766 | 1766 | if ($this->m_lateStart!=null) |
1767 | | - $res .= "<LateStart>" . $this->parsedate($this->m_lateStart) . "</LateStart>\r\n"; |
| 1767 | + $res .= "<LateStart>" . $this->parsedate($this->m_lateStart) . "</LateStart>\r\n"; |
1768 | 1768 | if ($this->m_lateFinish!=null) |
1769 | | - $res .= "<LateFinish>" . $this->parsedate($this->m_lateFinish) . "</LateFinish>\r\n"; |
| 1769 | + $res .= "<LateFinish>" . $this->parsedate($this->m_lateFinish) . "</LateFinish>\r\n"; |
1770 | 1770 | $res .= "<Hyperlink>".$this->replaceLabelChars($this->getLabel())."</Hyperlink>\r\n"; |
1771 | 1771 | $res .= "<HyperlinkAddress>". $this->m_hyperlink ."</HyperlinkAddress>\r\n"; |
1772 | 1772 | foreach ($this->m_predecessors as $pred){ |
— | — | @@ -1824,4 +1824,4 @@ |
1825 | 1825 | return $res; |
1826 | 1826 | } |
1827 | 1827 | |
1828 | | -} |
\ No newline at end of file |
| 1828 | +} |
Index: trunk/extensions/SemanticNotifyMe/specials/SMWNotifyMe/SMWNotifyMe.php |
— | — | @@ -247,7 +247,7 @@ |
248 | 248 | <td><a href="#" onclick="notifyhelper.showall(true)">' . wfMsg( 'smw_nm_special_all' ) . '</a>/<a href="#" onclick="notifyhelper.showall(false)">' . wfMsg( 'smw_nm_special_none' ) . '</a>  <button class="btn" onclick="notifyhelper.updateShowAll()" onmouseover="this.className=\'btn btnhov\'; Tip(\'' . wfMsg( 'smw_nm_special_tt_showupdate' ) . '\')" onmouseout="this.className=\'btn\'">' . wfMsg( 'smw_nm_special_update' ) . '</button></td> |
249 | 249 | <td><a href="#" onclick="notifyhelper.enableall(true)">' . wfMsg( 'smw_nm_special_all' ) . '</a>/<a href="#" onclick="notifyhelper.enableall(false)">' . wfMsg( 'smw_nm_special_none' ) . '</a>  <button class="btn" onclick="notifyhelper.updateStates()" onmouseover="this.className=\'btn btnhov\'; Tip(\'' . wfMsg( 'smw_nm_special_tt_enableupdate' ) . '\')" onmouseout="this.className=\'btn\'">' . wfMsg( 'smw_nm_special_update' ) . '</button></td>'; |
250 | 250 | if ( $isSysop ) |
251 | | - $html .= '<td><button class="btn" onclick="notifyhelper.updateDelegate()" onmouseover="this.className=\'btn btnhov\'; Tip(\'' . wfMsg( 'smw_nm_special_tt_delegateupdate' ) . '\')" onmouseout="this.className=\'btn\'">' . wfMsg( 'smw_nm_special_update' ) . '</button></td>'; |
| 251 | + $html .= '<td><button class="btn" onclick="notifyhelper.updateDelegate()" onmouseover="this.className=\'btn btnhov\'; Tip(\'' . wfMsg( 'smw_nm_special_tt_delegateupdate' ) . '\')" onmouseout="this.className=\'btn\'">' . wfMsg( 'smw_nm_special_update' ) . '</button></td>'; |
252 | 252 | $html .= '</tr></table>'; |
253 | 253 | return $html; |
254 | 254 | } |
Index: trunk/extensions/UsageStatistics/UsageStatistics_body.php |
— | — | @@ -443,9 +443,9 @@ |
444 | 444 | for ( $i = 1; $i <= 7; $i++ ) |
445 | 445 | { |
446 | 446 | if ( method_exists( $wgContLang, 'getWeekdayAbbreviation' ) ) |
447 | | - $daynames .= "'" . $wgContLang->getWeekdayAbbreviation( $i ) . "',"; |
| 447 | + $daynames .= "'" . $wgContLang->getWeekdayAbbreviation( $i ) . "',"; |
448 | 448 | else |
449 | | - $daynames .= "'" . $wgContLang->getWeekdayName( $i ) . "',"; |
| 449 | + $daynames .= "'" . $wgContLang->getWeekdayName( $i ) . "',"; |
450 | 450 | } |
451 | 451 | $daynames = substr( $daynames, 0, - 1 ); |
452 | 452 | |
Index: trunk/extensions/MostRevisors/MostRevisors_body.php |
— | — | @@ -70,7 +70,7 @@ |
71 | 71 | if ( $count > 0 ) { |
72 | 72 | # Make list |
73 | 73 | if ( !$this->mIncluding ) |
74 | | - $wgOut->addWikiMsg( 'mostrevisors-showing', $wgLang->formatNum( $count ) ); |
| 74 | + $wgOut->addWikiMsg( 'mostrevisors-showing', $wgLang->formatNum( $count ) ); |
75 | 75 | $wgOut->addHTML( "<ol>" ); |
76 | 76 | foreach ( $res as $row ) { |
77 | 77 | $wgOut->addHTML( $this->makeListItem( $row ) ); |
Index: trunk/extensions/MultilingualLiquidThreads/LiquidThreads/pages/ThreadProtectionFormView.php |
— | — | @@ -7,9 +7,9 @@ |
8 | 8 | ThreadPermalinkView::customizeThreadTabs( $skintemplate, $content_actions, $this ); |
9 | 9 | |
10 | 10 | if ( array_key_exists( 'protect', $content_actions ) ) |
11 | | - $content_actions['protect']['class'] = 'selected'; |
| 11 | + $content_actions['protect']['class'] = 'selected'; |
12 | 12 | else if ( array_key_exists( 'unprotect', $content_actions ) ) |
13 | | - $content_actions['unprotect']['class'] = 'selected'; |
| 13 | + $content_actions['unprotect']['class'] = 'selected'; |
14 | 14 | } |
15 | 15 | |
16 | 16 | function customizeNavigation( $skintemplate, &$links ) { |
Index: trunk/extensions/RdfRedland/Special/QueryPage.php |
— | — | @@ -89,17 +89,17 @@ |
90 | 90 | if ( $num > 0 ) { |
91 | 91 | $s = array(); |
92 | 92 | if ( ! $this->listoutput ) |
93 | | - $s[] = "<ol start='" . ( $offset + 1 ) . "' class='special'>"; |
| 93 | + $s[] = "<ol start='" . ( $offset + 1 ) . "' class='special'>"; |
94 | 94 | |
95 | 95 | # here's where we do the offset and limit |
96 | 96 | for ( $i = $offset; $i < $num && $i < $offset + $limit; $i++ ) { |
97 | 97 | $format = $this->formatResult( $sk, $res[$i] ); |
98 | 98 | if ( $format ) |
99 | | - $s[] = $this->listoutput ? $format : "<li>{$format}</li>\n"; |
| 99 | + $s[] = $this->listoutput ? $format : "<li>{$format}</li>\n"; |
100 | 100 | } |
101 | 101 | |
102 | 102 | if ( ! $this->listoutput ) |
103 | | - $s[] = '</ol>'; |
| 103 | + $s[] = '</ol>'; |
104 | 104 | $str = $this->listoutput ? $wgContLang->listToText( $s ) : implode( '', $s ); |
105 | 105 | $wgOut->addHTML( $str ); |
106 | 106 | } |
Index: trunk/extensions/ImageTagging/ImageTagging.php |
— | — | @@ -201,7 +201,7 @@ |
202 | 202 | |
203 | 203 | $numResults = ( $titleMatches ? $titleMatches->numRows() : 0 ); |
204 | 204 | if ( $numResults > 0 ) |
205 | | - $wgOut->addHTML(wfTagSearchShowMatches($titleMatches)); |
| 205 | + $wgOut->addHTML(wfTagSearchShowMatches($titleMatches)); |
206 | 206 | |
207 | 207 | #echo "numResults: " . $numResults . ", query: " . $query; |
208 | 208 | |
— | — | @@ -335,7 +335,7 @@ |
336 | 336 | $wgOut->addHTML("<!-- this many image tags: " . count($res) . " from img " . $img->name . " -->"); |
337 | 337 | while ($o = $db->fetchObject($res)) { |
338 | 338 | if ( strlen($html) > 0 ) |
339 | | - $html .= ', '; |
| 339 | + $html .= ', '; |
340 | 340 | |
341 | 341 | $wgOut->addHTML("<!-- tag rect: " . $o->tag_rect . ", tag title: " . $o->article_tag . ", unique_id: " . $o->unique_id . "-->"); |
342 | 342 | |
— | — | @@ -358,7 +358,7 @@ |
359 | 359 | $db->freeResult($res); |
360 | 360 | |
361 | 361 | if ( $html ) |
362 | | - $html = wfMsg('imagetagging-inthisimage', $html); |
| 362 | + $html = wfMsg('imagetagging-inthisimage', $html); |
363 | 363 | |
364 | 364 | wfProfileOut( __METHOD__ ); |
365 | 365 | return $html; |