From: Tim Starling Date: Thu, 18 Nov 2004 11:43:07 +0000 (+0000) Subject: Moved non-working skins to "disabled" subdirectory X-Git-Tag: 1.5.0alpha1~1313 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=c2aa665160c5249d8c3de6d86a55c9c8b5a3d793;p=lhc%2Fweb%2Fwiklou.git Moved non-working skins to "disabled" subdirectory --- diff --git a/skins/Amethyst.php b/skins/Amethyst.php deleted file mode 100644 index d5e6397c0e..0000000000 --- a/skins/Amethyst.php +++ /dev/null @@ -1,36 +0,0 @@ - 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 index 1cf115c765..0000000000 --- a/skins/Amethyst.pt +++ /dev/null @@ -1,150 +0,0 @@ - - - - - ${headlinks} - Exciting xhtml slimfast - - - - - - - - - -
-
-
- -
-

Leonardo da Vinci

-
-

From Wikipedia, the free encyclopedia.

-
-
-
- - ${bodytext} - - -
-
-
-
-
-
-
Views
- -
-
-
Personal Tools
-
- -
-
- - - - -
-
Language
-
- -
-
-
-
- -
- ${reporttime} - - diff --git a/skins/Chick.php b/skins/Chick.php deleted file mode 100644 index f3e06f3775..0000000000 --- a/skins/Chick.php +++ /dev/null @@ -1,32 +0,0 @@ -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 index f6d7092e47..0000000000 --- a/skins/Chick.pt +++ /dev/null @@ -1,100 +0,0 @@ - - - - -
- Exciting xhtml slimfast - - - - - - - - - -
-

Leonardo da Vinci

-
From Wikipedia, the free encyclopedia.
-
-
-
- - -
- -
- -
- Views: - Linktext -
- -
- Personal Tools: - Log in -
- -
- Navigation: - Main Page - Community Portal - Current Events - Recent Changes - Random Page - Help - Donations -
- -
- Toolbox: - What links here - Related Changes - - Feeds: - rss - - Contributions - Email this user - Upload a file - Special Pages -
- -
- Other languages: - English -
- -
- - -
- - diff --git a/skins/WikimediaWiki.php b/skins/WikimediaWiki.php deleted file mode 100644 index 3e125b34c2..0000000000 --- a/skins/WikimediaWiki.php +++ /dev/null @@ -1,92 +0,0 @@ -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 index 412ad8f50e..0000000000 --- a/skins/WikimediaWiki.pt +++ /dev/null @@ -1,164 +0,0 @@ - - - - - ${headlinks} - Exciting xhtml slimfast - - - - - - - - - -
-
-
- -
-

Leonardo da Vinci

-
-

From Wikipedia, the free encyclopedia.

-
-
-
- - ${bodytext} - - -
-
-
-
-
-
-
Views
- -
-
-
Personal Tools
-
- -
-
- - - - -
-
Language
-
- -
-
-
-
- -
- ${reporttime} - - diff --git a/skins/disabled/Amethyst.php b/skins/disabled/Amethyst.php new file mode 100644 index 0000000000..d5e6397c0e --- /dev/null +++ b/skins/disabled/Amethyst.php @@ -0,0 +1,36 @@ + 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 index 0000000000..1cf115c765 --- /dev/null +++ b/skins/disabled/Amethyst.pt @@ -0,0 +1,150 @@ + + + + + ${headlinks} + Exciting xhtml slimfast + + + + + + + + + +
+
+
+ +
+

Leonardo da Vinci

+
+

From Wikipedia, the free encyclopedia.

+
+
+
+ + ${bodytext} + + +
+
+
+
+
+
+
Views
+ +
+
+
Personal Tools
+
+ +
+
+ + + + +
+
Language
+
+ +
+
+
+
+ +
+ ${reporttime} + + diff --git a/skins/disabled/Chick.php b/skins/disabled/Chick.php new file mode 100644 index 0000000000..f3e06f3775 --- /dev/null +++ b/skins/disabled/Chick.php @@ -0,0 +1,32 @@ +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 index 0000000000..f6d7092e47 --- /dev/null +++ b/skins/disabled/Chick.pt @@ -0,0 +1,100 @@ + + + + +
+ Exciting xhtml slimfast + + + + + + + + + +
+

Leonardo da Vinci

+
From Wikipedia, the free encyclopedia.
+
+
+
+ + +
+ +
+ +
+ Views: + Linktext +
+ +
+ Personal Tools: + Log in +
+ +
+ Navigation: + Main Page + Community Portal + Current Events + Recent Changes + Random Page + Help + Donations +
+ +
+ Toolbox: + What links here + Related Changes + + Feeds: + rss + + Contributions + Email this user + Upload a file + Special Pages +
+ +
+ Other languages: + English +
+ +
+ + +
+ + diff --git a/skins/disabled/WikimediaWiki.php b/skins/disabled/WikimediaWiki.php new file mode 100644 index 0000000000..3e125b34c2 --- /dev/null +++ b/skins/disabled/WikimediaWiki.php @@ -0,0 +1,92 @@ +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 index 0000000000..412ad8f50e --- /dev/null +++ b/skins/disabled/WikimediaWiki.pt @@ -0,0 +1,164 @@ + + + + + ${headlinks} + Exciting xhtml slimfast + + + + + + + + + +
+
+
+ +
+

Leonardo da Vinci

+
+

From Wikipedia, the free encyclopedia.

+
+
+
+ + ${bodytext} + + +
+
+
+
+
+
+
Views
+ +
+
+
Personal Tools
+
+ +
+
+ + + + +
+
Language
+
+ +
+
+
+
+ +
+ ${reporttime} + +