[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Summary view] [Print] [Text view]
1 MEDIAWIKI_LOAD_URL ?= http://localhost/w/load.php 2 3 kss: kssnodecheck 4 # Generates CSS of mediawiki.ui and mediawiki.ui.button using ResourceLoader, then applies it to the 5 # KSS style guide 6 $(eval KSS_RL_TMP := $(shell mktemp /tmp/tmp.XXXXXXXXXX)) 7 # Keep module names in strict alphabetical order, so CSS loads in the same order as ResourceLoader's addModuleStyles does; this can affect rendering. 8 # See OutputPage::makeResourceLoaderLink. 9 @curl -sG "$MEDIAWIKI_LOAD_URL}?modules=mediawiki.legacy.commonPrint|mediawiki.legacy.shared|mediawiki.ui|mediawiki.ui.anchor|mediawiki.ui.button|mediawiki.ui.checkbox|mediawiki.ui.input&only=styles" > $(KSS_RL_TMP) 10 @node_modules/.bin/kss-node ../../resources/src/mediawiki.ui static/ --css $(KSS_RL_TMP) -t styleguide-template 11 @rm $(KSS_RL_TMP) 12 13 kssopen: kss 14 @echo Opening the generated style guide... 15 @command -v xdg-open >/dev/null 2>&1 || { open $PWD}/static/index.html; exit 0; } 16 @xdg-open $PWD}/static/index.html 17 18 kssnodecheck: 19 @scripts/kss-node-check.sh
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |