Last modified: 2008-05-07 03:15:18 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 T15991, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13991 - Create p-cactions tabs for flagged revisions
Create p-cactions tabs for flagged revisions
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
All All
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://de.wiktionary.org/wiki/Europa?...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-06 18:51 UTC by Melancholie
Modified: 2008-05-07 03:15 UTC (History)
2 users (show)

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


Attachments

Description Melancholie 2008-05-06 18:51:40 UTC
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 ;-)
* http://de.wiktionary.org/wiki/Linux
* http://de.wiktionary.org/wiki/Linux?stabil&oldid=456824
Comment 1 Aaron Schulz 2008-05-06 22:38:14 UTC
Too many tabs. One stable tab might be ok. That can be turned on via site configuration.
Comment 2 Aaron Schulz 2008-05-06 22:52:26 UTC
(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
Comment 3 Aaron Schulz 2008-05-07 00:51:31 UTC
ok, done
Comment 4 Melancholie 2008-05-07 01:33:19 UTC
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)
Comment 5 Melancholie 2008-05-07 01:59:43 UTC
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!
Comment 6 Melancholie 2008-05-07 02:03:12 UTC
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!
Comment 7 Melancholie 2008-05-07 02:28:06 UTC
Summary:
1. Remove "(bearbeitbar)" from [[MediaWiki:Revreview-current]]!
2. Do *not* show #ca-current and #ca-stable if most current revision is flagged!
Comment 8 Aaron Schulz 2008-05-07 03:15:18 UTC
Done in r34347

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


Navigation
Links