r44770 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44769‎ | r44770 | r44771 >
Date:16:29, 18 December 2008
Author:jhsoby
Status:ok
Tags:
Comment:
Changing index.html to portal, adding Faroese translation
Modified paths:
  • /trunk/tools/planet/gmq/templates/index.fo.html.tmpl (modified) (history)
  • /trunk/tools/planet/gmq/templates/index.html.tmpl (modified) (history)
  • /trunk/tools/planet/gmq/www/images/planetlogo.png (added) (history)

Diff [purge]

Index: trunk/tools/planet/gmq/www/images/planetlogo.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/tools/planet/gmq/www/images/planetlogo.png
___________________________________________________________________
Added: svn:mime-type
11 + application/octet-stream
Index: trunk/tools/planet/gmq/templates/index.html.tmpl
@@ -1,164 +1,96 @@
2 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 -<html dir="ltr" xml:lang="ltr">
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>
 2+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
263
27 -<div class="gmq-langlinks" style="float:none;text-align:center;margin:5em;font-size:200%;"><a href="index.da.html">Dansk</a> · <a href="index.fo.html">Føroyskt</a> · <a href="index.is.html">Íslenska</a> · Norsk (<a href="index.nb.html">bokmål</a> · <a href="index.nn.html">nynorsk</a>) · <a href="index.sv.html">Svenska</a></div>
28 -
29 -<h1><TMPL_VAR name></h1>
30 -
31 -<TMPL_LOOP Items>
32 -<TMPL_IF new_date>
33 -<TMPL_UNLESS __FIRST__>
34 -### End <div class="channelgroup">
35 -</div>
36 -### End <div class="daygroup">
37 -</div>
38 -</TMPL_UNLESS>
39 -<div class="daygroup">
40 -<h2><TMPL_VAR new_date></h2>
41 -</TMPL_IF>
42 -
43 -<TMPL_IF new_channel>
44 -<TMPL_UNLESS new_date>
45 -### End <div class="channelgroup">
46 -</div>
47 -</TMPL_UNLESS>
48 -<div class="channelgroup">
49 -
50 -### Planet provides template variables for *all* configuration options for
51 -### the channel (and defaults), even if it doesn't know about them. We
52 -### exploit this here to add hackergotchi faces to our channels. Planet
53 -### doesn't know about the "face", "facewidth" and "faceheight" configuration
54 -### variables, but makes them available to us anyway.
55 -
56 -<h3><a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title_plain ESCAPE="HTML">"><TMPL_VAR channel_name></a></h3>
57 -<TMPL_IF channel_face>
58 -<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="">
59 -</TMPL_IF>
60 -</TMPL_IF>
61 -
62 -
63 -<div class="entrygroup" id="<TMPL_VAR id>"<TMPL_IF channel_language> lang="<TMPL_VAR channel_language>"</TMPL_IF>>
64 -<TMPL_IF title>
65 -<h4<TMPL_IF title_language> lang="<TMPL_VAR title_language>"</TMPL_IF>><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a></h4>
66 -</TMPL_IF>
67 -<div class="entry">
68 -<div class="content"<TMPL_IF content_language> lang="<TMPL_VAR content_language>"</TMPL_IF>>
69 -<TMPL_VAR content>
70 -</div>
71 -
72 -### Planet also makes available all of the information from the feed
73 -### that it can. Use the 'planet-cache' tool on the cache file for
74 -### a particular feed to find out what additional keys it supports.
75 -### Comment extra fields are 'author' and 'category' which we
76 -### demonstrate below.
77 -
78 -<p class="date">
79 -<a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_IF author>by <TMPL_VAR author> at </TMPL_IF><TMPL_VAR date><TMPL_IF category> under <TMPL_VAR category></TMPL_IF></a>
80 -</p>
81 -</div>
82 -</div>
83 -
84 -<TMPL_IF __LAST__>
85 -### End <div class="channelgroup">
86 -</div>
87 -### End <div class="daygroup">
88 -</div>
89 -</TMPL_IF>
90 -</TMPL_LOOP>
91 -
92 -
93 -<div class="sidebar">
94 -<img src="images/logo.png" width="135" height="135" alt="">
95 -<h2>Subscribe</h2>
96 -<ul><li>
97 -<a href="https://www.mediawiki.org/atom.xml">atom feed</A></li>
98 -<li><a href="https://www.mediawiki.org/rss10.xml">rss 1.0</A></li>
99 -<li><a href="https://www.mediawiki.org/rss20.xml">rss 2.0</a></li>
100 -</ul>
101 -
102 -<h2>About</h2>
103 -
104 -<I>Planet Wikimedia is a combined view on what Wikimedia project participants have to say in their blogs about wikis. <a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia">More information ..</A>
105 -</I>
106 -
107 -<h2>Subscriptions</h2>
108 -<ul>
109 -<TMPL_LOOP Channels>
110 -<li>
111 -<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>
112 -</li>
113 -</TMPL_LOOP>
114 -</ul>
115 -<P>
116 -<strong><a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia">Add your blog</A> &ndash; <a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia/New_language">Request new language</A></strong>
117 -</P>
118 -<p>
119 -<strong>Last updated:</strong><br>
120 -<TMPL_VAR date><br>
121 -<em>All times are UTC.</em><br>
122 -<br>
123 -Powered by:<br>
124 -<a href="http://www.planetplanet.org/"><img src="images/planet.png" width="80" height="15" alt="Planet" border="0"></a>
125 -</p>
126 -<P>
127 -<H2>Disclaimer</H2>
128 -Planet Wikimedia is operated by the non-profit <a href="http://wikimediafoundation.org/">Wikimedia Foundation</A> for the purpose of facilitating the sharing of
129 -information and opinions among members of the Wikimedia community. The aggregation of posts from weblogs is a computer-controlled process, and the Wikimedia Foundation is not liable for any material
130 -submitted by participants in this online community.
131 -</P>
132 -<p>
133 -<h2>Planetarium:</h2>
134 -<ul>
135 -<li><a href="http://wikiblogplanet.com/">Wiki Blog Planet</a></li>
136 -<li><a href="http://planet.creativecommons.org/">Planet CC</A></li>
137 -<li><a href="http://planet.laptop.org/">Planet OLPC</A></li>
138 -<li><a href="http://planet.freedesktop.org/">Planet freedesktop.org</a></li>
139 -<li><a href="http://planet.mozilla.org/">Planet Mozilla</A></li>
140 -<li><a href="http://planet.inkscape.org/">Planet Inkscape</A></li>
141 -<li><a href="http://planet.ubuntu.com/">Planet Ubuntu</A></li>
142 -<li><a href="http://planet.debian.net/">Planet Debian</a></li>
143 -<li><a href="http://planet.fedoraproject.org/">Planet Fedora</a></li>
144 -<li><a href="http://intelligentdesigns.net/Planet_tracker">more...</a></li>
145 -</ul>
146 -</p>
147 -<p>
148 -<h2>In other languages:</h2>
149 -<ul>
150 -<li><a href="http://ar.planet.wikimedia.org">العربية</a></li>
151 -<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
152 -<li><a href="http://de.planet.wikimedia.org">Deutsch</a></li>
153 -<li><a href="http://en.planet.wikimedia.org">English</a></li>
154 -<li><a href="http://fr.planet.wikimedia.org">Français</a></li>
155 -<li><a href="http://pl.planet.wikimedia.org">Polski</a></li>
156 -<li><a href="http://pt.planet.wikimedia.org">Português</a></li>
157 -<li><a href="http://ru.planet.wikimedia.org">Русский</a></li>
158 -<li><a href="http://sr.planet.wikimedia.org">Српски / Srpski</a></li>
159 -<li><a href="http://zh.planet.wikimedia.org">中文</a></li>
160 -</ul>
161 -</p>
162 -</div>
163 -</body>
164 -
165 -</html>
 4+<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="gmq" xml:lang="gmq">
 5+<head>
 6+<title>Planet Wikimedia</title>
 7+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 8+
 9+<style type="text/css" media="screen, projection">/*<![CDATA[*/ @import "http://en.wikinews.org/skins-1.5/monobook/main.css"; /*]]>*/</style>
 10+<link rel="stylesheet" type="text/css" media="print" href="http://en.wikinews.org/skins-1.5/common/commonPrint.css" />
 11+<!--[if lt IE 5.5000]><style type="text/css">@import "http://en.wikinews.org/skins-1.5/monobook/IE50Fixes.css";</style><![endif]-->
 12+
 13+<!--[if IE 5.5000]><style type="text/css">@import "http://en.wikinews.org/skins-1.5/monobook/IE55Fixes.css";</style><![endif]-->
 14+<!--[if IE 6]><style type="text/css">@import "http://en.wikinews.org/skins-1.5/monobook/IE60Fixes.css";</style><![endif]-->
 15+<!--[if IE 7]><style type="text/css">@import "http://en.wikinews.org/skins-1.5/monobook/IE70Fixes.css";</style><![endif]-->
 16+<!--[if lt IE 7]><meta http-equiv="imagetoolbar" content="no" /><![endif]-->
 17+<script type="text/javascript">
 18+ function focusSearchBox() {
 19+ document.getElementById("searchInput").focus();
 20+ }
 21+ function addLoadEvent(fn) {
 22+ if (window.addEventListener) window.addEventListener("load", fn, false);
 23+ else if (window.attachEvent) window.attachEvent("onload", fn);
 24+ }
 25+ addLoadEvent(focusSearchBox);
 26+</script>
 27+
 28+</head>
 29+<body style="background: #ffffff; margin-top:5em;">
 30+<div id="globalWrapper">
 31+<div id="column-content">
 32+<div id="bodyContent">
 33+<div class="plainlinks">
 34+
 35+<!-- the text at the top -->
 36+<div style="margin: 1em 0 0.3em 0; text-align: center; font-size: 30px; line-height: 110%; font-family: 'Arial', sans-serif;" class="plainlinks">
 37+<img src="images/planetlogo.png" width="238" height="16" alt="Planet Wikimedia" />
 38+</div>
 39+
 40+<!-- container div for the central logo and the links to the largest language editions -->
 41+<div style="text-align: center; vertical-align: middle; max-width: 100%; width: 42em; margin: 0 auto 0 auto; height: 26em; position: relative;">
 42+
 43+<!-- the central logo -->
 44+<div style="position: absolute; left: 50%; top: 50%; width: 0; height: 0;">
 45+<div style="position: relative; left: -80px; top: -110px; width: 160px; height: 160px;">
 46+<img src="http://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Wikimedia_Community_Logo.svg/160px-Wikimedia_Community_Logo.svg.png" width="160" height="160" alt="" />
 47+</div>
 48+</div>
 49+
 50+<!-- #3 -->
 51+
 52+<div style="position: absolute; top: 10%; left: 14%; background: #fff; text-align:right;" lang="sv" xml:lang="sv">
 53+<big><strong><a href="index.sv.html">Svenska</a></strong></big>
 54+</div>
 55+
 56+<!-- #4 -->
 57+<div style="position: absolute; top: 10%; right: 6%; background: #fff; text-align:left;" lang="nb" xml:lang="nb">
 58+<big><strong><a href="index.nb.html">Norsk (bokmål)</a></strong></big>
 59+</div>
 60+
 61+<!-- #5 -->
 62+<div style="position: absolute; top: 40%; left: 8%; background: #fff; text-align:right;" lang="da" xml:lang="da">
 63+<big><strong><a href="index.da.html">Dansk</a></strong></big>
 64+</div>
 65+
 66+<!-- #6 -->
 67+<div style="position: absolute; top: 40%; right: 0%; background: #fff; text-align:left;" lang="nn" xml:lang="nn">
 68+<big><strong><a href="index.nn.html">Norsk (nynorsk)</a></strong></big>
 69+</div>
 70+
 71+<!-- #7 -->
 72+<div style="position: absolute; top: 70%; left: 14%; background: #fff; text-align:right;" lang="is" xml:lang="is">
 73+<big><strong><a href="index.is.html">Íslenska</a></strong></big>
 74+</div>
 75+
 76+<!-- #8 -->
 77+
 78+<div style="position: absolute; top: 70%; right: 16%; background: #fff; text-align:left;" lang="fo" xml:lang="fo">
 79+<big><strong><a href="index.fo.html">Føroyskt</a></strong></big>
 80+</div>
 81+
 82+<div style="position: absolute; top: 85%; right:35%; background: #fff; text-align:center;" lang="mul" xml:lang="mul">
 83+<a href="atom.xml">atom</a> • <a href="rss10.xml">rss 1.0</a> • <a href="rss20.xml">rss 2.0</a>
 84+</div>
 85+
 86+<div style="position: fixed; bottom: 1em; left: 50%; text-align: center;">
 87+<a href="http://wikimediafoundation.org/" style="margin-left:-44px;"><img src="http://upload.wikimedia.org/wikipedia/commons/8/8b/Wikimedia-button-for-homepage.png" width="88" height="31" alt="Wikimedia" /></a>
 88+</div>
 89+
 90+</div>
 91+
 92+</div>
 93+</div>
 94+</div>
 95+</div>
 96+</body>
 97+</html>
