PHPackages                             wikimedia/wikipediapreview-wordpress - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. wikimedia/wikipediapreview-wordpress

ActiveWordpress-plugin

wikimedia/wikipediapreview-wordpress
====================================

WordPress plugin for Wikipedia Preview

v1.17.0(5mo ago)859[1 PRs](https://github.com/wikimedia/wikipediapreview-wordpress/pulls)MITJavaScriptCI passing

Since Jun 2Pushed 5mo ago12 watchersCompare

[ Source](https://github.com/wikimedia/wikipediapreview-wordpress)[ Packagist](https://packagist.org/packages/wikimedia/wikipediapreview-wordpress)[ Docs](https://github.com/wikimedia/wikipediapreview-wordpress#readme)[ RSS](/packages/wikimedia-wikipediapreview-wordpress/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (48)Used By (0)

Wikipedia Preview Wordpress plugin
==================================

[](#wikipedia-preview-wordpress-plugin)

This WordPress plugin is a thin wrapper around [Wikipedia Preview](https://github.com/wikimedia/wikipedia-preview) to simplify its integration and usage within WordPress. It is available to download as a plugin to your Wordpress site:  . It provides an interface to add Wikipedia Preview links to your content right from within the Wordpress editor.

Dev local setup
---------------

[](#dev-local-setup)

Recommended local set up is to:

- use Local  to create your testing Wordpress site
- `git clone` this repo into the following path of your Local Sites directory: `/Users/username/Local Sites/sitename/app/public/wp-content/plugins/`
- and then run the following npm commands from cloned directory.

```
$ `npm install`
$ `npm run build`
$ `npm run start`
```

This should load all plugin functionality including the [Wikipedia Preview](https://github.com/wikimedia/wikipedia-preview) code. At this point you should be able to see the plugin in your Wordpress admin dashboard, under the "Plugins" tab. You must activate the plugin from here to be able to see it in your site.

[![Plugin usage](./assets/screenshot-1.png)](./assets/screenshot-1.png)

### Adding custom CSS

[](#adding-custom-css)

You can tweak the styling in your site directly from your Wordpress admin dashboard: go to “Appearance / customize”, then select the “Additional CSS” option from the left side menu. In the text box, the following CSS should reset the existing term style so you can adjust it to your liking.

```
.wmf-wp-with-preview {
    border: 0;
    background-color: unset;
    padding: unset;
}
.wmf-wp-with-preview::after {
    content: '';
}
```

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance73

Regular maintenance activity

Popularity13

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~59 days

Recently: every ~129 days

Total

29

Last Release

152d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/716c86d71cbf921e7912a505f89d799de398fc0a3af0bd4c8862834b2d642bd7?d=identicon)[wikimedia](/maintainers/wikimedia)

---

Top Contributors

[![sbisson-hash](https://avatars.githubusercontent.com/u/270727046?v=4)](https://github.com/sbisson-hash "sbisson-hash (60 commits)")[![hueitan](https://avatars.githubusercontent.com/u/2560096?v=4)](https://github.com/hueitan "hueitan (55 commits)")[![stephanebisson](https://avatars.githubusercontent.com/u/679125?v=4)](https://github.com/stephanebisson "stephanebisson (41 commits)")[![medied](https://avatars.githubusercontent.com/u/4752599?v=4)](https://github.com/medied "medied (35 commits)")[![jpita](https://avatars.githubusercontent.com/u/5482105?v=4)](https://github.com/jpita "jpita (2 commits)")[![varnent](https://avatars.githubusercontent.com/u/674625?v=4)](https://github.com/varnent "varnent (2 commits)")[![audrasjb](https://avatars.githubusercontent.com/u/1590998?v=4)](https://github.com/audrasjb "audrasjb (2 commits)")[![mateuswetah](https://avatars.githubusercontent.com/u/1184874?v=4)](https://github.com/mateuswetah "mateuswetah (1 commits)")[![amuigai](https://avatars.githubusercontent.com/u/85307788?v=4)](https://github.com/amuigai "amuigai (1 commits)")

---

Tags

wikipediawordpresspopupcardwikiwikipediafacts

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/wikimedia-wikipediapreview-wordpress/health.svg)

```
[![Health](https://phpackages.com/badges/wikimedia-wikipediapreview-wordpress/health.svg)](https://phpackages.com/packages/wikimedia-wikipediapreview-wordpress)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[wp-coding-standards/wpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

2.7k42.5M1.6k](/packages/wp-coding-standards-wpcs)[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[phpcompatibility/phpcompatibility-wp

A ruleset for PHP\_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.

21830.6M587](/packages/phpcompatibility-phpcompatibility-wp)[szepeviktor/phpstan-wordpress

WordPress extensions for PHPStan

3257.8M897](/packages/szepeviktor-phpstan-wordpress)[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

19013.0M263](/packages/php-stubs-wordpress-stubs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
