Paul has considered how we might make it harder to create pages with spaces at either end of a title. One constraint is that we don't want to make such existing pages inaccessible. github
I thought there might be a simpler solution but Paul had applied this precaution months ago. github
Paul and I wrote a shell script to rummage through the federation search database to assess the frequency of this problem. github , data
The raw data is hard to interpret. Use this script to organize result around the sites with the problem titles. github
pages/spaces-bug
http://ward.dojo.fed.wiki/assets/pages/spaces-bug/sites-and-slugs.html HEIGHT 400
Click site to see troubled slugs. Click these to open page.
Yikes. My own site is the third most frequent offender.
.
We've run through all of the cases and report those pages where the slug we have is not the slug we want based on the title in the page jason. See check-failures.tsv
Tip: We use this formula to convert an epoch to conventional date:
=DATE(1970,1,1)+DURATION(,,,,E2/1000)