Page MenuHomePhabricator

Enable Extension:WikiLove on Hindi Wikipedia
Closed, ResolvedPublic

Description

Author: vibhijain

Description:
Please enable Extension:WikiLove on Hindi Wikipedia. The local consensus is here:
http://hi.wikipedia.org/wiki/विकिपीडिया:New_Extension


Version: unspecified
Severity: enhancement

Details

Reference
bz29830

Related Objects

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:37 PM
bzimport set Reference to bz29830.
bzimport added a subscriber: Unknown Object (MLST).

'Local consensus' link leads to a nonexistent page.

WikiLove extension does not appear to have been localized into Hindi yet -- interested parties may wish to help out with that over at TranslateWiki: http://translatewiki.net/wiki/Translating:MediaWiki

mayurdce wrote:

Sorry vibhi posted wrong consensus link, it is -http://hi.wikipedia.org/wiki/विकिपीडिया:New_Extensions , All localision can be done by media wiki mesaages i think, we will do that as soon as the extension is installed on hi wiki.Thanks

bugs wrote:

(In reply to comment #2)

Sorry vibhi posted wrong consensus link, it is
-http://hi.wikipedia.org/wiki/विकिपीडिया:New_Extensions , All localision can be
done by media wiki mesaages i think, we will do that as soon as the extension
is installed on hi wiki.Thanks

No, localizations need to be done on TranslateWiki so that all MediaWiki users can use the localizations (everyone using a Hindi interface -- people on enwiki, people on hiwiktionary, people on non-Wikimedia projects that use MediaWiki). You should never be translating messages in the MediaWiki namespace of hiwiki. The only time you need to edit the MediaWiki namespace is if you would like to customize the message for hiwiki, not if you want to alter the translation.

The link to the extension on translatewiki is: http://translatewiki.net/w/i.php?title=Special%3ATranslate&task=untranslated&group=ext-wikilove&language=hi&limit=100

Also, the admins at the Hindi Wikipedia need to create a local config for WikiLove:
http://hi.wikipedia.org/wiki/MediaWiki:WikiLove.js

The English one is here (if you want to copy and adapt it):
http://hi.wikipedia.org/wiki/MediaWiki:WikiLove.js

See http://www.mediawiki.org/wiki/Extension:WikiLove for basic documentation on configuration.

Once the extension is localized to Hindi in TranslateWiki and a local config has been created, I don't see any other problems with enabling it on the Hindi Wikipedia.

vibhijain wrote:

All Localizations are done on translate wiki by me now. The local config will be created soon.

mayurdce wrote:

Every thing is done now, This extension should be installed now.

Not quite, you're going to have to wait 24 hours or so for all the translations to be synced out to SVN by TranslateWiki

vibhijain wrote:

Okay, but I think we can assume now that WikiLove will be enables on hi wiki.

For the local config, keep in mind that you can do more than just translate the descriptions. You can replace all of the items with more regionally appropriate things, like mangoes instead of strawberries and papri chaat instead of cheeseburgers. And if the Hindi Wikipedia doesn't use barnstars, you can replace those with something completely different if you want. Looking forward to seeing what you come up with :)

Once that's ready, I'll put in a request with Ops to turn on the extension for hi.wiki.

jeluf wrote:

Your change has been completed.
Please reopen this ticket if anything went wrong.

The following configuration settings have been changed:

Index: InitialiseSettings.php

  • InitialiseSettings.php (revision 2020)

+++ InitialiseSettings.php (working copy)
@@ -9504,10 +9504,11 @@
),
'wmgUseWikiLove' => array(

	'default' => false,

+ 'enwiki' => true,
+ 'hiwiki' => true,
+ 'mediawikiwiki' => true,

	'officewiki' => true,
	'testwiki' => true,
  • 'enwiki' => true,
  • 'mediawikiwiki' => true, ), 'wmgWikiLoveDefault' => array( 'default' => false,

You can find the entire config file at
http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php

It doesn't look like the config has been localized yet:
http://hi.wikipedia.org/wiki/MediaWiki:WikiLove.js

Can someone who speaks Hindi and is an admin on hi.wiki work on localizing the WikiLove configuration? Also, if you want to replace the cheeseburger icon with something else, there are two alternatives you can easily switch to currently:
/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-cookie.png
/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-beer.png

We can create an entirely new icon for the Food and drink category specifically for the Hindi wikipedia if you can give me a suggestion.

Finally, it looks like there are a few minor formatting issues that I'll work on resolving.

mayurdce wrote:

(In reply to comment #12)

It doesn't look like the config has been localized yet:
http://hi.wikipedia.org/wiki/MediaWiki:WikiLove.js

Can someone who speaks Hindi and is an admin on hi.wiki work on localizing the
WikiLove configuration? Also, if you want to replace the cheeseburger icon with
something else, there are two alternatives you can easily switch to currently:
/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-cookie.png
/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-beer.png

We can create an entirely new icon for the Food and drink category specifically
for the Hindi wikipedia if you can give me a suggestion.

Finally, it looks like there are a few minor formatting issues that I'll work
on resolving.

Thanks, We shall soon localize it and inform you regarding some replacement for hi Wiki,BTW what i noticed is this extension can be made enabled by default through MediaWiki:WikiLove.js or it can only possible by php settings

mayurdce wrote:

Plz also make

'wmgWikiLoveDefault' => array(

'hiwiki' => true,

for hindi Wiki, as user can disable it through their preferences

This should not have been turned on by default without the config localization being done first. Please localize the config so that it is not in English and the content is appropriate for hi.wiki.

Is anyone working on the config localization for Hindi WikiLove? If not, the extension should be turned off until someone actually volunteers to handle this.

vibhijain wrote:

Please tell what are the content for translation?

(In reply to comment #19)

Please tell what are the content for translation?

(In reply to comment #12)

It doesn't look like the config has been localized yet:
http://hi.wikipedia.org/wiki/MediaWiki:WikiLove.js

bugs wrote:

And it's not translation, it's localization. You change the config to fit the templates and "barnstar"/gift/love system on hiwiki. You don't just translate exactly what enwiki has.

The documentation for configuring WikiLove is here:
http://www.mediawiki.org/wiki/Extension:WikiLove#Custom_configuration

The local configuration page is here:
http://hi.wikipedia.org/wiki/MediaWiki:WikiLove.js

I would consider the minimum requirement to be replacing all the English messages with Hindi. What would be nice, though, is if the items are replaced with whatever items are commonly used as gifts on the Hindi Wiki, as Casey said above. The only reason the English Wikipedia has cheeseburgers and kittens in their WikiLove is because those are the items that people were already using as virtual gifts on the project. The items should be tailored to the culture of the wiki.

mayurdce wrote:

(In reply to comment #22)

The documentation for configuring WikiLove is here:
http://www.mediawiki.org/wiki/Extension:WikiLove#Custom_configuration

The local configuration page is here:
http://hi.wikipedia.org/wiki/MediaWiki:WikiLove.js

I would consider the minimum requirement to be replacing all the English
messages with Hindi. What would be nice, though, is if the items are replaced
with whatever items are commonly used as gifts on the Hindi Wiki, as Casey said
above. The only reason the English Wikipedia has cheeseburgers and kittens in
their WikiLove is because those are the items that people were already using as
virtual gifts on the project. The items should be tailored to the culture of
the wiki.

We will surely do that but let it be done by our users suggestion about this extension we will do the same as per their suggestion.I assure you to done that localization ASAP.Regards

mayurdce wrote:

(In reply to comment #22)

The documentation for configuring WikiLove is here:
http://www.mediawiki.org/wiki/Extension:WikiLove#Custom_configuration

The local configuration page is here:
http://hi.wikipedia.org/wiki/MediaWiki:WikiLove.js

I would consider the minimum requirement to be replacing all the English
messages with Hindi. What would be nice, though, is if the items are replaced
with whatever items are commonly used as gifts on the Hindi Wiki, as Casey said
above. The only reason the English Wikipedia has cheeseburgers and kittens in
their WikiLove is because those are the items that people were already using as
virtual gifts on the project. The items should be tailored to the culture of
the wiki.

Hi, I am please to inform you that we have successfully translated and customized all messages at > http://www.mediawiki.org/wiki/Extension:WikiLove#Custom_configuration So plz update that.

Regards
Mayur