Re: Wiki Editors ending up on MediaWiki Long URL instead of MediaWiki Short URL

Jay prakash <[email protected]>
Newsgroups gmane.org.wikimedia.mediawiki
Message-ID <CACj_4xJ5sqWsfqC5GYkzwH3esKGkZNuzcn9m+LszsJiNgJW5CQ@mail.gmail.com>
Hi Patrick,

You can use the rewrite engine[0], provided by server softwares. Like
Apache server has mod_rewrite module[1] which allows to use .htaccess file
in web root directory.

If your wiki already has a short url feature then it is already using a
rewrite engine. You just need to add one more rewrite rule for editing the
URL pattern.


Jay Prakash

[0] https://en.wikipedia.org/wiki/Rewrite_engine
[1] https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html

On Wed, Feb 16, 2022 at 4:54 PM Patrick Schleizer via MediaWiki-l <
[email protected]> wrote:

> I have a question related to MediaWiki Short URLs. [1]
>
> Short URLs are generally working very well. However, after wiki editors
> edit an article, they end up on the Long URL. For example:
>
> https://domain-name/w/index.php?title=Article&stable=0
>
> Is it possible that after editing a wiki page editors end up the Short URL?
>
> Kind regards,
> Patrick
>
> [1] https://www.mediawiki.org/wiki/Manual:Short_URL
> _______________________________________________
> MediaWiki-l mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
> https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
>

_______________________________________________
MediaWiki-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.