Index: trunk/tools/planet/gmq/templates/index.fo.html.tmpl
@@ -75,7 +75,7 @@
7676 ### demonstrate below.
7777
7878 <p class="date">
79 -<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>
 79+<a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_IF author>av <TMPL_VAR author> </TMPL_IF><TMPL_VAR date></a>
8080 </p>
8181 </div>
8282 </div>
@@ -91,20 +91,20 @@
9292
9393 <div class="sidebar">
9494 <img src="images/logo.png" width="135" height="135" alt="">
95 -<h2>Abonnieren</h2>
 95+<h2>Gerst haldari</h2>
9696 <ul><li>
97 -<a href="https://www.mediawiki.org/atom.xml">atom feed</A></li>
 97+<a href="https://www.mediawiki.org/atom.xml">atom fóður</A></li>
9898 <li><a href="https://www.mediawiki.org/rss10.xml">rss 1.0</A></li>
9999 <li><a href="https://www.mediawiki.org/rss20.xml">rss 2.0</a></li>
100100 </ul>
101101
102 -<h2>Über</h2>
 102+<h2>Um</h2>
103103
104104 <I>
105 -Planet Wikimedia ist eine Übersicht der Blog-Beiträge von Wikimedianern über Wikis. <a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia">Mehr Infos ..</A>
 105+Planet Wikimedia er eitt yvurlit yvur hvat, luttakarir í Wikimediaverkætlaðum fortelja um wikiur í bloggum teirra. <a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia">Meira upplýsing ...</a></A>
