Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to go to the actual page from old revision #845

Closed
Faalagorn opened this issue May 13, 2024 · 2 comments · Fixed by #851 or #887
Closed

Add the ability to go to the actual page from old revision #845

Faalagorn opened this issue May 13, 2024 · 2 comments · Fixed by #851 or #887
Labels
enhancement New feature or request

Comments

@Faalagorn
Copy link

The Problem

We recently installed the Citizen skin on the Project Zomboid wiki. It's great, but we realized that there seems to be no ability to go straight to the actual version of the page when browsing an old edition (which often happens during patrolling for me). Both Vector 2022 and old Vector 2010 skins, as well as Monobook and Timeless allow that by clicking the "Page" or "Read".

The Solution

Add a "Read" button near "View history" for pages when browsing oldids.

The Alternatives

Make page name clickable, or add a clickable element elsewhere.

Here's an example using various skins for us
https://pzwiki.net/w/index.php?title=Pharmahug_sign&curid=41943&diff=336437&oldid=335671&useskin=citizen
https://pzwiki.net/w/index.php?title=Pharmahug_sign&curid=41943&diff=336437&oldid=335671&useskin=vector-2022
https://pzwiki.net/w/index.php?title=Pharmahug_sign&curid=41943&diff=336437&oldid=335671&useskin=vector
https://pzwiki.net/w/index.php?title=Pharmahug_sign&curid=41943&diff=336437&oldid=335671&useskin=monobook
https://pzwiki.net/w/index.php?title=Pharmahug_sign&curid=41943&diff=336437&oldid=335671&useskin=timeless

@Faalagorn Faalagorn added the enhancement New feature or request label May 13, 2024
@Faalagorn
Copy link
Author

I currently work around that by clicking "Discussion" and then "Page" to go to the most current page, but not only it's two clicks (something I wish Citizen could have less if the size screen permits), but only causes it to load Discussion page needlessly; would be nice if it at least be a button hidden under some submenu so another page won't be loaded. :)

@Faalagorn
Copy link
Author

As a workaround, the alt+shift+c can be used to go straight to the page from recent changes, too.

alistair3149 added a commit that referenced this issue Jun 24, 2024
In 9969479, we forced the view button to be visible to allow the return action (#845).
There are no good ways to target revision page only so we rely on the diff styles.
However, Extension:DiscussionTools inline the said styles on talk page while talk page also has
a return action registered under the associated page menu. This leaves two button serving the
same function.
alistair3149 added a commit that referenced this issue Jun 27, 2024
The previous attempts didn't catch all the cases. This should be enough.

Related: #845
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant