r44055 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44054‎ | r44055 | r44056 >
Date:02:16, 30 November 2008
Author:jhsoby
Status:ok
Tags:
Comment:
Reverting; the proof-of-concept test worked - Scandinavian Planet Wikimedia one step closer ;)
Modified paths:
  • /trunk/tools/planet/de/config.ini (modified) (history)
  • /trunk/tools/planet/de/templates/index.nb.html.tmpl (deleted) (history)

Diff [purge]

Index: trunk/tools/planet/de/config.ini
@@ -20,7 +20,7 @@
2121 log_level = ERROR
2222
2323 # template_files: Space-separated list of output template files
24 -template_files = /usr/local/planet/wikimedia/de/templates/index.html.tmpl /usr/local/planet/wikimedia/de/templates/index.nb.html.tmpl /usr/local/planet/wikimedia/de/templates/atom.xml.tmpl /usr/local/planet/wikimedia/de/templates/rss20.xml.tmpl /usr/local/planet/wikimedia/de/templates/rss10.xml.tmpl /usr/local/planet/wikimedia/de/templates/opml.xml.tmpl /usr/local/planet/wikimedia/de/templates/foafroll.xml.tmpl
 24+template_files = /usr/local/planet/wikimedia/de/templates/index.html.tmpl /usr/local/planet/wikimedia/de/templates/atom.xml.tmpl /usr/local/planet/wikimedia/de/templates/rss20.xml.tmpl /usr/local/planet/wikimedia/de/templates/rss10.xml.tmpl /usr/local/planet/wikimedia/de/templates/opml.xml.tmpl /usr/local/planet/wikimedia/de/templates/foafroll.xml.tmpl