106106 </I>
107107
108 -<h2>Teilnehmer</h2>
 108+<h2>Bloggari</h2>
109109 <ul>
110110 <TMPL_LOOP Channels>
111111 <li>
@@ -113,20 +113,20 @@
114114 </TMPL_LOOP>
115115 </ul>
116116 <P>
117 -<strong><a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia">Blog eintragen</A> &ndash; <a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia/New_language">Neue Sprache beantragen</A></strong>
 117+<strong><a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia">Legg mína blog afturat</A> &ndash; <a href="http://meta.wikimedia.org/wiki/Planet_Wikimedia/New_language">Skjót upp nýtt mál</A></strong>
118118 </P>
119119 <p>
120 -<strong>Zuletzt aktualisiert:</strong><br>
 120+<strong>Seinast dagført:</strong><br>
121121 <TMPL_VAR date><br>
122 -<em>Alle Zeiten in UTC.</em><br>
 122+<em>Allar tíðir eru í UTC.</em><br>
123123 <br>
124 -Software:<br>
 124+Forrit:<br>
125125 <a href="http://www.planetplanet.org/"><img src="images/planet.png" width="80" height="15" alt="Planet" border="0"></a>
126126 </p>
127127 <P>
128 -<H2>Haftungsausschluss</H2>
 128+<H2>Fyrivarni</H2>
