Fix travel article navigation
This commit is contained in:
parent
bd32bb257a
commit
1c3a5f9652
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue