KartikMistry has uploaded a new change for review. https://gerrit.wikimedia.org/r/106488
Change subject: Update extension setup files ...................................................................... Update extension setup files Change-Id: I2736e51058db204dd485d6fd183eec9917ca50dd --- M AUTHORS.txt M CONTRIBUTING.md M Resources.php M i18n/en.json M i18n/qqq.json 5 files changed, 27 insertions(+), 20 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation refs/changes/88/106488/1 diff --git a/AUTHORS.txt b/AUTHORS.txt index 1c91f88..1b54a13 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -1,3 +1,8 @@ Amir E. Aharoni <[email protected]> +David Chan <[email protected]> +Kartik Mistry <[email protected]> +Pau Giner <[email protected]> +Runa Bhattacharjee <[email protected]> Santhosh Thottingal <[email protected]> Siebrand Mazeland <[email protected]> +Sucheta Ghoshal <[email protected]> diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 62cf448..5738a8b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,4 @@ -# Contributing to ContentTranslation +# Contributing to Content translation Thank you for helping us develop ContentTranslation! @@ -9,7 +9,7 @@ ## Bug reports Please report bugs to [bugzilla.wikimedia.org](https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=ContentTranslation) -using the `ContentTranslation` product. Feel free to use the `General` +using the `ContentTranslation` product. Feel free to use the `General` component if you don't know where else your bug might belong. Don't worry about specifying version, severity, hardware, or OS. @@ -19,7 +19,6 @@ [configured](https://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing) to allow running of tests. Set in `LocalSettings.php`: ```php -// https://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing $wgEnableJavaScriptTest = true; ``` @@ -28,9 +27,9 @@ ## Building documentation -ContentTranslation uses [JSDuck](https://github.com/senchalabs/jsduck) to process -documentation comments embedded in the code. To build the documentation, you -will need `ruby`, `gem`, and `jsduck` installed. +ContentTranslation uses [JSDuck](https://github.com/senchalabs/jsduck) to +process documentation comments embedded in the code. To build the documentation, +you will need `ruby`, `gem`, and `jsduck` installed. ### Installing ruby and gem @@ -61,20 +60,22 @@ ``` You may need to set `MW_INSTALL_PATH` in your environment to the location of -your mediawiki installation if ContentTranslation is not checked out directly in the -mediawiki extensions folder (for example, if you're using a symlink). +your mediawiki installation if ContentTranslation is not checked out directly +in the mediawiki extensions folder (for example, if you're using a symlink). The generated documentation is in the `docs/` subdirectory. View the documentation at `http://URL_OF_MEDIAWIKI/extensions/ContentTranslation/docs/` (for example, <http://localhost/w/extensions/ContentTranslation/docs>). -Note that `jsduck` doesn't support browsing vis the `file:` protocol. +Note that `jsduck` doesn't support browsing is the `file:` protocol. ## ContentTranslation Code Guidelines -We inherit the code structure (about whitespace, naming and comments) conventions -from MediaWiki. See [Manual:Coding conventions/JavaScript](https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript) +We inherit the code structure (about whitespace, naming and comments) +conventions from MediaWiki. + +See [Manual:Coding conventions/JavaScript](https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript) on mediawiki.org. Git commit messages should follow the conventions described in @@ -92,7 +93,8 @@ ### Annotations We use the following annotations. They should be used in the order as they are described -here, for consistency. See [JSDuck/Tags](https://github.com/senchalabs/jsduck/wiki/Tags) for more elaborate documentation. +here, for consistency. See [JSDuck/Tags](https://github.com/senchalabs/jsduck/wiki/Tags) +for more elaborate documentation. * @class Name (optional, guessed) * @abstract diff --git a/Resources.php b/Resources.php index bdee580..9fe644c 100644 --- a/Resources.php +++ b/Resources.php @@ -1,6 +1,6 @@ <?php /** - * JavaScript and CSS resource definitions. + * Resource loader module definitions. * * @file * @license GPL-2.0+ @@ -9,4 +9,4 @@ $resourcePaths = array( 'localBasePath' => __DIR__, 'remoteExtPath' => 'ContentTranslation/modules' -); \ No newline at end of file +); diff --git a/i18n/en.json b/i18n/en.json index cfad421..879d202 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -4,6 +4,6 @@ "Santhosh.thottingal" ] }, - "ct": "Translate page", - "ct-desc": "A tool that allows editors to translate pages from one language to another with the help of machine translation and other translation aids" -} \ No newline at end of file + "cot": "Translate page", + "cot-desc": "A tool that allows editors to translate pages from one language to another with the help of machine translation and other translation aids" +} diff --git a/i18n/qqq.json b/i18n/qqq.json index ec3c176..3d8fd28 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -4,6 +4,6 @@ "Santhosh.thottingal" ] }, - "ct": "Title for [[Special:ContentTranslation]]", - "ct-desc": "{{desc|name=ContentTranslation|url=http://www.mediawiki.org/wiki/Extension:ContentTranslation}}" -} \ No newline at end of file + "cot": "Title for [[Special:ContentTranslation]]", + "cot-desc": "{{desc|name=ContentTranslation|url=http://www.mediawiki.org/wiki/Extension:ContentTranslation}}" +} -- To view, visit https://gerrit.wikimedia.org/r/106488 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2736e51058db204dd485d6fd183eec9917ca50dd Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ContentTranslation Gerrit-Branch: master Gerrit-Owner: KartikMistry <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
