https://github.com/fwilleke80/plg_content_wikilink
Joomla! extension to generate Wikipedia links in articles
https://github.com/fwilleke80/plg_content_wikilink
joomla-extensions joomla-plugin wikipedia
Last synced: 1 day ago
JSON representation
Joomla! extension to generate Wikipedia links in articles
- Host: GitHub
- URL: https://github.com/fwilleke80/plg_content_wikilink
- Owner: fwilleke80
- License: gpl-2.0
- Created: 2026-04-22T09:39:49.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-04-22T09:44:11.000Z (about 1 month ago)
- Last Synced: 2026-04-22T11:34:59.816Z (about 1 month ago)
- Topics: joomla-extensions, joomla-plugin, wikipedia
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Content Plugin: Wiki Link
 
A simple Joomla! 6 content plugin that replaces `{wiki ...}` placeholders with links to Wikipedia.
## Features
- Converts inline placeholders into Wikipedia links
- Optional custom link text
- Optional language override per link
- Configurable default language
- Safe HTML output (escaped, no injection risk)
---
## Usage
Insert placeholders directly into your Joomla article content.
### Basic
```text
{wiki New_York_City}
````
→
```html
New York City
````
### Custom link text
```text
{wiki New_York_City "New York"}
```
→
```html
New York City
````
### Custom Language
```text
{wiki New_York_City "New York"}
```
→
```html
New York
```
### Syntax
```text
{wiki PAGE ["LABEL"] [LANG]}
```
| Parameter | Required | Description |
| --------- | -------- | --------------------------------------- |
| `PAGE` | yes | Wikipedia page name (use `_` or spaces) |
| `LABEL` | no | Custom link text |
| `LANG` | no | Language code (`en`, `de`, `fr`, etc.) |
## Plugin Settings
### Default Wikipedia Language
Used when no language is specified in the placeholder.
Examples:
- `en` → `https://en.wikipedia.org/...`
- `de` → `https://de.wikipedia.org/...`
### Open links in new tab
If set to "Yes", Wikipedia links created with this plugin will open in a new tab (with `noopener` and `noreferrer`). Otherwise, they are opened in the same tab.
## Installation
1. Zip the plugin folder (plg_content_wikilink)
2. Go to Joomla Administrator → System → Install
3. Upload the ZIP file
4. Enable the plugin:
Content - Wiki Link
## Notes
- Only works in article content (frontend)
- Does not modify admin content
- Links always open in a new tab
- Language codes are validated before use
## Limitations
- No support for nested placeholders
- Only double quotes (") are supported for labels
- No automatic detection of existing Wikipedia links
## Example
```text
Berlin is the capital of {wiki Germany "Deutschland" de}.
```
## License
GNU Public License 2
## Author
Frank Willeke