Commit graph

474 commits

Author SHA1 Message Date
Translation updater bot 5156ed676a Localisation updates from https://translatewiki.net.
Change-Id: I0a6be47a66ce99a665b6abd4a3d7a70a4718b396
2019-09-19 09:08:59 +02:00
Translation updater bot 715d8ec0fe Localisation updates from https://translatewiki.net.
Change-Id: I5ffe7409382f2436dbe2de9fdfeeab341116a9c0
2019-09-17 08:25:05 +02:00
Translation updater bot d923be6aaf Localisation updates from https://translatewiki.net.
Change-Id: Ie1a18c17537afa114305134a276eb43a6de3aa23
2019-09-16 09:16:43 +02:00
Translation updater bot 3f4a507850 Localisation updates from https://translatewiki.net.
Change-Id: I89b01358f67e27c9f9e0a43d7a52702712f0a2ff
2019-09-13 09:34:56 +02:00
jenkins-bot 7daf7ebb12 Merge "Rename UserRights to UserGroups" 2019-09-12 19:37:55 +00:00
Piotr Miazga add29651b0 Rename UserRights to UserGroups
The "User Rights" is called "User groups" on desktop. The Mobile site
should not provide it's onw naming but use the same names as desktop.

Bug: T230694
Depends-On: Ic9b7033e3f52f415ec8aec845a65a8452d0e5d8f
Change-Id: Iaf116a5cc54cc400451550d9fa958adbbccc35c5
2019-09-12 15:58:51 +02:00
Translation updater bot f3e516e30f Localisation updates from https://translatewiki.net.
Change-Id: I89e626bc1f86a76b2882d9f71ff265a8544b527d
2019-09-12 08:38:51 +02:00
Translation updater bot d410be46d6 Localisation updates from https://translatewiki.net.
Change-Id: Idd8567b0ad5fcd8106b643bc50baf31681a0da69
2019-09-10 08:48:35 +02:00
Translation updater bot 1a480bd2db Localisation updates from https://translatewiki.net.
Change-Id: I2c51d2da6bebe443d45d9004ec54315dd9f5519c
2019-09-09 08:32:34 +02:00
Translation updater bot c03c493cf9 Localisation updates from https://translatewiki.net.
Change-Id: I0ad296e73658d56de17923a9c164a62a3c49357e
2019-09-06 08:53:19 +02:00
Translation updater bot 9fb1a16fb5 Localisation updates from https://translatewiki.net.
Change-Id: Idf27481a13dcfb09f5f7dc402ade7bcc385d88f2
2019-09-04 09:16:31 +02:00
Translation updater bot 96ea2493ab Localisation updates from https://translatewiki.net.
Change-Id: I29aea5adef7190cb91cafe7f3a1fb0f931a9cf73
2019-09-02 09:25:31 +02:00
Translation updater bot 512250387e Localisation updates from https://translatewiki.net.
Change-Id: I7ddcdc9aa1c0e6178acf394de0c37f6eee382c25
2019-08-31 15:14:27 +02:00
Translation updater bot f91fbb223a Localisation updates from https://translatewiki.net.
Change-Id: I6638b489e3bf2ede5a74a2580c411d677b35198d
2019-08-30 09:09:03 +02:00
Translation updater bot c2bc33a8ed Localisation updates from https://translatewiki.net.
Change-Id: I80734db55919419b7fe5bc95ff6cfc0eec6df68b
2019-08-28 10:33:34 +02:00
Translation updater bot 9e52dbcece Localisation updates from https://translatewiki.net.
Change-Id: Ifc558657bd9a62034118e60028acb15e1e249a0c
2019-08-27 11:13:20 +02:00
Translation updater bot 4bc62f04c3 Localisation updates from https://translatewiki.net.
Change-Id: Iae0f85f66bc287d32e1956862d51e223b02f274c
2019-08-25 09:53:45 +02:00
Translation updater bot 54db05dd17 Localisation updates from https://translatewiki.net.
Change-Id: Id274dbe9cb3bd6701e6517c5e1f1dd26b72245ff
2019-08-21 10:20:17 +02:00
jenkins-bot 5873ab5a8a Merge "Provide access to original redirect page on toasts" 2019-08-20 19:21:13 +00:00
Translation updater bot 04998facb8 Localisation updates from https://translatewiki.net.
Change-Id: I046648d02ea0d88c785b6e44b3059945357c50c3
2019-08-15 08:33:36 +02:00
Translation updater bot 28979a02f8 Localisation updates from https://translatewiki.net.
Change-Id: I9e3c07f94d088ad27518010549d7ab1b5068ef9d
2019-08-14 08:34:43 +02:00
Translation updater bot 92672a4d96 Localisation updates from https://translatewiki.net.
Change-Id: I6a3c39fe1211520ff16fb7637bd10f342c7b2a61
2019-08-13 08:35:22 +02:00
jdlrobson ab8da137cb Provide access to original redirect page on toasts
Color progressive/destructive (blue and red) do not make
sense on a black background, so we use white and underlined
for both of these. Note these don't seem to be used currently
so this is not a breaking change.

