Paladox has uploaded a new change for review.
https://gerrit.wikimedia.org/r/225034
Change subject: Update SyntaxHighlight_GeSHi tests
......................................................................
Update SyntaxHighlight_GeSHi tests
Change-Id: If46b56fa8aa26b03890274ac772110eba9519f8d
---
M composer.json
M i18n/fr.json
M package.json
A phpcs.xml
4 files changed, 47 insertions(+), 29 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SyntaxHighlight_GeSHi
refs/changes/34/225034/1
diff --git a/composer.json b/composer.json
index 3db1598..00732f1 100644
--- a/composer.json
+++ b/composer.json
@@ -1,29 +1,39 @@
{
- "name": "mediawiki/syntax-highlight_geshi",
- "description": "Syntax highlighting extension for MediaWiki",
- "require": {
- "kzykhys/pygments": "1.0"
- },
- "license": "GPL-2+",
- "authors": [
- {
- "name": "Brion Vibber",
- "email": "[email protected]"
- },
- {
- "name": "Niklas Laxström",
- "email": "[email protected]"
- },
- {
- "name": "Ori Livneh",
- "email": "[email protected]"
- },
- {
- "name": "Rob Church"
- },
- {
- "name": "Tim Starling",
- "email": "[email protected]"
- }
- ]
+ "name": "mediawiki/syntax-highlight_geshi",
+ "description": "Syntax highlighting extension for MediaWiki",
+ "require": {
+ "kzykhys/pygments": "1.0"
+ },
+ "require-dev": {
+ "jakub-onderka/php-parallel-lint": "0.9.*",
+ "mediawiki/mediawiki-codesniffer": "0.3.0"
+ },
+ "license": "GPL-2+",
+ "authors": [
+ {
+ "name": "Brion Vibber",
+ "email": "[email protected]"
+ },
+ {
+ "name": "Niklas Laxström",
+ "email": "[email protected]"
+ },
+ {
+ "name": "Ori Livneh",
+ "email": "[email protected]"
+ },
+ {
+ "name": "Rob Church"
+ },
+ {
+ "name": "Tim Starling",
+ "email": "[email protected]"
+ }
+ ],
+ "scripts": {
+ "test": [
+ "parallel-lint . --exclude vendor",
+ "phpcs -p"
+ ]
+ }
}
diff --git a/i18n/fr.json b/i18n/fr.json
index 36a22e0..beb8fac 100644
--- a/i18n/fr.json
+++ b/i18n/fr.json
@@ -6,10 +6,12 @@
"Verdy p",
"Macofe",
"Mattho69",
- "Dcausse"
+ "Dcausse",
+ "Orlodrim"
]
},
"syntaxhighlight-desc": "Fournit la mise en relief de la syntaxe par la
balise <code><syntaxhighlight></code> en utilisant [http://pygments.org/
la coloration syntaxique GeSHi]",
+ "syntaxhighlight-error-category": "Pages avec des erreurs de coloration
syntaxique",
"syntaxhighlight-visualeditor-mwsyntaxhighlightinspector-code": "Code",
"syntaxhighlight-visualeditor-mwsyntaxhighlightinspector-language":
"Langage",
"syntaxhighlight-visualeditor-mwsyntaxhighlightinspector-showlines":
"Afficher les numéros de ligne"
diff --git a/package.json b/package.json
index 42785f7..2effbe1 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,6 @@
{
"name": "SyntaxHighlight_GeSHi",
"version": "0.0.0",
- "private": true,
"description": "Build tools for the SyntaxHighlight_GeSHi MediaWiki
extension.",
"scripts": {
"test": "grunt test"
diff --git a/phpcs.xml b/phpcs.xml
new file mode 100644
index 0000000..cb19440
--- /dev/null
+++ b/phpcs.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<ruleset>
+ <rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki"/>
+ <file>.</file>
+ <arg name="extensions" value="php"/>
+ <exclude-pattern>vendor</exclude-pattern>
+</ruleset>
--
To view, visit https://gerrit.wikimedia.org/r/225034
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If46b56fa8aa26b03890274ac772110eba9519f8d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SyntaxHighlight_GeSHi
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits