Skip to content

Update wikipedia extension - #30187

Merged
raycastbot merged 4 commits into
raycast:mainfrom
0xdhrv:ext/wikipedia
Aug 13, 2026
Merged

Update wikipedia extension#30187
raycastbot merged 4 commits into
raycast:mainfrom
0xdhrv:ext/wikipedia

Conversation

@0xdhrv

@0xdhrv 0xdhrv commented Aug 13, 2026

Copy link
Copy Markdown
Member

Description

Screencast

Checklist

- chore: update changelog
- feat(navigation): add article history and keyboard shortcuts - Add back and forward navigation for opened Wikipedia articles - Preserve article history across links and language changes - Update action shortcuts for cross-platform Raycast defaults - Upgrade dependencies and simplify linting and formatting configuration
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: wikipedia Issues related to the wikipedia extension AI Extension platform: macOS platform: Windows labels Aug 13, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @vimtor @shubzkothekar @NikosEfthias @menahishayan @pernielsentikaer @Ek2100 @sergiivelykodnyi @j3lte @peterbrinck @koinzhang you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

📋 Quick checkout commands
BRANCH="ext/wikipedia"
FORK_URL="https://github.com/0xdhrv/raycast-extensions.git"
EXTENSION_NAME="wikipedia"
REPO_NAME="raycast-extensions"

git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run dev

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

@greptile-apps

greptile-apps Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR adds in-view article history with back and forward navigation while preserving history across article links and language changes.

  • Introduces reducer-managed article history with a synchronous ref snapshot for rapid actions.
  • Updates article actions, keyboard shortcuts, language switching, dependencies, and extension documentation.

Confidence Score: 5/5

The PR appears safe to merge.

The previously reported closure-based history race is resolved because every action reduces from the synchronously updated pending snapshot and commits the resulting final state.

Important Files Changed

Filename Overview
extensions/wikipedia/src/components/wikipedia-page.tsx Adds article-history state and uses the latest pending snapshot to sequence rapid navigation actions correctly.
extensions/wikipedia/src/components/change-language-submenu.tsx Changes language selection from pushing a separate view to appending the translated article to the shared history.
extensions/wikipedia/src/hooks/usePageData.ts Centralizes Wiki.js page operations through shared API helpers without introducing a navigation-history defect.
extensions/wikipedia/src/utils/api.ts Consolidates Wiki.js page creation and adds a shared language-links helper.
extensions/wikipedia/package.json Updates extension contributors and dependency/tooling versions.

Reviews (4): Last reviewed commit: "Update CHANGELOG.md" | Re-trigger Greptile

Comment thread extensions/wikipedia/src/components/wikipedia-page.tsx Outdated
…metadata, links, and language links into API helpers - Reuse a shared wiki page client across API requests - Simplify hooks by delegating page data fetching to utility functions
…a centralized history state management using a reducer pattern - Replace individual index tracking with a structured history state - Update navigation functions to utilize the new history management system
@0xdhrv
0xdhrv marked this pull request as ready for review August 13, 2026 10:46

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @0xdhrv 👋

Thanks for your contribution 💪

[ / ] back and forward with in-view article history is a clean close for #12940, and keeping language changes on the same stack is the right call. Changelog uses {PR_MERGE_DATE}, Greptile is clear, CI is green.

I'm looking forward to seeing this land 🔥

Feel free to contact me here or at Slack if you have any questions.

@raycastbot
raycastbot merged commit cac5816 into raycast:main Aug 13, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Published to the Raycast Store:
https://raycast.com/vimtor/wikipedia

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Extension extension fix / improvement Label for PRs with extension's fix improvements extension: wikipedia Issues related to the wikipedia extension platform: macOS platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Wikipedia] ...

3 participants