Page MenuHomePhabricator

Do not show ArticleFeedback tool to the author of a recently created article
Closed, DeclinedPublic

Description

On the page linked above an editor reported that the tool was displayed right after he created an article and also asked him "Did you know you can edit this page?", as in the following images:
[[File:AFT CTA edit.jpg]] / [[File:AFT-v2-CallToAction-Edit.png]]

Is this the wanted behavior?

Wouldn't be better to hide the tool if the article was created a few moments ago and is being viewed by its own author? Or, at least, to avoid that specific question of the survey?


Version: unspecified
Severity: enhancement
Whiteboard: wikimedia[unmaintained]
URL: https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_%28technical%29&oldid=431713368#Article_Rating_appears_immediately_after_creation.3F

Details

Reference
bz29212

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:35 PM
bzimport added a project: ArticleFeedback.
bzimport set Reference to bz29212.

The bug was also reported before on the following page:
[[Thread:Talk:Article feedback/Suggestions]]

(In reply to comment #0)

Wouldn't be better to hide the tool if the article was created a few moments
ago and is being viewed by its own author? Or, at least, to avoid that specific
question of the survey?

This could be made by changing the 'condition' used in the 'edit' pitch[1]. Before returning "isPitchVisible( 'edit' )", the script could do an API call to get the timestamp+user of the last few revision(s)[2] of the page and check if the the current user was (or is among) the last editors of the page, returning false if he is. The same API data would provide the information needed to determine if the article was recently created: in this case there would be only one revision in the page history.

Alternatively, such info could be provided by means of some mw.config.get('wgVariable') which would be available for the ext.articleFeedback module without needing to do an API request

[1] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js?revision=89360&view=markup#l276

[2] https://secure.wikimedia.org/wikipedia/en/w/api.php?format=jsonfm&action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user

There are two distinct but related requests here:

Firstly, don't ask a new-article author to rate it.

Secondly don't deliver the "did you know you can edit" message to - who? I would say, any logged in user, any IP who has already edited the article or edited recently.

shealen.clare wrote:

This bug has not been touched in at least six months. With this in mind, I've been asked by the bugmeister to bump this bug's priority down from "High". Concerns can be addressed to mah@everybody.org.

The extension homepage at [[mw:Extension:ArticleFeedback]] says
"This extension has been archived. This extension has not been maintained in some time, and no longer supports recent releases of MediaWiki.
The following other choices are still available: [[mw:Extension:ArticleFeedbackv5]]"

Furthermore, ArticleFeedback (version 4 or earlier) was removed from all Wikimedia wikis in https://gerrit.wikimedia.org/r/#/c/98074/

It is currently unlikely that there will be any further active development of ArticleFeedback (version 4 or earlier).
Closing this report as WONTFIX to reflect reality.
Please feel free to reopen this report in the future if anyone takes the responsibility for active development of ArticleFeedback (version 4 or earlier) again.

Thank you for reporting this bug and we are sorry it could not be fixed.