Talk:MoreMenu

From Meta, a Wikimedia project coordination wiki
If a bug deserves prompt attention, please {{ping}} the active maintainer, User:MusikAnimal

Any way to disable the 'Delete' button's wpReason preset to delete-reason?[edit]

Hi,

I recently added the #delete-reason element to some templates on Commons as part of my work porting Twinkle there, but found that MoreMenu also uses that element to preset the wpReason parameter when using the 'Delete' button. (see source line) Although I'm sure many appreciate that behavior, it's something I personally don't want. Is there a way to disable this (or an easy way to add one), while keeping everything else MoreMenu offers?

Best, —‍Mdaniels5757 (talk • contribs) 19:12, 1 April 2023 (UTC)Reply[reply]

@Mdaniels5757 (sorry for the late reply!) I could have sworn this was replicating MediaWiki Core behaviour, but that either changed or I got the idea from elsewhere. If I may ask, what is the #delete-reason field even for, if not to provide the reason for deletion? At any rate, you can disable it by adding the following to the top of your Special:MyPage/global.js (or other personal JS):
MoreMenu = {
	prefillDeletionReason: false
};
Let me know if you have any issues. Best, MusikAnimal talk 22:54, 25 July 2023 (UTC)Reply[reply]
@MusikAnimal That works great, thanks! To answer your question: the template's #delete-reason is equivalent to Commons's c:Template:Nuke's deletion reason, so if I want it prefilled I just use that. When I don't want it pre-filled (e.g. when it's more or less specific than I'd like), this will be a useful feature. Thanks for implementing it! —‍Mdaniels5757 (talk • contribs) 20:17, 26 July 2023 (UTC)Reply[reply]

MoreMenu and the Timeless skin. "Page information" link disappears.[edit]

Please see: en:Wikipedia:Village pump (technical)#Can a page views link be put in sidebar, or at page bottom as in German Wikipedia? See where MoreMenu is mentioned concerning the Timeless skin.

The "Page information" link disappears. Or more accurately, the link name is changed to "Basic statistics", and it is moved elsewhere. I think common sidebar link names should not be changed. Since they are discussed often. Timeshifter (talk) 08:44, 7 June 2023 (UTC)Reply[reply]

Yes, this is a good point. There was talk a while back to at least use the same wording as MediaWiki via system messages. That I've got on the to-dos.
I'm not sure about moving the link or not; the idea is to reduce clutter elsewhere in the UI and put all "page-related things" into one menu. However, Vector 2022's "Tools" menu and the Timeless design don't really need those page-related links to be moved as they're more appropriately organized as it is. Perhaps MoreMenu should just duplicate the links rather than move them. MusikAnimal talk 21:05, 25 July 2023 (UTC)Reply[reply]

Misleading Move log link in User tab[edit]

Hi @MusikAnimal, there's an issue with the behaviour of "Move log" under "User tab". For example, if you go to en:User:CX Zoom, and click the "Move log" under "User tab", it shows the moves of the page "User:CX Zoom", not the moves performed by me. Similarly, if you go to en:User talk:CX Zoom, it shows the moves of the page "User talk:CX Zoom". Meanwhile, if you go to en:Special:Contribs/CX Zoom, then it correctly shows the moves performed by me. This is reproducible on any user or user talk page. No matter which page I am in, "Move log" under "User tab" should show the moves performed by the user. Thanks! —‍(ping on reply)—‍CX Zoom (A/अ/অ) (let's talk|contribs) 19:21, 25 July 2023 (UTC)Reply[reply]

@CX Zoom That's not the behaviour I'm seeing, and you shouldn't be either! Are you sure you didn't accidentally go to "Move log" under the "Page" > "Page logs" menu? MusikAnimal talk 20:37, 25 July 2023 (UTC)Reply[reply]
I'm sorry. I myself can't reproduce it now. I don't know if some userscript conflicted with it or I'm just stupid and went through "Page logs" menu. I'll let you know if I can reproduce it again, and if due to script conflict, I'll check which one it is. —‍(ping on reply)—‍CX Zoom (A/अ/অ) (let's talk|contribs) 20:45, 25 July 2023 (UTC)Reply[reply]

Width of localization messages[edit]

Localization messages don't fit right on the screen. Look at this gif. I have to Ctrl + scroll to see full text. It creates scrollbar at the bottom of window. NMW03 (talk) 12:13, 13 August 2023 (UTC)Reply[reply]

@MusikAnimal I'm pinging you in case you didn't see this. NMW03 (talk) 17:30, 15 August 2023 (UTC)Reply[reply]
Acknowledged! I'm aware of this issue, just not certain how I want to solve it. I suppose for Vector 2022, the submenus should pop out to the left and not to the right. MusikAnimal talk 18:07, 15 August 2023 (UTC)Reply[reply]

Not getting "More" menu[edit]

Hello, I am not able to see the "More" menu on the Read / Edit menu options bar. But, I am seeing the "Pages" menu now.

I added MoreMenu in Preferences, Gadgets.
I also followed the first two instructions at MoreMenu
  • Installing globally (recommended)
  • English Wikipedia extension

Do you know why I might not be seeing the "More" menu?

Thanks in advance.CaroleHenson (talk) 17:23, 12 October 2023 (UTC)Reply[reply]

@CaroleHenson The links that were formerly under "More" are probably under "Page" or "User" now (i.e. "Move page"). If there are links you think are missing, let me know, otherwise I think this is expected behaviour. MusikAnimal talk 17:28, 16 October 2023 (UTC)Reply[reply]
MusikAnimal, Hi! Thanks for your reply. I am not able to find it anywhere. I have looked at all possible menu places - uppermost left menu (main menu) - uppermost right menu (user talk, etc. options), Pages, Tools, and Twinkle. I looked at everything that could conceivable lead to an edit tool, and haven't found anything.CaroleHenson (talk) 00:25, 17 October 2023 (UTC)Reply[reply]
I forgot to clarify. I am looking for AutoEd, and their literature says it's at "More" menu, which got me going down this avenue.CaroleHenson (talk) 00:27, 17 October 2023 (UTC)Reply[reply]
@CaroleHenson Oh, if you see "Tools" then you're probably using Vector 2022. There is no "More" menu in this skin. Is it not listed in that menu? MusikAnimal talk 02:30, 17 October 2023 (UTC)Reply[reply]
MusikAnimal, I changed my preference to "Timeless" and I see the AutoEd menu. Thanks so much!CaroleHenson (talk) 05:36, 20 October 2023 (UTC)Reply[reply]