Page MenuHomePhabricator

Create p-cactions tabs for flagged revisions
Closed, ResolvedPublic

Description

Author: Wiki.Melancholie

Description:
Create a p-cactions tab for each major revision!

It's for a easier and foolproof navigation:

  • one tab for the development version (a current, unmarked, unflagged one; shown if ?stable=1)
  • one tab for a sighted version (if being on ?stable=0)
  • one tab for a reviewed version (if there is one ;-)

Like this it is done on alswiki and dewikt by JavaScript for one year now:
Example: (since April 2007 ;-)


Version: unspecified
Severity: major
URL: http://de.wiktionary.org/wiki/Europa?stabil&oldid=774752

Details

Reference
bz13991

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 10:07 PM
bzimport set Reference to bz13991.
bzimport added a subscriber: Unknown Object (MLST).

Too many tabs. One stable tab might be ok. That can be turned on via site configuration.

(In reply to comment #1)

Too many tabs. One stable tab might be ok. That can be turned on via site
configuration.

$wgFlaggedRevTabs = true; could do this

Wiki.Melancholie wrote:

Great! - But!

But, do not show that "unmarked (editable)" tab if the most current revision is a flagged one!
See [[:de:Albert_Einstein]]
And do not show "(editable)" if ca-viewsource is given (in other words, don't show if the page is protected)

Wiki.Melancholie wrote:

Hmm...
At [[:de:Albert_Einstein]] "Unmarkiert (bearbeitbar)" ([[MediaWiki:Revreview-current]]; #ca-current) is shown for not-logged-in readers, but "Markiert" ([[MediaWiki:Revreview-stable]]; #ca-stable) is shown for logged-in users!

Wiki.Melancholie wrote:

Ah, ok! For logged-in users the behaviour is the other way round, of course ;-)
But for logged-in users also do not show that tab if the most current rev is the flagged on already!

Wiki.Melancholie wrote:

Summary:

  1. Remove "(bearbeitbar)" from [[MediaWiki:Revreview-current]]!
  2. Do *not* show #ca-current and #ca-stable if most current revision is flagged!