Difference between revisions of "WikiServer - InterWiki Linking"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
** For example: | ** For example: | ||
*** Prefix: <code>TinkerWiki</code> | *** Prefix: <code>TinkerWiki</code> | ||
− | *** URL: <code>https://wiki.tinkernet.ca/index.php/$1</code> | + | *** URL: <code><nowiki>https://wiki.tinkernet.ca/index.php/$1</nowiki></code> |
** Creates the hooks to link into MY wiki. | ** Creates the hooks to link into MY wiki. | ||
Then you can create links like <code><nowiki>[[TinkerWiki:IT]]</nowiki></code> That will link directly into my wiki. | Then you can create links like <code><nowiki>[[TinkerWiki:IT]]</nowiki></code> That will link directly into my wiki. |
Revision as of 22:14, 1 June 2020
- Extension:Interwiki
- on MediaWiki 1.34.1, basically add the following to LocalSettings.php:
wfLoadExtension( 'Interwiki' ); // To grant sysops permissions to edit interwiki data $wgGroupPermissions['sysop']['interwiki'] = true; // To create a new user group that may edit interwiki data // (bureaucrats can add users to this group) # $wgGroupPermissions['developer']['interwiki'] = true; // delete the comment indicator # as appropriate
- Manual:Interwiki
- Browse to Special pages / View and edit interwiki data
- Select Add an interwiki or language prefix
- Add in the details for the wiki you want to link to
- For example:
- Prefix:
TinkerWiki
- URL:
https://wiki.tinkernet.ca/index.php/$1
- Prefix:
- Creates the hooks to link into MY wiki.
Then you can create links like [[TinkerWiki:IT]]
That will link directly into my wiki.