https://bugzilla.wikimedia.org/show_bug.cgi?id=57084

--- Comment #13 from Matthew Flaschen <[email protected]> ---
(In reply to Aaron Halfaker from comment #12)
> I couldn't agree more.  I can't imagine a use-case where the created
> redirect page benefits from a position in an indexed column (log_page).

Also, as re backwards compatibility, if there is someone using the ID of the
created redirect, they may be inconvenienced somewhat by the change.  However,
they won't be completely out of luck, since it's still in log_params.

Also importantly, if you need the redirect page ID, it's possible to
programatically determine where to find it, even if you have to deal with data
sets spanning the transition.  I believe the algorithm would be:

1. If log_page is 0, it's old-style and there is no redirect.
2. If log_page is non-zero:
2a. If there is a log_redirect_page_id (or whatever) in the log_params, it's
new-style, and that's obviously the redirect page ID.
2b. If there is no log_redirect_page_id, it's old-style, and log_page is the
redirect page ID.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to