Page MenuHomePhabricator

Custom position of LANGUAGES in MediaWiki:Sidebar ignored, still displayed at bottom
Closed, DeclinedPublic

Description

MW1.35.0 / Windows Server / IIS / MySQL 5.7

I am using the following code for the MediaWiki:sidebar page:

*LANGUAGES 
*PERSONAL 
*navigation 
**mainpage|Main Page
**Special:Categories|Categories (All) 
**Category:Consular|Consular 
**Category:Corporate|Corporate
**Category:Development|Development 
**Category:Diplomacy|Diplomacy 
**Category:Geographic|Geographic 
**Category:Global_Issues|Global Issues 
**Category:Legal|Legal 
**Category:Missions|Missions 
**Category:Trade|Trade 
**Special:AllPages|A-Z index 
*Support 
**Help:Contents|Help 
**User_guidelines|User Guidelines 
**Wiki_training|Wiki Training 
**Wiki_suggestions|Suggestions 
*TOOLBOX

In my MW1.33 instance, the language link was showing up at the top of the sidebar as expected. However, in MW 1.35, the language link is pushed at the bottom of the sidebar.

  • Is this a bug?
  • Is there a way to move the language link back to the top of the sidebar?

Event Timeline

Aklapper renamed this task from LANGUAGES keyword not working in Sidebar anymore to Custom position of LANGUAGES in MediaWiki:Sidebar ignored, still displayed at bottom.Feb 17 2021, 9:42 AM

Hi @ti_infotrad, thanks for taking the time to report this!
I assume this is about https://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Section_order_(elements) .

Yes

Has this been brought up on https://www.mediawiki.org/wiki/Project:Support_desk already?

No. How do I do this?

Has this been brought up on https://www.mediawiki.org/wiki/Project:Support_desk already?

No. How do I do this?

By posting there. :)

I could imagine a relation to T254546: Language portlet no longer at the bottom of sidebar.

For now, fixed it by hardcoding location in

skins/Vector/includes/templates/legacy/Sidebar.mustache
Jdlrobson subscribed.

In Vector, the languages section in no longer considered part of the sidebar and cannot be put in a custom position.

Site admins can change the order of the sidebar using the following CSS if necessary:

#mw-panel {
  display: flex;
  flex-flow: column;
}

#p-interaction,
#p-tb,
#p-navigation {
  order: 99;
}