From Test-Scratch-Wiki

(Created page with "Use the following steps to '''create a new Test Wiki''': # Create the namespace (this must be done by someone with server access and must be done before any of the other steps...")
 
(completed)
Line 1: Line 1:
 
Use the following steps to '''create a new Test Wiki''':
 
Use the following steps to '''create a new Test Wiki''':
# Create the namespace (this must be done by someone with server access and must be done before any of the other steps; if you do not have server access, contact someone who does)
+
# Create the namespace (this must be done by someone with server access and must be done before any of the other steps; if you do not have server access, contact someone who does). Do the following in the correct locations (properly indented, unlike here), where <code>lan</code> is the [[wikipedia:List of ISO 639-1 codes|ISO 639-2/'''T''']] language code and <code>ln</code> is the ISO 629-1 code:
 +
#* Add <code>defineTestWiki('LAN', 'Lan', next even number);</code>
 +
#* Add <code>case 'Lan': $pagelang = 'ln'; break;</code>
 +
#* Add <code>case NS_LAN: case NS_LAN_T: $pagelang = 'ln'; break;</code>
 
# Create the home page (ask the person who wants to create the Wiki what title to use), for starter content copy the [[Eng:Scratch Wiki Home|English Wiki home]]
 
# Create the home page (ask the person who wants to create the Wiki what title to use), for starter content copy the [[Eng:Scratch Wiki Home|English Wiki home]]
 +
# Create the Lan:Test Scratch Wiki Home page, by subst:ing [[Eng:Test Scratch Wiki Home]] (parameters needed are obvious by looking there)
 
# Add the Wiki to [[Eng:Scratch Wiki Home/translate]] and [[Eng:Test Scratch Wiki Home/translate]]
 
# Add the Wiki to [[Eng:Scratch Wiki Home/translate]] and [[Eng:Test Scratch Wiki Home/translate]]
 
# Add the Wiki to [[Template:Translate]] and [[Template:Translate/doc]]
 
# Add the Wiki to [[Template:Translate]] and [[Template:Translate/doc]]
 
# Add the Wiki to the [[MediaWiki:Sidebar|sidebar]] (this must be done by an administrator; if you are not an administrator, ask an administrator)
 
# Add the Wiki to the [[MediaWiki:Sidebar|sidebar]] (this must be done by an administrator; if you are not an administrator, ask an administrator)

Revision as of 11:24, 10 June 2021

Use the following steps to create a new Test Wiki:

  1. Create the namespace (this must be done by someone with server access and must be done before any of the other steps; if you do not have server access, contact someone who does). Do the following in the correct locations (properly indented, unlike here), where lan is the ISO 639-2/T language code and ln is the ISO 629-1 code:
    • Add defineTestWiki('LAN', 'Lan', next even number);
    • Add case 'Lan': $pagelang = 'ln'; break;
    • Add case NS_LAN: case NS_LAN_T: $pagelang = 'ln'; break;
  2. Create the home page (ask the person who wants to create the Wiki what title to use), for starter content copy the English Wiki home
  3. Create the Lan:Test Scratch Wiki Home page, by subst:ing Eng:Test Scratch Wiki Home (parameters needed are obvious by looking there)
  4. Add the Wiki to Eng:Scratch Wiki Home/translate and Eng:Test Scratch Wiki Home/translate
  5. Add the Wiki to Template:Translate and Template:Translate/doc
  6. Add the Wiki to the sidebar (this must be done by an administrator; if you are not an administrator, ask an administrator)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.