757
edits
mNo edit summary |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 72: | Line 72: | ||
*'''codeiw_trans/code''': transwiki transclusion - set to 1 if you want to use pages from the other wiki as templates. You will also need to set ''$wgEnableScaryTranscluding = true'' in your ''LocalSettings.php'' | *'''codeiw_trans/code''': transwiki transclusion - set to 1 if you want to use pages from the other wiki as templates. You will also need to set ''$wgEnableScaryTranscluding = true'' in your ''LocalSettings.php'' | ||
'''Admin tip''': Several help pages link to MediaWiki.org's ''Manual'' namespace. To make these links work on your local wiki, add an interwiki link with ''iw_prefix=manual'' and ''iw_url=http://www.mediawiki.org/wiki/Manual:$1'' | |||
Several help pages link to MediaWiki.org's ''Manual'' namespace. To make these links work on your local wiki, add an interwiki link with ''iw_prefix=manual'' and ''iw_url=http://www.mediawiki.org/wiki/Manual:$1'' | |||
==Interwiki links to other languages== | ==Interwiki links to other languages== | ||
If you have installed a [[Manual:Wiki family|Wiki family]], you can link from an article in English to an article in German (if you have a German project, too). You can set up MediaWiki, to show those links in the sidebar, just below the toolbox. | If you have installed a [[Manual:Wiki family|Wiki family]], you can link from an article in English to an article in German (if you have a German project, too). You can set up MediaWiki, to show those links in the sidebar, just below the toolbox. | ||
Line 87: | Line 85: | ||
*'''codeiw_local/code''': ''same as above Adding More'' | *'''codeiw_local/code''': ''same as above Adding More'' | ||
*'''codeiw_trans/code''': ''same as above Adding More'' | *'''codeiw_trans/code''': ''same as above Adding More'' | ||
Now, you can link an article to the same in other languages. Adding codenowiki[[de:Hauptseite]]/nowiki/code on your english Main_Page will create a link Deutsch below the toolbox, which leads to the Main_Page of the German wiki (Hauptseite). | Now, you can link an article to the same in other languages. Adding codenowiki[[de:Hauptseite]]/nowiki/code on your english Main_Page will create a link Deutsch below the toolbox, which leads to the Main_Page of the German wiki (Hauptseite). | ||
Note, that this link is shown in Sidebar's section, '''only''', and not inside of the article. If you want to create a link inside of the text, you have to add a colon previous to the prefix: codenowiki[[:de:Hauptseite]]/nowiki/code. | Note, that this link is shown in Sidebar's section, '''only''', and not inside of the article. If you want to create a link inside of the text, you have to add a colon previous to the prefix: codenowiki[[:de:Hauptseite]]/nowiki/code. | ||
[[Category:Help|Interwiki linking]] | [[Category:Help|Interwiki linking]] |