Index: trunk/extensions/Plotters/Plotters.php |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | "/plotkit/Canvas.js", "/plotkit/SweetCanvas.js" ) |
62 | 62 | ); |
63 | 63 | |
64 | | -function wfPlottersArticleSaveComplete( &$article, &$wgUser, &$text ) { |
| 64 | +function wfPlottersArticleSaveComplete( $article, $wgUser, $text ) { |
65 | 65 | // update cache if MediaWiki:Plotters-definition was edited |
66 | 66 | $title = $article->mTitle; |
67 | 67 | if ( $title->getNamespace() == NS_MEDIAWIKI && $title->getText() == 'Plotters-definition' ) { |
— | — | @@ -142,7 +142,7 @@ |
143 | 143 | return $plotters; |
144 | 144 | } |
145 | 145 | |
146 | | -function wfApplyPlotterCode( $code, &$out, &$done ) { |
| 146 | +function wfApplyPlotterCode( $code, $out, &$done ) { |
147 | 147 | global $wgSkin, $wgJsMimeType; |
148 | 148 | |
149 | 149 | // FIXME: stuff added via $out->addScript appears below usercss and userjs in the head tag. |
— | — | @@ -173,7 +173,7 @@ |
174 | 174 | $wgParser->setFunctionHook( 'plot', 'initPlottersPF' ); |
175 | 175 | } |
176 | 176 | |
177 | | -function initPlottersPF( &$parser ) { |
| 177 | +function initPlottersPF( $parser ) { |
178 | 178 | $numargs = func_num_args(); |
179 | 179 | if ( $numargs < 2 ) { |
180 | 180 | wfLoadExtensionMessages( 'Plotters' ); |
— | — | @@ -225,7 +225,7 @@ |
226 | 226 | * Hook callback that injects messages and things into the <head> tag |
227 | 227 | * Does nothing if $parserOutput->mPlotterTag is not set |
228 | 228 | */ |
229 | | -function PlottersParserOutput( &$outputPage, &$parserOutput ) { |
| 229 | +function PlottersParserOutput( $outputPage, $parserOutput ) { |
230 | 230 | if ( !empty( $parserOutput->mPlottersTag ) ) { |
231 | 231 | // Output required javascript |
232 | 232 | $genericname = "generic"; |
— | — | @@ -257,7 +257,7 @@ |
258 | 258 | * We ignore langCode - parser function names can be translated but |
259 | 259 | * we are not using this feature |
260 | 260 | */ |
261 | | -function PlottersLanguageGetMagic( &$magicWords, $langCode ) { |
| 261 | +function PlottersLanguageGetMagic( $magicWords, $langCode ) { |
262 | 262 | $magicWords['plot'] = array( 0, 'plot' ); |
263 | 263 | return true; |
264 | 264 | } |