Difference between revisions of "Help:Converting Pages"

From WebOS Internals
Jump to navigation Jump to search
m
("You can not put spaces in page names" o rly?, more fixing)
Line 1: Line 1:
Please help us convert pages from the old wiki.  
+
Please help us convert [[Pages to be Transferred| pages from the old wiki]].
  
Here are the steps to follow:  
+
Here are the steps to follow:
  
# 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]].
+
# Go to edit on the old page, and copy the source code into your favorite editor.
# Please name your pages in TitleCase, with underscores between words, for instance, "Tutorial_Linux_Getting_Started". You can not put spaces in page names.
 
# Click on that link to bring up the edit page. Type a title and save it.
 
# Note the url of this new page.
 
# In another window, go to the old page.
 
# Choose edit. 
 
# Copy all the source off the old page, and paste it into your favorite editor.
 
:: at the top of the old page, type the following line:
 
:: <code><nowiki>[[module Redirect destination="http://www.example.com/base/"]]</nowiki></code> 
 
:: replacing the url with the url of your new page you noted in step 4.
 
# Go back to your editor.  
 
 
# Replace all <code>[[[</code> with <code>[[</code>
 
# Replace all <code>[[[</code> with <code>[[</code>
 
# Replace all <code>]]]</code> with <code>]]</code>
 
# Replace all <code>]]]</code> with <code>]]</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>//</code> with <code><nowiki>''</nowiki></code>
# Find all lines that start with + or ++ or +++ or ++++  
+
# 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>
# Edit them so that the line is enclosed in the same number of = signs == This is header 2 == (note that spaces are required.)
+
# 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.
# Paste the result into the new-page window in the new wiki
+
# Click on that link to bring up the edit page, and paste in the text from your editor.
# Save.  
+
# Perform any clean-up editing required. In particular, you may need to edit links to other pages.
# 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.
'''[[Pages to be Transferred]]'''
+
# Go back to edit the old page, and add the following line at the top:
 +
#: <code><nowiki>[[module Redirect destination=""]]</nowiki></code>
 +
# Paste the URL in between the quotes.
 +
# Save.

Revision as of 17:49, 20 July 2009

Please help us convert pages from the old wiki.

Here are the steps to follow:

  1. Go to edit on the old page, and copy the source code into your favorite editor.
  2. Replace all [[[ with [[
  3. Replace all ]]] with ]]
  4. Replace all ** with '''
  5. Replace all // with ''
  6. 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 ==
  7. 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.
  8. Click on that link to bring up the edit page, and paste in the text from your editor.
  9. Perform any clean-up editing required. In particular, you may need to edit links to other pages.
  10. Save.
  11. Copy the URL of this new page.
  12. Go back to edit the old page, and add the following line at the top:
    [[module Redirect destination=""]]
  13. Paste the URL in between the quotes.
  14. Save.