HomePhorge

Fix infinite loop for self-redirects with variants conversion

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Fix infinite loop for self-redirects with variants conversion

The redirect targets another variant, but the target does not exist.
It causes infinite loop when querying the page with the redirect
and converttitles flags are both set.
Check the mConvertTitles to stop re-resolving the same title.

Bug: T333050
Change-Id: I64c5886dbd0a9148eeff033ba56306bcb7f2eb8c
(cherry picked from commit 24c3ef2474c6daa20ed48168d46196a55346dfd8)

Details

Provenance
xiplus <huangxuanyuxiplus@gmail.com>Authored on Mar 25 2023, 2:00 PM
Reedy <reedy@wikimedia.org>Committed on Jun 30 2023, 5:44 PM

Event Timeline

Reedy <reedy@wikimedia.org> committed rMW94d15ddad007: Fix infinite loop for self-redirects with variants conversion (authored by xiplus <huangxuanyuxiplus@gmail.com>).Jun 30 2023, 5:44 PM

Commit No Longer Exists

This commit no longer exists in the repository.