[Wikidata-bugs] [Maniphest] [Updated] T133658: [Story] Improve textual representation of query parameters and services

2016-08-13 Thread Jonas
Jonas removed a project: Patch-For-Review.Jonas edited the task description. (Show Details)
EDIT DETAILSWe would like to have a textual representation of LIMIT, label language and  geo search.

We would also like to edit the valueshave a textual representation of that representations.
LIMIT: Sliderlabel language and  geo search.
We would also like to select numberedit the values of that representations.

Label language: add, remove language with ULS...TASK DETAILhttps://phabricator.wikimedia.org/T133658EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JonasCc: gerritbot, Aklapper, Jonas, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T134723: Project Weekly Reports for Automated Testing and Integration of IFTTT support to Wikidata

2016-08-13 Thread D3r1ck01
D3r1ck01 edited the task description. (Show Details)
EDIT DETAILS...* Created an account on the [[https://medium.com | Medium Website]] in which Icom | Medium Website]] in which I will use to post my GSoC blog as recommended by the mentors.
* Pencils down, Code clean up and documentation of various section of my codes. The various commits for the documentation are here: [[https://github.com/ch3nkula/ifttt/commit/3e039f637fc6b9793b00852619cdfa552df7a3fcv| Docstring Fixes in ifttt-tests.py]], [[https://github.com/ch3nkula/ifttt/commit/943bd742c982f6bfcbac1c9cdbbc6b9bdf348664 | Code Cleanup and Documentation]] and [[https://github.com/ch3nkula/ifttt/commit/4897f0b90c557a5b9dbcfe46f41ff990562311bb | Code Cleanup]].
* Filling up the various occupations that IFTTT users will select as option in the IFTTT front-end in the birthday trigger configuration. Property used is occupation, so I am finding the most interesting occupations on Wikidata that will use to post my GSoC blog as recommended by the mentorsreturn results from Wikidata to fill up the IFTTT trigger occupation options.TASK DETAILhttps://phabricator.wikimedia.org/T134723EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: D3r1ck01Cc: Zppix, Bene, Samtar, hoo, Lydia_Pintscher, Slaporte, Aklapper, Sumit, D3r1ck01, Lethexie, Izno, Wikidata-bugs, aude, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Block] T137781: Adding/Editing references is confusing

2016-08-13 Thread Jonas
Jonas reopened subtask T141862: Visual seperation of qualifiers,  references as "Open".
TASK DETAILhttps://phabricator.wikimedia.org/T137781EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JonasCc: Lydia_Pintscher, aude, Jonas, thiemowmde, Aklapper, Charlie_WMDE, Zppix, Jan_Dittrich, D3r1ck01, Izno, Wikidata-bugs, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Reopened] T141862: Visual seperation of qualifiers, references

2016-08-13 Thread Jonas
Jonas reopened this task as "Open".
TASK DETAILhttps://phabricator.wikimedia.org/T141862EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JonasCc: gerritbot, Lydia_Pintscher, Charlie_WMDE, thiemowmde, Jonas, Aklapper, Jan_Dittrich, Lewizho99, Maathavan, D3r1ck01, 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] T141862: Visual seperation of qualifiers, references

2016-08-13 Thread Jonas
Jonas added a comment.
When adding new statement it looks broken :(

F4360093: pasted_file

F4360095: pasted_fileTASK DETAILhttps://phabricator.wikimedia.org/T141862EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JonasCc: gerritbot, Lydia_Pintscher, Charlie_WMDE, thiemowmde, Jonas, Aklapper, Jan_Dittrich, Lewizho99, Maathavan, D3r1ck01, 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] T142906: Data access in user language doesn't obey the uselang get parameter

2016-08-13 Thread hoo
hoo added a comment.

In T142906#2550418, @zhuyifei1999 wrote:
= T140792 ?


Merged the other task into this one, as this has more technical details.TASK DETAILhttps://phabricator.wikimedia.org/T142906EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hooCc: Zppix, Jarekt, Geagea, Raymond, zhuyifei1999, aude, daniel, hoo, Zolo, Aklapper, D3r1ck01, Izno, Wikidata-bugs, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Merged] T140792: mw.wikibase.label does not always respect uselang=

2016-08-13 Thread hoo
hoo closed this task as a duplicate of T142906: Data access in user language doesn't obey the uselang get parameter.
TASK DETAILhttps://phabricator.wikimedia.org/T140792EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hooCc: Raymond, Geagea, Jarekt, Aklapper, Zppix, zhuyifei1999, D3r1ck01, Izno, Wikidata-bugs, aude, Dinoguy1000, jayvdb, MrStradivarius, Anomie, Jackmcbarn, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Assigned] T141958: Notice: Undefined property: Wikibase\Client\DataAccess\Scribunto\Scribunto_LuaWikibaseLibrary::$repoLinker in /srv/mediawiki/php-1.28.0-wmf.12/extension

2016-08-13 Thread matej_suchanek
matej_suchanek assigned this task to aude.matej_suchanek added a project: TestMe.Herald added a subscriber: TerraCodes.
TASK DETAILhttps://phabricator.wikimedia.org/T141958EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: aude, matej_suchanekCc: TerraCodes, gerritbot, Aklapper, aude, D3r1ck01, Izno, Luke081515, Wikidata-bugs, Mbch331, Jay8g, Krenair___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Closed] T141630: Uncaught TypeError: newSiteLinkSet.getKeys is not a function

2016-08-13 Thread matej_suchanek
matej_suchanek closed this task as "Resolved".matej_suchanek assigned this task to aude.
TASK DETAILhttps://phabricator.wikimedia.org/T141630EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: aude, matej_suchanekCc: Jonas, gerritbot, aude, Aklapper, D3r1ck01, Izno, Wikidata-bugs, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T138332: interwiki links to/from https://wikisource.org

2016-08-13 Thread matej_suchanek
matej_suchanek added a parent task: T109579: [Epic] Give more sister projects access to Wikidata.
TASK DETAILhttps://phabricator.wikimedia.org/T138332EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Mbch331, Lydia_Pintscher, Thibaut120094, Aklapper, Yann, Zppix, D3r1ck01, Izno, Wikidata-bugs, aude, jayvdb, Shizhao, Billinghurst, Krenair___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T109579: [Epic] Give more sister projects access to Wikidata

2016-08-13 Thread matej_suchanek
matej_suchanek added a subtask: T138332: interwiki links to/from https://wikisource.org.
TASK DETAILhttps://phabricator.wikimedia.org/T109579EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Superchilum, Micru, intracer, Darkdadaah, MZMcBride, Krenair, Candalua, Liuxinyu970226, Ricordisamoa, Aklapper, Lydia_Pintscher, D3r1ck01, 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] [Merged] T140533: Undeleting item shows exception, sometimes impossible

2016-08-13 Thread matej_suchanek
matej_suchanek added a subscriber: Smalyshev.matej_suchanek merged a task: T137249: Exception when restoring deleted item on test.wikidata.org.
TASK DETAILhttps://phabricator.wikimedia.org/T140533EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Smalyshev, gerritbot, aude, Aklapper, matej_suchanek, Zppix, D3r1ck01, Izno, Wikidata-bugs, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T137249: Exception when restoring deleted item on test.wikidata.org

2016-08-13 Thread matej_suchanek
matej_suchanek closed this task as a duplicate of T140533: Undeleting item shows exception, sometimes impossible.
TASK DETAILhttps://phabricator.wikimedia.org/T137249EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, Zppix, Smalyshev, D3r1ck01, 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] T142906: Data access in user language doesn't obey the uselang get parameter

2016-08-13 Thread zhuyifei1999
zhuyifei1999 added a comment.
= T140792 ?TASK DETAILhttps://phabricator.wikimedia.org/T142906EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999Cc: zhuyifei1999, aude, daniel, hoo, Zolo, Aklapper, D3r1ck01, Izno, Wikidata-bugs, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T75460: [Story] Make Lua functions default to the user's language on multilingual wikis

2016-08-13 Thread hoo
hoo added a comment.

In T75460#2550259, @Zolo wrote:
There is a problem that we had not noticed before: T140792.
 …


I've created T142906: Data access in user language doesn't obey the uselang get parameter for that.TASK DETAILhttps://phabricator.wikimedia.org/T75460EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hooCc: Zolo, gerritbot, Ricordisamoa, Rical, daniel, Aklapper, Daniel_Mietchen, Wikidata-bugs, TheDJ, mxn, GWicke, Multichill, Lydia_Pintscher, hoo, Vali.matei, D3r1ck01, Izno, aude, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Created] T142906: Data access in user language doesn't obey the uselang get parameter

2016-08-13 Thread hoo
hoo created this task.hoo added projects: Wikidata, MediaWiki-extensions-WikibaseClient.Herald added a subscriber: Aklapper.
TASK DESCRIPTION
In T75460#2550259, @Zolo wrote:
There is a problem that we had not noticed before: T140792.

mw.wikibase.label() takes into account the user's default language, and does not change language when ?uselang=xx is added to the URL. This is 
 I see two possible solutions:


change the behavior of mw.wikibase.label() so that it takes into account ?uselang
provide a Lua function that retrieves the user's language using the same criteria as mw.wikibase.label() so that we can adapt Lua modules to fix the ?uselang= issue locally.



Apparently ParserOptions::getUser()->getOption( 'language' ) doesn't provide the right language here, only ParserOptions::getUserLang() does. We use the former as an optimization in Scribunto_LuaWikibaseLibrary::getLanguage and Scribunto_LuaWikibaseEntityLibrary::getLanguage to only split the parser cache when actually needed.

As far as I see, we only call getLanguage when a Lua function is called anyway, so this hack probably doesn't save us much, so I suggest dropping it.TASK DETAILhttps://phabricator.wikimedia.org/T142906EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hooCc: aude, daniel, hoo, Zolo, Aklapper, D3r1ck01, Izno, Wikidata-bugs, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Retitled] T142903: Get sitelink from Item without loading the full Item (via Lua).

2016-08-13 Thread hoo
hoo changed the title from "Get Wikipedia link without loading the full item on sister projects." to "Get sitelink from Item without loading the full Item (via Lua).".hoo added a project: MediaWiki-extensions-WikibaseClient.
TASK DETAILhttps://phabricator.wikimedia.org/T142903EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hooCc: hoo, Jarekt, Zolo, Aklapper, D3r1ck01, 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] [Created] T142905: Segmentation fault in php 5.5 for Wikidata build

2016-08-13 Thread aude
aude created this task.aude added a project: Wikidata.Herald added a subscriber: Aklapper.
TASK DESCRIPTIONhttps://gerrit.wikimedia.org/r/#/c/304611/

10:02:24 ...  3422 / 10345 ( 33%)
10:02:31 ...  3481 / 10345 ( 33%)
10:02:33 ...S...  3540 / 10345 ( 34%)
10:02:36 ...  3599 / 10345 ( 34%)
10:02:38 ...  3658 / 10345 ( 35%)
10:02:39 ...  3717 / 10345 ( 35%)
10:02:41 ../srv/deployment/integration/slave-scripts/bin/mw-run-phpunit-allexts.sh: line 22: 25427 Segmentation fault  $PHP_BIN phpunit.php --log-junit "$JUNIT_DEST" --testsuite extensions
10:02:41 Build step 'Execute shell' marked build as failure
10:02:41 Recording test results
10:02:41 [PostBuildScript] - Execution post build scripts.
10:02:41 [mwext-testextension-php55] $ /bin/bash -xe /tmp/hudson8996816272568185092.sh
10:02:41 + /srv/deployment/integration/slave-scripts/bin/mw-teardown-mysql.sh
10:02:42 Archiving artifacts
10:02:42 Finished: FAILURETASK DETAILhttps://phabricator.wikimedia.org/T142905EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: audeCc: aude, Aklapper, D3r1ck01, Izno, Wikidata-bugs, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T142903: Get Wikipedia link without loading the full item on sister projects.

2016-08-13 Thread hoo
hoo added a comment.
Which Wikipedia would that link to? Also Wikibase doesn't know anything about Wikipedia, so such a function name wouldn't be possible.

I can imagine building something like mw.wikibase.getSiteLinksBySite( 'eswiki' ) or mw.wikibase.getSiteLinksBySiteGroup( 'wikipedia' ) based on a SiteLinkLookup.TASK DETAILhttps://phabricator.wikimedia.org/T142903EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hooCc: hoo, Jarekt, Zolo, Aklapper, D3r1ck01, 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] T142107: Update documentation on mediawiki.org

2016-08-13 Thread matej_suchanek
matej_suchanek added a comment.
https://www.mediawiki.org/w/index.php?title=Help:Notifications/Notifications_types=2214984=2214425TASK DETAILhttps://phabricator.wikimedia.org/T142107EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Trizek-WMF, Aklapper, Lydia_Pintscher, matej_suchanek, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331, Jay8g, Spage___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Claimed] T142107: Update documentation on mediawiki.org

2016-08-13 Thread matej_suchanek
matej_suchanek claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T142107EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Trizek-WMF, Aklapper, Lydia_Pintscher, matej_suchanek, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331, Jay8g, Spage___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Created] T142903: Get Wikipedia link without loading the full item on sister projects.

2016-08-13 Thread Zolo
Zolo created this task.Zolo added a project: Wikidata.Herald added a subscriber: Aklapper.
TASK DESCRIPTIONThanks to T75460 we now get the label in the use's language in a multilingual project. However, on Commons, in many, perhaps, most cases, the label should be accompanied by a link to Wikipedia. For instance, if we provide an artist name, we want a put a link to Wikipedia in the user's language. If we want to get the link, we need to load the item, which annihilate the gain provided by T75460. A dedicated mw.wikibase.wikipedialink() would really come in handy here.TASK DETAILhttps://phabricator.wikimedia.org/T142903EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: ZoloCc: hoo, Jarekt, Zolo, Aklapper, D3r1ck01, 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] T75460: [Story] Make Lua functions default to the user's language on multilingual wikis

2016-08-13 Thread Zolo
Zolo added a comment.
We actually have one problem we had not noticed before. mw.wikibase.label() takes into account the user's default language, and does not change language when ?uselang=xx is added to the URL. This is 
I see two solutions:


change the be
provide
TASK DETAILhttps://phabricator.wikimedia.org/T75460EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hoo, ZoloCc: Zolo, gerritbot, Ricordisamoa, Rical, daniel, Aklapper, Daniel_Mietchen, Wikidata-bugs, TheDJ, mxn, GWicke, Multichill, Lydia_Pintscher, hoo, Vali.matei, D3r1ck01, Izno, aude, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T140792: mw.wikibase.label does not always respect uselang=

2016-08-13 Thread zhuyifei1999
zhuyifei1999 added a comment.
@Geagea https://commons.wikimedia.org/w/index.php?title=Module:Wikidata/FormatEntity=203794376=203688642TASK DETAILhttps://phabricator.wikimedia.org/T140792EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999Cc: Raymond, Geagea, Jarekt, Aklapper, Zppix, zhuyifei1999, D3r1ck01, Izno, Wikidata-bugs, aude, Dinoguy1000, jayvdb, MrStradivarius, Anomie, Jackmcbarn, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs