Main Page: Difference between revisions

From Wikitech
Content deleted Content added
better
Replaced content with "{{MP}}"
Line 1: Line 1:
{{MP}}
__NOTOC__
<!-- This is a modified source of wikipedia main page, I stole it :) --Petrb -->
{| id="mp-topbanner" style="width:100%; background:#f9f9f9; margin:1.2em 0 6px 0; border:1px solid #ddd;"
<!-- "WELCOME TO LABS" -->
| style="text-align:center; white-space:nowrap; color:#000;" |
<div style="font-size:180%; border:none; color:#000;">Wikimedia Labs</div>
<div style="top:+0.2em; font-size:95%;">A place where magic is to happen</div>
[[File:Invisible Pink Unicorn.svg||center|280x280px]]
|}
{| id="mp-upper" style="width: 100%; margin:4px 0 0 0; background:none; border-spacing: 0px;"
| class="MainPageBG" style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;" |
{| id="mp-left" style="vertical-align:top; background:#f5fffa;"
! style="padding:2px;" | <h2 id="mp-tfa-h2" style="margin:3px; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">About</h2>
|-
| style="color:#000;" | <div id="mp-tfa" style="padding:2px 5px">This is Wikimedia Labs. It is meant to make it easier for developers and system administrators to try out improvements to Wikimedia infrastructure, including MediaWiki, and to do analytics and bot work.
</div>
|-
! style="padding:2px;" | <h2 id="mp-dyk-h2" style="margin:3px; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Help</h2>
|-
| style="color:#000; padding:2px 5px 5px;" | <div id="mp-dyk">For a complete list of help pages see [[Help:Contents|Content of help]]

=== General ===

* For information about terminology used in Labs, see [[Help:Terminology|terminology]].
* For information about access and privileges, see [[Help:Access|access]].
* For information about git and gerrit, see [[Git]].

=== Managing instances ===

* For information about instances, see [[Help:Instances|instances help]].
* For information about security groups, see [[Help:Security Groups|security groups page]]
</div>
|}
| style="border:1px solid transparent;" |
<!-- USAGE -->
| class="MainPageBG" style="width:45%; border:1px solid #cedff2; background:#f5faff; vertical-align:top;"|
{| id="mp-right" style="width:100%; vertical-align:top; background:#f5faff;"
! style="padding:2px;" | <h2 id="mp-itn-h2" style="margin:3px; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">Usage</h2>
|-
| style="color:#000; padding:2px 5px;" | <div id="mp-itn">{{Infobox2
| label1='''Number of {{#ask:[[Resource Type::project]]|?=|?Member|?Description|limit=0|mainlabel=-|searchlabel=projects}}:'''
| data1={{#ask:[[Resource Type::project]]|format=count}}
| label2='''Number of {{#ask:[[Resource Type::instance]]|?Instance Name|?Instance Type|?Project|?Image Id|?FQDN|?Launch Time|?Puppet Class|?Modification date|?Instance Host|?Number of CPUs|?RAM Size|?Amount of Storage|limit=0|searchlabel=instances}}:'''
| data2={{#ask:[[Resource Type::instance]]|format=count}}
| label3='''Amount of RAM in use (in MBs):'''
| data3={{#ask:[[Resource Type::instance]]|?RAM Size|format=sum}}
| label4='''Amount of allocated storage (in GBs):'''
| data4={{#ask:[[Resource Type::instance]]|?Amount of Storage|format=sum}}
| label5='''Number of virtual CPUs in use:'''
| data5={{#ask:[[Resource Type::instance]]|?Number of CPUs|format=sum}}
}}
</div>
|}
|}
<!-- LOGGING -->{| id="mp-lower" style="margin:4px 0 0 0; width:100%; background:none; border-spacing: 0px;"
| class="MainPageBG" style="width:100%; border:1px solid #ddcef2; background:#faf5ff; vertical-align:top; color:#000;"|
{| id="mp-bottom" style="vertical-align:top; background:#faf5ff; color:#000; width:100%"
! style="padding:2px;" | <h2 id="mp-tfp-h2" style="margin:3px; background:#ddcef2; font-size:120%; font-weight:bold; border:1px solid #afa3bf; text-align:left; color:#000; padding:0.2em 0.4em">Logging</h2>
|-
| style="color:#000; padding:2px;" | <div id="mp-tfp">
Every project has a Server Admin Log. The logs are combined together in a single [[Server Admin Log]] that displays logs for all projects, ordered by most recent activity. You can add a log entry in the #wikimedia-labs channel on Freenode by using the following command:

<pre>!log <projectname> <message></pre>

It's best to log all changes to the instances in your project. Doing so makes it easier for others to follow your progress, and to more easily join your project and help out.
</div>
|}
|}
<!-- SECTIONS AT BOTTOM OF PAGE -->
<div id="mp-other" style="padding-top:4px; padding-bottom:2px;">

Revision as of 16:44, 24 February 2012