2525
2626 # The following provide defaults for each template:
2727 # output_dir: Directory to place output files
Index: trunk/tools/planet/de/templates/index.nb.html.tmpl
@@ -1,159 +0,0 @@
2 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 -<html>
4 -
5 -### Fancy Planet HTML template.
6 -###
7 -### When combined with the stylesheet and images in the output/ directory
8 -### of the Planet source, this gives you a much prettier result than the
9 -### default examples template and demonstrates how to use the config file
10 -### to support things like faces
11 -###
12 -### For documentation on the more boring template elements, see
13 -### examples/config.ini and examples/index.html.tmpl in the Planet source.
14 -
15 -<head>
16 -<title><TMPL_VAR name></title>
17 -<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
18 -<meta name="generator" content="<TMPL_VAR generator ESCAPE="HTML">">
19 -<link rel="stylesheet" href="planet.css" type="text/css">
20 -<TMPL_IF feedtype>
21 -<link rel="alternate" href="<TMPL_VAR feed ESCAPE="HTML">" title="<TMPL_VAR channel_title_plain ESCAPE="HTML">" type="application/<TMPL_VAR feedtype>+xml">
22 -</TMPL_IF>
23 -</head>
24 -
25 -<body>
26 -<h1><TMPL_VAR name></h1>
27 -
28 -<TMPL_LOOP Items>
29 -<TMPL_IF new_date>
30 -<TMPL_UNLESS __FIRST__>
31 -### End <div class="channelgroup">
32 -</div>
33 -### End <div class="daygroup">
34 -</div>
35 -</TMPL_UNLESS>
36 -<div class="daygroup">
37 -<h2><TMPL_VAR new_date></h2>
38 -</TMPL_IF>
39 -
40 -<TMPL_IF new_channel>
41 -<TMPL_UNLESS new_date>
42 -### End <div class="channelgroup">
43 -</div>
44 -</TMPL_UNLESS>
45 -<div class="channelgroup">
46 -
47 -### Planet provides template variables for *all* configuration options for
48 -### the channel (and defaults), even if it doesn't know about them. We
49 -### exploit this here to add hackergotchi faces to our channels. Planet
50 -### doesn't know about the "face", "facewidth" and "faceheight" configuration
51 -### variables, but makes them available to us anyway.
52 -
53 -<h3><a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title_plain ESCAPE="HTML">"><TMPL_VAR channel_name></a></h3>
54 -<TMPL_IF channel_face>
55 -<img class="face" src="images/<TMPL_VAR channel_face ESCAPE="HTML">" width="<TMPL_VAR channel_facewidth ESCAPE="HTML">" height="<TMPL_VAR channel_faceheight ESCAPE="HTML">" alt="">
56 -</TMPL_IF>
57 -</TMPL_IF>
58 -
59 -
60 -<div class="entrygroup" id="<TMPL_VAR id>"<TMPL_IF channel_language> lang="<TMPL_VAR channel_language>"</TMPL_IF>>
61 -<TMPL_IF title>
62 -<h4<TMPL_IF title_language> lang="<TMPL_VAR title_language>"</TMPL_IF>><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a></h4>
63 -</TMPL_IF>
64 -<div class="entry">
65 -<div class="content"<TMPL_IF content_language> lang="<TMPL_VAR content_language>"</TMPL_IF>>
66 -<TMPL_VAR content>
67 -</div>
68 -
69 -### Planet also makes available all of the information from the feed
70 -### that it can. Use the 'planet-cache' tool on the cache file for
71 -### a particular feed to find out what additional keys it supports.
72 -### Comment extra fields are 'author' and 'category' which we
73 -### demonstrate below.
74 -
75 -<p class="date">
76 -<a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_IF author>von <TMPL_VAR author> - </TMPL_IF><TMPL_VAR date><TMPL_IF category> unter <TMPL_VAR category></TMPL_IF></a>
77 -</p>
78 -</div>
79 -</div>
80 -
81 -<TMPL_IF __LAST__>
82 -### End <div class="channelgroup">
83 -</div>
84 -### End <div class="daygroup">
85 -</div>
86 -</TMPL_IF>
87 -</TMPL_LOOP>
88 -
89 -
90 -<div class="sidebar">
91 -<img src="images/logo.png" width="135" height="135" alt="">
92 -<h2>Abonnieren</h2>
93 -<ul><li>
94 -<a href="https://www.mediawiki.org/atom.xml">atom feed</A></li>
95 -<li><a href="https://www.mediawiki.org/rss10.xml">rss 1.0</A></li>
96 -<li><a href="https://www.mediawiki.org/rss20.xml">rss 2.0</a></li>
97 -</ul>
98 -
99 -<h2>Om</h2>
100 -
101 -<I>
102 -Planet Wikmiedia er en oversikt over blogger om wikiverdenen av Wikimedia-brukere. <a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia">Mer info</a>
103 -</I>
104 -
105 -<h2>Bloggere</h2>
106 -<ul>
107 -<TMPL_LOOP Channels>
108 -<li>
109 -<a href="<TMPL_VAR url ESCAPE="HTML">" title="subscribe"><img src="images/feed-icon-10x10.png" alt="(feed)"></a> <a <TMPL_IF link>href="<TMPL_VAR link ESCAPE="HTML">" </TMPL_IF><TMPL_IF message>class="message" title="<TMPL_VAR message ESCAPE="HTML">"</TMPL_IF><TMPL_UNLESS message>title="<TMPL_VAR title_plain ESCAPE="HTML">"</TMPL_UNLESS>><TMPL_VAR name></a>
110 -</li>
111 -</TMPL_LOOP>
112 -</ul>
113 -<P>
114 -<strong><a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia">Legg til blogg</A> &ndash; <a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia/New_language">Foreslå nytt språk</A></strong>
115 -</P>
116 -<p>
117 -<strong>Sist oppdatert:</strong><br>
118 -<TMPL_VAR date><br>
119 -<em>Alle tider i UTC.</em><br>
120 -<br>
121 -Programvare:<br>
122 -<a href="http://www.planetplanet.org/"><img src="images/planet.png" width="80" height="15" alt="Planet" border="0"></a>
123 -</p>
124 -<P>
125 -<H2>Forbehold</H2>
126 -
127 -Planet Wikimedia er en tjeneste fra <a href="http://wikimediafoundation.org/">Wikimedia Foundation</a> for å tilrettelegge deling av informasjon og meninger blant Wikimedia-verdenens bidragsytere. Henting av poster fra blogger er en datastyrt prosess, og Wikimedia Foundation kan ikke holdes ansvarlig for bloggenes innhold.
128 -</P>
129 -<p>
130 -<h2>Planetarium</h2>
131 -<ul>
132 -<li><a href="http://wikiblogplanet.com/">Wiki Blog Planet</a></li>
133 -<li><a href="http://www.planetapache.org/">Planet Apache</a></li>
134 -<li><a href="http://planet.debian.net/">Planet Debian</a></li>
135 -<li><a href="http://planet.freedesktop.org/">Planet freedesktop.org</a></li>
136 -<li><a href="http://planet.gnome.org/">Planet GNOME</a></li>
137 -<li><a href="http://planetsun.org/">Planet Sun</a></li>
138 -<li><a href="http://fedora.linux.duke.edu/fedorapeople/">Fedora People</a></li>
139 -<li><a href="http://www.planetplanet.org/">mer...</a></li>
140 -</ul>
141 -</p>
142 -<p>
143 -<h2>Språk</h2>
144 -<ul>
145 -<li><a href="http://ar.planet.wikimedia.org">العربية</a></li>
146 -<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
147 -<li><a href="http://de.planet.wikimedia.org">Deutsch</a></li>
148 -<li><a href="http://en.planet.wikimedia.org">English</a></li>
149 -<li><a href="http://fr.planet.wikimedia.org">Français</a></li>
150 -<li><a href="http://pl.planet.wikimedia.org">Polski</a></li>
151 -<li><a href="http://pt.planet.wikimedia.org">Português</a></li>
152 -<li><a href="http://ru.planet.wikimedia.org">Русский</a></li>
153 -<li><a href="http://sr.planet.wikimedia.org">Српски / Srpski</a></li>
154 -<li><a href="http://zh.planet.wikimedia.org">中文</a></li>
155 -</ul>
156 -</p>
157 -</div>
158 -</body>
159 -
160 -</html>

Status & tagging log