Index: trunk/extensions/ArticleCreationWorkflow/includes/ArticleCreationUtil.php |
— | — | @@ -99,12 +99,14 @@ |
100 | 100 | $token = wfGenerateToken(); |
101 | 101 | } |
102 | 102 | |
| 103 | + $pageId = $title->getArticleID(); |
| 104 | + |
103 | 105 | $params = new FauxRequest( array( |
104 | 106 | 'action' => 'clicktracking', |
105 | 107 | 'eventid' => self::trackingCodePrefix() . $event, |
106 | 108 | 'token' => $token, |
107 | 109 | 'namespacenumber' => $title->getNamespace(), |
108 | | - 'additional' => $title->getDBkey(), |
| 110 | + 'additional' => $title->getDBkey() . ( $pageId ? '|' . $pageId : '' ), |
109 | 111 | ) ); |
110 | 112 | $api = new ApiMain( $params, true ); |
111 | 113 | $api->execute(); |