npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-mediawiki

v0.2.0

Published

n8n community node for MediaWiki integration

Readme

📚 n8n-nodes-mediawiki

npm version

A powerful n8n community node for seamless MediaWiki integration. Connect your n8n workflows to any MediaWiki instance (like Wikipedia) and manage collaborative knowledge with ease.

✨ Features

🔧 Regular Workflow Nodes

  • MediaWiki Page: Complete page operations (get, edit, delete) for any MediaWiki instance
  • MediaWiki Search: Powerful search functionality for finding pages within MediaWiki
  • Flexible Authentication: Support for both authenticated and anonymous operations

🤖 AI-Compatible Tools

All nodes support AI integration with the "Let AI fill this in" functionality:

  • MediaWiki Page: AI-compatible tool for all page operations with intelligent parameter filling
  • MediaWiki Search: AI-powered search with contextual query generation
  • LangChain Integration: Seamlessly works with n8n AI agents and workflows
  • Smart Parameter Detection: AI automatically determines page titles, content, and search terms

📦 Installation

For n8n Users (GUI Installation)

To install this community node in your self-hosted n8n instance:

  1. Open n8n Settings: Go to SettingsCommunity Nodes

  2. Start Installation: Click Install

  3. Find Package:

    • Option A: Type n8n-nodes-mediawiki directly in the Enter npm package name field
    • Option B: Click Browse to search the npm registry for community nodes, then find n8n-nodes-mediawiki
  4. Accept Risks: Check "I understand the risks of installing unverified code from a public source"

  5. Install: Click Install

  6. Ready to Use: The MediaWiki nodes will now appear in your nodes panel with a package icon

Managing the Package

  • Update: When updates are available, an Update button will appear in SettingsCommunity Nodes
  • Uninstall: Go to SettingsCommunity Nodes, click OptionsUninstall package

Note: Community nodes can only be installed on self-hosted n8n instances by the instance owner. This feature is not available on n8n Cloud.

🚀 Usage

🔐 Credentials

Configure the MediaWiki API credentials with:

  • Base URL: The base URL of your MediaWiki instance (e.g., https://en.wikipedia.org)
  • Username: (Optional) Username for authenticated operations
  • Password: (Optional) Password for authenticated operations

🎯 Available Nodes

📄 MediaWiki Page

Complete page management with support for:

  • Get: Retrieve the content of any page
  • Edit: Create new pages or update existing pages with content (automatically detects if page exists)
  • Delete: Remove pages with optional deletion reason

🔍 MediaWiki Search

  • Search: Find pages matching your search query with configurable result limits

🤖 AI Integration

Both nodes work seamlessly with n8n's AI Agent nodes:

  1. Add nodes to your workflow - Use MediaWiki Page and MediaWiki Search as regular nodes
  2. Connect to AI Agents - These nodes automatically become available as AI tools when connected to AI Agent nodes
  3. "Let AI fill this in" buttons - Parameters show toggle buttons allowing AI to automatically fill values based on context
  4. Intelligent automation - AI agents can read, edit, delete, and search MediaWiki content autonomously

Example AI Usage:

  • AI Research Assistant: "Find information about quantum computing on Wikipedia and create a summary page"
  • Content Management: "Update the company wiki page with the latest product information"
  • Knowledge Discovery: "Search for pages related to machine learning and extract key concepts"

💡 Parameter Configuration

MediaWiki Page Node

  • Operation: Select get, edit, or delete
  • Page Title: The title of the page to operate on (AI can fill automatically)
  • Page Content: Content for edit operations (AI can generate) - creates page if it doesn't exist, updates if it does
  • Delete Reason: Optional reason for deletion (AI can suggest)

MediaWiki Search Node

  • Search Term: Query to find matching pages (AI can formulate)
  • Limit: Maximum number of results (1-500, defaults to 10)

🛠️ Development

🚀 Setup

  1. Clone: git clone https://github.com/matheusfillipe/n8n-mediawiki
  2. Install: npm install
  3. Build: npm run build
  4. Link: npm link (for local development)

🐳 Testing with Docker

A compose.yaml file is included for easy testing:

docker compose up

This will start n8n on http://localhost:5678 with AI tool support enabled.

⚙️ Environment Variables

For AI tool functionality in production, ensure this environment variable is set:

N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true

This enables community nodes to be used as AI tools with the "Let AI fill this in" functionality.

📁 Project Structure

n8n-nodes-mediawiki/
├── nodes/
│   ├── MediaWikiPage/           # Main page operations node
│   │   ├── MediaWikiPage.node.ts
│   │   └── mediawiki.svg
│   └── MediaWikiSearch/         # Search functionality node
│       ├── MediaWikiSearch.node.ts
│       └── mediawiki.svg
├── credentials/
│   └── MediaWikiApi.credentials.ts
├── src/
│   └── MediaWikiClient.ts       # Shared MediaWiki API client
└── compose.yaml                 # Docker development environment

Each node functions as both a regular workflow node and an AI tool, eliminating code duplication and ensuring consistency.

📄 License

MIT