Topic on Project:Support desk

New Wiki, Page names have underscore - How to fix?

4
2605:E000:1527:58DA:81CE:D37E:550E:CE49 (talkcontribs)

When I install a clean/new version of MediaWiki every new page I create inserts an underscore in spaces of page name links on a page. ("This Page" becomes "This_Page")

I understand this is how it it is supposed to be for the URLs but on other wikis I never see the underscore in links on the page. I remember way back when I installed my first MediaWiki wiki, I had found a way to correct this but I cannot remember how, or find anything on Google about it.

To be clear, I'm not trying to stop the URL of the page from having an underscore, just the page links that are created on a page. (For example, when I write a wiki article, and then add a page link to the text "This Page" the text of the link is changed to "This_Page".)

Any ideas on how to change this?

Malyacko (talkcontribs)

What are the exact steps to "add a page link"?

T0lk (talkcontribs)

I seem to recall something like this a long time ago too, is your Apache or whatever server rewriting titles using a rule? If so, can you share it here?

Bawolff (talkcontribs)

The links on the page should be exactly what you write. If you use an underscore, it has an underscore, if you use a space, it has a space. e.g. Project:Current issues ([[Project:Current issues]]) has a space, Project:Current_issues ([[Project:Current_issues]]) has an underscore.

Reply to "New Wiki, Page names have underscore - How to fix?"