[intrawiki-link-graph] Fix some parsing issues
[intrawiki-link-graph] Change run.sh syntax
[intrawiki-link-graph] Refactor some code