Moved non-working skins to "disabled" subdirectory
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 18 Nov 2004 11:43:07 +0000 (11:43 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 18 Nov 2004 11:43:07 +0000 (11:43 +0000)
12 files changed:
skins/Amethyst.php [deleted file]
skins/Amethyst.pt [deleted file]
skins/Chick.php [deleted file]
skins/Chick.pt [deleted file]
skins/WikimediaWiki.php [deleted file]
skins/WikimediaWiki.pt [deleted file]
skins/disabled/Amethyst.php [new file with mode: 0644]
skins/disabled/Amethyst.pt [new file with mode: 0644]
skins/disabled/Chick.php [new file with mode: 0644]
skins/disabled/Chick.pt [new file with mode: 0644]
skins/disabled/WikimediaWiki.php [new file with mode: 0644]
skins/disabled/WikimediaWiki.pt [new file with mode: 0644]

diff --git a/skins/Amethyst.php b/skins/Amethyst.php
deleted file mode 100644 (file)
index d5e6397..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/**
- * Amethyst skin
- * Original design by Sorkhiri and Sorwena members of the EverQuest
- * <Amethyst> guild
- * Ported to MediaWiki by Ashar Voultoiz
- *
- * See skin.doc for documentation
- *
- * @todo document
- * @package MediaWiki
- * @subpackage Skins
- */
-
-/** */
-if ($wgUsePHPTal) {
-require_once('includes/SkinPHPTal.php');
-
-/**
- * See skin.doc
- *
- * @todo document
- * @package MediaWiki
- * @subpackage Skins
- */
-class SkinAmethyst extends SkinPHPTal {
-       function initPage( &$out ) {
-               SkinPHPTal::initPage( $out );
-               $this->skinname  = 'amethyst';
-               $this->stylename = 'amethyst';
-               $this->template  = 'Amethyst';
-       }
-}
-
-}
-?>
diff --git a/skins/Amethyst.pt b/skins/Amethyst.pt
deleted file mode 100644 (file)
index 1cf115c..0000000
+++ /dev/null
@@ -1,150 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${lang}" lang="${lang}" dir="${dir}">
-  <head>
-    <meta http-equiv="Content-Type" content="${mimetype}; charset=${charset}" />
-    ${headlinks}
-    <title tal:content="pagetitle">Exciting xhtml slimfast</title>
-    <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "${stylepath}/${stylename}/main.css"; /*]]>*/</style>
-    <link rel="stylesheet" type="text/css" media="print" href="${stylepath}/common/commonPrint.css" />
-    <!--[if IE]><style type="text/css" media="all">@import "${stylepath}/${stylename}/IEFixes.css";</style>
-    <script type="text/javascript" src="${stylepath}/common/IEFixes.js"></script>
-    <meta http-equiv="imagetoolbar" content="no" /><![endif]-->
-    <script tal:condition="jsvarurl" type="text/javascript" tal:attributes="src jsvarurl"></script>
-    <script type="text/javascript" src="${stylepath}/common/wikibits.js"></script>
-    <style tal:condition="usercss" type="text/css">/*<![CDATA[*/ ${usercss} /*]]>*/</style>
-    <script tal:condition="userjs" type="text/javascript" tal:attributes="src userjs"></script><script 
-      tal:condition="userjsprev" type="text/javascript">/*<![CDATA[*/${userjsprev}/*]]>*/</script>
-  </head>
-  <body tal:attributes="ondblclick body-ondblclick|default; class nsclass|default">
-    <div id="globalWrapper">
-      <div id="column-content">
-       <div id="content">
-         <a name="top" id="contentTop"></a>
-         <div id="siteNotice" tal:condition="sitenotice" tal:content="structure sitenotice"></div>
-         <h1 class="firstHeading" tal:content="title">Leonardo da Vinci</h1>
-         <div id="bodyContent">
-           <h3 id="siteSub" i18n:translate="string:tagline">From Wikipedia, the free encyclopedia.</h3>
-           <div id="contentSub" tal:content="structure subtitle"></div>
-           <div id="contentSub" tal:condition="undelete" tal:content="structure undelete"></div>
-           <div tal:condition="newtalk" class="usermessage" tal:content="structure newtalk"></div>
-           <!-- start content -->
-           ${bodytext}
-           <div tal:condition="catlinks" id="catlinks" tal:content="structure catlinks"></div>
-           <!-- end content -->
-           <div class="visualClear"></div>
-         </div>
-       </div>
-      </div>
-      <div id="column-one">
-       <div id="p-cactions" class="portlet">
-         <h5>Views</h5>
-         <ul>
-           <li tal:repeat="action content_actions" 
-           tal:attributes="id string:ca-${repeat/action/key}; class action/class|default"><a
-             tal:attributes="href action/href|default"
-             tal:content="action/text">Linktext</a></li>
-         </ul>
-       </div>
-       <div class="portlet" id="p-personal">
-         <h5 i18n:translate="string:personaltools">Personal Tools</h5>
-         <div class="pBody">
-           <ul>
-             <li tal:repeat="item personal_urls" 
-             tal:attributes="id string:pt-${repeat/item/key};"><a href="myuserpage"
-               tal:attributes="href item/href; class item/class|default"
-               tal:content="item/text">Log in</a></li>
-           </ul>
-         </div>
-       </div>
-       <div class="portlet" id="p-logo">
-         <a style="background-image: url(${logopath});" href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
-       </div>
-       <div class="portlet" id="p-nav">
-         <h5 i18n:translate="string:navigation">Navigation</h5>
-         <div class="pBody">
-           <ul>
-             <li id="n-mainpage"><a href="${nav_urls/mainpage/href}"
-               i18n:translate="string:mainpage">Main Page</a></li>
-             <li id="n-portal" tal:condition="nav_urls/portal/href"><a href="${nav_urls/portal/href}"
-               i18n:translate="string:portal">Community Portal</a></li>
-             <li id="n-currentevents" tal:condition="nav_urls/currentevents/href"><a href="${nav_urls/currentevents/href}"
-               i18n:translate="string:currentevents">Current Events</a></li>
-             <li id="n-recentchanges"><a href="${nav_urls/recentchanges/href}"
-               i18n:translate="string:recentchanges">Recent Changes</a></li>
-             <li id="n-randompage"><a href="${nav_urls/randompage/href}"
-               i18n:translate="string:randompage">Random Page</a></li>
-             <li id="n-help"><a href="${nav_urls/help/href}"
-               i18n:translate="string:help">Help</a></li>
-             <li id="n-sitesupport" tal:condition="nav_urls/sitesupport/href"><a href="${nav_urls/sitesupport/href}"
-               i18n:translate="string:sitesupport">Donations</a></li>
-           </ul>
-         </div>
-       </div>
-       <div id="p-search" class="portlet">
-         <h5 i18n:translate="string:search">Search</h5>
-         <div class="pBody">
-           <form name="searchform" action="${searchaction}" id="searchform">
-             <input id="searchInput" name="search" type="text"
-             i18n:attributes="accesskey string:accesskey-search | default"/>
-             <input type='submit' name="go" value="Go" class="searchButton" 
-             i18n:attributes="value string:go"/>&nbsp;<input type='submit' name="fulltext"
-             value="Search" class="searchButton"
-             i18n:attributes="value string:search"/>
-           </form>
-         </div>
-       </div>
-       <div class="portlet" id="p-tb">
-         <h5 i18n:translate="string:toolbox">Toolbox</h5>
-         <div class="pBody">
-           <ul>
-             <li id="t-whatlinkshere" tal:condition="notspecialpage"><a href="${nav_urls/whatlinkshere/href}"
-               i18n:translate="string:whatlinkshere">What links here</a></li>
-             <li id="t-recentchangeslinked" tal:condition="notspecialpage"><a href="${nav_urls/recentchangeslinked/href}"
-               i18n:translate="string:recentchangeslinked">Related Changes</a></li>
-             <li tal:condition="feeds" id="feedlinks">
-             <span i18n:translate="string:feedlinks">Feeds:</span>
-             <span tal:repeat="feed feeds" 
-               tal:attributes="id string:feed-${repeat/feed/key};"><a 
-                 tal:attributes="href feed/href;"
-                 tal:content="feed/text">rss</a>&nbsp;</span>
-             </li>
-             <li id="t-contributions" tal:condition="nav_urls/contributions/href"><a href="${nav_urls/contributions/href}"
-               i18n:translate="string:contributions">Contributions</a></li>
-             <li id="t-emailuser" tal:condition="nav_urls/emailuser/href"><a href="${nav_urls/emailuser/href}"
-               i18n:translate="string:emailuser">Email this user</a></li>
-             <li id="t-upload" tal:condition="nav_urls/upload/href"><a href="${nav_urls/upload/href}"
-               i18n:translate="string:upload">Upload a file</a></li>
-             <li id="t-specialpages"><a href="${nav_urls/specialpages/href}"
-               i18n:translate="string:specialpages">Special Pages</a></li>
-           </ul>
-         </div>
-       </div>
-       <div id="p-lang" class="portlet" tal:condition="language_urls">
-         <h5 i18n:translate="string:otherlanguages">Language</h5>
-         <div class="pBody">
-           <ul>
-             <li tal:repeat="langlink language_urls">
-             <a tal:attributes="href langlink/href"
-               tal:content="structure langlink/text">English</a>
-             </li>
-           </ul>
-         </div>
-       </div>
-      </div><!-- end of the left (by default at least) column -->
-      <div class="visualClear"></div>
-      <div id="footer">
-       <div id="f-poweredbyico" tal:condition="poweredbyico">${poweredbyico}</div>
-       <div id="f-copyrightico" tal:condition="copyrightico">${copyrightico}</div>
-       <ul id="f-list">
-         <li id="f-lastmod" tal:condition="lastmod">${lastmod}</li>
-         <li id="f-viewcount" tal:condition="viewcount">${viewcount}</li>
-         <li id="f-credits" tal:condition="credits">${credits}</li>
-         <li id="f-copyright" tal:condition="copyright">${copyright}</li>
-         <li id="f-about" tal:condition="about">${about}</li>
-         <li id="f-disclaimer" tal:condition="disclaimer">${disclaimer}</li>
-       </ul>
-      </div>
-    </div>
-    ${reporttime}
-  </body>
-</html>
diff --git a/skins/Chick.php b/skins/Chick.php
deleted file mode 100644 (file)
index f3e06f3..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-/**
- * See skin.doc
- *
- * @todo document
- * @package MediaWiki
- * @subpackage Skins
- */
-
-/** */
-if ($wgUsePHPTal) {
-require_once('includes/SkinPHPTal.php');
-
-/**
- * See skin.doc
- *
- * @todo document
- * @package MediaWiki
- * @subpackage Skins
- */
-class SkinChick extends SkinPHPTal {
-       function initPage( &$out ) {
-               SkinPHPTal::initPage( $out );
-               $this->skinname = 'chick';
-               $this->template = 'Chick';
-       }
-       function suppressUrlExpansion() { return true; }
-       function printSource() { return ''; }
-}
-
-}
-?>
diff --git a/skins/Chick.pt b/skins/Chick.pt
deleted file mode 100644 (file)
index f6d7092..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${lang}" lang="${lang}" dir="${dir}">
-  <head>
-    <meta http-equiv="Content-Type" content="${mimetype}; charset=${charset}" />
-    <div tal:replace="structure headlinks"></div>
-    <title tal:content="pagetitle">Exciting xhtml slimfast</title>
-    <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "${stylepath}/${stylename}/main.css"; /*]]>*/</style>
-    <script tal:condition="jsvarurl" type="text/javascript" tal:attributes="src jsvarurl"></script>
-    <script type="text/javascript" src="${stylepath}/common/wikibits.js"></script>
-    <style tal:condition="usercss" tal:content="structure usercss" type="text/css"></style>
-    <script tal:condition="userjs" type="text/javascript" tal:attributes="src userjs"></script><script 
-      tal:condition="userjsprev" tal:content="structure userjsprev" type="text/javascript"></script>
-  </head>
-  <body>
-    <a name="top"></a>
-    <div class="searchBox">
-      <form name="searchform" action="${searchaction}" id="searchform">
-        <input id="searchInput" name="search" type="text" size="15"
-        i18n:attributes="accesskey string:accesskey-search | default" />
-        <input type='submit' name="go" value="Go" class="searchButton"
-        i18n:attributes="value string:go" />&nbsp;<input type='submit' name="fulltext"
-        value="Search" class="searchButton" i18n:attributes="value string:search" />
-      </form>
-    </div>
-    <div id="siteNotice" tal:condition="sitenotice" tal:content="structure sitenotice"></div>
-    <h1 class="firstHeading" tal:content="title">Leonardo da Vinci</h1>
-    <div id="siteSub" i18n:translate="string:tagline">From Wikipedia, the free encyclopedia.</div>
-    <div id="contentSub" tal:content="structure subtitle"></div>
-    <div id="contentUndel" tal:condition="undelete" tal:content="structure undelete"></div>
-    <div tal:condition="newtalk" class="usermessage" tal:content="structure newtalk"></div>
-    <div tal:condition="catlinks" id="catlinks" tal:content="structure catlinks"></div>
-    <!-- start content -->
-           <div tal:replace="structure bodytext"></div>
-    <!-- end content -->
-    <hr />
-
-    <div id="p-cactions" class="portlet">
-      <strong>Views:</strong>
-      <span tal:repeat="action content_actions"> <a
-         tal:attributes="id string:ca-${repeat/action/key}; class action/class|default;
-            href action/href|default" tal:content="action/text">Linktext</a> </span>
-    </div>
-
-    <div class="portlet" id="p-personal">
-      <strong><span i18n:translate="string:personaltools">Personal Tools</span>:</strong>
-      <span tal:repeat="item personal_urls"> <a
-         tal:attributes="id string:pt-${repeat/item/key}; href item/href;
-            class item/class|default" tal:content="item/text">Log in</a> </span>
-    </div>
-
-    <div class="portlet" id="p-nav">
-      <strong><span i18n:translate="string:navigation">Navigation</span>:</strong>
-      <a href="${nav_urls/mainpage/href}" i18n:translate="string:mainpage">Main Page</a>
-      <a href="${nav_urls/portal/href}" i18n:translate="string:portal">Community Portal</a>
-      <a href="${nav_urls/currentevents/href}" i18n:translate="string:currentevents">Current Events</a>
-      <a href="${nav_urls/recentchanges/href}" i18n:translate="string:recentchanges">Recent Changes</a>
-      <a href="${nav_urls/randompage/href}" i18n:translate="string:randompage">Random Page</a>
-      <a href="${nav_urls/help/href}" i18n:translate="string:help">Help</a>
-      <a tal:condition="nav_urls/sitesupport/href" href="${nav_urls/sitesupport/href}"
-        i18n:translate="string:sitesupport">Donations</a>
-    </div>
-
-    <div class="portlet" id="p-tb">
-      <strong><span i18n:translate="string:toolbox">Toolbox</span>:</strong>
-      <a href="${nav_urls/whatlinkshere/href}" tal:condition="notspecialpage" i18n:translate="string:whatlinkshere">What links here</a>
-      <a href="${nav_urls/recentchangeslinked/href}" tal:condition="notspecialpage" i18n:translate="string:recentchangeslinked">Related Changes</a>
-      <span tal:condition="feeds" id="feedlinks">
-        <span i18n:translate="string:feedlinks">Feeds:</span>
-        <span tal:repeat="feed feeds"> <a tal:attributes="id string:feed-${repeat/feed/key};
-              href feed/href;" tal:content="feed/text">rss</a> </span>
-      </span>
-      <a tal:condition="nav_urls/contributions/href" href="${nav_urls/contributions/href}" i18n:translate="string:contributions">Contributions</a>
-      <a tal:condition="nav_urls/emailuser/href" href="${nav_urls/emailuser/href}" i18n:translate="string:emailuser">Email this user</a>
-      <a tal:condition="loggedin" href="${nav_urls/upload/href}" i18n:translate="string:upload">Upload a file</a>
-      <a href="${nav_urls/specialpages/href}" i18n:translate="string:specialpages">Special Pages</a>
-    </div>
-
-    <div id="p-lang" class="portlet" tal:condition="language_urls">
-      <strong><span i18n:translate="string:otherlanguages">Other languages</span>:</strong>
-      <span tal:repeat="langlink language_urls"> <a tal:attributes="href langlink/href"
-         tal:content="structure langlink/text">English</a> </span>
-    </div>
-
-    <hr style="clear: both;" />
-
-    <div id="footer">
-      <span tal:condition="poweredbyico" tal:content="structure poweredbyico"></span>
-      <span tal:condition="copyrightico" tal:content="structure copyrightico"></span>
-      <ul id="f-list">
-         <li id="f-lastmod" tal:condition="lastmod" tal:content="structure lastmod"></li>
-         <li id="f-viewcount" tal:condition="viewcount" tal:content="structure viewcount"></li>
-         <li id="f-credits" tal:condition="credits" tal:content="structure credits"></li>
-         <li id="f-copyright" tal:condition="copyright" tal:content="structure copyright"></li>
-         <li id="f-about" tal:condition="about" tal:content="structure about"></li>
-         <li id="f-disclaimer" tal:condition="disclaimer" tal:content="structure disclaimer"></li>
-      </ul>
-    </div>
-    <div tal:replace="structure reporttime"></div>
-  </body>
-</html>
diff --git a/skins/WikimediaWiki.php b/skins/WikimediaWiki.php
deleted file mode 100644 (file)
index 3e125b3..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-<?php
-/**
- * Tentative to make a skin for wikimedia.org
- *
- * @version $Id$
- * @package MediaWiki
- * @subpackage Skins
- */
-
-/** */
-
-if($wgUsePHPTal) {
-require_once('includes/SkinPHPTal.php');
-
-$wgExtraSkins['wikimediawiki'] = 'Wikimediawiki';
-
-require_once('MonoBook.php');
-
-/**
- *
- * @package MediaWiki
- * @subpackage Skins
- */
-class SkinWikimediawiki extends SkinMonoBook {
-       function initPage( &$out ) {
-               SkinPHPTal::initPage( $out );
-               $this->skinname = 'wikimediawiki';
-               $this->stylename = 'monobook';
-               $this->template = 'WikimediaWiki';
-       }
-
-       # build array of common navigation links
-       function buildNavUrls () {
-               global $wgTitle, $wgUser, $wgRequest;
-               global $wgSiteSupportPage;
-
-               $action = $wgRequest->getText( 'action' );
-               $oldid = $wgRequest->getVal( 'oldid' );
-               $diff = $wgRequest->getVal( 'diff' );
-               // XXX: remove htmlspecialchars when tal:attributes works with i18n:attributes
-               $nav_urls = array();
-               $nav_urls['mainpage'] = array('href' => htmlspecialchars( $this->makeI18nUrl('mainpage')));
-               $nav_urls['randompage'] = (wfMsgForContent('randompage') != '-') ? array('href' => htmlspecialchars( $this->makeSpecialUrl('Randompage'))) : false;
-               $nav_urls['recentchanges'] = (wfMsgForContent('recentchanges') != '-') ? array('href' => htmlspecialchars( $this->makeSpecialUrl('Recentchanges'))) : false;
-               $nav_urls['whatlinkshere'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Whatlinkshere', 'target='.urlencode( $this->thispage ))));
-               $nav_urls['currentevents'] = (wfMsgForContent('currentevents') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('currentevents'))) : false;
-               $nav_urls['portal'] = (wfMsgForContent('portal') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('portal-url'))) : false;
-               $nav_urls['recentchangeslinked'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Recentchangeslinked', 'target='.urlencode( $this->thispage ))));
-               $nav_urls['bugreports'] = (wfMsgForContent('bugreports') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('bugreportspage'))) : false;
-               $nav_urls['sitesupport'] = array('href' => htmlspecialchars( $wgSiteSupportPage));
-               $nav_urls['help'] = array('href' => htmlspecialchars( $this->makeI18nUrl('helppage')));
-               $nav_urls['upload'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Upload')));
-               $nav_urls['specialpages'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Specialpages')));
-
-
-               # Specific for mediawiki.org menu
-               $nav_urls['aboutmediawiki'] = (wfMsgForContent('aboutmediawiki') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('aboutmediawiki-url'))) : false;
-               $nav_urls['projects'] = (wfMsgForContent('projects') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('projects-url'))) : false;
-               $nav_urls['membership'] = (wfMsgForContent('membership') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('membership-url'))) : false;
-               $nav_urls['pressroom'] = (wfMsgForContent('pressroom') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('pressroom-url'))) : false;
-               $nav_urls['software'] = (wfMsgForContent('software') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('software-url'))) : false;
-               $nav_urls['localchapters'] = (wfMsgForContent('localchapters') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('localchapters-url'))) : false;
-               $nav_urls['contactus'] = (wfMsgForContent('contactus') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('contactus-url'))) : false;
-
-               if( $wgTitle->getNamespace() == NS_USER || $wgTitle->getNamespace() == NS_USER_TALK ) {
-                       $id = User::idFromName($wgTitle->getText());
-                       $ip = User::isIP($wgTitle->getText());
-               } else {
-                       $id = 0;
-                       $ip = false;
-               }
-
-               if ( 0 != $wgUser->getID() ) { # show only to signed in users
-                       if($id) {
-                               # can only email non-anons
-                               $nav_urls['emailuser'] = array(
-                                       'href' => htmlspecialchars( $this->makeSpecialUrl('Emailuser', "target=" . $wgTitle->getPartialURL() ) )
-                               );
-                               # only non-anons have contrib list
-                               $nav_urls['contributions'] = array(
-                                       'href' => htmlspecialchars( $this->makeSpecialUrl('Contributions', "target=" . $wgTitle->getPartialURL() ) )
-                               );
-                       }
-               }
-
-
-               return $nav_urls;
-       }
-}
-
-}
-?>
diff --git a/skins/WikimediaWiki.pt b/skins/WikimediaWiki.pt
deleted file mode 100644 (file)
index 412ad8f..0000000
+++ /dev/null
@@ -1,164 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${lang}" lang="${lang}" dir="${dir}">
-  <head>
-    <meta http-equiv="Content-Type" content="${mimetype}; charset=${charset}" />
-    ${headlinks}
-    <title tal:content="pagetitle">Exciting xhtml slimfast</title>
-    <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "${stylepath}/${stylename}/main.css"; /*]]>*/</style>
-    <link rel="stylesheet" type="text/css" media="print" href="${stylepath}/common/commonPrint.css" />
-    <!--[if IE]><style type="text/css" media="all">@import "${stylepath}/${stylename}/common/IEFixes.css";</style>
-    <script type="text/javascript" src="${stylepath}/IEFixes.js"></script>
-    <meta http-equiv="imagetoolbar" content="no" /><![endif]-->
-    <script tal:condition="jsvarurl" type="text/javascript" tal:attributes="src jsvarurl"></script>
-    <script type="text/javascript" src="${stylepath}/common/wikibits.js"></script>
-    <style tal:condition="usercss" type="text/css">/*<![CDATA[*/ ${usercss} /*]]>*/</style>
-    <script tal:condition="userjs" type="text/javascript" tal:attributes="src userjs"></script><script 
-      tal:condition="userjsprev" type="text/javascript">/*<![CDATA[*/${userjsprev}/*]]>*/</script>
-  </head>
-  <body tal:attributes="ondblclick body-ondblclick|default; class nsclass|default">
-    <div id="globalWrapper">
-      <div id="column-content">
-       <div id="content">
-         <a name="top" id="contentTop"></a>
-         <div id="siteNotice" tal:condition="sitenotice" tal:content="structure sitenotice"></div>
-         <h1 class="firstHeading" tal:content="title">Leonardo da Vinci</h1>
-         <div id="bodyContent">
-           <h3 id="siteSub" i18n:translate="string:tagline">From Wikipedia, the free encyclopedia.</h3>
-           <div id="contentSub" tal:content="structure subtitle"></div>
-           <div id="contentSub" tal:condition="undelete" tal:content="structure undelete"></div>
-           <div tal:condition="newtalk" class="usermessage" tal:content="structure newtalk"></div>
-           <!-- start content -->
-           ${bodytext}
-           <div tal:condition="catlinks" id="catlinks" tal:content="structure catlinks"></div>
-           <!-- end content -->
-           <div class="visualClear"></div>
-         </div>
-       </div>
-      </div>
-      <div id="column-one">
-       <div id="p-cactions" class="portlet">
-         <h5>Views</h5>
-         <ul>
-           <li tal:repeat="action content_actions" 
-           tal:attributes="id string:ca-${repeat/action/key}; class action/class|default"><a
-             tal:attributes="href action/href|default"
-             tal:content="action/text">Linktext</a></li>
-         </ul>
-       </div>
-       <div class="portlet" id="p-personal">
-         <h5 i18n:translate="string:personaltools">Personal Tools</h5>
-         <div class="pBody">
-           <ul>
-             <li tal:repeat="item personal_urls" 
-             tal:attributes="id string:pt-${repeat/item/key};"><a href="myuserpage"
-               tal:attributes="href item/href; class item/class|default"
-               tal:content="item/text">Log in</a></li>
-           </ul>
-         </div>
-       </div>
-       <div class="portlet" id="p-logo">
-         <a style="background-image: url(${logopath});" href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
-       </div>
-       <div class="portlet" id="p-nav">
-         <h5 i18n:translate="string:navigation">Navigation</h5>
-         <div class="pBody">
-           <ul>
-             <li id="n-mainpage"><a href="${nav_urls/mainpage/href}"
-               i18n:translate="string:mainpage">Home</a></li>
-             <li id="n-aboutmediawiki"><a href="${nav_urls/aboutmediawiki/href}"
-               i18n:translate="string:aboutmediawiki">About MediaWiki</a></li>
-             <li id="n-portal" tal:condition="nav_urls/portal/href"><a href="${nav_urls/portal/href}"
-               i18n:translate="string:portal">Community Portal</a></li>
-             <li id="n-currentevents" tal:condition="nav_urls/currentevents/href"><a href="${nav_urls/currentevents/href}"
-               i18n:translate="string:currentevents">Last News</a></li>
-             <li id="n-projects" tal:condition="nav_urls/projects/href"><a href="${nav_urls/projects/href}"
-               i18n:translate="string:projects">Our projects</a></li>
-             <li id="n-recentchanges" tal:condition="nav_urls/recentchanges/href"><a href="${nav_urls/recentchanges/href}"
-               i18n:translate="string:recentchanges">Recent Changes</a></li>
-             <li id="n-randompage" tal:condition="nav_urls/randompage/href"><a href="${nav_urls/randompage/href}"
-               i18n:translate="string:randompage">Random Page</a></li>
-             <li id="n-help" tal:condition="nav_urls/help/href"><a href="${nav_urls/help/href}"
-               i18n:translate="string:help">Help</a></li>
-             <li id="n-sitesupport" tal:condition="nav_urls/sitesupport/href"><a href="${nav_urls/sitesupport/href}"
-               i18n:translate="string:sitesupport">Support us</a></li>
-             <li id="n-membership" tal:condition="nav_urls/membership/href"><a href="${nav_urls/membership/href}"
-               i18n:translate="string:membership">Membership</a></li>
-             <li id="n-pressroom" tal:condition="nav_urls/pressroom/href"><a href="${nav_urls/pressroom/href}"
-               i18n:translate="string:pressroom">Press room</a></li>
-             <li id="n-software" tal:condition="nav_urls/software/href"><a href="${nav_urls/software/href}"
-               i18n:translate="string:software">Our software</a></li>
-             <li id="n-localchapters" tal:condition="nav_urls/localchapters/href"><a href="${nav_urls/localchapters/href}"
-               i18n:translate="string:localchapters">Local chapters</a></li>
-             <li id="n-contactus" tal:condition="nav_urls/contactus/href"><a href="${nav_urls/contactus/href}"
-               i18n:translate="string:contactus">Contact us</a></li>
-           </ul>
-         </div>
-       </div>
-       <div id="p-search" class="portlet">
-         <h5 i18n:translate="string:search">Search</h5>
-         <div class="pBody">
-           <form name="searchform" action="${searchaction}" id="searchform">
-             <input id="searchInput" name="search" type="text"
-             i18n:attributes="accesskey string:accesskey-search | default"/>
-             <input type='submit' name="go" value="Go" class="searchButton" 
-             i18n:attributes="value string:go"/>&nbsp;<input type='submit' name="fulltext"
-             value="Search" class="searchButton"
-             i18n:attributes="value string:search"/>
-           </form>
-         </div>
-       </div>
-       <div class="portlet" id="p-tb">
-         <h5 i18n:translate="string:toolbox">Toolbox</h5>
-         <div class="pBody">
-           <ul>
-             <li id="t-whatlinkshere" tal:condition="notspecialpage"><a href="${nav_urls/whatlinkshere/href}"
-               i18n:translate="string:whatlinkshere">What links here</a></li>
-             <li id="t-recentchangeslinked" tal:condition="notspecialpage"><a href="${nav_urls/recentchangeslinked/href}"
-               i18n:translate="string:recentchangeslinked">Related Changes</a></li>
-             <li tal:condition="feeds" id="feedlinks">
-             <span i18n:translate="string:feedlinks">Feeds:</span>
-             <span tal:repeat="feed feeds" 
-               tal:attributes="id string:feed-${repeat/feed/key};"><a 
-                 tal:attributes="href feed/href;"
-                 tal:content="feed/text">rss</a>&nbsp;</span>
-             </li>
-             <li id="t-contributions" tal:condition="nav_urls/contributions/href"><a href="${nav_urls/contributions/href}"
-               i18n:translate="string:contributions">Contributions</a></li>
-             <li id="t-emailuser" tal:condition="nav_urls/emailuser/href"><a href="${nav_urls/emailuser/href}"
-               i18n:translate="string:emailuser">Email this user</a></li>
-             <li id="t-upload" tal:condition="loggedin"><a href="${nav_urls/upload/href}"
-               i18n:translate="string:upload">Upload a file</a></li>
-             <li id="t-specialpages"><a href="${nav_urls/specialpages/href}"
-               i18n:translate="string:specialpages">Special Pages</a></li>
-           </ul>
-         </div>
-       </div>
-       <div id="p-lang" class="portlet" tal:condition="language_urls">
-         <h5 i18n:translate="string:otherlanguages">Language</h5>
-         <div class="pBody">
-           <ul>
-             <li tal:repeat="langlink language_urls">
-             <a tal:attributes="href langlink/href"
-               tal:content="structure langlink/text">English</a>
-             </li>
-           </ul>
-         </div>
-       </div>
-      </div><!-- end of the left (by default at least) column -->
-      <div class="visualClear"></div>
-      <div id="footer">
-       <div id="f-poweredbyico" tal:condition="poweredbyico">${poweredbyico}</div>
-       <div id="f-copyrightico" tal:condition="copyrightico">${copyrightico}</div>
-       <ul id="f-list">
-         <li id="f-lastmod" tal:condition="lastmod">${lastmod}</li>
-         <li id="f-viewcount" tal:condition="viewcount">${viewcount}</li>
-         <li id="f-credits" tal:condition="credits">${credits}</li>
-         <li id="f-copyright" tal:condition="copyright">${copyright}</li>
-         <li id="f-about" tal:condition="about">${about}</li>
-         <li id="f-disclaimer" tal:condition="disclaimer">${disclaimer}</li>
-       </ul>
-      </div>
-    </div>
-    ${reporttime}
-  </body>
-</html>
diff --git a/skins/disabled/Amethyst.php b/skins/disabled/Amethyst.php
new file mode 100644 (file)
index 0000000..d5e6397
--- /dev/null
@@ -0,0 +1,36 @@
+<?php
+/**
+ * Amethyst skin
+ * Original design by Sorkhiri and Sorwena members of the EverQuest
+ * <Amethyst> guild
+ * Ported to MediaWiki by Ashar Voultoiz
+ *
+ * See skin.doc for documentation
+ *
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Skins
+ */
+
+/** */
+if ($wgUsePHPTal) {
+require_once('includes/SkinPHPTal.php');
+
+/**
+ * See skin.doc
+ *
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Skins
+ */
+class SkinAmethyst extends SkinPHPTal {
+       function initPage( &$out ) {
+               SkinPHPTal::initPage( $out );
+               $this->skinname  = 'amethyst';
+               $this->stylename = 'amethyst';
+               $this->template  = 'Amethyst';
+       }
+}
+
+}
+?>
diff --git a/skins/disabled/Amethyst.pt b/skins/disabled/Amethyst.pt
new file mode 100644 (file)
index 0000000..1cf115c
--- /dev/null
@@ -0,0 +1,150 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${lang}" lang="${lang}" dir="${dir}">
+  <head>
+    <meta http-equiv="Content-Type" content="${mimetype}; charset=${charset}" />
+    ${headlinks}
+    <title tal:content="pagetitle">Exciting xhtml slimfast</title>
+    <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "${stylepath}/${stylename}/main.css"; /*]]>*/</style>
+    <link rel="stylesheet" type="text/css" media="print" href="${stylepath}/common/commonPrint.css" />
+    <!--[if IE]><style type="text/css" media="all">@import "${stylepath}/${stylename}/IEFixes.css";</style>
+    <script type="text/javascript" src="${stylepath}/common/IEFixes.js"></script>
+    <meta http-equiv="imagetoolbar" content="no" /><![endif]-->
+    <script tal:condition="jsvarurl" type="text/javascript" tal:attributes="src jsvarurl"></script>
+    <script type="text/javascript" src="${stylepath}/common/wikibits.js"></script>
+    <style tal:condition="usercss" type="text/css">/*<![CDATA[*/ ${usercss} /*]]>*/</style>
+    <script tal:condition="userjs" type="text/javascript" tal:attributes="src userjs"></script><script 
+      tal:condition="userjsprev" type="text/javascript">/*<![CDATA[*/${userjsprev}/*]]>*/</script>
+  </head>
+  <body tal:attributes="ondblclick body-ondblclick|default; class nsclass|default">
+    <div id="globalWrapper">
+      <div id="column-content">
+       <div id="content">
+         <a name="top" id="contentTop"></a>
+         <div id="siteNotice" tal:condition="sitenotice" tal:content="structure sitenotice"></div>
+         <h1 class="firstHeading" tal:content="title">Leonardo da Vinci</h1>
+         <div id="bodyContent">
+           <h3 id="siteSub" i18n:translate="string:tagline">From Wikipedia, the free encyclopedia.</h3>
+           <div id="contentSub" tal:content="structure subtitle"></div>
+           <div id="contentSub" tal:condition="undelete" tal:content="structure undelete"></div>
+           <div tal:condition="newtalk" class="usermessage" tal:content="structure newtalk"></div>
+           <!-- start content -->
+           ${bodytext}
+           <div tal:condition="catlinks" id="catlinks" tal:content="structure catlinks"></div>
+           <!-- end content -->
+           <div class="visualClear"></div>
+         </div>
+       </div>
+      </div>
+      <div id="column-one">
+       <div id="p-cactions" class="portlet">
+         <h5>Views</h5>
+         <ul>
+           <li tal:repeat="action content_actions" 
+           tal:attributes="id string:ca-${repeat/action/key}; class action/class|default"><a
+             tal:attributes="href action/href|default"
+             tal:content="action/text">Linktext</a></li>
+         </ul>
+       </div>
+       <div class="portlet" id="p-personal">
+         <h5 i18n:translate="string:personaltools">Personal Tools</h5>
+         <div class="pBody">
+           <ul>
+             <li tal:repeat="item personal_urls" 
+             tal:attributes="id string:pt-${repeat/item/key};"><a href="myuserpage"
+               tal:attributes="href item/href; class item/class|default"
+               tal:content="item/text">Log in</a></li>
+           </ul>
+         </div>
+       </div>
+       <div class="portlet" id="p-logo">
+         <a style="background-image: url(${logopath});" href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
+       </div>
+       <div class="portlet" id="p-nav">
+         <h5 i18n:translate="string:navigation">Navigation</h5>
+         <div class="pBody">
+           <ul>
+             <li id="n-mainpage"><a href="${nav_urls/mainpage/href}"
+               i18n:translate="string:mainpage">Main Page</a></li>
+             <li id="n-portal" tal:condition="nav_urls/portal/href"><a href="${nav_urls/portal/href}"
+               i18n:translate="string:portal">Community Portal</a></li>
+             <li id="n-currentevents" tal:condition="nav_urls/currentevents/href"><a href="${nav_urls/currentevents/href}"
+               i18n:translate="string:currentevents">Current Events</a></li>
+             <li id="n-recentchanges"><a href="${nav_urls/recentchanges/href}"
+               i18n:translate="string:recentchanges">Recent Changes</a></li>
+             <li id="n-randompage"><a href="${nav_urls/randompage/href}"
+               i18n:translate="string:randompage">Random Page</a></li>
+             <li id="n-help"><a href="${nav_urls/help/href}"
+               i18n:translate="string:help">Help</a></li>
+             <li id="n-sitesupport" tal:condition="nav_urls/sitesupport/href"><a href="${nav_urls/sitesupport/href}"
+               i18n:translate="string:sitesupport">Donations</a></li>
+           </ul>
+         </div>
+       </div>
+       <div id="p-search" class="portlet">
+         <h5 i18n:translate="string:search">Search</h5>
+         <div class="pBody">
+           <form name="searchform" action="${searchaction}" id="searchform">
+             <input id="searchInput" name="search" type="text"
+             i18n:attributes="accesskey string:accesskey-search | default"/>
+             <input type='submit' name="go" value="Go" class="searchButton" 
+             i18n:attributes="value string:go"/>&nbsp;<input type='submit' name="fulltext"
+             value="Search" class="searchButton"
+             i18n:attributes="value string:search"/>
+           </form>
+         </div>
+       </div>
+       <div class="portlet" id="p-tb">
+         <h5 i18n:translate="string:toolbox">Toolbox</h5>
+         <div class="pBody">
+           <ul>
+             <li id="t-whatlinkshere" tal:condition="notspecialpage"><a href="${nav_urls/whatlinkshere/href}"
+               i18n:translate="string:whatlinkshere">What links here</a></li>
+             <li id="t-recentchangeslinked" tal:condition="notspecialpage"><a href="${nav_urls/recentchangeslinked/href}"
+               i18n:translate="string:recentchangeslinked">Related Changes</a></li>
+             <li tal:condition="feeds" id="feedlinks">
+             <span i18n:translate="string:feedlinks">Feeds:</span>
+             <span tal:repeat="feed feeds" 
+               tal:attributes="id string:feed-${repeat/feed/key};"><a 
+                 tal:attributes="href feed/href;"
+                 tal:content="feed/text">rss</a>&nbsp;</span>
+             </li>
+             <li id="t-contributions" tal:condition="nav_urls/contributions/href"><a href="${nav_urls/contributions/href}"
+               i18n:translate="string:contributions">Contributions</a></li>
+             <li id="t-emailuser" tal:condition="nav_urls/emailuser/href"><a href="${nav_urls/emailuser/href}"
+               i18n:translate="string:emailuser">Email this user</a></li>
+             <li id="t-upload" tal:condition="nav_urls/upload/href"><a href="${nav_urls/upload/href}"
+               i18n:translate="string:upload">Upload a file</a></li>
+             <li id="t-specialpages"><a href="${nav_urls/specialpages/href}"
+               i18n:translate="string:specialpages">Special Pages</a></li>
+           </ul>
+         </div>
+       </div>
+       <div id="p-lang" class="portlet" tal:condition="language_urls">
+         <h5 i18n:translate="string:otherlanguages">Language</h5>
+         <div class="pBody">
+           <ul>
+             <li tal:repeat="langlink language_urls">
+             <a tal:attributes="href langlink/href"
+               tal:content="structure langlink/text">English</a>
+             </li>
+           </ul>
+         </div>
+       </div>
+      </div><!-- end of the left (by default at least) column -->
+      <div class="visualClear"></div>
+      <div id="footer">
+       <div id="f-poweredbyico" tal:condition="poweredbyico">${poweredbyico}</div>
+       <div id="f-copyrightico" tal:condition="copyrightico">${copyrightico}</div>
+       <ul id="f-list">
+         <li id="f-lastmod" tal:condition="lastmod">${lastmod}</li>
+         <li id="f-viewcount" tal:condition="viewcount">${viewcount}</li>
+         <li id="f-credits" tal:condition="credits">${credits}</li>
+         <li id="f-copyright" tal:condition="copyright">${copyright}</li>
+         <li id="f-about" tal:condition="about">${about}</li>
+         <li id="f-disclaimer" tal:condition="disclaimer">${disclaimer}</li>
+       </ul>
+      </div>
+    </div>
+    ${reporttime}
+  </body>
+</html>
diff --git a/skins/disabled/Chick.php b/skins/disabled/Chick.php
new file mode 100644 (file)
index 0000000..f3e06f3
--- /dev/null
@@ -0,0 +1,32 @@
+<?php
+/**
+ * See skin.doc
+ *
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Skins
+ */
+
+/** */
+if ($wgUsePHPTal) {
+require_once('includes/SkinPHPTal.php');
+
+/**
+ * See skin.doc
+ *
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Skins
+ */
+class SkinChick extends SkinPHPTal {
+       function initPage( &$out ) {
+               SkinPHPTal::initPage( $out );
+               $this->skinname = 'chick';
+               $this->template = 'Chick';
+       }
+       function suppressUrlExpansion() { return true; }
+       function printSource() { return ''; }
+}
+
+}
+?>
diff --git a/skins/disabled/Chick.pt b/skins/disabled/Chick.pt
new file mode 100644 (file)
index 0000000..f6d7092
--- /dev/null
@@ -0,0 +1,100 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${lang}" lang="${lang}" dir="${dir}">
+  <head>
+    <meta http-equiv="Content-Type" content="${mimetype}; charset=${charset}" />
+    <div tal:replace="structure headlinks"></div>
+    <title tal:content="pagetitle">Exciting xhtml slimfast</title>
+    <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "${stylepath}/${stylename}/main.css"; /*]]>*/</style>
+    <script tal:condition="jsvarurl" type="text/javascript" tal:attributes="src jsvarurl"></script>
+    <script type="text/javascript" src="${stylepath}/common/wikibits.js"></script>
+    <style tal:condition="usercss" tal:content="structure usercss" type="text/css"></style>
+    <script tal:condition="userjs" type="text/javascript" tal:attributes="src userjs"></script><script 
+      tal:condition="userjsprev" tal:content="structure userjsprev" type="text/javascript"></script>
+  </head>
+  <body>
+    <a name="top"></a>
+    <div class="searchBox">
+      <form name="searchform" action="${searchaction}" id="searchform">
+        <input id="searchInput" name="search" type="text" size="15"
+        i18n:attributes="accesskey string:accesskey-search | default" />
+        <input type='submit' name="go" value="Go" class="searchButton"
+        i18n:attributes="value string:go" />&nbsp;<input type='submit' name="fulltext"
+        value="Search" class="searchButton" i18n:attributes="value string:search" />
+      </form>
+    </div>
+    <div id="siteNotice" tal:condition="sitenotice" tal:content="structure sitenotice"></div>
+    <h1 class="firstHeading" tal:content="title">Leonardo da Vinci</h1>
+    <div id="siteSub" i18n:translate="string:tagline">From Wikipedia, the free encyclopedia.</div>
+    <div id="contentSub" tal:content="structure subtitle"></div>
+    <div id="contentUndel" tal:condition="undelete" tal:content="structure undelete"></div>
+    <div tal:condition="newtalk" class="usermessage" tal:content="structure newtalk"></div>
+    <div tal:condition="catlinks" id="catlinks" tal:content="structure catlinks"></div>
+    <!-- start content -->
+           <div tal:replace="structure bodytext"></div>
+    <!-- end content -->
+    <hr />
+
+    <div id="p-cactions" class="portlet">
+      <strong>Views:</strong>
+      <span tal:repeat="action content_actions"> <a
+         tal:attributes="id string:ca-${repeat/action/key}; class action/class|default;
+            href action/href|default" tal:content="action/text">Linktext</a> </span>
+    </div>
+
+    <div class="portlet" id="p-personal">
+      <strong><span i18n:translate="string:personaltools">Personal Tools</span>:</strong>
+      <span tal:repeat="item personal_urls"> <a
+         tal:attributes="id string:pt-${repeat/item/key}; href item/href;
+            class item/class|default" tal:content="item/text">Log in</a> </span>
+    </div>
+
+    <div class="portlet" id="p-nav">
+      <strong><span i18n:translate="string:navigation">Navigation</span>:</strong>
+      <a href="${nav_urls/mainpage/href}" i18n:translate="string:mainpage">Main Page</a>
+      <a href="${nav_urls/portal/href}" i18n:translate="string:portal">Community Portal</a>
+      <a href="${nav_urls/currentevents/href}" i18n:translate="string:currentevents">Current Events</a>
+      <a href="${nav_urls/recentchanges/href}" i18n:translate="string:recentchanges">Recent Changes</a>
+      <a href="${nav_urls/randompage/href}" i18n:translate="string:randompage">Random Page</a>
+      <a href="${nav_urls/help/href}" i18n:translate="string:help">Help</a>
+      <a tal:condition="nav_urls/sitesupport/href" href="${nav_urls/sitesupport/href}"
+        i18n:translate="string:sitesupport">Donations</a>
+    </div>
+
+    <div class="portlet" id="p-tb">
+      <strong><span i18n:translate="string:toolbox">Toolbox</span>:</strong>
+      <a href="${nav_urls/whatlinkshere/href}" tal:condition="notspecialpage" i18n:translate="string:whatlinkshere">What links here</a>
+      <a href="${nav_urls/recentchangeslinked/href}" tal:condition="notspecialpage" i18n:translate="string:recentchangeslinked">Related Changes</a>
+      <span tal:condition="feeds" id="feedlinks">
+        <span i18n:translate="string:feedlinks">Feeds:</span>
+        <span tal:repeat="feed feeds"> <a tal:attributes="id string:feed-${repeat/feed/key};
+              href feed/href;" tal:content="feed/text">rss</a> </span>
+      </span>
+      <a tal:condition="nav_urls/contributions/href" href="${nav_urls/contributions/href}" i18n:translate="string:contributions">Contributions</a>
+      <a tal:condition="nav_urls/emailuser/href" href="${nav_urls/emailuser/href}" i18n:translate="string:emailuser">Email this user</a>
+      <a tal:condition="loggedin" href="${nav_urls/upload/href}" i18n:translate="string:upload">Upload a file</a>
+      <a href="${nav_urls/specialpages/href}" i18n:translate="string:specialpages">Special Pages</a>
+    </div>
+
+    <div id="p-lang" class="portlet" tal:condition="language_urls">
+      <strong><span i18n:translate="string:otherlanguages">Other languages</span>:</strong>
+      <span tal:repeat="langlink language_urls"> <a tal:attributes="href langlink/href"
+         tal:content="structure langlink/text">English</a> </span>
+    </div>
+
+    <hr style="clear: both;" />
+
+    <div id="footer">
+      <span tal:condition="poweredbyico" tal:content="structure poweredbyico"></span>
+      <span tal:condition="copyrightico" tal:content="structure copyrightico"></span>
+      <ul id="f-list">
+         <li id="f-lastmod" tal:condition="lastmod" tal:content="structure lastmod"></li>
+         <li id="f-viewcount" tal:condition="viewcount" tal:content="structure viewcount"></li>
+         <li id="f-credits" tal:condition="credits" tal:content="structure credits"></li>
+         <li id="f-copyright" tal:condition="copyright" tal:content="structure copyright"></li>
+         <li id="f-about" tal:condition="about" tal:content="structure about"></li>
+         <li id="f-disclaimer" tal:condition="disclaimer" tal:content="structure disclaimer"></li>
+      </ul>
+    </div>
+    <div tal:replace="structure reporttime"></div>
+  </body>
+</html>
diff --git a/skins/disabled/WikimediaWiki.php b/skins/disabled/WikimediaWiki.php
new file mode 100644 (file)
index 0000000..3e125b3
--- /dev/null
@@ -0,0 +1,92 @@
+<?php
+/**
+ * Tentative to make a skin for wikimedia.org
+ *
+ * @version $Id$
+ * @package MediaWiki
+ * @subpackage Skins
+ */
+
+/** */
+
+if($wgUsePHPTal) {
+require_once('includes/SkinPHPTal.php');
+
+$wgExtraSkins['wikimediawiki'] = 'Wikimediawiki';
+
+require_once('MonoBook.php');
+
+/**
+ *
+ * @package MediaWiki
+ * @subpackage Skins
+ */
+class SkinWikimediawiki extends SkinMonoBook {
+       function initPage( &$out ) {
+               SkinPHPTal::initPage( $out );
+               $this->skinname = 'wikimediawiki';
+               $this->stylename = 'monobook';
+               $this->template = 'WikimediaWiki';
+       }
+
+       # build array of common navigation links
+       function buildNavUrls () {
+               global $wgTitle, $wgUser, $wgRequest;
+               global $wgSiteSupportPage;
+
+               $action = $wgRequest->getText( 'action' );
+               $oldid = $wgRequest->getVal( 'oldid' );
+               $diff = $wgRequest->getVal( 'diff' );
+               // XXX: remove htmlspecialchars when tal:attributes works with i18n:attributes
+               $nav_urls = array();
+               $nav_urls['mainpage'] = array('href' => htmlspecialchars( $this->makeI18nUrl('mainpage')));
+               $nav_urls['randompage'] = (wfMsgForContent('randompage') != '-') ? array('href' => htmlspecialchars( $this->makeSpecialUrl('Randompage'))) : false;
+               $nav_urls['recentchanges'] = (wfMsgForContent('recentchanges') != '-') ? array('href' => htmlspecialchars( $this->makeSpecialUrl('Recentchanges'))) : false;
+               $nav_urls['whatlinkshere'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Whatlinkshere', 'target='.urlencode( $this->thispage ))));
+               $nav_urls['currentevents'] = (wfMsgForContent('currentevents') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('currentevents'))) : false;
+               $nav_urls['portal'] = (wfMsgForContent('portal') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('portal-url'))) : false;
+               $nav_urls['recentchangeslinked'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Recentchangeslinked', 'target='.urlencode( $this->thispage ))));
+               $nav_urls['bugreports'] = (wfMsgForContent('bugreports') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('bugreportspage'))) : false;
+               $nav_urls['sitesupport'] = array('href' => htmlspecialchars( $wgSiteSupportPage));
+               $nav_urls['help'] = array('href' => htmlspecialchars( $this->makeI18nUrl('helppage')));
+               $nav_urls['upload'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Upload')));
+               $nav_urls['specialpages'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Specialpages')));
+
+
+               # Specific for mediawiki.org menu
+               $nav_urls['aboutmediawiki'] = (wfMsgForContent('aboutmediawiki') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('aboutmediawiki-url'))) : false;
+               $nav_urls['projects'] = (wfMsgForContent('projects') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('projects-url'))) : false;
+               $nav_urls['membership'] = (wfMsgForContent('membership') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('membership-url'))) : false;
+               $nav_urls['pressroom'] = (wfMsgForContent('pressroom') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('pressroom-url'))) : false;
+               $nav_urls['software'] = (wfMsgForContent('software') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('software-url'))) : false;
+               $nav_urls['localchapters'] = (wfMsgForContent('localchapters') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('localchapters-url'))) : false;
+               $nav_urls['contactus'] = (wfMsgForContent('contactus') != '-') ? array('href' => htmlspecialchars( $this->makeI18nUrl('contactus-url'))) : false;
+
+               if( $wgTitle->getNamespace() == NS_USER || $wgTitle->getNamespace() == NS_USER_TALK ) {
+                       $id = User::idFromName($wgTitle->getText());
+                       $ip = User::isIP($wgTitle->getText());
+               } else {
+                       $id = 0;
+                       $ip = false;
+               }
+
+               if ( 0 != $wgUser->getID() ) { # show only to signed in users
+                       if($id) {
+                               # can only email non-anons
+                               $nav_urls['emailuser'] = array(
+                                       'href' => htmlspecialchars( $this->makeSpecialUrl('Emailuser', "target=" . $wgTitle->getPartialURL() ) )
+                               );
+                               # only non-anons have contrib list
+                               $nav_urls['contributions'] = array(
+                                       'href' => htmlspecialchars( $this->makeSpecialUrl('Contributions', "target=" . $wgTitle->getPartialURL() ) )
+                               );
+                       }
+               }
+
+
+               return $nav_urls;
+       }
+}
+
+}
+?>
diff --git a/skins/disabled/WikimediaWiki.pt b/skins/disabled/WikimediaWiki.pt
new file mode 100644 (file)
index 0000000..412ad8f
--- /dev/null
@@ -0,0 +1,164 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${lang}" lang="${lang}" dir="${dir}">
+  <head>
+    <meta http-equiv="Content-Type" content="${mimetype}; charset=${charset}" />
+    ${headlinks}
+    <title tal:content="pagetitle">Exciting xhtml slimfast</title>
+    <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "${stylepath}/${stylename}/main.css"; /*]]>*/</style>
+    <link rel="stylesheet" type="text/css" media="print" href="${stylepath}/common/commonPrint.css" />
+    <!--[if IE]><style type="text/css" media="all">@import "${stylepath}/${stylename}/common/IEFixes.css";</style>
+    <script type="text/javascript" src="${stylepath}/IEFixes.js"></script>
+    <meta http-equiv="imagetoolbar" content="no" /><![endif]-->
+    <script tal:condition="jsvarurl" type="text/javascript" tal:attributes="src jsvarurl"></script>
+    <script type="text/javascript" src="${stylepath}/common/wikibits.js"></script>
+    <style tal:condition="usercss" type="text/css">/*<![CDATA[*/ ${usercss} /*]]>*/</style>
+    <script tal:condition="userjs" type="text/javascript" tal:attributes="src userjs"></script><script 
+      tal:condition="userjsprev" type="text/javascript">/*<![CDATA[*/${userjsprev}/*]]>*/</script>
+  </head>
+  <body tal:attributes="ondblclick body-ondblclick|default; class nsclass|default">
+    <div id="globalWrapper">
+      <div id="column-content">
+       <div id="content">
+         <a name="top" id="contentTop"></a>
+         <div id="siteNotice" tal:condition="sitenotice" tal:content="structure sitenotice"></div>
+         <h1 class="firstHeading" tal:content="title">Leonardo da Vinci</h1>
+         <div id="bodyContent">
+           <h3 id="siteSub" i18n:translate="string:tagline">From Wikipedia, the free encyclopedia.</h3>
+           <div id="contentSub" tal:content="structure subtitle"></div>
+           <div id="contentSub" tal:condition="undelete" tal:content="structure undelete"></div>
+           <div tal:condition="newtalk" class="usermessage" tal:content="structure newtalk"></div>
+           <!-- start content -->
+           ${bodytext}
+           <div tal:condition="catlinks" id="catlinks" tal:content="structure catlinks"></div>
+           <!-- end content -->
+           <div class="visualClear"></div>
+         </div>
+       </div>
+      </div>
+      <div id="column-one">
+       <div id="p-cactions" class="portlet">
+         <h5>Views</h5>
+         <ul>
+           <li tal:repeat="action content_actions" 
+           tal:attributes="id string:ca-${repeat/action/key}; class action/class|default"><a
+             tal:attributes="href action/href|default"
+             tal:content="action/text">Linktext</a></li>
+         </ul>
+       </div>
+       <div class="portlet" id="p-personal">
+         <h5 i18n:translate="string:personaltools">Personal Tools</h5>
+         <div class="pBody">
+           <ul>
+             <li tal:repeat="item personal_urls" 
+             tal:attributes="id string:pt-${repeat/item/key};"><a href="myuserpage"
+               tal:attributes="href item/href; class item/class|default"
+               tal:content="item/text">Log in</a></li>
+           </ul>
+         </div>
+       </div>
+       <div class="portlet" id="p-logo">
+         <a style="background-image: url(${logopath});" href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
+       </div>
+       <div class="portlet" id="p-nav">
+         <h5 i18n:translate="string:navigation">Navigation</h5>
+         <div class="pBody">
+           <ul>
+             <li id="n-mainpage"><a href="${nav_urls/mainpage/href}"
+               i18n:translate="string:mainpage">Home</a></li>
+             <li id="n-aboutmediawiki"><a href="${nav_urls/aboutmediawiki/href}"
+               i18n:translate="string:aboutmediawiki">About MediaWiki</a></li>
+             <li id="n-portal" tal:condition="nav_urls/portal/href"><a href="${nav_urls/portal/href}"
+               i18n:translate="string:portal">Community Portal</a></li>
+             <li id="n-currentevents" tal:condition="nav_urls/currentevents/href"><a href="${nav_urls/currentevents/href}"
+               i18n:translate="string:currentevents">Last News</a></li>
+             <li id="n-projects" tal:condition="nav_urls/projects/href"><a href="${nav_urls/projects/href}"
+               i18n:translate="string:projects">Our projects</a></li>
+             <li id="n-recentchanges" tal:condition="nav_urls/recentchanges/href"><a href="${nav_urls/recentchanges/href}"
+               i18n:translate="string:recentchanges">Recent Changes</a></li>
+             <li id="n-randompage" tal:condition="nav_urls/randompage/href"><a href="${nav_urls/randompage/href}"
+               i18n:translate="string:randompage">Random Page</a></li>
+             <li id="n-help" tal:condition="nav_urls/help/href"><a href="${nav_urls/help/href}"
+               i18n:translate="string:help">Help</a></li>
+             <li id="n-sitesupport" tal:condition="nav_urls/sitesupport/href"><a href="${nav_urls/sitesupport/href}"
+               i18n:translate="string:sitesupport">Support us</a></li>
+             <li id="n-membership" tal:condition="nav_urls/membership/href"><a href="${nav_urls/membership/href}"
+               i18n:translate="string:membership">Membership</a></li>
+             <li id="n-pressroom" tal:condition="nav_urls/pressroom/href"><a href="${nav_urls/pressroom/href}"
+               i18n:translate="string:pressroom">Press room</a></li>
+             <li id="n-software" tal:condition="nav_urls/software/href"><a href="${nav_urls/software/href}"
+               i18n:translate="string:software">Our software</a></li>
+             <li id="n-localchapters" tal:condition="nav_urls/localchapters/href"><a href="${nav_urls/localchapters/href}"
+               i18n:translate="string:localchapters">Local chapters</a></li>
+             <li id="n-contactus" tal:condition="nav_urls/contactus/href"><a href="${nav_urls/contactus/href}"
+               i18n:translate="string:contactus">Contact us</a></li>
+           </ul>
+         </div>
+       </div>
+       <div id="p-search" class="portlet">
+         <h5 i18n:translate="string:search">Search</h5>
+         <div class="pBody">
+           <form name="searchform" action="${searchaction}" id="searchform">
+             <input id="searchInput" name="search" type="text"
+             i18n:attributes="accesskey string:accesskey-search | default"/>
+             <input type='submit' name="go" value="Go" class="searchButton" 
+             i18n:attributes="value string:go"/>&nbsp;<input type='submit' name="fulltext"
+             value="Search" class="searchButton"
+             i18n:attributes="value string:search"/>
+           </form>
+         </div>
+       </div>
+       <div class="portlet" id="p-tb">
+         <h5 i18n:translate="string:toolbox">Toolbox</h5>
+         <div class="pBody">
+           <ul>
+             <li id="t-whatlinkshere" tal:condition="notspecialpage"><a href="${nav_urls/whatlinkshere/href}"
+               i18n:translate="string:whatlinkshere">What links here</a></li>
+             <li id="t-recentchangeslinked" tal:condition="notspecialpage"><a href="${nav_urls/recentchangeslinked/href}"
+               i18n:translate="string:recentchangeslinked">Related Changes</a></li>
+             <li tal:condition="feeds" id="feedlinks">
+             <span i18n:translate="string:feedlinks">Feeds:</span>
+             <span tal:repeat="feed feeds" 
+               tal:attributes="id string:feed-${repeat/feed/key};"><a 
+                 tal:attributes="href feed/href;"
+                 tal:content="feed/text">rss</a>&nbsp;</span>
+             </li>
+             <li id="t-contributions" tal:condition="nav_urls/contributions/href"><a href="${nav_urls/contributions/href}"
+               i18n:translate="string:contributions">Contributions</a></li>
+             <li id="t-emailuser" tal:condition="nav_urls/emailuser/href"><a href="${nav_urls/emailuser/href}"
+               i18n:translate="string:emailuser">Email this user</a></li>
+             <li id="t-upload" tal:condition="loggedin"><a href="${nav_urls/upload/href}"
+               i18n:translate="string:upload">Upload a file</a></li>
+             <li id="t-specialpages"><a href="${nav_urls/specialpages/href}"
+               i18n:translate="string:specialpages">Special Pages</a></li>
+           </ul>
+         </div>
+       </div>
+       <div id="p-lang" class="portlet" tal:condition="language_urls">
+         <h5 i18n:translate="string:otherlanguages">Language</h5>
+         <div class="pBody">
+           <ul>
+             <li tal:repeat="langlink language_urls">
+             <a tal:attributes="href langlink/href"
+               tal:content="structure langlink/text">English</a>
+             </li>
+           </ul>
+         </div>
+       </div>
+      </div><!-- end of the left (by default at least) column -->
+      <div class="visualClear"></div>
+      <div id="footer">
+       <div id="f-poweredbyico" tal:condition="poweredbyico">${poweredbyico}</div>
+       <div id="f-copyrightico" tal:condition="copyrightico">${copyrightico}</div>
+       <ul id="f-list">
+         <li id="f-lastmod" tal:condition="lastmod">${lastmod}</li>
+         <li id="f-viewcount" tal:condition="viewcount">${viewcount}</li>
+         <li id="f-credits" tal:condition="credits">${credits}</li>
+         <li id="f-copyright" tal:condition="copyright">${copyright}</li>
+         <li id="f-about" tal:condition="about">${about}</li>
+         <li id="f-disclaimer" tal:condition="disclaimer">${disclaimer}</li>
+       </ul>
+      </div>
+    </div>
+    ${reporttime}
+  </body>
+</html>