Page MenuHomePhabricator

Estonian localization
Closed, ResolvedPublic

Description

Here is the translation into Estonian. Could someone please add it to https://commons.wikimedia.org/wiki/MediaWiki:Gadget-ProveIt-et.json ?

{

"@metadata": {
    "authors": [
        "Cumbril"
    ]
},
"proveit-list-tab": "Loend ($1)",
"proveit-add-tab": "Lisa",
"proveit-reference-name-label": "Viite nimi",
"proveit-reference-content-label": "Viite sisu",
"proveit-reference-template-label": "Põhimall",
"proveit-cite-button": "Viita",
"proveit-remove-button": "Eemalda",
"proveit-insert-button": "Lisa teksti",
"proveit-update-button": "Värskenda",
"proveit-prompt-name": "Pane viitele viitamiseks nimi:",
"proveit-confirm-remove": "See eemaldab viite koos kõigi selle kasutustega. Kas oled kindel?",
"proveit-no-template": "Mall puudub",
"proveit-no-references": "Ühtegi viidet ei leitud"

}

Event Timeline

@Cumbril Thanks! Your localization has been merged to core and added to Commons here.

In order to enable the gadget in the Estonian Wikipedia, the next step would be to gather a list of citation templates in the Estonian Wikipedia that have their TemplateData defined, and then adjust the initialization code found here. You can copy the initialization code to your common.js to test it. The last step is presenting the gadget to the community, with a message like the following:

Hi! The ProveIt gadget has been localized to Estonian, so I'd like to propose adding it to the list of gadgets. ProveIt is a powerful tool that makes it much easier to find, add, edit and delete references when editing articles. You can try it out by adding the following to your common.js:

importScript( 'Kasutaja:Cumbril/proveit.js' );

Thanks for your help so far!

Added it to the list of gadgets of Estonian Wikipedia. Initialization code is here: https://et.wikipedia.org/wiki/MediaWiki:Gadget-ProveIt.js

Does revision tag require anything other than setting the 'proveit-tag' variable in Gadget-ProveIt.js and creating the tag at Special:Tags (same as variable)? This is what I did and yet the tag is not applied to ProveIt revisions.

@Cumbril Awesome! Adding the revision tag to Special:Tags and to the config should suffice. I just tested the gadget on a subpage of my user page and the tag was applied as expected (see Special:Tags). Could you try again? Thanks!

@Sophivorus Yes, I just checked, and now it shows that edits have ProveIt tag. Just took some time to take effect. Thank you!

Sophivorus claimed this task.

@Cumbril Cool, I'm closing this task as completed then, thanks again!

@Sophivorus
I played around some with tagging and noticed that the tag is only applied if you press 'Save changes' button straight after editing article with ProveIt. If you press 'Show preview' or 'Show changes' first, the tag is not applied. Apparently, when you set <input> tag in HTML with method addTag, server does not include it in the response sent back to client, thus it is lost.

Thanks for the research! Could you create a task for this bug? I'd do it
myself but I'm travelling without my computer..

El vie. 30/12/2016, 16:51, Cumbril <no-reply@phabricator.wikimedia.org>
escribió:

Cumbril added a comment.

@Sophivorus https://phabricator.wikimedia.org/p/Sophivorus/
I played around some with tagging and noticed that the tag is only applied
if you press 'Save changes' button straight after editing article with
ProveIt. If you press 'Show preview' or 'Show changes' first, the tag is
not applied. Apparently, when you set <input> tag in HTML with method
addTag, server does not include it in the response sent back to client,
thus it is lost.

*TASK DETAIL*
https://phabricator.wikimedia.org/T154142

*EMAIL PREFERENCES*
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

*To: *Sophivorus, Cumbril
*Cc: *Iniquity, Aklapper, Nemo_bis, Sophivorus, Cumbril, Th3d3v1ls,
Ramalepe, Liugev6, Lewizho99, Maathavan, MuhammadShuaib, Psychoslave,
Gryllida, Shizhao, Arrbee, Jay8g

@Sophivorus
Sure, I will create a task. Wasn't sure if this is a bug or feature...