Menu

#493 present project names and page names without underscores

workingwiki
open
None
5
2014-02-20
2014-02-20
Lee Worden
No

In MediaWiki, spaces in page names are converted into underscore (_) characters for some purposes, such as for use in URLs where spaces can break some transactions, and for use as primary keys in the SQL database.

WW project names are implemented as page names (since each project X is stored on a page ProjectDescription:X, the name X needs to be a well-formed and unique page name).

Needing to standardize these names and deduplicate references to the same name in different forms, I settled on using the DB key form as the standard form for names of projects and locations of WW files.

So when it refers to projects and pages in various interfaces and messages, it displays them in the form with underscores.

I think it would be a bit better to use the form with underscores internally, but display them with spaces, since that's the human-readable form.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.