Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | /** |
42 | 42 | * The url to which to send the pull request |
43 | 43 | */ |
44 | | - $.articleFeedbackv5special.apiUrl = undefined; |
| 44 | + $.articleFeedbackv5special.apiUrl = mw.util.wikiScript( 'api' ); |
45 | 45 | |
46 | 46 | /** |
47 | 47 | * Controls for the list: sort, filter, continue flag, etc |
— | — | @@ -119,7 +119,6 @@ |
120 | 120 | */ |
121 | 121 | $.articleFeedbackv5special.setup = function() { |
122 | 122 | // Set up config vars, event binds, and do initial fetch. |
123 | | - $.articleFeedbackv5special.apiUrl = mw.util.wikiScript( 'api' ); |
124 | 123 | $.articleFeedbackv5special.page = mw.config.get( 'afPageId' ); |
125 | 124 | $.articleFeedbackv5special.setBinds(); |
126 | 125 | |