some slug prefill logic (bug 1041722)

Prefill based on placeholders. Regression chances are aggressively high.
Empty strings are falsey for the `||` on line 140.