Func
e1c51814ac
Remove unused constructor params of MainMenuDirector
...
The code was simplified in commit 1f94dbb
, and these params become
unused.
Change-Id: Ie830200dd5b5fa3472300a27abc77cf88a2be324
2023-02-26 20:30:07 +08:00
bwang
d5d94e6b6f
Add settings menu item for anon users
...
Bug: T307696
Change-Id: Ib875bae5796ef021a06310582a4bbc41abb26555
2022-05-23 22:36:36 +00:00
bwang
79d4130fcc
Hard deprecate MobileMenu Hook
...
Bug: T303309
Change-Id: Ice45416c4af4e8fd4bcda158c5f9b81e6c8c9491
2022-04-27 12:38:03 -05:00
jenkins-bot
6d4558de86
Merge "Deprecate MobileMenu hook"
2022-02-28 22:09:18 +00:00
Umherirrender
3dd1fd841a
Use new namespace for MediaWiki\SpecialPage\SpecialPageFactory
...
MediaWiki\Special is alias since 1.35
Change-Id: Ifb8a64c5fe7e413178f94ecc89b7a960d04064b2
2022-02-26 22:31:38 +01:00
Jon Robson
dc422a3def
Deprecate MobileMenu hook
...
Bug: T291568
Depends-On: I2c75e210ac914ee4d63969314c82451fc8172da0
Change-Id: I00c3e0d4178447c547f25be580c5b99ee65bef60
2022-02-22 18:18:42 +00:00
Jon Robson
0659e174c9
Allow msg key to be overridable
...
Minerva already overrides the text label for the Home menu item.
To allow other extensions to override it again, we can also consult
the msg key.
Bug: T291568
Change-Id: I3107a6d1e6ace26c7ab9c49c49768d2adcda8792
2022-02-17 16:44:37 +00:00
Jon Robson
d8a1942808
Handle unexpected data coming from MediaWiki:Sidebar
...
Bug: T301003
Change-Id: I27fbd952f3c6139b00e8793a55044f451446a867
2022-02-04 13:16:40 -08:00
Jon Robson
0b3d21d58d
Main page definition come from MediaWiki:Sidebar
...
Bug: T291568
Depends-On: Ia54d01eb5d8d9c33d067f61c73203f9fec4569a6
Change-Id: Ia9998780dc0a5f51af52d928499b51d5566cf29d
2022-02-02 00:44:56 +00:00
Jon Robson
6e297a7a9b
[Refactor] Use core definitions for personal menu icons
...
Rather than hardcoding the icons for all our menu items
let's use the definitions in core.
This also makes it easier for us to deprecate the
MobileMenu hook in future.
Rejoice at all the code this removed!
Bug: T291568
Change-Id: I69b5ca13aee018982a5ea28677d4a37e663235d4
2022-01-19 00:33:16 +00:00
Thiemo Kreuz
31659edf3d
Use more narrow UserIdentity interface where possible
...
There is still a lot of places that need either an Authority or still
an actual User object. This patch changes the usages that can be
changed right now (almost) without any codechange.
The only additional change is the removal of an unused constructor
argument.
Change-Id: I0fbb3c2cc4cea7fba135d92b04421b0563c0f0c8
2021-12-17 18:16:49 +01:00
bwang
ef4aa95ae2
Remove primary/secondary menu items, instead add a separate log out menu item
...
Bug: T293041
Change-Id: I9f73fdba1856dd9e0ea7120df0fb18061337961a
2021-11-18 19:51:33 +00:00
James D. Forrester
592e1151b7
Use User->isRegistered(), not deprecated isLoggedIn()
...
Bug: T270450
Change-Id: I60f714f42848898cf27aa83da92ac1c691fe5ead
2020-12-17 19:09:15 -08:00
jdlrobson
2e450e104e
Donate link should be in a separate group in main menu
...
Bug: T219793
Change-Id: I7501c87eaa799e4c8a9052f5e3f650a89f376d1b
2020-06-29 14:38:34 -07:00
Vas Jaremchuk
f4e3c8f9d9
Mobile web donate link
...
Add the Donate link with a heart icon in Mobile menu.
Bug: T219793
Change-Id: I65d1d7408e2df7b3ae307736ac6d498b1d7f7197
2020-06-25 11:00:44 -07:00
Reedy
d12308e38d
Move some more classes to AutoloadNamespaces
...
Bug: T187154
Change-Id: Ia78f963a08cec1490aaff462b9787f7a826bf62c
2020-04-18 16:09:42 +00:00