Go to file
Ostrzyciel edd0a7d949 Move the warning outside sitenotice, tidy up code
There's a lot of things going on here, so a quick summary:
* Moved the warning outside sitenotice to avoid reflows and all
  kinds of other issues, including those with dismissable notices.
* Placed the warning on the bottom of the page, on all skins, for
  consistency and to avoid obstructing vital UI elements such as
  site name, user tools, search box.
* Changed the UI to use OOUI for, again, consistency and to avoid
  reinventing the wheel with button styling.
* Removed the cookie emoji as it was only taking up valuable space
  on mobile and making designing a sensible layout much harder.
* Merged the mobile and desktop RL modules into a single, responsive
  one. The warning will work correctly for any skin and screen width.
* The integration tests are truly horrible, I tried to at least
  make them work. They deserve a proper rewrite, but that should be
  done after the extension switches to the new hook system.

I will post screenshots of this in action in the first of the linked
tasks.

Bug: T271047
Bug: T173335
Change-Id: I6e2a3d7aeccc0d4df1b3238e52c67e72099d27d8
2021-02-01 11:23:53 +01:00
i18n Localisation updates from https://translatewiki.net. 2021-01-28 08:35:37 +01:00
includes Move the warning outside sitenotice, tidy up code 2021-02-01 11:23:53 +01:00
resources Move the warning outside sitenotice, tidy up code 2021-02-01 11:23:53 +01:00
tests/phpunit/includes Move the warning outside sitenotice, tidy up code 2021-02-01 11:23:53 +01:00
.eslintrc.json build: Updating mediawiki/mediawiki-codesniffer to 32.0.0 2020-10-29 09:50:58 +00:00
.gitignore Bump MW version, remove deprecated IP class, update .gitignore 2020-03-14 14:34:41 +05:30
.gitreview Whoops, track not trace 2016-10-24 17:02:22 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 32.0.0 2020-10-29 09:50:58 +00:00
.stylelintrc.json Move the warning outside sitenotice, tidy up code 2021-02-01 11:23:53 +01:00
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-03 00:33:49 +00:00
composer.json build: Updating dependencies 2021-01-29 08:09:27 +00:00
extension.json Move the warning outside sitenotice, tidy up code 2021-02-01 11:23:53 +01:00
Gruntfile.js build: Use existing eslint also for json linting 2020-09-12 13:42:25 +02:00
LICENSE Improve documentation of code and add test features (npm, composer) 2016-01-10 19:31:07 +01:00
package-lock.json build: Updating dependencies 2021-01-29 08:09:27 +00:00
package.json build: Updating dependencies 2021-01-29 08:09:27 +00:00