brion@svn.wikimedia.org schreef:
Revision: 33381 Author: brion Date: 2008-04-15 18:11:28 +0000 (Tue, 15 Apr 2008)
Log Message:
Revert some chunks of r33133 and r33375:
- Let followRedirect() *always* work correctly by working from the article text.
- This ensures that we're not falsely looking up data from another version and that we're not missing interwik and fragment data.
Should clean up both bug 13754 (editing old version of redirect sometimes gives the target page text) and bug 13752 (bugs with fragments and probably interwikis in redirect target).
Haven't been able to repro 13754 at home though, so we'll see.
:O This is even crazier than r33375 (no insult to either committer): we have a redirect table to fetch redirect targets efficiently, and we're not actually *using* it anywhere. Bugs 13752 and 13754 should be fixable without reverting to the old (and inefficient) behavior (possibly with a schema change to the redirect table, as I suggested in response to r33375).
Roan Kattouw (Catrope)