Fix travel article navigation

This commit is contained in:
Dima-1 2021-01-23 18:27:29 +02:00
parent bd32bb257a
commit 1c3a5f9652

View file

@ -404,6 +404,9 @@ public class TravelObfHelper implements TravelHelper {
Map<String, WikivoyageSearchResult> headerObjs = new HashMap<>();
if (parts != null && parts.length > 0) {
headers.addAll(Arrays.asList(parts));
if (!Algorithms.isEmpty(article.isParentOf)) {
headers.add(title);
}
}
for (String header : headers) {