r112376 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112375‎ | r112376 | r112377 >
Date:00:00, 25 February 2012
Author:kaldari
Status:ok
Tags:
Comment:
follow-up to r105471 - reverting changes now that dependancy is declared
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js
@@ -40,7 +40,7 @@
4141 /**
4242 * The url to which to send the pull request
4343 */
44 - $.articleFeedbackv5special.apiUrl = undefined;
 44+ $.articleFeedbackv5special.apiUrl = mw.util.wikiScript( 'api' );
4545
4646 /**
4747 * Controls for the list: sort, filter, continue flag, etc
@@ -119,7 +119,6 @@
120120 */
121121 $.articleFeedbackv5special.setup = function() {
122122 // Set up config vars, event binds, and do initial fetch.
123 - $.articleFeedbackv5special.apiUrl = mw.util.wikiScript( 'api' );
124123 $.articleFeedbackv5special.page = mw.config.get( 'afPageId' );
125124 $.articleFeedbackv5special.setBinds();
126125

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105471AFTv5 - JS fixes on feedback page - I think there was an issue with wikiScrip...gregchiasson22:40, 7 December 2011

Status & tagging log