Last modified: 2012-08-04 21:11:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40253, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38253 - Article Feedback - Oversight Requests are not being emailed to oversighters
Article Feedback - Oversight Requests are not being emailed to oversighters
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedbackv5 (Other open bugs)
unspecified
All All
: Highest major (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks: 39043
  Show dependency treegraph
 
Reported: 2012-07-08 22:12 UTC by Fabrice Florin
Modified: 2012-08-04 21:11 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Fabrice Florin 2012-07-08 22:12:19 UTC
It appears that oversighters are not receiving email requests for oversight anymore, and that this has gone on for a couple weeks now, according to one of our oversighters.

See our requirements for this feature:
http://www.mediawiki.org/wiki/Article_feedback/Version_5/Feature_Requirements#Oversight_Request_Emails

Roan was the one who oversaw this feature, which automatically sends emails to the oversighter list when someone request oversight for AFT. This also involves Ops, and typically requires a ticket to be filed for them to work on this.

Roan, would you have time to investigate in coming days? If you are traveling and unable to work on this, could you coach Matthias on how to do this -- and who to contact in Ops to get this feature working again?

Thank you!


Fabrice
Comment 1 Matthias Mullie 2012-07-09 11:33:40 UTC
On my local machine, this still works fine; tested with both mediawiki trunk and wmf/1.20wmf6 (the version currently on enwiki)

Config looks fine as well.

On enwiki, entries are successfully being added to the job table.
Example of a test-entry:
job_id: 7302165
job_cmd: ArticleFeedbackv5MailerJob
job_namespace: 0
job_title: Golden-crowned_Sparrow
job_params: a:5:{s:9:"user_name";s:8:"Aft5hide";s:8:"user_url";s:42:"http://en.wikipedia.org/wiki/User:Aft5hide";s:9:"page_name";s:22:"Golden-crowned Sparrow";s:8:"page_url";s:51:"http://en.wikipedia.org/wiki/Golden-crowned_Sparrow";s:9:"permalink";s:84:"http://en.wikipedia.org/wiki/Special:ArticleFeedbackv5/Golden-crowned_Sparrow/155433";}
job_timestamp: 20120709104829

I currently can't dig deeper into this matter. Up to the point of calling UserMailer::send(), everything should be functioning well.

Roan: I'd suggest looking into what wfDebug() has logged and/or mailserver logs, as this seems to be the point it's failing.
If I can do any of that myself (or a brighter idea hits you), please let me know what & how ;)
Comment 2 Matthias Mullie 2012-07-09 11:42:29 UTC
Additionally, Fabrice: the current email to oversighters contains the copy to be found in requirements, plus at the bottom:

P.S.: If you have any questions about using the oversight features of the
article feedback page, please check this oversighter FAQ:

$4 (-> link to FAQ)

Please note that the article feedback tool v5 is still in early stages of
testing on the English Encyclopedia and that the feedback page has not been
publicized to the community for this testing period.


Should I remove this part, do we keep it, or would you like to modify it, now that AFT is gradually being displayed to more users.
Comment 3 Roan Kattouw 2012-07-10 14:57:45 UTC
I've tried simulating a mailer job on the command line on one of the job runners (mw1), and it seemed to have worked just fine.

> $wgArticleFeedbackv5OversightEmails = 'roan@wikimedia.org';

> $job = new ArticleFeedbackv5MailerJob( Title::newFromText('Test'), array( 'user_name' => 'Catrope', 'user_url'=>'https://www.mediawiki.org/wiki/User:Catrope', 'page_name'=>'Test', 'page_url'=>'https://www.mediawiki.org/wiki/Test', 'permalink' => 'https://www.mediawiki.org/wiki/Test?oldid=12345'));

> $job->run()


And the e-mail arrived just fine. So I'm starting to think this might be on the queue / mailing list side.
Comment 4 Matthias Mullie 2012-07-31 13:15:05 UTC
Got it. The context indeed was the problem: feedback oversight-req'ed from an article's feedback page were being sent just fine, from central feedback page not so much. This was caused by the way the email (which includes a reference to the article) was constructed.

Fix has been pushed to Gerrit (https://gerrit.wikimedia.org/r/#/c/17068/) & prototype - to be monitored closely after deployment, but it appears to be fully functional for me now

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links