Board Thread:Script Suggestions/@comment-28857013-20141204151215/@comment-4018164-20141204165159

Is what you're trying to do a SVG avatar feature that anyone can request, or just for your avatar? In either cases, you can use the API for 2 key things that could help you: These can all be obtained using $.getJSON.
 * API:Users- get the user ID of someone by their username (|Sactage|WikiaBot example)
 * API:Properties#imageinfo / ii- get the file URL of an image by its file name (|File:Wiki-wordmark.png example)