Skip to content

Extension:AutoLinksToAnotherWiki automatically adds links to another wiki into some articles.

License

Notifications You must be signed in to change notification settings

bahaipedia/mediawiki-AutoLinksToAnotherWiki

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extension:AutoLinksToAnotherWiki

This extension adds links from this wiki A to another wiki B, assuming:

  1. the wiki B has an article named "Some words",
  2. an article in the wiki A contains the text "some words" in its text.

Then this text "some words" will wrapped in an external link to the wiki B.

Example configuration

// This API will be used to determine "what articles exist on another wiki":
$wgAutoLinksToAnotherWikiApiUrl = 'https://example.com/w/api.php';

// Only pages in [[Category:AutoLinks]] will have links added to them.
$wgAutoLinksToAnotherWikiCategoryName = 'AutoLinks'; // Default

About

Extension:AutoLinksToAnotherWiki automatically adds links to another wiki into some articles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%