Editing User:Dneary

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
Hi, I'm Dave Neary, the maemo.org docsmaster. That means I'm at the service of the maemo.org community. My role is to help improve existing documentation, facilitate the community in situations where they need help getting infrastructure or information, and in general make myself useful.
+
'''Staging ground for new main page'''
-
Here I host some drafts for content which will go "live" later.
+
<!-- ==== "Welcome to maEmo Wiki" and article count ======== -->
 +
{| style="width:400px; border:solid 0px; background:none;"
 +
|style="width:400px; text-align:left; white-space:nowrap; color:#000;" |
 +
<div style="font-size:200%; border:none; margin:0; color:#000;">Welcome to the [[maemo]] wiki.</div>
 +
<div id="articlecount" style="width:100%; text-align:center; font-size:85%;">[[Special:Statistics|{{NUMBEROFARTICLES}}]] articles.</div>
 +
|}
-
== Documenting maemo.org ==
+
This wiki is to replace [http://maemo.org/community/wiki/ old one]. There is no registration form, just use your login information from [http://garage.maemo.org/ Garage].
-
A list of community processes that need better documentation:
+
-
* [[Maemo.org team/Updating maemo.org sites | How does the live website get updated from maemo2midgard SVN?]]
+
{|style="margin:0px 0px 15px 0px; background:none;" width="100%"
-
* Where does the information for the user profile page come from in the Midgard database?
+
|class="MainPageBG" style="border:1px solid #e2dbd2; background:#fff0df; vertical-align:top; color:#000;"|
-
* Which pages in maemo.org have custom templates associated, and where are they in maemo2midgard SVN?
+
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#fff0df;"
-
* In general, what is the process for publishing/displaying a Midgard page?
+
! <div style="border: 1px solid #aea395; background:#ffd9ac; height: 52px; display: block; position: relative; padding: 0.1em 0.1em 0.1em 0.5em">[[Image:50px-Nuvola apps important yellow.svg.png|50px|right]]<h2 style="font-size: 120%; font-weight: bold; position: absolute; z-index: 10; border: none; text-decoration: none">Hot Topics</h2></div>
-
* Autobuilder documentation
+
|-
-
* extras-testing infrastructure documentation
+
|style="color:#000;"|
-
* Web configuration (which directories can be touched, which cannot, and why)
+
{{Hot Topics}}
-
* Servers and services, logins and roles
+
|-
 +
|}
 +
|}
 +
<!-- Top Tier Subject Selections -->
 +
<!-- Community-->
 +
{|style="margin:0px 0px 0px 0px; background:none;width:100%;"
 +
|class="MainPageBG category_block_stage"|
 +
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#fff0df;"
 +
! <div class="category_header">[[Image:Maemo contact icon-fade.png|52px|right]]<h2 class="category_header_title">Community</h2></div>
 +
|-
 +
|style="color:#000;"|
 +
{{Community staging}}
 +
|-
 +
|}
-
== "Edit help" extension ==
+
<!-- Development -->
-
I created a very simple extension for Mediawiki to allow us to add a "help getting started in the wiki" text at the top of every editing page. Here are the instructions for installing it:
+
|style="border:1px solid transparent"|
 +
|class="MainPageBG category_block_stage"|
 +
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#fff0df;"
 +
! <div class="category_header">[[Image:Maemo xterm icon-fade.png|52px|right]]<h2 style="font-size: 120%; font-weight: bold; position: absolute; z-index: 10; border: none; text-decoration: none">Development</h2></div>
 +
|-
 +
|style="color:#000;"|
 +
{{Development staging}}
 +
|-
 +
|}
-
1. Add the following line to LocalSettings.php:
+
<!-- User documentation -->
-
require_once("$IP/extensions/EditHelp.php");
+
 
-
2. Put the following in a file in mediawiki's extensions directory, in a file called EditHelp.php (we use the page hook [http://www.mediawiki.org/wiki/Manual:Hooks/EditPage::showEditForm:initial editFormTextTop] to insert the text into the page):
+
|style="border:1px solid transparent"|
-
<pre>
+
|class="MainPageBG category_block_stage"|
-
<?php
+
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#fff0df;"
-
if ( !defined( 'MEDIAWIKI' ) )
+
! <div class="category_header">[[Image:Maemo Info icon-fade.png|52px|right]]<h2 style="font-size: 120%; font-weight: bold; position: absolute; z-index: 10; border: none; text-decoration: none">User documentation</h2></div>
-
        die ();
+
|-
-
+
|style="color:#000;"|
-
$wgHooks['EditPage::showEditForm:initial'][] = 'editHelp';
+
{{Users staging}}
-
+
|-
-
function editHelp($editPage) {
+
|}
-
        global $wgOut;
+
|}
-
+
 
-
$editPage->editFormTextTop .= $wgOut->parse( '{{Edit help}}' );
+
__NOEDITSECTION__ <!-- disables the [edit] links from being shown -->
-
+
__NOTOC__ <!-- disable the table of contents from ever being shown -->
-
        return true;
+
-
}
+
-
</pre>
+
-
3. Put the editing help instructions in a template called [[Template:Edit help]]
+

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)