2010/10/4 Strainu <[email protected]> > 2010/10/4 Alex Brollo <[email protected]>: > > It's strange (but I guess that there's a sound reason) that plain > wikilinks > > point to a variable field of wiki records (the name of the page) while > many > > troubles would be solved, if they could point to the invariable field of > > such records: the id. The obviuos restult is, that all links are broken > (and > > need fixing) as soon as a page is "moved" (t.i. renamed). > > Don't redirects exist specifically for that? >
:-) Yes, they just exist for that... but in my view of "layman database manager" I learn by experience a rule of relational databases: NEVER link to variable fields of a table! Always link to id! So, IMHO redirects are merely a patch to an unfixed issue. Please imagine something like this: it could (perhaps! I'm NOT a programmer!) fix the whole thing. User writes wikilink as usual. As soon as the page is posted, the server converts param 1 into an id. Than, when the page is loaded, the param 1 is converted again into the UPDATED, RUNNING name of the page, so that user can't view anything... but a right, updated name of the linked page, even if it has been "moved". Am I completely mad? Alex _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
