getUrl: Add placeholder mode.
Add getUrl documentation.
More tests.