Index: trunk/extensions/uniwiki/CustomToolbar/CustomToolbar.php |
— | — | @@ -125,7 +125,7 @@ |
126 | 126 | $this->mType = $request->getVal('type'); |
127 | 127 | $this->mCaption = $request->getText('wpCaption'); |
128 | 128 | $this->mSection = $request->getVal('section'); |
129 | | - UploadForm::UploadForm(&$request); |
| 129 | + UploadForm::UploadForm($request); |
130 | 130 | } |
131 | 131 | |
132 | 132 | function execute() { |
Index: trunk/extensions/RdfRedland/test/includes/Article.php |
— | — | @@ -51,10 +51,6 @@ |
52 | 52 | } |
53 | 53 | } |
54 | 54 | |
55 | | - public function Article( $title ) { |
56 | | - $this->__construct( $title ); |
57 | | - } |
58 | | - |
59 | 55 | public function getContent() { |
60 | 56 | return $this->content; |
61 | 57 | } |
Index: trunk/extensions/InlineEditor/InlineEditorText.class.php |
— | — | @@ -296,7 +296,7 @@ |
297 | 297 | */ |
298 | 298 | protected function buildTree( array $markingsSorted ) { |
299 | 299 | // create the root |
300 | | - $root = new InlineEditorRoot( &$this->wikiOriginal ); |
| 300 | + $root = new InlineEditorRoot( $this->wikiOriginal ); |
301 | 301 | |
302 | 302 | // $workingNode is the node we're trying to add children to |
303 | 303 | // init it to the root node |
— | — | @@ -304,7 +304,7 @@ |
305 | 305 | |
306 | 306 | foreach( $markingsSorted as $marking ) { |
307 | 307 | // create a new node for this marking |
308 | | - $node = new InlineEditorNode( &$this->wikiOriginal, $marking ); |
| 308 | + $node = new InlineEditorNode( $this->wikiOriginal, $marking ); |
309 | 309 | |
310 | 310 | // keep trying to add $node to $workingNode, move a level up if it fails |
311 | 311 | while( true ) |
Index: trunk/extensions/InlineEditor/InlineEditorNode.class.php |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | * @param $marking InlineEditorMarking Marking to wrap in the tree |
14 | 14 | */ |
15 | 15 | public function __construct( &$wiki, InlineEditorMarking $marking ) { |
16 | | - parent::__construct( &$wiki ); |
| 16 | + parent::__construct( $wiki ); |
17 | 17 | $this->marking = $marking; |
18 | 18 | } |
19 | 19 | |
Index: trunk/extensions/WebDAV/WebDavServer.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | } |
20 | 20 | |
21 | 21 | function options( &$serverOptions ) { |
22 | | - parent::options( &$serverOptions ); |
| 22 | + parent::options( $serverOptions ); |
23 | 23 | |
24 | 24 | if ( $serverOptions['xpath']->evaluate( 'boolean(/D:options/D:activity-collection-set)' ) ) { |
25 | 25 | $this->setResponseHeader( 'Content-Type: text/xml; charset="utf-8"' ); |
Index: trunk/extensions/ExtensionDistributor/svn-invoker.php |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | $dir = "$wgExtDistWorkingCopy/$version/extensions/$extension"; |
76 | 76 | |
77 | 77 | // Determine last changed revision in the checkout |
78 | | - $localRev = svnGetRev( $dir, &$remoteDir ); |
| 78 | + $localRev = svnGetRev( $dir, $remoteDir ); |
79 | 79 | if ( !$localRev ) { |
80 | 80 | return; |
81 | 81 | } |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/extras/minfraud/tests/minfraudTest.php |
— | — | @@ -184,11 +184,11 @@ |
185 | 185 | 'num_attempt' => 2 |
186 | 186 | ); |
187 | 187 | // @fixme this needs updating |
188 | | - // $this->assertTrue( $this->fixture->can_bypass_minfraud( &$this->fixture, &$data )); |
| 188 | + // $this->assertTrue( $this->fixture->can_bypass_minfraud( $this->fixture, $data )); |
189 | 189 | // $this->assertEquals( 'challenge', $this->fixture->action ); |
190 | 190 | // $this->assertEquals( '029ef6f5c2a165215b5a92ff1a194e4a6de8c668d6193582da42713f119c1b07d8358b5cd94a3bd51c9aa50709c8533295215ce3cce8c2b61e69078d789bc3f3', $data[ 'data_hash' ]); |
191 | 191 | |
192 | 192 | $data[] = 'bar'; |
193 | | - $this->assertFalse( $this->fixture->can_bypass_minfraud( &$this->fixture, &$data ) ); |
| 193 | + $this->assertFalse( $this->fixture->can_bypass_minfraud( $this->fixture, $data ) ); |
194 | 194 | } |
195 | 195 | } |
Index: trunk/extensions/MwEmbed/MwEmbed/modules/ApiEmbed/ApiEmbed.resourceList.php |
— | — | @@ -7,4 +7,4 @@ |
8 | 8 | 'ApiEmbed' => array( |
9 | 9 | 'loader' => array() // @@FIXME add in apiSupport |
10 | 10 | ) |
11 | | -) |
\ No newline at end of file |
| 11 | +); |
\ No newline at end of file |
Index: trunk/extensions/MiniPreview/MiniPreview.php |
— | — | @@ -113,7 +113,7 @@ |
114 | 114 | if ( $p->entry[1]->id != 0 ) $image_titles[$p->entry[1]->title] = $p->entry[1]->title ; |
115 | 115 | } |
116 | 116 | $image_data = array(); |
117 | | - wfMiniPreviewGetImageData ( $image_titles , &$image_data ) ; |
| 117 | + wfMiniPreviewGetImageData ( $image_titles , $image_data ) ; |
118 | 118 | |
119 | 119 | # Output |
120 | 120 | $mainwidth = ( $wgMiniPreviewThumbnailSize + 2 ) * 3 ; |
Index: trunk/extensions/DoubleWiki/DoubleWiki_body.php |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | if ( $match_request === '' ) { |
60 | 60 | return true; |
61 | 61 | } |
62 | | - $this->addMatchingTags ( &$text, $match_request ); |
| 62 | + $this->addMatchingTags ( $text, $match_request ); |
63 | 63 | |
64 | 64 | foreach( $parserOutput->mLanguageLinks as $l ) { |
65 | 65 | $nt = Title::newFromText( $l ); |
Index: trunk/extensions/GroupsSidebar/GroupsSidebar.body.php |
— | — | @@ -11,7 +11,7 @@ |
12 | 12 | # addToSidebar currently won't throw errors if we call it |
13 | 13 | # with nonexisting pages, but better check and be sure |
14 | 14 | if ( Title::newFromText( $message, NS_MEDIAWIKI )->exists() ) |
15 | | - $skin->addToSidebar( &$bar, $message ); |
| 15 | + $skin->addToSidebar( $bar, $message ); |
16 | 16 | } |
17 | 17 | return true; |
18 | 18 | } |