Fo0bar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/50723


Change subject: Add i18n message documentation
......................................................................

Add i18n message documentation

Per https://www.mediawiki.org/wiki/I18n#Message_documentation .
Also, adjust URL to https for Translatewiki.net.

Change-Id: I3676fa787bde90b14ed3dad6d737f0c31359beef
---
M SecureHTML.i18n.php
M SecureHTML.php
2 files changed, 22 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SecureHTML 
refs/changes/23/50723/1

diff --git a/SecureHTML.i18n.php b/SecureHTML.i18n.php
index d2254c5..9e88de3 100644
--- a/SecureHTML.i18n.php
+++ b/SecureHTML.i18n.php
@@ -27,3 +27,24 @@
        'securehtml-inputinstructions' => 'Enter a key name (optional), key 
secret, and desired raw HTML.  If no key name is specified, the first key in 
wgSecureHTMLSecrets will be assumed.',
        'securehtml-outputinstructions' => 'Copy the code above EXACTLY and 
paste it into the wiki editor.  If the generated code does not work, try 
removing all linefeeds from the input HTML and re-generate.',
 );
+
+/** Message documentation (Message documentation) */
+$messages['qqq'] = array(
+       'securehtml' => 'The title of Special:SecureHTML; also seen in 
Special:SpecialPages.',
+       'securehtml-desc' => 'Special:Version description of the extension.',
+       'securehtml-nokeys' => 'Rendered by the <shtml> tag when the extension 
is not configured.  "wgSecureHTMLSecrets" is a global variable and should not 
be translated.',
+       'securehtml-legacykeys' => 'Special:SecureHTML: Warning message, 
displayed when the user is using a legacy configuration.  "wgSecureHTMLSecrets" 
is a global variable and should not be translated.',
+       'securehtml-invalidhash' => 'Rendered by the <shtml> tag when an 
invalid hash is calculated.',
+       'securehtml-invalidversion' => 'Rendered by the <shtml> tag when an 
invalid version is given.',
+       'securehtml-input-title' => 'Special:SecureHTML: The title sub-header 
for the HTML input form section.',
+       'securehtml-generatedoutput-title' => 'Special:SecureHTML: The title 
sub-header for the calculated code output of the user input.',
+       'securehtml-renderedhhtml-title' => 'Special:SecureHTML: The title 
sub-header for the rendered output of the user input.',
+       'securehtml-form-version' => 'Special:SecureHTML: Input form item title 
for the hash key version.',
+       'securehtml-form-deprecated' => 'Special:SecureHTML: Applied as a short 
descriptive warning after elements in the input form which are deprecated.  For 
example, "1 (deprecated)" in the version dropdown menu, or "oldkeyname 
(deprecated)" in the key name dropdown menu.',
+       'securehtml-form-keyname' => 'Special:SecureHTML: Input form item title 
for the hash key name.',
+       'securehtml-form-keysecret' => 'Special:SecureHTML: Input form item 
title for the hash key secret.',
+       'securehtml-form-html' => 'Special:SecureHTML: Input form item title 
for the HTML input box.',
+       'securehtml-form-submit' => 'Special:SecureHTML: Input form submit 
button text.',
+       'securehtml-inputinstructions' => 'Special:SecureHTML: Instructions for 
filling in the input form.  "wgSecureHTMLSecrets" is a global variable and 
should not be translated.',
+       'securehtml-outputinstructions' => 'Special:SecureHTML: Instructions 
using the output returned by filling in the input form.',
+);
diff --git a/SecureHTML.php b/SecureHTML.php
index 3f9f001..cc7864c 100644
--- a/SecureHTML.php
+++ b/SecureHTML.php
@@ -37,7 +37,7 @@
        'path' => __FILE__,
        'name' => 'Secure HTML',
        'author' => 'Ryan Finnie',
-       'url' => 'http://www.mediawiki.org/wiki/Extension:Secure_HTML',
+       'url' => 'https://www.mediawiki.org/wiki/Extension:Secure_HTML',
        'descriptionmsg' => 'securehtml-desc',
        'version' => '2.2.1',
 );

-- 
To view, visit https://gerrit.wikimedia.org/r/50723
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3676fa787bde90b14ed3dad6d737f0c31359beef
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SecureHTML
Gerrit-Branch: master
Gerrit-Owner: Fo0bar <r...@finnie.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to