[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2019-04-02 Thread gerritbot
gerritbot added a comment. Change 335832 abandoned by Thiemo Kreuz (WMDE): Some code that uses LuaCode as formatter Reason: The fact this is marked as work in progress as well as the commit message probably mean this was created as a demonstration for T151329

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2018-05-22 Thread Lydia_Pintscher
Lydia_Pintscher added a comment. We didn't have the time for it yet unfortunately.TASK DETAILhttps://phabricator.wikimedia.org/T151329EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lydia_PintscherCc: Gstupp, Glorian_WD, WMDE-leszek, Mbch331, Aleksey_WMDE, thi

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2018-05-22 Thread Gstupp
Gstupp added a comment. Just a followup question: "We will introduce a way to make a statement on the property that links to a Lua module that provides the correct link for the given identifier." Does this exist yet or is it in progress? @Lydia_PintscherTASK DETAILhttps://phabricator.wikimedia.org

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2017-02-27 Thread Esc3300
Esc3300 added a comment. An advantage of using regex is that it could also be reproduced on query serverTASK DETAILhttps://phabricator.wikimedia.org/T151329EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Aleksey_WMDE, Esc3300Cc: Gstupp, Glorian_WD, WMDE-leszek

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2017-02-27 Thread Esc3300
Esc3300 added a comment. @Aleksey_WMDE : even LUA requires maintenance and support by devs .. currently there is no similar featureTASK DETAILhttps://phabricator.wikimedia.org/T151329EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Aleksey_WMDE, Esc3300Cc: Gstu

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2017-02-17 Thread Aleksey_WMDE
Aleksey_WMDE added a comment. Decision matrix: https://docs.google.com/spreadsheets/d/1CTxB7I2BodpdOh0JNwzrR-ekA63q2SzV1j1T4dyBtDcTASK DETAILhttps://phabricator.wikimedia.org/T151329EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Aleksey_WMDECc: Gstupp, Gloria

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2017-02-10 Thread WMDE-leszek
WMDE-leszek added a comment. I am not the most proper person to review the draft linked above but just wanted to comment in case it is a general problem. I cannot access this draft. When you submit a patch as a draft only people who you add as reviewers can open it in gerrit. It is fine if it was w

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2017-02-03 Thread Aleksey_WMDE
Aleksey_WMDE added a comment. Draft: https://gerrit.wikimedia.org/r/#/c/335832/TASK DETAILhttps://phabricator.wikimedia.org/T151329EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Aleksey_WMDECc: Gstupp, Glorian_WD, WMDE-leszek, Mbch331, Aleksey_WMDE, thiemowmd

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2017-01-20 Thread Aleksey_WMDE
Aleksey_WMDE added a comment. Use Lua code as property's property to define formatter function (as a raw code or a module reference). also: * CONS Have to be supported by developers Probably I didn't put it the right way: The idea is to allow "any" user to add and/or modify the Lua code (which

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2017-01-20 Thread Esc3300
Esc3300 added a comment. In T151329#2953610, @Aleksey_WMDE wrote: [..] 3. Splitting the property into multiple properties also: * CONS can't cover use cases like ISIL also: * CONS leads to an indefinite number of properties for basic uses like catalog codes 4. Wikibase provides list of

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2017-01-19 Thread Mbch331
Mbch331 added a comment. In T151329#2953610, @Aleksey_WMDE wrote: Ways to build URL for external IDs === Here are some thoughts on this topic: Use external IDs format that will work with current approach (ex.: for https://cricketarchive.com/Archive/Players/41/41464/4146

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2017-01-19 Thread Aleksey_WMDE
Aleksey_WMDE added a comment. Ways to build URL for external IDs Here are some thoughts on this topic: Replace $1 with id in URL template like http://domain.com/$1 (current way) CONS Doesn't work for a range of websites (see: current workaround) Use external IDs format that will work with curre

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2017-01-16 Thread Esc3300
Esc3300 added a comment. I think it would be awesome to get some things done ..TASK DETAILhttps://phabricator.wikimedia.org/T151329EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Esc3300Cc: thiemowmde, Pasleim, Esc3300, Aklapper, Stigmj, Nikki, hoo, Lydia_Pint

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2017-01-13 Thread thiemowmde
thiemowmde added a comment. We should aim for a solution that solves all these problems. Regular expressions are problematic (security and performance risk, very high complexity) and should be avoided. I would love to see us using Lua snippets for such case-by-case formatting. Using a real programm

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2016-11-23 Thread Pasleim
Pasleim added a comment. A solution for P213,P919 and possibly others would be adding capturing groups to the regular _expression_ and using these capturing groups to create the URL. For P919 this could look as follows: *regular _expression_: (\d{2})-(\d{4}) *formatter URL: http://www.bls.gov/soc/

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2016-11-22 Thread Esc3300
Esc3300 added a comment. As you noted, solution #1 isn't possible, so we need to find another way. Asking others to set up redirects might be an easy solution, but I'm not sure if using another redirect service is really good practice. I can understand that you don't want to include code specific

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2016-11-22 Thread hoo
hoo added a comment. In T151329#2814681, @Esc3300 wrote: Is there a problem with specific lines in https://github.com/arthurpsmith/wikidata-tools/blob/master/wikidata-externalid-url/index.php that can't be written in Wikibase? Well, Wikibase should not know about its content, thus we can't "jus

[Wikidata-bugs] [Maniphest] [Commented On] T151329: [Task] investigate https://tools.wmflabs.org/wikidata-externalid-url to see if we can do some of that in Wikibase directly

2016-11-22 Thread hoo
hoo added a comment. The IMDB handler (P345) just maps various id prefixes to URLs, that's best addressed by splitting the property in question (which has been discussed, but declined before). Various consumers (for example the English Wikipedia), have similar handling for separating the various k