Commit Graph

20 Commits

Author SHA1 Message Date
Reedy
8b4e263ed7 Fix webfonts typo
Change-Id: I3cc3264f347454a0c15981653163226c13a2a007
2020-03-07 00:07:22 +00:00
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
Fomafix
b0a60f92c6 Add <!DOCTYPE html> to HTML
Change-Id: I317405c56a66334cd0eaff5983cfea909be6f6fb
2017-05-03 12:10:23 +02: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
Kartik Mistry
f30a4a0148 Remove script to update jquery.i18n
Followup: 1312b905f2
Change-Id: I96d07b0f1712bf8b697f225c84191b8466fabd98
2017-01-24 23:22:38 +05:30
Santhosh Thottingal
9327417702 Add license files for upstream jquery-* libs
Updated the update scripts too

Change-Id: Ia5f509cdc3ab91cd30c81d91da999993d13c68d1
2016-06-03 17:35:19 +05:30
Niklas Laxström
7056364168 Regenerate font test page.
Stop appending version which no longer exists. Replaced by file hash.

Change-Id: I978ff69cb9df1f0ce17ac0d7893d980d509655c1
2016-05-24 08:19:00 +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
71133ffdfc First attempt at font test page generation
Does not include all variants and not all languages have example content.

Change-Id: If5b759f2ed6e8e487f73ea7a88be5cc6b741b356
2016-05-10 07:33:47 +02:00
jenkins-bot
2580a281b6 Merge "Update upstream update scripts" 2016-05-04 12:16:06 +00:00
Niklas Laxström
1a378e3cca Update upstream update scripts
* Allow to run any directory
* Leaving stuff on /tmp was not nice
* Git pull was run on wrong directory

Change-Id: Ia7f82de55c9bd446c29afc0684660ed00b6585bf
2016-05-04 14:01:08 +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
Kartik Mistry
b7e6aaa475 shellcheck fixes
* Script: https://github.com/koalaman/shellcheck
* Use $(..) instead of deprecated `..`
* Use double quote to prevent globbing and word splitting.

Change-Id: I68372d4e29ae34e0704e5a605447ad17bf0666d7
2014-04-01 07:58:24 +00:00
Kartik Mistry
f25fca0dcb Check if directory exists in a better manner
* This avoids warnings like: line 8: cd: /tmp/jquery.ime:
   No such file or directory.
 * Formatting fixes.

Change-Id: Icbc3f6f80314cae3ea9b5dfdc3e66c59af225621
2014-02-11 17:39:24 +05:30
Timo Tijhof
c6d71015ff Various clean up
Files:
* Consistently have one (1) new line at EOF
  (.gitignore, *.css, *.sh)

JSHint:
* Separate the common (general Wikimedia code conventions) from
  the local more stricter rules (nice work!).

Maintenance:
* Use simplified $IP definition where getenv is only called once.
  Based on http://git.io/ve-mw-36fc3b59-makeStaticLoader

JavaScript:
* Use the same closure in all files:
  - No need for "undefined".
  - One linebreak between license header and start of closure
    (sometimes there were 1 or 2 empty lines).
  - ext.uls.ime.js: No need for "document" (redundant in general,
    but especially as it wasn't used anywhere in this file).
  - Use "$, mw" for all ext.* modules (one of them used "mw, $").

Change-Id: Iba5dab14bbc3fbfc9f8fe96dd2d95529587a69aa
2014-02-08 00:11:50 -08:00
Santhosh Thottingal
eb7cb4ecd5 Add scripts to update js libraries from upstream
Change-Id: Ie2c7727afc5bd7c7d0ab44b50070e6ea49ee6e96
2013-11-25 14:35:05 +05:30