Änderungen

Team UIEV Heidelberg:Entwurf Hauptseite

6.369 Byte hinzugefügt, 21:48, 27. Sep. 2017
Keine Zusammenfassung
Hier wird das Layout der Hauptseite, d.h. der Einstiegsseite in Wiki, entwickelt.

Ziel für eine erste Version der Hauptseite ist die Anzeige von Previews der zuletzt geänderten Artikel.


Hierzu kann die Widget-Extension verwendet werden:

* [https://www.mediawiki.org/wiki/Extension:Widgets https://www.mediawiki.org/wiki/Extension:Widgets]
* [https://www.mediawikiwidgets.org/Widgets_Catalog https://www.mediawikiwidgets.org/Widgets_Catalog]


... gerne umschauen auf [https://www.mediawikiwidgets.org/List_of_widgets https://www.mediawikiwidgets.org/List_of_widgets] womit wir die Hauptseite noch anreichern können

Extension:Widgets - MediaWiki<script>// <![CDATA[document.documentElement.className = document.documentElement.className.replace( /(^|\s)client-nojs(\s|$)/, "$1client-js$2" );// ]]></script>

<script>// <![CDATA[(window.RLQ=window.RLQ

|-
||[]).push(function(){mw.config.set({"wgCanonicalNamespace":"Extension","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":102,"wgPageName":"Extension:Widgets","wgTitle":"Widgets","wgCurRevisionId":2558938,"wgRevisionId":2558938,"wgArticleId":23956,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["GPL licensed extensions","Stable extensions","Extensions without an image","Parser function extensions","Extensions without a compatibility policy","Extensions in Wikimedia version control","Extensions which add rights","ParserFirstCallInit extensions","ParserAfterTidy extensions","CanonicalNamespaces extensions","All extensions","Remote content extensions","Flickr extensions","Social bookmarking extensions","Video player extensions","YouTube extensions","Google extensions","Yahoo extensions","News bar extensions","Audio player extensions","Amazon extensions","Disqus extensions","Discussion and forum extensions","Twitter extensions","Wikipedia extensions"],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"Extension:Widgets","wgRelevantArticleId":23956,"wgRequestId":"WcqXVApAICgAAKBrFXMAAAAH","wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgWikiEditorEnabledModules":{"toolbar":true,"preview":false,"publish":false},"wgBetaFeaturesFeatures":[],"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":false,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en","usePageImages":true,"usePageDescriptions":true},"wgPreferredVariant":"en","wgMFExpandAllSectionsUserOption":false,"wgMFDisplayWikibaseDescriptions":{"search":true,"nearby":true,"watchlist":true,"tagline":false},"wgULSCurrentAutonym":"English","wgNoticeProject":"mediawiki","wgCentralNoticeCookiesToDelete":[],"wgCentralNoticeCategoriesUsingLegacy":["Fundraising","fundraising"],"wgCategoryTreePageCategoryOptions":"{\"mode\":0,\"hideprefix\":20,\"showcount\":true,\"namespaces\":false}","wgWikibaseItemId":"Q21679156","wgCentralAuthMobileDomain":false,"wgVisualEditorToolbarScrollOffset":0,"wgVisualEditorUnsupportedEditParams":["preloadtitle","undo","undoafter","veswitched"],"wgEditSubmitButtonLabelPublish":true});mw.loader.state({"ext.gadget.site-styles":"ready","ext.globalCssJs.user.styles":"ready","ext.globalCssJs.site.styles":"ready","site.styles":"ready","noscript":"ready","user.styles":"ready","user":"ready","user.options":"loading","user.tokens":"loading","ext.pygments":"ready","wikibase.client.init":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.pt":"ready","ext.wikimediaBadges":"ready","mediawiki.legacy.shared":"ready","mediawiki.legacy.commonPrint":"ready","mediawiki.sectionAnchor":"ready","mediawiki.skinning.interface":"ready","skins.vector.styles":"ready","ext.globalCssJs.user":"ready","ext.globalCssJs.site":"ready"});mw.loader.implement("user.options@0bhc5ha",function($,jQuery,require,module){mw.user.options.set([]);});mw.loader.implement("user.tokens@1dqfd7l",function ( $, jQuery, require, module ) {
mw.user.tokens.set({"editToken":"+\\","patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"});/*@nomin*/

});mw.loader.load(["site","mediawiki.page.startup","mediawiki.user","mediawiki.hidpi","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","mediawiki.searchSuggest","ext.gadget.site","ext.gadget.collapsibleTables","ext.gadget.Edittools","ext.gadget.addMe","ext.centralauth.centralautologin","mmv.head","mmv.bootstrap.autostart","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.eventLogging.subscriber","ext.wikimediaEvents","ext.navigationTiming","ext.uls.eventlogger","ext.uls.init","ext.uls.interface","ext.centralNotice.geoIP","ext.centralNotice.startUp","skins.vector.js"]);});// ]]></script><script src="../w/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector" async=""></script>

<div class="mw-body" id="content" role="main"><div class="mw-body-content" id="bodyContent"><div class="mw-content-ltr" id="mw-content-text" lang="en" dir="ltr"><div class="mw-parser-output">
===<span id=".7B.7B.23widget.7D.7D_parser_function" class="mw-headline">{{#widget}} parser function</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<A title="Edit section: {{#widget}} parser function" href="https://www.mediawiki.org/w/index.php?title=Extension:Widgets&action=edit&section=7">edit]</span></span>===
To add a defined widget to pages, users can use the <code>{{#widget}}</code> parser function. The syntax is as follows:

<pre>{{#widget:WidgetName|param1=value1|param2=value2}}
</pre>
Where WidgetName is a page name in the Widget namespace (e.g. Widget:WidgetName) and param=value pairs are the settable parameters, defined within the widget code.

Parameters can be expanded inside a widget using [http://www.smarty.net/syntax_comparison Smarty syntax], as follows:

<pre><a href="<!--{$param1|escape:'url'}-->"><!--{$param2|escape:'html'}--></a></pre></div>
</div>
</div>
</div>

{| class="contenttable"
|-
||
||
|-
||
||
|}
BdB_Heidelberg, Bibliothek_KH, DAI_Makerspace_Projekt, Graphiken KF, Landfried, N_E_U_Project, Projekt_BdB_Heidelberg, Projekt_Civil_Commons, Projekt_Landfried, Projekt_OG, Team_UIEG_Heidelberg, Team_UIEV_Heidelberg, UIEG_Heidelberg, UIEV_Heidelberg, Bürokrat, Administrator, Widget-Bearbeiter
955
Bearbeitungen