diff options
author | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
commit | fc7369835258467bf97eb64f184b93691f9a9fd5 (patch) | |
tree | daabd60089d2dd76d9f5fb416b005fbe159c799d /www/wiki/includes/templates |
first commit
Diffstat (limited to 'www/wiki/includes/templates')
7 files changed, 110 insertions, 0 deletions
diff --git a/www/wiki/includes/templates/AtomHeader.mustache b/www/wiki/includes/templates/AtomHeader.mustache new file mode 100644 index 00000000..60ab75e3 --- /dev/null +++ b/www/wiki/includes/templates/AtomHeader.mustache @@ -0,0 +1,8 @@ +<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{{language}}}"> + <id>{{{feedID}}}</id> + <title>{{{title}}}</title> + <link rel="self" type="application/atom+xml" href="{{{selfUrl}}}"/> + <link rel="alternate" type="text/html" href="{{{url}}}"/> + <updated>{{{timestamp}}}Z</updated> + <subtitle>{{{description}}}</subtitle> + <generator>MediaWiki {{{version}}}</generator> diff --git a/www/wiki/includes/templates/AtomItem.mustache b/www/wiki/includes/templates/AtomItem.mustache new file mode 100644 index 00000000..32d2f01d --- /dev/null +++ b/www/wiki/includes/templates/AtomItem.mustache @@ -0,0 +1,10 @@ + <entry> + <id>{{{uniqueID}}}</id> + <title>{{{title}}}</title> + <link rel="alternate" type="{{{mimeType}}}" href="{{{url}}}"/> + {{#date}}<updated>{{{.}}}Z</updated>{{/date}} + + <summary type="html">{{{description}}}</summary> + {{#author}}<author><name>{{{.}}}</name></author>{{/author}} + {{! FIXME: Need to add comments }} + </entry> diff --git a/www/wiki/includes/templates/EnhancedChangesListGroup.mustache b/www/wiki/includes/templates/EnhancedChangesListGroup.mustache new file mode 100644 index 00000000..6493df88 --- /dev/null +++ b/www/wiki/includes/templates/EnhancedChangesListGroup.mustache @@ -0,0 +1,30 @@ +<table class="{{# tableClasses }}{{ . }} {{/ tableClasses }}" data-mw-ts="{{{ fullTimestamp }}}"> + <tr> + <td> + <span class="mw-collapsible-toggle mw-collapsible-arrow mw-enhancedchanges-arrow mw-enhancedchanges-arrow-space"></span> + </td> + <td class="mw-changeslist-line-prefix">{{{ prefix }}}</td> + <td class="mw-enhanced-rc">{{{ collectedRcFlags }}} {{ timestamp }} </td> + <td class="mw-changeslist-line-inner"> + {{# rev-deleted-event }}<span class="history-deleted">{{{ . }}}</span>{{/ rev-deleted-event }} + {{{ articleLink }}}{{{ languageDirMark }}}{{{ logText }}} + <span class="mw-changeslist-separator">. .</span> + {{# charDifference }}{{{ . }}} <span class="mw-changeslist-separator">. .</span>{{/ charDifference }} + <span class="changedby">{{{ users }}}</span> + {{ numberofWatchingusers }} + </td> + </tr> + {{# lines }} + <tr class="{{# classes }}{{ . }} {{/ classes }}"{{{ attribs }}}> + <td></td> + <td></td> + <td class="mw-enhanced-rc">{{{ recentChangesFlags }}} </td> + <td class="mw-enhanced-rc-nested" data-target-page="{{ targetTitle }}"> + {{# timestampLink }} + <span class="mw-enhanced-rc-time">{{{ . }}}</span> + {{/ timestampLink }} + {{# data }}{{{ . }}}{{/ data }} + </td> + </tr> + {{/ lines }} +</table> diff --git a/www/wiki/includes/templates/NoLocalSettings.mustache b/www/wiki/includes/templates/NoLocalSettings.mustache new file mode 100644 index 00000000..36391f5b --- /dev/null +++ b/www/wiki/includes/templates/NoLocalSettings.mustache @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<html lang="en" dir="ltr"> + <head> + <meta charset="UTF-8" /> + <title>MediaWiki {{wgVersion}}</title> + <style media="screen"> + html, body { + color: #000; + background-color: #fff; + font-family: sans-serif; + text-align: center; + } + + h1 { + font-size: 150%; + } + </style> + </head> + <body> + <img src="{{path}}resources/assets/mediawiki.png" alt="The MediaWiki logo" /> + + <h1>MediaWiki {{wgVersion}}</h1> + <div class="error"> + {{#localSettingsExists}} + <p>LocalSettings.php not readable.</p> + <p>Please correct file permissions and try again.</p> + {{/localSettingsExists}} + {{^localSettingsExists}} + <p>LocalSettings.php not found.</p> + {{#installerStarted}} + <p>Please <a href="{{path}}mw-config/index.php">complete the installation</a> and download LocalSettings.php.</p> + {{/installerStarted}} + {{^installerStarted}} + <p>Please <a href="{{path}}mw-config/index.php">set up the wiki</a> first.</p> + {{/installerStarted}} + {{/localSettingsExists}} + </div> + </body> +</html> diff --git a/www/wiki/includes/templates/RSSHeader.mustache b/www/wiki/includes/templates/RSSHeader.mustache new file mode 100644 index 00000000..385369df --- /dev/null +++ b/www/wiki/includes/templates/RSSHeader.mustache @@ -0,0 +1,8 @@ +<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> + <channel> + <title>{{{title}}}</title> + <link>{{{url}}}</link> + <description>{{{description}}}</description> + <language>{{{language}}}</language> + <generator>MediaWiki {{{version}}}</generator> + <lastBuildDate>{{{timestamp}}}</lastBuildDate> diff --git a/www/wiki/includes/templates/RSSItem.mustache b/www/wiki/includes/templates/RSSItem.mustache new file mode 100644 index 00000000..d00c1006 --- /dev/null +++ b/www/wiki/includes/templates/RSSItem.mustache @@ -0,0 +1,9 @@ + <item> + <title>{{{title}}}</title> + <link>{{{url}}}</link> + <guid{{^permalink}} isPermaLink="false"{{/permalink}}>{{{uniqueID}}}</guid> + <description>{{{description}}}</description> + {{#date}}<pubDate>{{{.}}}</pubDate>{{/date}} + {{#author}}<dc:creator>{{{.}}}</dc:creator>{{/author}} + {{#comments}}<comments>{{{.}}}</comments>{{/comments}} + </item> diff --git a/www/wiki/includes/templates/SpecialContributionsLine.mustache b/www/wiki/includes/templates/SpecialContributionsLine.mustache new file mode 100644 index 00000000..7a334014 --- /dev/null +++ b/www/wiki/includes/templates/SpecialContributionsLine.mustache @@ -0,0 +1,6 @@ +{{{ del }}}{{{ timestamp }}} +{{{ diffHistLinks }}}{{{ charDifference }}}{{# flags }}{{{ . }}}{{/ flags }} +{{{ articleLink }}}{{{ userlink }}} +{{{ logText }}} +{{{ topmarktext }}}{{# rev-deleted-user-contribs }} <strong>{{{ . }}}</strong>{{/ rev-deleted-user-contribs }} +{{{ tagSummary }}} |