Page MenuHomePhabricator

eswiki: Name of NS 100 ("Portal") appears in lower case in tab
Closed, ResolvedPublic

Description

Author: angus

Description:
If you see the source of http://es.wikipedia.org/wiki/Portal:Portada you'll see that the first letter of the text in the tab w/id "ca-nstab-portal" is in lower case. It should be in upper case.

It shows correctly here: http://es.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces

Thanks.


Version: unspecified
Severity: minor

Details

Reference
bz18280

Event Timeline

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

ahmad.m.sherif wrote:

The id has nothing to do with the case of the word. MediaWiki sets the case of the tabs to lowercase (main.css line 914). However, you can modify you monobook.css to make the tabs capitalized by adding this line

#p-cactions li a { text-transform: capitalize; }

or this to change portal tab only

#p-cactions li#ca-nstab-portal a { text-transform: capitalize; }

angus wrote:

Hi, Ahmad. The id was to help you locate in the page source the tab I was talking about. I think it would be better to just copy and paste the relevant excerpt:

<li id="ca-nstab-portal" class="selected"><a href="/wiki/Portal:Portada">portal</a></li>

See? "portal" is in lower case. It should be in upper case.

(In reply to comment #2)

Hi, Ahmad. The id was to help you locate in the page source the tab I was
talking about. I think it would be better to just copy and paste the relevant
excerpt:

<li id="ca-nstab-portal" class="selected"><a

href="/wiki/Portal:Portada">portal</a></li>

See? "portal" is in lower case. It should be in upper case.

To clarify, tab captions are *always* lowercase, no matter what you set them to.

Parece apropiado cambiarlo, pero es algo a hacer en wikipedia.

svippy wrote:

(In reply to comment #3)

(In reply to comment #2)

Hi, Ahmad. The id was to help you locate in the page source the tab I was
talking about. I think it would be better to just copy and paste the relevant
excerpt:

<li id="ca-nstab-portal" class="selected"><a

href="/wiki/Portal:Portada">portal</a></li>

See? "portal" is in lower case. It should be in upper case.

To clarify, tab captions are *always* lowercase, no matter what you set them
to.

Then explain this:

<ul style="">
<li id="ca-nstab-portal" class="selected"><a href="/wiki/Portal:Portada">portal</a></li>
<li id="ca-talk"><a href="/wiki/Portal_Discusi%C3%B3n:Portada" title="Discusión acerca del artículo [alt-t]" accesskey="t">Discusión</a></li>
<li id="ca-edit"><a href="/w/index.php?title=Portal:Portada&amp;action=edit" title="Puedes editar esta página. Por favor, usa el botón de previsualización antes de grabar. [alt-e]" accesskey="e">Editar</a></li>
<li id="ca-history"><a href="/w/index.php?title=Portal:Portada&amp;action=history" title="Versiones anteriores de esta página y sus autores [alt-h]" accesskey="h">Historial</a></li>
<li id="ca-watch"><a href="/w/index.php?title=Portal:Portada&amp;action=watch" title="Añadir esta página a su lista de seguimiento [alt-w]" accesskey="w">Vigilar</a></li>
</ul>

(In reply to comment #5)

(In reply to comment #3)

(In reply to comment #2)

Hi, Ahmad. The id was to help you locate in the page source the tab I was
talking about. I think it would be better to just copy and paste the relevant
excerpt:

<li id="ca-nstab-portal" class="selected"><a

href="/wiki/Portal:Portada">portal</a></li>

See? "portal" is in lower case. It should be in upper case.

To clarify, tab captions are *always* lowercase, no matter what you set them
to.

Then explain this:

Rephrase: tab captions are always *displayed* in lowercase in Monobook, barring custom CSS tweaks.

svippy wrote:

(In reply to comment #6)

(In reply to comment #5)

(In reply to comment #3)

(In reply to comment #2)

Hi, Ahmad. The id was to help you locate in the page source the tab I was
talking about. I think it would be better to just copy and paste the relevant
excerpt:

<li id="ca-nstab-portal" class="selected"><a

href="/wiki/Portal:Portada">portal</a></li>

See? "portal" is in lower case. It should be in upper case.

To clarify, tab captions are *always* lowercase, no matter what you set them
to.

Then explain this:

Rephrase: tab captions are always *displayed* in lowercase in Monobook, barring
custom CSS tweaks.

Again; this bug report has no problem with the code. The HTML is still lowercase (if there was no CSS at all describing this (e.g. try to turn off styles), 'portal' would still be in lowercase).

svippy wrote:

The culprit:

http://es.wikipedia.org/wiki/MediaWiki:Nstab-portal

Change that to 'Portal'. Someone tell an admin on eswiki to change that.

svippy wrote:

(In reply to comment #8)

The culprit:

http://es.wikipedia.org/wiki/MediaWiki:Nstab-portal

Change that to 'Portal'. Someone tell an admin on eswiki to change that.

Sheesh, I forgot to thank thedj from MediaWiki-General from finding it. I almost took credit for that.