http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88405
Revision: 88405
Author: jeroendedauw
Date: 2011-05-19 13:28:26 +0000 (Thu, 19 May 2011)
Log Message:
-----------
some small tweaks
Modified Paths:
--------------
trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php
trunk/extensions/SemanticWatchlist/SemanticWatchlist.i18n.php
trunk/extensions/SemanticWatchlist/SemanticWatchlist.settings.php
Modified: trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php
===================================================================
--- trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php
2011-05-19 13:08:37 UTC (rev 88404)
+++ trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php
2011-05-19 13:28:26 UTC (rev 88405)
@@ -89,7 +89,7 @@
public static function onGetPreferences( User $user, array
&$preferences ) {
$groups = SWLGroups::getAll();
- $preferences['swlemail'] = array(
+ $preferences['swl_email'] = array(
'type' => 'toggle',
'label-message' => 'swl-prefs-emailnofity',
'section' => 'swl/swlnotification',
@@ -124,7 +124,7 @@
$property = "''$property''";
}
- $preferences['swlwatchgroup-' . $group->getId()] =
array(
+ $preferences['swl_watchgroup_' . $group->getId()] =
array(
'type' => 'toggle',
'label' => wfMsgExt(
"swl-prefs-$type-label",
Modified: trunk/extensions/SemanticWatchlist/SemanticWatchlist.i18n.php
===================================================================
--- trunk/extensions/SemanticWatchlist/SemanticWatchlist.i18n.php
2011-05-19 13:08:37 UTC (rev 88404)
+++ trunk/extensions/SemanticWatchlist/SemanticWatchlist.i18n.php
2011-05-19 13:28:26 UTC (rev 88405)
@@ -49,9 +49,9 @@
'prefs-swl' => 'Semantic watchlist',
'prefs-swlgroup' => 'Groups to watch',
'prefs-swlnotification' => 'Notification options',
- 'swl-prefs-category-label' => "'''$1''':
{{PLURAL:$2|property|properties}} $3 from category ''$4''.",
- 'swl-prefs-namespace-label' => "'''$1''':
{{PLURAL:$2|property|properties}} $3 from namespace ''$4''.",
- 'swl-prefs-concept-label' => "'''$1''':
{{PLURAL:$2|property|properties}} $3 from concept ''$4''.",
+ 'swl-prefs-category-label' => "'''$1''':
{{PLURAL:$2|property|properties}} $3 from category ''$4''",
+ 'swl-prefs-namespace-label' => "'''$1''':
{{PLURAL:$2|property|properties}} $3 from namespace ''$4''",
+ 'swl-prefs-concept-label' => "'''$1''':
{{PLURAL:$2|property|properties}} $3 from concept ''$4''",
'swl-prefs-emailnofity' => 'E-mail me on changes to properties I am
watching'
);
Modified: trunk/extensions/SemanticWatchlist/SemanticWatchlist.settings.php
===================================================================
--- trunk/extensions/SemanticWatchlist/SemanticWatchlist.settings.php
2011-05-19 13:08:37 UTC (rev 88404)
+++ trunk/extensions/SemanticWatchlist/SemanticWatchlist.settings.php
2011-05-19 13:28:26 UTC (rev 88405)
@@ -41,3 +41,5 @@
# The maximum amount of generic emails to send about changes untill the user
actually checks his semantic watchlist.
$egSWLMaxMails = 1;
+
+$wgDefaultUserOptions['swl_email'] = false;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs