Page MenuHomePhabricator

Explain on Special:UrlShortener that it can only be used on Meta-Wiki
Closed, ResolvedPublic

Description

When you visit Special:UrlShortener outside metawiki, you will see "Creating new short URLs is temporarily disabled." This message could be overriden or amended to explain that users can use the shortener on Meta, in case they arrive on this page.

Details

Related Gerrit Patches:
mediawiki/extensions/WikimediaMessages : masterExplain that UrlShortener can only be used on metawiki

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 21 2019, 6:19 PM

Change 505659 had a related patch set uploaded (by Framawiki; owner: Framawiki):
[mediawiki/extensions/WikimediaMessages@master] Explain the UrlShortener can only be used on metawiki

https://gerrit.wikimedia.org/r/505659

Change 505659 merged by jenkins-bot:
[mediawiki/extensions/WikimediaMessages@master] Explain that UrlShortener can only be used on metawiki

https://gerrit.wikimedia.org/r/505659

Krenair closed this task as Resolved.Jun 1 2019, 1:51 PM
Krenair added a subscriber: Krenair.

Seems beta is not configured to test this one properly as we set UrlShortenerReadOnly to false everywhere there.

krenair@deployment-deploy01:~$ mwscript eval.php metawiki
> echo wfMessage('urlshortener-disabled')->parse();
Creating new short URLs is temporarily disabled.
> ^D
krenair@deployment-deploy01:~$ mwscript eval.php enwiki
> echo wfMessage('urlshortener-disabled')->parse();
Short links can only be created via <a href="https://meta.wikimedia.beta.wmflabs.org/wiki/Special:UrlShortener" class="extiw" title="m:Special:UrlShortener">Special:UrlShortener</a> page on meta.wikimedia.org.