Last modified: 2012-11-17 18:37:49 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 T28034, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26034 - Purge makes the read tab inactive
Purge makes the read tab inactive
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-21 05:46 UTC by Kevin Norris
Modified: 2012-11-17 18:37 UTC (History)
5 users (show)

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


Attachments
Screenshot of inactive tabs (cropped) (5.18 KB, image/png)
2010-11-21 05:46 UTC, Kevin Norris
Details

Description Kevin Norris 2010-11-21 05:46:10 UTC
Created attachment 7844 [details]
Screenshot of inactive tabs (cropped)

Look at [[Main page]].
Now purge the main page so the url has action=purge in it.

In both cases look at the "Read" tab in Vector.  In the second case, the read tab will have the same visual style as the "Edit" and "History" tabs (i.e. it will be inactive or "not selected")

Obviously this is not specific to the main page.

Purging should leave the Read tab active, since, for all intents and purposes, the user is still reading.
Comment 1 Daniel Friesen 2011-01-13 22:42:50 UTC
Fixed in r80201 for all content_navigation using skins (ie: Vector in 1.18).
Comment 2 Daniel Friesen 2011-01-13 22:53:21 UTC
Backported to 1.17 in r80204.
Comment 3 Krinkle 2011-01-13 23:03:02 UTC
The tabs are for actions.

When viewing the article wgAction= view. When lookig at the history it's wgAction=history.
When purging the cache the wgAction=purge.

There's many different actions, some by extensions some by core. But I think going down the path of manually giving 1 action-tab multiple actions is not a good idea.

See for example the following case: http://i.imgur.com/pWqEn.png
Where there is a Purge-tab. If this makes it into a release you're looking at:

bug: Action=purge wrongly highlights the Read-tab.
Comment 4 Trevor Parscal 2011-01-13 23:25:43 UTC
Whatever the chosen action is, despite what is entered in the URL, should be highlighted. The problem here is that we have logic somewhere saying "purge, ok, I can do that", then logic somewhere else saying "purge? never heard of that, you must mean read!" and yet more logic later on saying "what action are we using? I'm gonna highlight something..."

What we need to do is ensure that whatever the interpretation of the action parameter ends up being is reflected in the UI. This is a dirty hack to help fake that, but it's not setting a dangerous precedence as far as the UI is concerned.

Also, a purge tab is a bad design - purge is not a mode, it's an action - it should be an item in the drop down like protect or move.
Comment 5 Mark A. Hershberger 2011-02-09 00:59:26 UTC
Closing again.  If you re-open, make sure to retitle this properly.
Comment 6 Krinkle 2011-02-09 01:09:18 UTC
I won't re-open.

(In reply to comment #4)
> purge is not a mode, it's an action - it
> should be an item in the drop down like protect or move.


I agree. For an end-user purge does not belong in the list of: view, edit, history etc. (modes, views  or "p-views")

Although technically "purge" is as much an action as view, edit, history, delete etc. is. (atleast when checking the URL and wgAction). But that's behind the scenes.

In the UI, if a Purge tab is added by whatever script, it should be in the dropdown (p-actions).
Comment 7 Krinkle 2011-02-09 01:09:31 UTC
p-cactions*
Comment 8 Bugmeister Bot 2011-08-19 19:12:55 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
Comment 9 Bartosz Dziewoński 2012-11-17 18:37:49 UTC
(In reply to comment #5)
> Closing again.  If you re-open, make sure to retitle this properly.

It looks like it wasn't closed after all.


But I am closing it now, as WORKSFORME. The purge action now redirects to the view action, so this is pointless.

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


Navigation
Links