Main Page: Difference between revisions

From Wikitech
Content deleted Content added
No edit summary
revert me if you don't like it
Line 1: Line 1:
__NOTOC__
{{Infobox
<!-- 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>
[[File:Wikimedia_labs_small_logo.png]]
<div style="top:+0.2em; font-size:95%;">A place where magic is to happen</div>
|}
<!-- TODAY'S FEATURED CONTENT -->
{| id="mp-upper" style="width: 100%; margin:4px 0 0 0; background:none; border-spacing: 0px;"
<!-- TODAY'S FEATURED ARTICLE; DID YOU KNOW -->
| 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;" |
<!-- IN THE NEWS; ON THIS DAY -->
| 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">{{Infobox
| label1='''Number of {{#ask:[[Resource Type::project]]|?=|?Member|?Description|limit=0|mainlabel=-|searchlabel=projects}}:'''
| label1='''Number of {{#ask:[[Resource Type::project]]|?=|?Member|?Description|limit=0|mainlabel=-|searchlabel=projects}}:'''
| data1={{#ask:[[Resource Type::project]]|format=count}}
| data1={{#ask:[[Resource Type::project]]|format=count}}
Line 11: Line 52:
| data5={{#ask:[[Resource Type::instance]]|?Number of CPUs|format=sum}}
| data5={{#ask:[[Resource Type::instance]]|?Number of CPUs|format=sum}}
}}
}}
</div>
This is [https://www.mediawiki.org/wiki/Wikimedia_Labs 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.
|}

|}
== Documentation ==
<!-- TODAY'S FEATURED LIST --><!-- CONDITIONAL: SHOW/HIDE FROM HERE -->{{#switch:{{CURRENTDAYNAME}}|Monday=
For a complete list of help pages see [[Help:Contents|Content of help]]
<table id="mp-middle" style="margin:4px 0 0 0; width:100%; background:none; border-spacing: 0px;">

<tr>
=== General ===
<td class="MainPageBG" style="width:100%; border:1px solid #f2cedd; background:#fff5fa; vertical-align:top; color:#000;">

<table id="mp-center" style="vertical-align:top; background:#fff5fa; color:#000; width:100%">
* For information about terminology used in Labs, see [[Help:Terminology|terminology]].
<tr>
* For information about access and privileges, see [[Help:Access|access]].
<th style="padding:2px;"><h2 id="mp-tfl-h2" style="margin:3px; background:#f2cedd; font-size:120%; font-weight:bold; border:1px solid #bfa3af; text-align:left; color:#000; padding:0.2em 0.4em">Today's featured list</h2></th>
* For information about git and gerrit, see [[Git]].
</tr><tr>

<td style="color:#000;"><div id="mp-tfl" style="padding:2px 5px;">{{#ifexist:Wikipedia:Today's featured list/{{#time:F j, Y}}|{{Wikipedia:Today's featured list/{{#time:F j, Y}}}}|{{TFLempty}}}}</div></td>
=== Managing instances ===
</tr>

</table>
* For information about instances, see [[Help:Instances|instances help]].
</td>
* For information about security groups, see [[Help:Security Groups|security groups page]]
</tr>

</table>
=== Logging ===
<!-- END TODAY'S FEATURED LIST --><!-- CONDITIONAL: SHOW/HIDE TO HERE -->|}}

<!-- TODAY'S FEATURED PICTURE -->
{| 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:
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:


!log <projectname> <message>
<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.
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 13:34, 24 February 2012

Wikimedia Labs

A place where magic is to happen

About

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.

Help

For a complete list of help pages see Content of help

General

  • For information about terminology used in Labs, see terminology.
  • For information about access and privileges, see access.
  • For information about git and gerrit, see Git.

Managing instances

Usage

Number of {{#ask:Resource Type::project|?=|?Member|?Description|limit=0|mainlabel=-|searchlabel=projects}}: {{#ask:Resource Type::project|format=count}}
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}}: {{#ask:Resource Type::instance|format=count}}
Amount of RAM in use (in MBs): {{#ask:Resource Type::instance|?RAM Size|format=sum}}
Amount of allocated storage (in GBs): {{#ask:Resource Type::instance|?Amount of Storage|format=sum}}
Number of virtual CPUs in use: {{#ask:Resource Type::instance|?Number of CPUs|format=sum}}

Today's featured list

Logging

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:

!log <projectname> <message>

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.