[Wikidata-bugs] [Maniphest] [Commented On] T167259: Add monolingual code fkv (Kven Finnish)

2017-06-10 Thread Ladsgroup
Ladsgroup added a comment.
In that case, it's better to rename this task (deciding to add it to wmgExtraLanguageNames is not my call)TASK DETAILhttps://phabricator.wikimedia.org/T167259EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: LadsgroupCc: Nikki, gerritbot, Lydia_Pintscher, WMDE-leszek, Amire80, Nikerabbit, Esc3300, Aklapper, thiemowmde, GerardM, jhsoby, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Changed Subscribers] T167259: Add monolingual code fkv (Kven Finnish)

2017-06-10 Thread jhsoby
jhsoby added a subscriber: Nikki.jhsoby added a comment.
Thank you, @Ladsgroup! I didn't realize it was already there (obviously). What I really wanted was for it to be added to wmgExtraLanguageNames (as described by @Nikki in T144272#3335612, so that we can add labels and descriptions in Kven. How should I go about to achieve that?TASK DETAILhttps://phabricator.wikimedia.org/T167259EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ladsgroup, jhsobyCc: Nikki, gerritbot, Lydia_Pintscher, WMDE-leszek, Amire80, Nikerabbit, Esc3300, Aklapper, thiemowmde, GerardM, jhsoby, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T167023: Understand how hooks work

2017-06-10 Thread Kiailandi
Kiailandi added a comment.
From wikimedia manual on hooks :

Hooks allow custom code to be executed when some defined event (such as saving a page or a user logging in) occurs.
 [...]
 MediaWiki provides many hooks like this to extend the functionality of the MediaWiki software. Assigning a function (known as an event handler) to a hook will cause that function to be called at the appropriate point in the main MediaWiki code, to perform whatever additional task(s) the developer thinks would be useful at that point. Each hook can have multiple handlers assigned to it, in which case it will call the functions in the order that they are assigned, with any modifications made by one function passed on to subsequent functions in the chain.





A list of hooks sorted by function can be found here: hooks grouped by function.

In my opinion we will need to use the Page Rendering group and the Skinning / Templates group.

I also think that further study of skins and templates is mandatory as they seem the right way to customize / extend the interface based on active extensions. Will probably open a new ticket to document progress on this.



An description of each hook with params can be found here hooks.txtTASK DETAILhttps://phabricator.wikimedia.org/T167023EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: KiailandiCc: Aklapper, Hjfocs, Kiailandi, dachary, Wikidata-bugs, Ricordisamoa, Sjoerddebruin, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Unassigned] T76391: Only load item in harvest_template.py when needed

2017-06-10 Thread Xqt
Xqt removed Pywikibugs as the assignee of this task.
TASK DETAILhttps://phabricator.wikimedia.org/T76391EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Aklapper, jayvdb, pywikibot-bugs-list, Multichill, Pywikibugs, GoranSMilovanovic, Magul, QZanden, Tbscho, MayS, Vali.matei, Mdupont, JJMC89, Avicennasis, Volker_E, Izno, Wikidata-bugs, aude, GWicke, Ricordisamoa, Dalba, Masti, Alchimista, Mbch331, Rxy, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T167024: Install and play with MediaWiki extension

2017-06-10 Thread Kiailandi
Kiailandi added a comment.
This is the mediawiki-extensions github repo, it is a mirror of the original repo hosted with Gerrit.TASK DETAILhttps://phabricator.wikimedia.org/T167024EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: KiailandiCc: Aklapper, Hjfocs, Kiailandi, dachary, Wikidata-bugs, Ricordisamoa, Sjoerddebruin, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T167024: Install and play with MediaWiki extension

2017-06-10 Thread Kiailandi
Kiailandi added a comment.

The first step was setting up mediawiki in a local development environment
Decided to use docker
Found this repo: https://github.com/wikimedia/mediawiki-docker
As you can see a lot of work is needed to set up (configure)
Found out the project is not "full/stable release" and is a work in progress, ticket here T92826

Moved to vagrant
Followed these instructions https://www.mediawiki.org/wiki/MediaWiki-Vagrant
Up and running in minutes without any problem


Second step was to get into the virtual machine and install an extension
connect to machine via ssh with $ vagrant ssh 
install extensions using these general instructions and specific ones found in each extension page
if you don't feel confortable editing extensions files via console you can do it with your IDE on your machine and then move them on the virtual machine via the vagrant shared folder

TASK DETAILhttps://phabricator.wikimedia.org/T167024EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: KiailandiCc: Aklapper, Hjfocs, Kiailandi, dachary, Wikidata-bugs, Ricordisamoa, Sjoerddebruin, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Created] T167574: Wikidata entities used in a page are not shown in preview

2017-06-10 Thread petr.matas
petr.matas created this task.petr.matas added a project: MediaWiki-extensions-WikibaseClient.Herald added a subscriber: Aklapper.Herald added a project: Wikidata.
TASK DESCRIPTIONSteps to reproduce:


Open a Wikipedia page, which uses some data from the connected or other entity, and click Edit source
Wikidata entities used in this page are shown at the bottom of the page [OK]

Click Show preview
Expected: Wikidata entities used in this page are shown at the bottom of the page
Actual: Wikidata entities used in this page are NOT shown [BUG]



Tested on enwiki and cswikiTASK DETAILhttps://phabricator.wikimedia.org/T167574EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: petr.matasCc: petr.matas, Aklapper, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T74815: [Task] Add Lua function to get Wikibase entity by site link (title)

2017-06-10 Thread petr.matas
petr.matas added a comment.
For the sake of naming consistency, maybe the new function's name should be mw.wikibase.getEntityIdForSitelink because we already have functions mw.wikibase.sitelink and mw.wikibase.entity:getSitelink. The latter has an optional parameter globalSiteId with values like "enwiki".TASK DETAILhttps://phabricator.wikimedia.org/T74815EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: petr.matasCc: petr.matas, Supernino, Paucabot, gerritbot, Agabi10, Jan_Dittrich, srishakatux, Tpt, Jarekt, Wesalius, Zppix, czar, Strainu, Dvorapa, Base, Lucie, Pasleim, SJu, Bene, Herzi.Pinki, Mbch331, Daniel_Mietchen, Aklapper, Edgars2007, matej_suchanek, Aubrey, Accurimbono, ValterVB, Nemo_bis, Yair_rand, Liuxinyu970226, Candalua, Ricordisamoa, Wikidata-bugs, JulesWinnfield-hu, Lydia_Pintscher, hoo, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, SamanthaNguyen, Izno, aude, RandomDSdevel, He7d3r, Jdforrester-WMF, Ladsgroup, Jay8g, Tgr___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs