Reedy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/78790
Change subject: Fix indenting. Localise description
......................................................................
Fix indenting. Localise description
Change-Id: Ifcf7a81e6169e756f03bbace44a639199d2ebf54
---
M BayesianFilter.i18n.php
M BayesianFilter.php
2 files changed, 8 insertions(+), 5 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BayesianFilter
refs/changes/90/78790/1
diff --git a/BayesianFilter.i18n.php b/BayesianFilter.i18n.php
index 348129a..bc3cea1 100644
--- a/BayesianFilter.i18n.php
+++ b/BayesianFilter.i18n.php
@@ -9,8 +9,11 @@
$messages = array();
$messages['en'] = array(
- 'flag-spam-check-title' =>
"Mark this checkbox if you think that the edit that you are undoing is a spam",
- 'flag-spam-check' => "Mark this
as Spam"
+ 'bayesianfilter-desc' => 'Filters wiki text into spam and hams using
bayesian techniques',
+ 'flag-spam-check-title' => 'Mark this checkbox if you think that the
edit that you are undoing is a spam',
+ 'flag-spam-check' => 'Mark this as Spam',
+);
- );
-
+$messages['qqq'] = array(
+ 'bayesianfilter-desc' => '{{desc}}',
+);
diff --git a/BayesianFilter.php b/BayesianFilter.php
index 09ad28a..5fe557d 100644
--- a/BayesianFilter.php
+++ b/BayesianFilter.php
@@ -12,7 +12,7 @@
'name' => 'BayesianFilter',
'author' => array( 'Anbhav Agarwal'),
'url' =>
'https://www.mediawiki.org/wiki/Extension:BayesianFilter',
- 'descriptionmsg' => 'Filters wiki text into spam and hams using
bayesian techniques',
+ 'description' => 'bayesianfilter-desc',
);
$dir = __DIR__ . '/';
--
To view, visit https://gerrit.wikimedia.org/r/78790
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifcf7a81e6169e756f03bbace44a639199d2ebf54
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BayesianFilter
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits