Jump to content

Topic on Talk:MediaWiki UI

Daylen (talkcontribs)

Any plans to add the ability to add dropdown menus as part of the MediaWiki UI?

Quiddity (WMF) (talkcontribs)
Daylen (talkcontribs)

@Quiddity (WMF) Those templates look great! Are they available as templates on the English Wikipedia?

Quiddity (WMF) (talkcontribs)

Hi, they're not templates, they're just specifications for the MediaWiki software, and are slowly being integrated into the various special: pages, and similar.

Could you explain what it is you are trying to create or change? Specific details will help (me/someone) to answer your underlying question (which might involve a different solution) but we can't do that without context. Again, examples/details/links help!

(I've tried to guess, and spent a few minutes searching around for what you might mean, but I can't think of any dropdowns used in articles or similar. E.g. the Extension:InputBox which is used in {archive box} and similar, uses checkboxes and not dropdowns. As far as I know, dropdown menus are not something we've ever used anywhere in content or templates.)

Daylen (talkcontribs)
Quiddity (WMF) (talkcontribs)

Hi. That's not a template, it is a "Special page" and is part of the MediaWiki code (written in PHP).

As I wrote above, please describe what it is that you are wanting to create or accomplish - the specific use-case(s). That way we can figure out the possible solutions. (I.e. Are you wanting to create an extension? or change the UI/design of an existing Special page or gadget? or create some new type of workflow? etc).

Simuako (talkcontribs)

If i want to add a dropdown menu consist of available username in the special page: contribution which replace the IP address or username tab, is it possible to be done ?

Quiddity (WMF) (talkcontribs)

Hi @Simuako - I'd suggest asking at Project:Support desk instead, as this is a 5 year old thread on the talkpage for an obsolete project!

I suggest also expanding your question to provide some more context, and perhaps an example link or two (examples always help!). E.g. I would guess from what you've written, that you are asking about changing the way the default "Special:Contributions" page works on some non-Wikimedia wiki, but that's just a guess.

I also see that the top box at Special:Contributions already does have search-autocomplete here, which might be enough?

(Note: I'm not a developer, so can't help much more beyond that advice.)

Hope that helps.

Simuako (talkcontribs)

@Quiddity (WMF) The search-autocomplete function is good, but I want to show a drop-down menu to list out all available username so that it is more convenient in my case, although not necessary. I will ask at support desk, thanks lot for the info.

Lectrician1 (talkcontribs)

@Quiddity (WMF) I would like to have dropdowns so that I can can create responsive navbar templates like Page tabs that responsively change into a dropdown when their width is constrained. Right now these templates are not mobile-friendly because cannot do this right now without dropdowns.

Quiddity (WMF) (talkcontribs)

@Lectrician1 Hi. Related to my note above from last month, this isn't a great location to ask about such things! This page is related to the core MediaWiki software, and not to the many complex things that are done on top of it, like templates. I suggest asking at the Project:Support desk.

That said, I'd personally offer a hesitant caution against converting multipage navigation-tabs into a dropdown menu for mobile, because hiding/collapsing things frequently results in making them harder to find (i.e. requires interaction, vs just scrolling/skimming). However, I do also understand the desire to make things cleaner/simpler/shorter/etc. It's a difficult balance.

Lectrician1 (talkcontribs)

@Quiddity (WMF) Just curious but, if you're against simplifying navbars with drop-downs, how would you go about simplifying the page tabs on this page for mobile?

Quiddity (WMF) (talkcontribs)

Ooof. I see what you mean... (link to mobile-version and screenshot using Firefox's "responsive design mode" tool). I think the page as a whole needs a redesign to work for mobile, as even without the tabs, half the content is still offscreen...

Re: tabs specifically...

Hope that helps.

Reply to "Dropdown menus"