> > In general i think redirects are not really a good thing at all, because it
> may lead into many redirects after some time.
> 
> While I agree here, they are also sorta required: if some external site links
> to a site in our Wiki, we want this link to stay valid forever ideally. So we
> have to track renames (or completely forbid them) and forward to the new page.

Forbid renaming isn't a good thing also. If one wants to put the content of an 
article under a new name, he has to create then a new article and copy and 
paste the content from the old article to the new one. So all changesets are 
gone and reverting to the previous situation is not possible anymore.

What should we do with following situation? An existing example:

1. https://wl.widelands.org/wiki/Description/
2. https://wl.widelands.org/wiki/GameHelp/

2. is a redirect to 1. But it is currently possible to create a new article 
GameHelp:

https://wl.widelands.org/wiki/edit/GameHelp/

When saving this new article, all old redirects are gone, respectively all 
Links to GameHelp open then the new article. Should creating of articles 
prevented if a redirect exists? On the long run this would mean the available 
amount of article names shrinks, because some articles reserve two (or more) 
names.

> About the (internal) redirects: Is it not in our power to fix all internal
> links that linked to the old page into links that link to the new page? I
> mean, we can just make a new revision for each page algorithmically that just
> does the renames. No user interaction is needed.

If we want redirects to stay forever, this isn't needed, isn't it? And 
reverting to a previous revision put then the old links in again. But we may 
need such a functionality also for  bug 1595294 "Get rid of wikiwordification".

This is all a bit complicated to me... because our redirects are some kind of 
"soft-redirects": To determine a redirect the code looks just for the requested 
name in all changesets. If it is found the corresponding article get opened and 
the String "(redirected from ...)" is shown. There is no real 'redirect-object' 
and i have trouble to abstract the redirects.  I think other wikis handle 
redirects in another way: If a renaming is done a new article with the old name 
is created and the content is the redirect with a special syntax. So there are 
two existing articles (the article it self, and the redirect to it), whereas we 
have only one.

See e.g.: https://www.mediawiki.org/wiki/Help:Moving_a_page


-- 
https://code.launchpad.net/~widelands-dev/widelands-website/bug-1399461_error_on_renaming_article/+merge/314033
Your team Widelands Developers is requested to review the proposed merge of 
lp:~widelands-dev/widelands-website/bug-1399461_error_on_renaming_article into 
lp:widelands-website.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to