Page MenuHomePhabricator

A software change to allow a link to be placed to the right of the title in Wikipedia articles.
Closed, ResolvedPublic

Description

Author: DavidChameleon

Description:
Wikiproject Spoken Wikipedia is just taking off. We hope to have audio
recordings of all featured articles soon.

A problem arises when we try to tag articles as having an audio version. We
currently put a template at the bottom of the page that gives details of the
recording and allows it to be downloaded. However, by that time, people have
read the article, and it's too late!

It is difficult for us to put such a template at the top because all featured
articles have some sort of image, taxobox, etc in the top right-hand corner
already. There is no way to put a link to the audio version without screwing up
the display.

One of us came up with the idea of putting the link directly to the right of the
article title. See image:
http://upload.wikimedia.org/wikipedia/en/6/63/Spokenprop.JPG. This would
elegantly allow the audio content to be first thing you see in the article, but
it would require a change in the software.

I believe that Spoken Wikipedia is one of our most important projects. We want
it to be routine to listen to articles instead of reading them. This is
especially useful for the blind. It would be great if this change could be
implemented.


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Spoken_Wikipedia

Details

Reference
bz2528

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:36 PM
bzimport set Reference to bz2528.
bzimport added a subscriber: Unknown Object (MLST).

avarab wrote:

Why don't you just use CSS to do it? See for example what the Vietnamese
Wikipedia has done: http://vi.wikipedia.org/wiki/

Marking this as INVALID since it's already possible.

DavidChameleon wrote:

Thanks to Ævar for his CSS suggestion, but the problem is not totally solved.
It relies on trying to move the text to the top of the page using absolute
positioning. This fails if a notice (such as fundraising or site maintenance)
is put at the top of the page.

The situation is tolerable for now, and will look cool most of the time, but
it's not really fixed.

DavidChameleon wrote:

Oh dear. It was working OK, but then the MediaWiki upgrade screwed it up. It
seems that, before, "= =" created a first-level heading and also showed up in
the TOC; whereas "<h1></h1>" only created a first-level heading, and left the
TOC alone. That was a useful difference. It has now been eliminated!

We are now seeing a number appearing next to the notice at the top of the page,
and the TOC is screwed up. :(

See http://en.wikipedia.org/wiki/Mary_II_of_England

DavidChameleon wrote:

OK, never mind. The H1 problem should be fixable just by using a different HTML
element.

There's still the absolute positioning thing though.

(In reply to comment #4)

There's still the absolute positioning thing though.

Wouldn't this problem be solved by positioning relatively to #bodyContent?
See e.g. [[cs:Template:Geo]] and [[cs:MediaWiki:Monobook.css]] (maybe some CSS guru
will find some problem with that -- in that case, please, let me know!)

DavidChameleon wrote:

I've implemented that, and as far as I can tell, it works. I'm just waiting for
a Cabal member to alter the monobook stylesheet.