Page MenuHomePhabricator

Wikinewsie Language Selector Fallback when Dash Included
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • In the Language Selector (cdx-text-input__input cdx-text-input__input--has-value) or directly in the URL
  • enter any wiki code with dash, e.g., zh-min-nan, be-tarask, or bat-smg

What happens?:

  • The page displays enwiki related contents.

What should have happened instead?:

  • The page displays the corresponded wiki related contents.

Other information (browser name/version, screenshots, etc.):

Might be related to src/App.vue 41:25

Event Timeline

ZhaoFJx renamed this task from Language Selector Fallback for Dash Included Code to Wikinewsie Language Selector Fallback when Dash Included.Jul 10 2026, 7:23 PM

Probably not the same issue, but zh and ko both return no results, and jp returns "Query failed".

ZhaoFJx changed the task status from Open to In Progress.Jul 10 2026, 10:08 PM
ZhaoFJx claimed this task.
ZhaoFJx moved this task from Backlog to Doing on the Tool-wikinewsie board.
ZhaoFJx moved this task from Doing to Done on the Tool-wikinewsie board.

Probably not the same issue, but zh and ko both return no results, and jp returns "Query failed".

For zh and ko, if we unselect the Only in Category:2026, contents will be displayed. The reason to that is because there is no Category:2026 on those two wikis. Perhaps we can consider query Q8204922 linked category page rather than plain Category:2026?

For jp, althrough jp.wikipedia.org will work, but the canonical one would be ja.wikipedia.org, and database name is jawiki, so https://wikinewsie.toolforge.org/ja will work as expected.

@ZhaoFJx I added a Wikidata-based approach for Category:2026, thanks!