Zwischencheckin
This commit is contained in:
parent
0bf71ba2b0
commit
b64f112286
3 changed files with 230 additions and 39 deletions
|
@ -8,19 +8,19 @@
|
|||
<!-- metadata -->
|
||||
<meta name="generator" content="S5" />
|
||||
<meta name="version" content="S5 1.1" />
|
||||
<meta name="presdate" content="FIXME 20051000" />
|
||||
<meta name="codesdate" content="FIXME 20051000" />
|
||||
<meta name="author" content="Neingeist <neingeist@entropia.de>" />
|
||||
<meta name="company" content="Entropia e.V." />
|
||||
<!-- configuration parameters -->
|
||||
<meta name="defaultView" content="slideshow" />
|
||||
<meta name="controlVis" content="hidden" />
|
||||
<!-- style sheet links -->
|
||||
<link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" />
|
||||
<link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" />
|
||||
<link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" />
|
||||
<link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" />
|
||||
<link rel="stylesheet" href="ui/neingeist/slides.css" type="text/css" media="projection" id="slideProj" />
|
||||
<link rel="stylesheet" href="ui/neingeist/outline.css" type="text/css" media="screen" id="outlineStyle" />
|
||||
<link rel="stylesheet" href="ui/neingeist/print.css" type="text/css" media="print" id="slidePrint" />
|
||||
<link rel="stylesheet" href="ui/neingeist/opera.css" type="text/css" media="projection" id="operaFix" />
|
||||
<!-- S5 JS -->
|
||||
<script src="ui/default/slides.js" type="text/javascript"></script>
|
||||
<script src="ui/neingeist/slides.js" type="text/javascript"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
@ -36,44 +36,227 @@
|
|||
</div>
|
||||
|
||||
|
||||
<div class="presentation">
|
||||
<div class="codesentation">
|
||||
|
||||
<div class="slide">
|
||||
<h1>MediaWiki-Workshop</h1>
|
||||
<h2>MediaWiki für Entropianer</h2>
|
||||
<h2>MediaWiki benutzen für Entropianer</h2>
|
||||
<h3>Neingeist <neingeist@entropia.de></h3>
|
||||
<h4>Entropia e.V.</h4>
|
||||
</div>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
<div class="slide">
|
||||
<h1>Warum ein Wiki?</h1>
|
||||
<ul>
|
||||
<li>Viele Leute können mitarbeiten</li>
|
||||
<li>Einfach zugegriffen (Web-Browser) und gelernt</li>
|
||||
<li>Nicht knietief im XHTML waten</li>
|
||||
<li>Wachsen und gedeihen</li>
|
||||
<li>Features für die Struktur miteingebaut</li>
|
||||
<li>Beispiele:</li>
|
||||
<ul>
|
||||
<li><a target=new href="http://www.wikipedia.org">Wikipedia</a></li>
|
||||
<li><a target=new href="http://entropia.de">Entropia Wiki</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
<div class="slide">
|
||||
<h1>Warum gerade MediaWiki bei Entropia?</h1>
|
||||
<ul>
|
||||
<li>Schick</li>
|
||||
<li>KeinCamelCaSe</li>
|
||||
<li>Nette Features (Galerien)</li>
|
||||
<li>Zur Zeit der Umstellung weniger heftige Lücken</li>
|
||||
<li>En vogue</li>
|
||||
<li>Irre langsam</li>
|
||||
<li>Kurz: könnte auch andere Software sein, aber so richtig überzeugen tat der Rest nicht</li>
|
||||
</ul>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
<div class="slide">
|
||||
<h1>Wie Einstieg finden?</h1>
|
||||
<ul>
|
||||
<li>Ausprobieren!<br/><a target=new href="http://entropia.de/wiki/Sandkasten">http://entropia.de/wiki/Sandkasten</a></li>
|
||||
<li>Viele andere Artikel oder andere Wikis (Wikipedia) ansehen!</li>
|
||||
<li>Sei mutig!</li>
|
||||
</ul>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
<div class="slide">
|
||||
<h1>Syntax</h1>
|
||||
|
||||
<table border="1">
|
||||
|
||||
<tr><td><code>
|
||||
== Überschrift Ebene 2 ==<br />
|
||||
=== Überschrift Ebene 3 ===
|
||||
</code></td><td>
|
||||
<h2 class="mediawiki">Überschrift 2</h2>
|
||||
<h3 class="mediawiki">Überschrift 3</h3>
|
||||
</td></tr>
|
||||
|
||||
<tr><td><code>
|
||||
[[Artikel]]<br />
|
||||
[[Artikel|Foobar]]
|
||||
</code></td><td>
|
||||
<a target=new href="http://example.com/wiki/Artikel">Artikel</a><br />
|
||||
<a target=new href="http://example.com/wiki/Artikel">Foobar</a>
|
||||
</td></tr>
|
||||
|
||||
|
||||
<tr><td><code>
|
||||
[http://www.google.de Google]
|
||||
</code></td><td>
|
||||
<a target=new href="http://www.google.de">Google</a>
|
||||
</td></tr>
|
||||
|
||||
|
||||
<tr><td><code>
|
||||
'''fette Sachen''' und ''schiefe Sachen''
|
||||
</code></td><td>
|
||||
<b>fette Sachen</b> und <i>schiefe Sachen</i>
|
||||
</td></tr>
|
||||
|
||||
</table>
|
||||
</code>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
<div class="slide">
|
||||
<h1>Neue und alte Seiten</h1>
|
||||
|
||||
<ul>
|
||||
<li>Allpages</li>
|
||||
<li>Zufälliger Artikel</li>
|
||||
<li>Seite anlegen:
|
||||
<ul>
|
||||
<li><code>[[Meine neue Seite]]</code> und/oder</li>
|
||||
<li>entropia.de/wiki/Meine neue Seite</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
<div class="slide">
|
||||
<h1>Bilder und andere Dateien</h1>
|
||||
<ul>
|
||||
<li>Hochladen (nur wenn angemeldet!)</li>
|
||||
<li>Als vollständiges Bild: <code>[[Bild:Foo.jpg]]</code></li> (<a target=new href="screenshots/mediawiki-screenshot-Picture.jpg">So sieht's aus</a>)
|
||||
<li>Als Thumbnails:<br/> <code>[[Bild:Foo.jpg|thumb|Das Foo]]</code> oder <code>[[Bild:Foo.jpg|thumb|200px|Das Foo]]</code></li>(<a target=new href="screenshots/mediawiki-screenshot-Picture-thumb.jpg">So sieht's aus</a>)
|
||||
<li>Als Galerie:<br/>
|
||||
<code>
|
||||
<gallery><br/>
|
||||
Bild:Foo.jpg|Das Foo<br/>
|
||||
Bild:Bar.jpg|Mein Bar<br/>
|
||||
</gallery><br/>
|
||||
</code>
|
||||
</li>(<a target=new href="screenshots/mediawiki-screenshot-Picture-galleries.jpg">So sieht's aus</a>)
|
||||
</ul>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
<div class="slide">
|
||||
<h1>Kategorien</h1>
|
||||
<ul>
|
||||
<li>Einfaches Mittel zur Strukturierung</li>
|
||||
<li>Artikel in Kategorien einordnen <code>[[Kategorie:Technik]]</code></li>
|
||||
<li>MediaWiki erzeugt alphabetische Liste<br/>
|
||||
<a target=new href="http://entropia.de/wiki/Kategorie:Projekte">Kategorie:Projekte</a></li>
|
||||
<li>Häufig über Vorlagen realisiert (später)</li>
|
||||
<li>Nett um Übersichten zu pflegen (gegenchecken mittels Wikibot, später)</li>
|
||||
<li><code>[[:Kategorie:Technik]]</code></li>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
|
||||
<div class="slide">
|
||||
<h1>Slide 1</h1>
|
||||
<h1>Vorlagen</h1>
|
||||
<ul>
|
||||
<li>[point one]</li>
|
||||
<li>[point two]</li>
|
||||
<li>[point three]</li>
|
||||
<li>[point four]</li>
|
||||
<li>[point five]</li>
|
||||
<li>Artikel mit Titel "Vorlage:Meine Vorlage" anlegen</li>
|
||||
<li>Mit <code>{{Meine Vorlage}}</code> einbinden</li>
|
||||
<li>Variablen können in der Vorlage als <code>{{{meine_variable}}}</code> eingebaut werden</li>
|
||||
<li><code>{{Meine Vorlage|meine_variable=foo}}</code></li>
|
||||
<li>Können auch Kategorien enthalten<br>
|
||||
<a target=new href="http://entropia.de/wiki/Vorlage:FIXME">Vorlage:FIXME</a></li>
|
||||
</ul>
|
||||
<div class="handout">
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
|
||||
|
||||
<div class="slide">
|
||||
<h1>Slide 2</h1>
|
||||
<ul>
|
||||
<li>[point one]</li>
|
||||
<li>[point two]</li>
|
||||
<li>[point three]</li>
|
||||
<li>[point four]</li>
|
||||
<li>[point five]</li>
|
||||
</ul>
|
||||
<div class="handout">
|
||||
</div>
|
||||
</div>
|
||||
<h1>Entropia-Spezifisches: [[Entropia:FIXME]]
|
||||
</h1>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
</div>
|
||||
|
||||
<div class="slide">
|
||||
<h1>Spez. Konfiguration
|
||||
</h1>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
<div class="slide">
|
||||
<h1>Uploads
|
||||
</h1>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
<div class="slide">
|
||||
<h1>Editieren nur als Benutzer?
|
||||
</h1>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
|
||||
<div class="slide">
|
||||
<h1>Hilfen & Plugins</h1>
|
||||
<ul>
|
||||
<li><a href="http://www.bananeweizen.de/mozilla/wikipedia/firefox_wikipedia.html">Firefox-Plugin</a></li>
|
||||
<li><a href="http://meta.wikimedia.org/wiki/User:Mutante/RSSFeed">RSS-Feeds einbinden mit MagpieRSS</a></li>
|
||||
<li>Wikibots - mehr später!</a></li>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
<div class="slide">
|
||||
<h1>Exkurs: Von TWiki zu Mediawiki</h1>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
</ul>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
<div class="slide">
|
||||
<h1>Wozu Wikibots?</h1>
|
||||
<ul>
|
||||
<li>Seiten kategorisieren</li>
|
||||
<li>Übersichten überprüfen</li>
|
||||
<li>Automatisch Inhalte (Termine) einpflegen</li>
|
||||
<li>Bilder hochladen</li>
|
||||
<li>siehe Wikipedia FIXME</li>
|
||||
<li>Lästiges</li>
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
|
||||
<div class="slide">
|
||||
<h1>Neinomaten == Wikibots</h1>
|
||||
|
||||
<pre>
|
||||
<font color="#a520f7">#!/usr/bin/env ruby</font>
|
||||
<font color="#a520f7">require</font> <font color="#6b59ce">'</font><font color="#ff00ff">../mediawikibot</font><font color="#6b59ce">'</font>
|
||||
|
||||
<font color="#a52829"><b>if</b></font> <font color="#008a8c">ARGV</font>.size() != <font color="#ff00ff">2</font>
|
||||
<font color="#008a8c">$stderr</font>.print(<font color="#008a8c">$0</font> + <font color="#6b59ce">"</font><font color="#ff00ff"> <wiki-user> <wiki-password></font><font color="#6b59ce">\n</font><font color="#6b59ce">"</font>)
|
||||
<font color="#a52829"><b>exit</b></font>(<font color="#ff00ff">1</font>)
|
||||
<font color="#a52829"><b>end</b></font>
|
||||
|
||||
b = <font color="#008a8c">MediaWikiBot</font>::<font color="#008a8c">WikiBot</font>.new(<font color="#6b59ce">"</font><font color="#ff00ff"><a target=new href="http://entropia.de/wiki/">http://entropia.de/wiki/</a></font><font color="#6b59ce">"</font>)
|
||||
b.login(<font color="#008a8c">ARGV</font>[<font color="#ff00ff">0</font>], <font color="#008a8c">ARGV</font>[<font color="#ff00ff">1</font>])
|
||||
|
||||
old = b.get_raw(<font color="#6b59ce">"</font><font color="#ff00ff">RoboRally</font><font color="#6b59ce">"</font>)
|
||||
new = old.gsub(<font color="#6b59ce">/</font><font color="#ff00ff">\[#reg ([^|]*?)\]</font><font color="#6b59ce">/i</font>,
|
||||
<font color="#6b59ce">'</font><font color="#ff00ff">[[#Gesperrte Register|\1]]</font><font color="#6b59ce">'</font>)
|
||||
b.edit(<font color="#6b59ce">"</font><font color="#ff00ff">RoboRally</font><font color="#6b59ce">"</font>, new, <font color="#6b59ce">"</font><font color="#ff00ff">Kaputte interne Links repariert</font><font color="#6b59ce">"</font>)
|
||||
</pre>
|
||||
|
||||
</div> <!-- class="slide" -->
|
||||
|
||||
|
||||
</div> <!-- codesentation -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -7,8 +7,10 @@
|
|||
|
||||
div#header, div#footer, .slide {width: 100%; top: 0; left: 0;}
|
||||
div#header {top: 0; height: 3em; z-index: 1;}
|
||||
|
||||
div#footer {top: auto; bottom: 0; height: 2.5em; z-index: 5;}
|
||||
.slide {top: 0; width: 92%; padding: 3.5em 4% 4%; z-index: 2; list-style: none;}
|
||||
|
||||
div#controls {left: 50%; bottom: 0; width: 50%; z-index: 100;}
|
||||
div#controls form {position: absolute; bottom: 0; right: 0; width: 100%;
|
||||
margin: 0;}
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
/* Following are the presentation styles -- edit away! */
|
||||
|
||||
body {background: #000 url(bodybg.gif) -16px 0 no-repeat; color: #000; font-size: 2em;}
|
||||
body {
|
||||
background: #000;
|
||||
color: #fff;
|
||||
font-size: 2em;
|
||||
font-family: verdana, helvetica, sans-serif;
|
||||
}
|
||||
:link, :visited {text-decoration: none; color: #00C;}
|
||||
#controls :active {color: #88A !important;}
|
||||
#controls :focus {outline: 1px dotted #227;}
|
||||
|
@ -28,21 +33,22 @@ sup {font-size: smaller; line-height: 1px;}
|
|||
.slide ul ul {line-height: 1;}
|
||||
.slide ul ul li {margin: .2em; font-size: 85%; list-style: square;}
|
||||
.slide img.leader {display: block; margin: 0 auto;}
|
||||
.slide h1 {position: absolute; top: 0.7em; left: 87px; z-index: 1;
|
||||
margin: 0; padding: 0.3em 0 0 70px; white-space: nowrap;
|
||||
font: bold 150%/1em Helvetica, sans-serif;
|
||||
color: #fff; background: #000 transparent;}
|
||||
.slide h3 {font-size: 130%;}
|
||||
|
||||
div#header, div#footer {background: #000; color: #AAB;
|
||||
font-family: Verdana, Helvetica, sans-serif;}
|
||||
div#header {background: #000 url(bodybg.gif) -16px 0 no-repeat;
|
||||
div#header {background: #f00 url(pesthoernchen.png) 0 0 no-repeat;
|
||||
line-height: 1px; }
|
||||
|
||||
div#footer {font-size: 0.5em; font-weight: bold; padding: 1em 0;}
|
||||
#footer h1, #footer h2 {display: block; padding: 0 1em;}
|
||||
#footer h2 {font-style: italic;}
|
||||
|
||||
div.long {font-size: 0.75em;}
|
||||
.slide h1 {position: absolute; top: 0.7em; left: 87px; z-index: 1;
|
||||
margin: 0; padding: 0.3em 0 0 50px; white-space: nowrap;
|
||||
font: bold 150%/1em Helvetica, sans-serif; text-transform: capitalize;
|
||||
color: #fff; background: #000;}
|
||||
.slide h3 {font-size: 130%;}
|
||||
h1 abbr {font-variant: small-caps;}
|
||||
|
||||
div#controls {position: absolute; left: 50%; bottom: 0;
|
||||
|
@ -63,7 +69,7 @@ div#controls form {position: absolute; bottom: 0; right: 0; width: 100%;
|
|||
#slide0 {padding-top: 3.5em; font-size: 90%;}
|
||||
#slide0 h1 {position: static; margin: 1em 0 0; padding: 0;
|
||||
font: bold 2em Helvetica, sans-serif; white-space: normal;
|
||||
color: #000; background: transparent;}
|
||||
}
|
||||
#slide0 h2 {font: bold italic 1em Helvetica, sans-serif; margin: 0.25em;}
|
||||
#slide0 h3 {margin-top: 1.5em; font-size: 1.5em;}
|
||||
#slide0 h4 {margin-top: 0; font-size: 1em;}
|
||||
|
|
Reference in a new issue