All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>,
	qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: QEMU wiki theme table of contents changes
Date: Wed, 4 Dec 2024 16:26:19 -0500	[thread overview]
Message-ID: <20241204212619.GE48585@fedora> (raw)
In-Reply-To: <Zz9WPMgmY1aAfw8x@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 3872 bytes --]

On Thu, Nov 21, 2024 at 03:48:12PM +0000, Daniel P. Berrangé wrote:
> On Tue, Nov 19, 2024 at 02:54:29PM -0500, Stefan Hajnoczi wrote:
> > On Fri, Nov 15, 2024 at 07:38:06PM +0000, Daniel P. Berrangé wrote:
> > > On Fri, Nov 15, 2024 at 02:21:12PM -0500, Stefan Hajnoczi wrote:
> > > > On Fri, 15 Nov 2024 at 03:54, Daniel P. Berrangé <berrange@redhat.com> wrote:
> > > > >
> > > > > On Thu, Nov 14, 2024 at 02:04:35PM -0500, Stefan Hajnoczi wrote:
> > > > > > On Thu, 14 Nov 2024 at 05:51, Daniel P. Berrangé <berrange@redhat.com> wrote:
> > > > > > >
> > > > > > > Looking at
> > > > > > >
> > > > > > >   https://wiki.qemu.org/ChangeLog/9.2
> > > > > > >
> > > > > > > I'm thinking that I'm sure there used to be a table of contents present
> > > > > > > at the top of pages, but none is to be seen..... until I eventually
> > > > > > > discover that there's a bare noticable, fully collapsed ToC in the left
> > > > > > > hand nav panel below all the general wiki nav links, partially off the
> > > > > > > bottom of the page :-(
> > > > > > >
> > > > > > > If going to https://wiki.qemu.org/Special:Preferences, "Appearance" and
> > > > > > > selecting "Vector legacy (2010)" as the "Skin" instad of "Vector (2022)"
> > > > > > > then the full ToC re-appears at the top of page in the main body content.
> > > > > > >
> > > > > > > I'm presuming this style change was triggered by a software upgrade that
> > > > > > > was done on the wiki at some point.
> > > > > > >
> > > > > > > IMHO this is quite a significant visual/usability regression.
> > > > > > >
> > > > > > > On wikipedia, they do have the same theme, with ToC in the left hand
> > > > > > > panel, but their ToC is expanded by default, and there's no other general
> > > > > > > navigation in the left hand panel that's displacing the ToC off the bottom
> > > > > > > of the page. That is fairly effective as a layout.
> > > > > > >
> > > > > > > We can do something to the QEMU skin to improve this ? Swapping order
> > > > > > > of the ToC & general nav blocks in the left hand panel would be a
> > > > > > > improvement, as well making it expand at least 1 further level by
> > > > > > > default.
> > > > > > >
> > > > > > > If we're going to have background colour set for the general nav block,
> > > > > > > we should also probably do similar for the ToC nav block to make it
> > > > > > > visually stand out to the same degree.
> > > > > >
> > > > > > Yes, that sounds good. The quickest would be for you to:
> > > > > > 1. Run https://hub.docker.com/_/mediawiki/ in a container on your machine.
> > > > > > 2. Adjust the theme CSS until you are happy.
> > > > > > 3. Send me the tweaks and I will apply them to wiki.qemu.org.
> > > > >
> > > > > Is the current QEMU mediawiki code (or just theme) published anywhere
> > > > > that I can base work off ?
> > > > 
> > > > The QEMU wiki runs from the vanilla mediawiki 1.39 container image.
> > > > The Vector (2022) theme comes with Mediawiki and there are no
> > > > QEMU-specific customizations.
> > > > 
> > > > You can get the same look with the vanilla Mediawiki container image
> > > > with the following in LocalSettings.php:
> > > > $wgDefaultSkin = "vector-2022";
> > > > wfLoadSkin('Vector');
> > > 
> > > Hmm, I'm wondering where the QEMU specific left nav bar content
> > > and styling comes from then... ? 
> > 
> > I'm not sure but unless there is something stored in the database, I
> > can't imagine any customizations because there aren't any config files,
> > themes, CSS overrides, etc to speak of in QEMU's MediaWiki installation.
> > It's just running the vanilla container image.
> 
> Ah, I found out  we've done it with the side-bar addon
> 
>   https://wiki.qemu.org/MediaWiki:Sidebar

Is there a fix I can apply to the wiki configuration?

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2024-12-04 21:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14 10:50 QEMU wiki theme table of contents changes Daniel P. Berrangé
2024-11-14 19:04 ` Stefan Hajnoczi
2024-11-15  8:54   ` Daniel P. Berrangé
2024-11-15 19:21     ` Stefan Hajnoczi
2024-11-15 19:38       ` Daniel P. Berrangé
2024-11-19 19:54         ` Stefan Hajnoczi
2024-11-21 15:48           ` Daniel P. Berrangé
2024-12-04 21:26             ` Stefan Hajnoczi [this message]
2024-12-05 11:56               ` Daniel P. Berrangé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241204212619.GE48585@fedora \
    --to=stefanha@redhat.com \
    --cc=berrange@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.