Last modified: 2010-05-01 21:11:11 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 T20280, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18280 - eswiki: Name of NS 100 ("Portal") appears in lower case in tab
eswiki: Name of NS 100 ("Portal") appears in lower case in tab
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-31 12:13 UTC by Carlos
Modified: 2010-05-01 21:11 UTC (History)
4 users (show)

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


Attachments

Description Carlos 2009-03-31 12:13:47 UTC
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.
Comment 1 Ahmad Sherif 2009-03-31 13:56:28 UTC
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; }
Comment 2 Carlos 2009-03-31 16:35:12 UTC
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.
Comment 3 Roan Kattouw 2009-03-31 17:15:06 UTC
(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.
Comment 4 Platonides 2010-05-01 20:50:29 UTC
Parece apropiado cambiarlo, pero es algo a hacer en wikipedia.
Comment 5 Svip 2010-05-01 21:03:46 UTC
(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>
Comment 6 Roan Kattouw 2010-05-01 21:06:17 UTC
(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.
Comment 7 Svip 2010-05-01 21:07:33 UTC
(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).
Comment 8 Svip 2010-05-01 21:10:43 UTC
The culprit:

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

Change that to 'Portal'.  Someone tell an admin on eswiki to change that.
Comment 9 Svip 2010-05-01 21:11:11 UTC
(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 from finding it.  I almost took credit for that.

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


Navigation
Links