https://bugzilla.wikimedia.org/show_bug.cgi?id=44439
--- Comment #5 from MZMcBride <[email protected]> --- I tried to debug this myself, but didn't get very far. I started at <http://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*>. I found ["ext.articleFeedbackv5.watchlist","1359341524",["jquery.articleFeedbackv5.track"]] in the code, so I headed to <http://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=ext.articleFeedbackv5.watchlist&only=scripts&skin=vector&*>. I set ?debug=true (<http://bits.wikimedia.org/en.wikipedia.org/load.php?debug=true&lang=en&modules=ext.articleFeedbackv5.watchlist&only=scripts&skin=vector&*>), but I get the following JS: --- /** * Script for Article Feedback Extension: Talk pages */ /*** Main entry point ***/ jQuery( function( $ ) { // Check if the talk page link can be shown if ( mw.config.get( 'wgArticleFeedbackv5WatchlistLink' ) ) { // Check if we're not dealing with anon user if ( mw.user.anonymous() ) { return; } // Initialize clicktracking // NB: Using the talk page's namespace, title, and rev id, not // the article's as in the front end tracking $.aftTrack.init(); // Build the url to the Special:ArticleFeedbackv5 page var params = { ref: 'watchlist' }; var url = mw.config.get( 'wgScript' ) + '?title=' + encodeURIComponent( mw.config.get( 'wgArticleFeedbackv5SpecialWatchlistUrl' ) ) + '&' + $.param( params ); // Add the link to the feedback-page next to the title var link = $( '<a id="articlefeedbackv5-watchlist-feedback-link"></a>' ); link .text( mw.msg( 'articlefeedbackv5-watchlist-view-feedback' ) ) .html( link.html() + ' »' ) .attr( 'href', url ) .click( { trackingId: 'watchlist_view_feedback-button_click' }, $.aftTrack.trackEvent ); $( '#contentSub' ).append( link ); // Track an impression $.aftTrack.track( 'watchlist_view_feedback-impression' ); } } ); ; mw.loader.state({"ext.articleFeedbackv5.watchlist":"ready"}); --- This JS looks fine to me off-hand. So I'm not sure what's going on here. Maybe something is cached? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
