One-step Wikipedia linking for WordPress: highlight text, set the link URL to linkmaker
, publish.
- Gutenberg-friendly: link any text with the URL
linkmaker
and it becomes a Wikipedia link based on the visible text - Zero config: no settings required
- Lightweight: tiny JS + CSS, no external calls until a user clicks
- Theme-friendly styles via
.wiki-search
- Skips links that contain
github
in theirhref
- Copy the
linkmaker
folder into your WordPresswp-content/plugins
directory or upload the ZIP via Plugins → Add New → Upload Plugin. - Activate LinkMaker under Plugins → Installed Plugins.
(If zipping on Windows, prefer git archive
or tar -a -c -f linkmaker.zip linkmaker
so archive paths use forward slashes.)
- Highlight the text you want to link (e.g.,
Albert Einstein
). - Click the Link button in the block toolbar.
- Type
linkmaker
as the URL (nohttp://
). - Publish. On the front-end, the link will go to
https://en.wikipedia.org/wiki/Albert_Einstein
.
<a href="linkmaker">Marie Curie</a>
This will point to:
https://en.wikipedia.org/wiki/Marie_Curie
<p>Read about <a href="linkmaker">Alan Turing</a> and <a href="linkmaker">Ada Lovelace</a>.</p>
- Styling: override the
.wiki-search
rules in your theme or child theme. - Language: swap
en.wikipedia.org
for another language subdomain in the JS (future admin setting planned). - Open in new tab: set
target="_blank" rel="noopener"
when converting links (see roadmap).
- Keep anchor semantics (convert placeholders to real
<a href>
instead of replacing with<span>
) for better accessibility and no-JS fallback - Safer selector (opt-in via class
a.linkmaker
or attribute[data-linkmaker]
) - Admin setting for Wikipedia language and target behavior
- Shortcode + Gutenberg block for explicit inserts
- Conditional asset enqueue and basic tests/linting
Why isn’t my GitHub link changing?
Links whose href
contains github
are intentionally skipped so developer docs aren’t altered.
Can I force a different article slug than the visible text?
For now the plugin uses the visible text. A shortcode and/or attribute‑based selector is planned for custom slugs.
- 0.1.5 – Renamed the plugin to LinkMaker and updated release automation.
- 0.1.4 – Prepared the plugin for the WordPress.org directory and removed the custom update checker.
- 0.1.0 – Initial release.
MIT. See LICENSE
for details.