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

       Web browser: ---
             Bug #: 30216
           Summary: Improve language fallback loop detection
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Internationalization
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


The current language fallback loop detection code (in languages/Language.php)
actually doesn't detect a loop, but rather stops a fallback chain when it gets
larger than 5 items. It would be more logical (and more flexible) to keep track
of what languages have been "visited" and break the loop if we return to one of
them. In any case, it wouldn't be possible to build an infinite chain of unique
language codes, so no arbitrary limit to feedback chains needs to be enforced.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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