129129
130 -Planet Wikimedia wird von der gemeinnützigen <a href="http://wikimediafoundation.org/">Wikimedia Foundation</A> betrieben, um den Austausch von Informationen und Meinungen in der Wikimedia-Gemeinschaft zu fördern. Die automatisierte Zusammenführung von Beiträgen ist ein vollautomatischer, programmierter Prozess, und die Wikimedia Foundation trägt keinerlei rechtliche Verantwortung für die von Teilnehmern publizierten Beiträge.
 130+Planet Wikimedia verkætlanin verður rikin av felagsskapinum <a href="http://wikimediafoundation.org/">Wikimedia Foundation</a> við tí endamálið at deila upplýsingar og meiningar millum brúkarir á Wikimedia. Innsavnan av greinum frá bloggum er teldustýrt, og Wikimedia Foundation stendur ikki til svars fyri tað innihalda sum er inn savna.
131131 </P>
132132 <p>
133133 <h2>Planetarium</h2>
@@ -138,14 +138,15 @@
139139 <li><a href="http://planet.gnome.org/">Planet GNOME</a></li>
140140 <li><a href="http://planetsun.org/">Planet Sun</a></li>
141141 <li><a href="http://fedora.linux.duke.edu/fedorapeople/">Fedora People</a></li>
142 -<li><a href="http://www.planetplanet.org/">more...</a></li>
 142+<li><a href="http://www.planetplanet.org/">meira...</a></li>
143143 </ul>
144144 </p>
145145 <p>
146 -<h2>Sprachen</h2>
 146+<h2>Á øðrum málum</h2>
147147 <ul>
148148 <li><a href="http://ar.planet.wikimedia.org">العربية</a></li>
149 -<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
 149+<li><a href="http://cs.planet.wikimedia.org">Česky</a></li>
 150+<li><a href="http://de.planet.wikimedia.org">Deutsch</a></li>
150151 <li><a href="http://en.planet.wikimedia.org">English</a></li>
151152 <li><a href="http://fr.planet.wikimedia.org">Français</a></li>
152153 <li><a href="http://pl.planet.wikimedia.org">Polski</a></li>

Status & tagging log