Bug: T150189
Change-Id: I78a92b5b6c76638633b99fe32670911d355ce6f3
2019-08-12 22:48:14 +00:00
Translation updater bot 45da253b9b Localisation updates from https://translatewiki.net.
Change-Id: Id5230f763d68ec402fa8e51c58597462329b1100
2019-08-12 08:27:16 +02:00
Translation updater bot a6ed7d8968 Localisation updates from https://translatewiki.net.
Change-Id: I5fe502e529f965b8524dae2b05497d81203934aa
2019-08-10 22:05:11 +02:00
Translation updater bot f362a1bac0 Localisation updates from https://translatewiki.net.
Change-Id: Ib308aab3b3d3df3144b7828de8d5fc582f5d4b48
2019-08-07 08:44:33 +02:00
Translation updater bot 19b95d7e6f Localisation updates from https://translatewiki.net.
Change-Id: Idab080fe6a83f19863d4d1dbc0b0c6032f415a86
2019-08-05 08:32:00 +02:00
Translation updater bot 89d60596db Localisation updates from https://translatewiki.net.
Change-Id: I71560a9d5a294bc87c5a5a733b07555c722db875
2019-07-31 22:12:04 +02:00
Piotr Miazga 7b5e210ed8 Show warning when user tries to use enhanced RecentChanges view
Bug: T228516
Change-Id: I16e3d69b410f20a3f70f4bb213a279664613f725
2019-07-31 15:32:58 +00:00
Translation updater bot 0c5c84f0ad Localisation updates from https://translatewiki.net.
Change-Id: Ife8e0556b697c6524ba43626f27f4007f0d32ab5
2019-07-30 08:27:41 +02:00
Translation updater bot 725383771e Localisation updates from https://translatewiki.net.
Change-Id: Ie6d4d8ae1b4b58410d584c1104704b6f3582e160
2019-07-29 08:32:20 +02:00
Translation updater bot 6bf480c5a3 Localisation updates from https://translatewiki.net.
Change-Id: Iad66e696b050aa6f19f832f104529d9aeebb019b
2019-07-27 08:49:21 +02:00
Translation updater bot 61cf3b3328 Localisation updates from https://translatewiki.net.
Change-Id: Idb5ccc0369ca2c688bf7216f70929aa7091f22e0
2019-07-25 22:42:19 +02:00
Translation updater bot a2521d7d6a Localisation updates from https://translatewiki.net.
Change-Id: I270b3bd9ae40e31f6f467ba537624ed785b7d50b
2019-07-24 22:05:48 +02:00
Stephen Niedzielski 0a4f5b6126 [UI] [new] add user menu
Add new user menu. The changes required include:

- Break up AuthMenuEntry into reusable components. They're now simple,
  independent, static functions in AuthUtil that are easy to reason
  about and compose.

  There's lots of verbose code because of the builder and director
  patterns. That is, most of the code is for building the thing we
  actually want to build instead of just building it. It's easy to write
  but no fun to read--even simple configurations are extremely verbose
  expressions that must be threaded through the system.

  These builders are also single purpose and unlikely to be reusable
  unlike a URI builder, for example. As objects, they're not especially
  composable either.

- Similarly, break up Menu/DefaultBuilder into BuilderUtil and ban
  inheritance. Inheritance has not worked well on the frontend of
  MobileFrontend. I don't think it's going to work well here. E.g., I
  could have made changes to the base class' getPersonalTools() method
  such that the client passes a parameter for the advanced config or
  maybe I just override it in the subclass. In either case, I think it
  makes the whole hierarchy nuanced and harder to reason about for
  something that should be simple.

- Add ProfileMenuEntry and LogOutMenuEntry for the user menu.

- Rename insertLogInOutMenuItem() to insertAuthMenuItem() which matches
  the entry name, AuthMenuEntry.

- Extension:SandboxLink is needed to display the sandbox link in the
  user menu.

- Performance note: the toolbar is now processed in MinervaTemplate,
  which corresponds to removing the buildPersonalUrls() override.

