Difference between revisions of "Help:Converting Pages"
Jump to navigation
Jump to search
(most things using {{ }} are probably more appropriate for the <code> tag. switched order of steps to avoid possible confusion. explain <source> tag) |
|||
Line 8: | Line 8: | ||
# Replace all <code>**</code> with <code><nowiki>'''</nowiki></code> | # Replace all <code>**</code> with <code><nowiki>'''</nowiki></code> | ||
# Replace all <code>//</code> with <code><nowiki>''</nowiki></code> | # Replace all <code>//</code> with <code><nowiki>''</nowiki></code> | ||
− | + | # Replace all <code><nowiki>[[code]]</nowiki></code> with <code><nowiki><source lang="text"></nowiki></code> (or specify a different language for syntax highlighting. see [[Help:Style_Guide#Code_Blocks]]) | |
− | |||
− | # Replace all <code><nowiki>[[code]]</nowiki></code> with <code><nowiki><source lang="text"></nowiki></code> | ||
# Replace all <code><nowiki>[[/code]]</nowiki></code> with <code><nowiki></source></nowiki></code> | # Replace all <code><nowiki>[[/code]]</nowiki></code> with <code><nowiki></source></nowiki></code> | ||
+ | # Replace all <code>{{</code> with <code><nowiki><code></nowiki></code> | ||
+ | # Replace all <code>}}</code> with <code><nowiki></code></nowiki></code> | ||
# Change headings to MediaWiki format: find all lines that start with + or ++ or +++ or ++++ , and edit them so that the line is enclosed in the same number of = signs. For example, <code>++ level 2 header</code> becomes <code>== level 2 header ==</code> | # Change headings to MediaWiki format: find all lines that start with + or ++ or +++ or ++++ , and edit them so that the line is enclosed in the same number of = signs. For example, <code>++ level 2 header</code> becomes <code>== level 2 header ==</code> | ||
# Create a link to the new article on this wiki by editing a portal page or the article that you want to be the parent of the new article. For example, <code><nowiki>[[Article Name|Link Text]]</nowiki></code> yields [[Article Name|Link Text]]. Please name your pages in Title Case. | # Create a link to the new article on this wiki by editing a portal page or the article that you want to be the parent of the new article. For example, <code><nowiki>[[Article Name|Link Text]]</nowiki></code> yields [[Article Name|Link Text]]. Please name your pages in Title Case. |
Revision as of 21:53, 21 July 2009
Please help us convert pages from the old wiki.
Here are the steps to follow:
- Go to edit on the old page, and copy the source code into your favorite editor.
- Replace all
[[[
with[[
- Replace all
]]]
with]]
- Replace all
**
with'''
- Replace all
//
with''
- Replace all
[[code]]
with<source lang="text">
(or specify a different language for syntax highlighting. see Help:Style_Guide#Code_Blocks) - Replace all
[[/code]]
with</source>
- Replace all
{{
with<code>
- Replace all
}}
with</code>
- Change headings to MediaWiki format: find all lines that start with + or ++ or +++ or ++++ , and edit them so that the line is enclosed in the same number of = signs. For example,
++ level 2 header
becomes== level 2 header ==
- Create a link to the new article on this wiki by editing a portal page or the article that you want to be the parent of the new article. For example,
[[Article Name|Link Text]]
yields Link Text. Please name your pages in Title Case. - Click on that link to bring up the edit page, and paste in the text from your editor.
- Perform any clean-up editing required. In particular, you may need to edit links to other pages.
- Save.
- Copy the URL of this new page.
- Go back to edit the old page, and add the following line at the top:
[[module Redirect destination=""]]
- Paste the URL in between the quotes.
- Save.