Difference between revisions of "WikiServer - InterWiki Linking"

From The TinkerNet Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
  
 
* [https://www.mediawiki.org/wiki/Manual:Interwiki Manual:Interwiki]
 
* [https://www.mediawiki.org/wiki/Manual:Interwiki Manual:Interwiki]
 +
* [https://meta.wikimedia.org/wiki/Help:Interwiki_linking Help:Interwiki linking]
 
** Browse to '''Special pages''' / '''View and edit interwiki data'''
 
** Browse to '''Special pages''' / '''View and edit interwiki data'''
 
** Select '''Add an interwiki or language prefix'''
 
** Select '''Add an interwiki or language prefix'''

Latest revision as of 22:40, 1 June 2020

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
  • Help:Interwiki linking
    • 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
    • Creates the hooks to link into MY wiki.

Then you can create links like [[TinkerWiki:IT]] That will link directly into my wiki.