Index: trunk/extensions/ArticleCreationWorkflow/includes/ArticleCreationUtil.php |
— | — | @@ -81,11 +81,10 @@ |
82 | 82 | |
83 | 83 | /** |
84 | 84 | * Track the page stats to the special article creation landing page |
85 | | - * @param $request Object |
86 | | - * @param $user Object |
| 85 | + * |
87 | 86 | * @param $par string - the title for the non-existing article |
88 | 87 | */ |
89 | | - public static function TrackSpecialLandingPage( $request, $user, $par ) { |
| 88 | + public static function TrackSpecialLandingPage( $par ) { |
90 | 89 | |
91 | 90 | $event = self::trackingBucket() . '-impression'; |
92 | 91 | |
Index: trunk/extensions/ArticleCreationWorkflow/SpecialArticleCreationLanding.php |
— | — | @@ -15,8 +15,6 @@ |
16 | 16 | } |
17 | 17 | |
18 | 18 | public function execute( $par ) { |
19 | | - global $wgUser, $wgRequest; |
20 | | - |
21 | 19 | $out = $this->getOutput(); |
22 | 20 | $title = Title::newFromText( $par ); |
23 | 21 | |
— | — | @@ -37,7 +35,7 @@ |
38 | 36 | $out->addModules( 'ext.articleCreation.user' ); |
39 | 37 | $out->addHtml( ArticleCreationTemplates::getLandingPage($par) ); |
40 | 38 | |
41 | | - ArticleCreationUtil::TrackSpecialLandingPage( $wgRequest, $wgUser, $par ); |
| 39 | + ArticleCreationUtil::TrackSpecialLandingPage( $par ); |
42 | 40 | } |
43 | 41 | |
44 | 42 | } |