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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wikimedia/wikipediapreview-wordpress

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

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

WordPress plugin for Wikipedia Preview

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

Since Jun 2Pushed 6mo 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 2d 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

42

—

FairBetter than 88% of packages

Maintenance63

Regular maintenance activity

Popularity13

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity65

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

208d 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

[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

20416.0M415](/packages/php-stubs-wordpress-stubs)[bostondv/bootstrap-ninja-forms

Adds Bootstrap classes to Ninja Forms

222.2k](/packages/bostondv-bootstrap-ninja-forms)

PHPackages © 2026

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