Nikki added a comment.

It might seem simple to you, but you have a lot more experience than most of us. :) The various methods all involve multiple functions, which means remembering which functions you need for the method you want to use, which order to use them in, which arguments the functions take and which order those arguments go in, plus getting the right number of closing brackets and putting them in the right places. That's a lot of places you can go wrong and I suspect plenty of less experienced people would resort to copying and pasting it from somewhere when they need it because they don't remember the exact sequence of words and punctuation needed.

I would personally prefer a triple because they really are simple. All you have to remember is the name of the predicate you need and then stick a variable name after it, it even binds the variable for you, but even a dedicated function would be an improvement because it would involve fewer functions and arguments and you don't have to remember the less obvious things like having to turn the item into a string to get the URI before you can extract anything from it.


TASK DETAIL
https://phabricator.wikimedia.org/T170788

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

To: Nikki
Cc: Smalyshev, Mike_Peel, Nikki, Aklapper, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to