When you connect to this website, you send your IP address and sometimes some cookies. You may also give us personal identifying information, such as your name and contact information. All this data is used to securely provide you with the services that you request. We encourage you to review our privacy policy to make sure that you understand how your data is managed, and to contact us if you have any questions. View Privacy Policy

Difference between revisions of "NASPAWiki:PD help/Copying"

From NASPAWiki

You are viewing a condensed mobile version of this NASPA webpage.
Switch to full version.

(New page: {{PD Help Page}} {{move|Project:PD help/Copying}} You can obtain a copy of the help system in this wiki for local use in your own wiki following these steps: # In a separate browser wi...)
(No difference)

Revision as of 09:52, 20 February 2009

PD
Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See Project:PD help/Copying for instructions.
PD


Template:Move


You can obtain a copy of the help system in this wiki for local use in your own wiki following these steps:

  1. In a separate browser window, navigate to Special:Export (on this wiki). You will see an open textbox asking you for a list of pages to export.
  2. Copy the list below and paste it into that textbox. This is a generally useful set, making the resulting help structure in your wiki look almost identical to the one here.
  3. Make sure the box "Include only the current revision, not the full history" is checked.
  4. Click the 'Export' button.
  5. Save the file to your desktop or other convenient location you'll remember.
  6. Navigate to Special:Import on your wiki. Note that you must be logged in as an Admin/Sysop (or another user with the import right) to do this.
  7. Browse for the file you saved, and click 'Upload file'.
  8. Navigate to Special:Imagelist (on this wiki).
  9. For each image referenced below, click on the (file) link and save the image to the same location as before.
  10. Navigate to Special:Upload in your wiki and upload each of the images.

You will probably have to edit some of the pages to fix links, but at least this will provide a starting point.

You will also probably need Extension:ParserFunctions so that the Languages bar at the bottom of the pages functions properly.

Also keep in mind that most default wiki installations do not support SVG images. Information about SVG support can be found in the Manual:Image_Administration#SVG page.

File list

Help:Assigning permissions
Help:Blocking users
Help:Categories
Help:Contents
Help:Deleting a page
Help:Editing
Help:Editing pages
Help:External searches
Help:Formatting
Help:Images
Help:Linked images
Help:Links
Help:Magic words
Help:Managing files
Help:Moving a page
Help:Namespaces
Help:Navigation
Help:Patrolled edits
Help:Preferences
Help:Protected pages
Help:Protecting and unprotecting pages
Help:Range blocks
Help:Redirects
Help:Searching
Help:Signatures
Help:Skins
Help:Special pages
Help:Starting a new page
Help:Subpages
Help:Sysop deleting and undeleting
Help:Sysops and permissions
Help:Tables
Help:Talk pages
Help:Templates
Help:Tracking changes
Help:User page
Help:Variables
Help:Watchlist
Category:Help
Template:Admin tip
Template:Hl2
Template:Hl3
Template:Languages
Template:Languages/Lang
Template:Mediawiki
Template:Note
Template:PD
Template:PD Help Page
Template:Prettytable
Template:Thankyou
Image:Bulbgraph.png
Image:Example.jpg
Image:Example-white-bg.jpg
Image:Geographylogo.png
Image:M-en-interwiki lang.png
Image:M-en-pagetabs.png
Image:M-en-recentchanges.png
Image:M-en-sidebar.png
Image:M-en-userlinks.png
Image:PD-Help icon.png
Image:PD-icon.svg
Image:Tools.svg

Currently red links

Move to the above list when these non-orphan help pages get written:

Automated copying

If you use pywikipedia, there is a script to automate the copying at http://www.mediawiki.org/wiki/User:Sanbeg/mirrorhelp.py , which copies all pages in the help namespace along with templates and images directly referenced by those.

Template

Syntax

{{Languages|PageName}}
  • PageName (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on MediaWiki/fr you would need to use {{Languages|MediaWiki}} and not {{Languages|MediaWiki/fr}}).

Usage

The template should only be placed on pages that exist in more than one language, and it should be placed in the same location on each translation of the page.

The English version of a page is always the main version, with all other languages as sub-pages, named using the appropriate language code (see below).

For example, on the Main Page you would include the text {{Languages}}, both on Main Page itself, and on each of its language sub-pages. The template automatically creates links to any language sub-pages that exist, e.g. Main Page/ja<tt>, <tt>Main Page/fr, and ignores non-existant languages.

See Project:Language policy for further details about translating pages.

Supported languages

This shows you the name of each language's sub-page (using Main Page as an example). Other languages may be added easily as necessary. Please use the appropriate prefix, as used on Wikipedia when adding a new language. Please do not add languages for which no pages exist yet, as this will increase the time needed to include the template without adding any benefit (languages are only displayed to the user when the relevant page exists).

The link on the language names goes to the Wikipedia in that language. If no Wikipedia in your language exists, do not add pages in that language to MediaWiki.org! This wiki is not the place for language advocacy - please go through the correct channels, and once your language has a Wikipedia then please return to add content here.

Page Name Language
Main Page English

Example

Here is how the language bar looks on the MediaWiki page: Template loop detected: Template:Languages