- To mimic the design of main menu, the following steps would be
  necessary:

  1. Create a user/Default and user/Advanced user menu builder and also
     a user/IBuilder interface.
  2. Create a user/Director.
  3. Create a service entry for Minerva.Menu.UserDirector in
     ServiceWiring. The Director is actually powerless and doesn't get
     to make any decisions--the appropriate builder is passed in from
     ServiceWiring which checks the mode.
  4. Access the service in SkinMinerva to set a userMenuHTML data member
     on the Minerva QuickTemplate.
  5. In MinervaTemplate, access the userMenuHTML QuickTemplate member
     and do the usual song and dance of inflating a Mustache template.

  This patch does everything except add a service, which was agreed to
  be unnecessary, so that logic is now in SkinMinerva.

- Wrap the existing echo user notifications button and new user menu
  button in a nav element. This seems like a semantic improvement.

- The existing styling and logic for the search bar and search overlay
  are pretty messy and delicate. Changes made to that LESS endeavored to
  be surgical. There's lots of room for improvement in the toolbar but
  it's out of scope.

- Rename logout icon to logOut.

Bug: T214540
Change-Id: Ib517864fcf4e4d611e05525a6358ee6662fe4e05
2019-07-24 18:24:07 +00:00
Translation updater bot 2fbe2c5477 Localisation updates from https://translatewiki.net.
Change-Id: Ib0e52bf72f569b253602d0d18ab726f0596b58c7
2019-07-22 22:16:48 +02:00
Translation updater bot 882ca639d4 Localisation updates from https://translatewiki.net.
Change-Id: I56a62b484ce4253d52c5e0b9a7a093d866463723
2019-07-17 22:22:57 +02:00
Piotr Miazga dee1c197b9 On user pages, move language icon from Toolbar to Overflow menu
The Language icon is not useful on user pages as most probably there
are no translated user pages, thus there is no need to show all-time
disabled Language icon.

If overflow menu is available, don't show Language switcher icon in
toolbar, show it as first item in the overflow menu.

Bug: T224735
Follow-Up: I46d58758356e870c408a74b2c087a42d6ad0ddea
Change-Id: I05be9e6457257a1f2eb224ca9ec5808814bc9ed7
2019-07-16 17:51:11 +00:00
Translation updater bot 71d2a8fc6d Localisation updates from https://translatewiki.net.
Change-Id: Icdaaf79cb1cbaa35bec6b006931153118273c76e
2019-07-14 22:20:27 +02:00
Translation updater bot cec9e052b3 Localisation updates from https://translatewiki.net.
Change-Id: I67f664db917a299d679729d07b39c5dda41d7113
2019-07-11 22:10:34 +02:00
Translation updater bot 5cd5785a85 Localisation updates from https://translatewiki.net.
Change-Id: I151633bf3908e792369578f3a6bd3fc0e5c508a6
2019-07-08 22:17:19 +02:00
Translation updater bot 7610467f28 Localisation updates from https://translatewiki.net.
Change-Id: I7e91c8d281cf6ebfccfad584e9fc9f8182fe2610
2019-07-07 22:11:00 +02:00
Translation updater bot 195b9a9fd6 Localisation updates from https://translatewiki.net.
Change-Id: Iefb4fb1e328a5fc0a3488632c3dbf980992d16a2
2019-07-03 22:12:45 +02:00
Translation updater bot 5b92c238b3 Localisation updates from https://translatewiki.net.
Change-Id: I9e523205a86d3dcfa93480f8c195a2f1b8f0a451
2019-07-01 22:02:09 +02:00
Translation updater bot 2a3f2590dd Localisation updates from https://translatewiki.net.
Change-Id: Ib431a2b7786d7d83d36a8b14ecf57544930fce89
2019-06-26 22:01:47 +02:00
Translation updater bot 8d89172bac Localisation updates from https://translatewiki.net.
Change-Id: Ifadc568c590df9f67983668f7f8ed8c7455adf0b
2019-06-23 22:11:21 +02:00
Translation updater bot 4b24daa117 Localisation updates from https://translatewiki.net.
Change-Id: I6343b83298d36d9ae8c240f5fbb5f35c4393dcb5
2019-06-19 23:37:08 +02:00
Translation updater bot fffb5ab379 Localisation updates from https://translatewiki.net.
Change-Id: If6e23b739c2283e79b380104744dd75226d5a732
2019-06-17 22:09:24 +02:00
Translation updater bot 77779ce441 Localisation updates from https://translatewiki.net.
Change-Id: Ic64d6110f83ce3d8a06e1dabf76945e9145951e6
2019-06-16 22:07:40 +02:00
jenkins-bot 3461c9dd93 Merge "Add wikidata link to overflow menu" 2019-06-14 16:54:12 +00:00