These are chat archives for arenanet/api-cdi

17th
Jun 2017
Archomeda
@Archomeda
Jun 17 2017 02:08
aw yeah, it works
image.png
takes a few mediawiki api queries, but hey, i got the icon :D
and thanks to whoever mentioned previously that the folder the images are stored in, are actually a part of md5 hashes
smiley
@codemasher
Jun 17 2017 02:16
we used to have these as signature and file_id back in the day
or did you mean the wiki sotrage folders? :D
Archomeda
@Archomeda
Jun 17 2017 02:17
yeah, the folder like /3/31/ for HOPE.png
smiley
@codemasher
Jun 17 2017 02:17
yea, that's quite useful knowledge
Archomeda
@Archomeda
Jun 17 2017 02:18
anyone know why the image is defined as HOPE.png#6# in this query?
under Has_game_icon
i don't know why there are hashtags all over the place :(
smiley
@codemasher
Jun 17 2017 02:19
versioning?
Archomeda
@Archomeda
Jun 17 2017 02:19
thought so too, but there seems to be only one version
smiley
@codemasher
Jun 17 2017 02:19
hm
Archomeda
@Archomeda
Jun 17 2017 02:19
i mean, i'm stripping it away without a problem, it's just weird
smiley
@codemasher
Jun 17 2017 02:20
i guess reading the docs helps :D
Archomeda
@Archomeda
Jun 17 2017 02:20
if i can find it :D
smiley
@codemasher
Jun 17 2017 02:21
dig through the dark depths of the mediawiki source!
Archomeda
@Archomeda
Jun 17 2017 02:21
i'm just glad i found the semantic mediawiki api
smiley
@codemasher
Jun 17 2017 02:21
is it the linked SMW attributes then maybe?
Archomeda
@Archomeda
Jun 17 2017 02:23
dunno :/
ChieftainAlex
@ChieftainAlex
Jun 17 2017 08:37
yuck using browse in an api query :/
Archomeda
@Archomeda
Jun 17 2017 13:40
is there a way to do it differently then? :D
ChieftainAlex
@ChieftainAlex
Jun 17 2017 17:20
nope, but it's a nasty interface at the best of times without the api :D
I couldn't find any documented reason for the # sign rubbish
Archomeda
@Archomeda
Jun 17 2017 18:47
:(
i don't even know what the parameter subobject is supposed to do
then again, i understand very little of SMW :P
ChieftainAlex
@ChieftainAlex
Jun 17 2017 22:02
"subobjects" are like a group of properties, similar to a page, but you can generate hundreds of subobjects on one page
e.g. instead of documenting each levelling reward item with a separate page, there's a subobject for each weapon variant all stored on the same page