NewImages
< NewImages | de
Description
Skript zum Wiederherstellen des alten „Neue Bilder“-Moduls, welches vor langer Zeit von der seitlichen Leiste entfernt wurde.
Updated
November 16, 2022
English (en) العربية (ar) беларуская (be) Deutsch (de) Ελληνικά (el) español (es) suomi (fi) français (fr) हिन्दी (hi) magyar (hu) Bahasa Indonesia (id) italiano (it) 日本語 (ja) 한국어 (ko) polski (pl) português do Brasil (pt-br) русский (ru) Türkçe (tr) українська (uk) Tiếng Việt (vi) 中文(简体) (zh-hans) 中文(繁體) (zh-hant) 中文(香港) (zh-hk) Translate! [
View ]
NewImages stellt das alte Modul mit kürzlich im Wiki hochgeladenen Bildern wieder her. Es werden bis zu 10 Bilder im Modul angezeigt.
Installation
Add this to MediaWiki:ImportJS :
dev:NewImages.js
importArticles:
Add this JavaScript on your wiki (or add the highlighted text to your existing import statement):
importArticles ({ type : 'script' , articles : [ 'u:dev:MediaWiki:NewImages.js' , ] });
Local:
Special:MyPage/common.js
Importing multiple scripts? This quick guide shows how to combine the imports. For personal use, note that personal JS must be enabled for your account. If the script requires configuration through MediaWiki:Common.js for sitewide use, don't forget to contact Fandom Staff to get it enabled on your wiki, if it isn't already enabled.
Usage
Standardmäßig wird das Modul in der seitlichen Leiste hinzugefügt. Wenn du es stattdessen irgendwo in einem Artikel oder auf der Hauptseite platzieren möchtest, benutze <div> mit der Klasse PhotoModule. Zum Beispiel:
< div class = "PhotoModule" ></ div >