Fixing the WS Contest tool


· Wikisource · Wikimedia · Toolforge · WS Contest tool ·

The WS Contest tool was breaking on Index pages that don't yet have any (existing) pages. The problem was in the usage of the dflydev/dot-access-data, which is a thing for pulling values out of deep arrays. It's sort of useful, but not widely used so does feel a bit weird. Maybe we should remove it from wikisource/api.

Actually, scratch that: I just went to look, and it's got eighty-three million installs on Packagist. So I guess it's more widely used than I'd thought. I'll leave it in for now.

← PreviousNext →
Comments on this post
No comments yet