Topic on Project:Support desk

How to hide "Special:ShortUrl" from new pages

2
2tapadm (talkcontribs)

Greetings:

I'm running MW v1.40.4 on Ubuntu 22.02 and Nginx 1.26.2

Today after enabling "ShortUrl" extension , I started seeing the "Special:Url/#" on each newly created page.

I read docs on "Extension:ShortUrl" but it's not clear to me how I can hide this value (shorturl) from being displayed under page name.

Any guidance or hints will be greatly appreciated.

--2TA

Bawolff (talkcontribs)

That extension doesn't support configuring that.

However you could add the following CSS to MediaWiki:Common.css on your wiki

.title-shortlink-container {display: none}
Reply to "How to hide "Special:ShortUrl" from new pages"