Pla 1641

Added "ref" support as optional url parameter
WAIT FOR QA
For consistency, maybe it's worth to split it across multiple lines like in https://github.com/Wikia/app/pull/4149/files#diff-09c6be252205f5919690b7948a6668e7R171