Commit Graph

11 Commits

Author SHA1 Message Date
Umherirrender
9f041f63b0 Use ::class for class name resolution
Change-Id: I4d7af9ca401b30e5ad398ee99549c654b049fde1
2022-06-16 22:34:18 +02:00
Thiemo Kreuz
78c25ebcf7 Fix-ups to comments and User interface usages
* Use isRegistered() from the more narrow UserIdentity interface.
* More specific type hints.
* Remove comments that literally repeat the code.

Change-Id: Icd0eaf8236be41b258efcf81d581540d2448e9e3
2022-04-20 09:54:25 +02:00
Santhosh Thottingal
75daa0a926 Fix broken webfonts build scripts
In f9532855ad classes were
namespaced that broke the maintenance scripts referring them.

Follow up: f9532855ad
Change-Id: I2b9658ed06cd75c25789bad8bb867e39eba6afcd
2022-01-10 11:48:24 +05:30
Max Semenik
78d5e296b4 Don't use Maintenance::$mDescription directly
Change-Id: If28d9b7ee17ff559b35f3edc8b47ece298ea2c03
2019-06-14 17:48:30 -07:00
Timo Tijhof
4e067715dc Remove redundant closure aliases
'mw' are '$' are globals, always have been, and aren't going
anywhere. They're every bit as real as their longer versions.
If anything, the longer ones are less "real" or 'stable" because
they're not used internally by RL and easier to accidentally
replace or override. For anecdotes and history, see 91f950d6b0.

Change-Id: I526fb8c961d9477992d88f2780a0ff4cbdc51923
2018-09-07 19:23:17 +00:00
Umherirrender
80026995de Change DO_MAINTENANCE to RUN_MAINTENANCE_IF_MAIN
As suggested in 26505b170adb24a6ae68945920db322c9382e470 for better
readability.

Change-Id: Ia2e3a98b70ce48b084bcab4c3bafee9447d663d6
2018-03-17 23:01:17 +01:00
Kunal Mehta
67d470a9e7 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Id75a37eab27282ca7797fa3e6ceb92750c59477f
2018-03-03 19:27:21 +00:00
Kartik Mistry
2169a3c3f9 Fix script name in comment
Change-Id: I91270862aef41ecbd5fd31adcafa6d51adc5d4bb
2017-05-03 13:39:25 +05:30
Fomafix
bd9a734fb3 Prettify JSON in ext.uls.webfonts.repository.js
Use a prettifyed JSON with tabs for indenting. In non-debug mode the
whitespaces get removed by the minimizer.

Change-Id: I17f4ebabccdada3c2ad45a7e0119a4f246de0ebb
2017-04-16 23:06:07 +02:00
Niklas Laxström
e607466313 Use FormatJson in font repo generator script
The benefit of this is that '/' is no longer escaped, making
ext.uls.webfonts.repository.js file 376 bytes smaller. I expect
that the difference in compressed size is neglible.

Change-Id: I77c0b88fa23f2245f09615c354546b6a9ebf650c
2016-05-23 14:33:37 +02:00
Niklas Laxström
651f8bc1c3 Refactor font repo compiler so it can be reused
Includes changes to the generated repository file
because the script had not been run for last update.

Change-Id: I6b5d1ce980c6e5b42e36c0044729536b6b0ae4dc
2016-04-14 10:12:20 +02:00