Last modified: 2014-02-26 11:39:42 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 T31704, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29704 - Move the Article feedback tool to outside the div#content
Move the Article feedback tool to outside the div#content
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedback (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
wikimedia[unmaintained]
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-04 12:10 UTC by Helder
Modified: 2014-02-26 11:39 UTC (History)
12 users (show)

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


Attachments
Example (159.57 KB, image/jpeg)
2011-07-04 12:10 UTC, Helder
Details
AFT inside of the article's content is really wierd! (189.88 KB, image/png)
2011-08-02 18:53 UTC, Helder
Details
AFT inside help page content (98.63 KB, image/png)
2013-01-16 17:48 UTC, Helder
Details

Description Helder 2011-07-04 12:10:20 UTC
Created attachment 8739 [details]
Example

Since this was requested on MediaWiki.org, I'm creating this bug so that it doesn't get lost in the talk pages, and some developer can take a look at this. ;-)

On [[Thread:Talk:Article feedback/Please stop/reply (51)]] it was suggested that the AFT should be outside of the div#content, because "separating the interface from the actual articles is very important".

See the screenshot attached to this bug, which is an example provided by the reporter (originally at http://i.imgur.com/62j6G.jpg).
Comment 1 koen.de.jong 2011-07-04 14:04:35 UTC
Yep, that was me. IMHO the separation of presentation and content and the separation of content and interface are both very important.

People expect they can change everything inside div#content so they get confused. They expect there is a magicword or template that is used to display the AFT.

The AFT should be directly beneath div#content so that the top (almost) touches the bottom of the border around div#content.

The screenshot is just a quick example, I gave it a couple of pixels of padding at the top because I thought that looked better.

If the link above does not work try http://www.mediawiki.org/wiki/Thread:Talk:Article_feedback/Please_stop/reply_%2851%29
Comment 2 Helder 2011-07-25 21:06:38 UTC
Until this is fixed, users can use the following workaround on vector.js:
-----------------------------------
$(function() {
    $('#mw-articlefeedback')
        .prependTo('#footer')
        .css('font-size', '0.8em');
});
-----------------------------------
Comment 3 Helder 2011-08-02 18:53:38 UTC
Created attachment 8875 [details]
AFT inside of the article's content is really wierd!
Comment 4 Helder 2011-08-09 16:05:17 UTC
(In reply to comment #3)
> Created attachment 8875 [details]
> AFT inside of the article's content is really wierd!

and looks like an advertisement, as pointed out on
[[mw:Thread:Talk:Article feedback/Please stop/reply (94)]]:

"I'm trying to articulate what I don't like about the feedback panel. Perhaps its because it's an advertisement/promotional style thing which is stylistical masquerading as content. Perphaps if it was flashing yellow/red "You're the 1,000th visitor to this page..." I might pay less attention."
Comment 5 Nischay Nahata 2012-02-29 20:39:58 UTC
As AFTv5 is under development it might be better to just notify them(WMF) about this issue so its taken care in the newer versions
Comment 6 Brandon Harris 2012-03-01 01:12:58 UTC
I do not believe this should be done.  There's an associative reason why the AFT feature is included inside of div#content, and that is because the article ratings are *part of* the content.  

We have a singularly difficult interaction problem already with associating actions and events about the content of a page with the content of the page already.  It is one of my hopes to reduce this complexity, and I do not believe that increasing it is the correct solution.

Moving it outside of div#content will bury it, which is the exact opposite of what we want to do.

Recommend CLOSE:WONTFIX.
Comment 7 Helder 2012-03-01 01:21:59 UTC
Seriously, when people saw articles like
http://bug-attachment.wikimedia.org/attachment.cgi?id=8875
they asked which template was that which was suddenly included in the page content and which they were not able to edit/remove.
Comment 8 MZMcBride 2012-03-01 01:22:09 UTC
Hmm, I think I like the idea of moving the tool outside of the content area.

(In reply to comment #6)
> I do not believe this should be done.  There's an associative reason why the
> AFT feature is included inside of div#content, and that is because the article
> ratings are *part of* the content.  

Except they're not part of the content at all. Turn them off and what's lost? :-)

Have you looked at attachment 8875 [details]? Are you happy with how this looks? I'm not sure if this tool _must_ be outside the content area, but I do think its current placement and positioning is less-than-ideal.

Did you look at attachment 8739 [details]? I think this looks better and has better placement. Maybe not perfect, but a step in the right direction, in my opinion.

Ultimately, It's a matter of weighing cost and benefit. The benefit to people rating articles doesn't justify the current cost of intruding on the content area.

Note: other parts of the software are still in the content area; e.g., the new messages bar (bug 12681).
Comment 9 Brandon Harris 2012-03-01 01:23:17 UTC
(In reply to comment #8)

> Note: other parts of the software are still in the content area; e.g., the new
> messages bar (bug 12681).

Just because we do things wrong in some places doesn't mean we have to do them wrong in others.
Comment 10 Ryan Kaldari 2012-04-26 17:43:47 UTC
IMO, both sides of this argument are wrong. If we were strictly following our DOM conventions (which we rarely do), AFT would be outside of div#bodyContent, but inside of div#content. div#content is for any content related to the article/page, while div#bodyContent is for the article itself. Right now we include AFT inside of both div#content and div#bodyContent.

Current DOM:
<content>
    article title
    <bodyContent>
        article
        AFT
    </bodyContent>
</content>

Correct DOM:
<content>
    article title
    <bodyContent>
        article
    </bodyContent>
    AFT
</content>

I don't think the footer would be the right place, as nothing interactive should be in the footer. It's just for disclaimers, links, and information.
Comment 11 MZMcBride 2012-04-26 23:49:46 UTC
(In reply to comment #10)
> IMO, both sides of this argument are wrong. If we were strictly following our
> DOM conventions (which we rarely do), AFT would be outside of div#bodyContent,
> but inside of div#content. div#content is for any content related to the
> article/page, while div#bodyContent is for the article itself. Right now we
> include AFT inside of both div#content and div#bodyContent.

This bug doesn't really have to do with DOM conventions. You can have the code anywhere in the page source and it can be repositioned with CSS. This bug is about where the code is showing up on the page for readers. Or at least that's how I read the bug.
Comment 13 Andre Klapper 2013-01-17 10:01:09 UTC
(In reply to comment #12)
> Created attachment 11640 [details]
> AFT inside help page content

I wouldn't say "middle of the text" for the bottom (only above the categories), but of course it's still part of the content div.
Comment 14 Helder 2013-01-17 10:27:59 UTC
(In reply to comment #12)
> [[Help:Edição patrulhada#Edições em páginas novas ou primeira edição]]
Correct link:
[[pt:Help:Edição patrulhada#Edições em páginas novas ou primeira edição]]


(In reply to comment #13)
> I wouldn't say "middle of the text" for the bottom (only above the
> categories),
> but of course it's still part of the content div.

The form is not only inside the content div, but also before some sections of text (loot at the vertical scroll bar in the screenshot).
Comment 15 Andre Klapper 2013-01-17 11:16:29 UTC
mybugs: Sorry I got you wrong initially. I hadn't realize that this link is part of the Help.

Confirming that "AFT" box is in the middle for your example.
Comment 16 Andre Klapper 2014-02-26 11:39:42 UTC
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.

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


Navigation
Links