Pwirth has submitted this change and it was merged. Change subject: Smartlist: Improved tag documentation ......................................................................
Smartlist: Improved tag documentation New tag description. Thanks to Sabine Gürtler and Anja Ebersbach. Patch Set 2: Sry, forgot to update one tag documentation Change-Id: I7452ec52a6248ca803a7a41c0698d415d583c728 --- M SmartList/SmartList.class.php M SmartList/i18n/en.json M SmartList/i18n/qqq.json 3 files changed, 30 insertions(+), 3 deletions(-) Approvals: Pwirth: Looks good to me, approved Raimond Spekking: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/SmartList/SmartList.class.php b/SmartList/SmartList.class.php index 221bf60..6ff85ee 100644 --- a/SmartList/SmartList.class.php +++ b/SmartList/SmartList.class.php @@ -520,6 +520,17 @@ 'name' => 'smartlist', 'desc' => wfMessage( 'bs-smartlist-tag-smartlist-desc' )->plain(), 'code' => '<bs:smartlist />', + 'examples' => array( + array( + 'label' => wfMessage( 'bs-smartlist-tag-smartlist-example-rc' )->plain(), + 'code' => '<bs:smartlist new="true" count="7" ns="104" trim="false" />' + ), + array( + 'label' => wfMessage( 'bs-smartlist-tag-smartlist-example-whatlinkshere' )->plain(), + 'code' => '<bs:smartlist mode="whatlinkshere" traget="ARTICLENAME" />' + ) + ), + 'helplink' => 'https://help.bluespice.com/index.php/SmartList' ); $oResponse->result[] = array( @@ -528,6 +539,12 @@ 'name' => 'newbies', 'desc' => wfMessage( 'bs-smartlist-tag-newbies-desc' )->plain(), 'code' => '<bs:newbies />', + 'examples' => array( + array( + 'code' => '<bs:newbies count="3" />' + ) + ), + 'helplink' => 'https://help.bluespice.com/index.php/SmartList' ); $oResponse->result[] = array( @@ -536,6 +553,12 @@ 'name' => 'toplist', 'desc' => wfMessage( 'bs-smartlist-tag-toplist-desc' )->plain(), 'code' => '<bs:toplist />', + 'examples' => array( + array( + 'code' => '<bs:toplist count="4" cat="Wiki" period="month" />' + ) + ), + 'helplink' => 'https://help.bluespice.com/index.php/SmartList' ); return true; diff --git a/SmartList/i18n/en.json b/SmartList/i18n/en.json index f16df1a..f3d6926 100644 --- a/SmartList/i18n/en.json +++ b/SmartList/i18n/en.json @@ -31,9 +31,11 @@ "bs-smartlist-month": "Month", "bs-smartlist-time": "Time", "bs-smartlist-title": "Title", - "bs-smartlist-tag-smartlist-desc": "Displays configurable information about recent changes.", - "bs-smartlist-tag-newbies-desc": "Displays the latest users.", - "bs-smartlist-tag-toplist-desc": "Displays a list of the most viewed pages.", + "bs-smartlist-tag-smartlist-desc": "Shows automatically generated lists of articles. The configuration works through several modi and parameters.", + "bs-smartlist-tag-smartlist-example-rc": "Mode: Recent changes", + "bs-smartlist-tag-smartlist-example-whatlinkshere": "Mode: What links here", + "bs-smartlist-tag-newbies-desc": "Shows the new users of the wiki. The list can be restricted to a certain number.", + "bs-smartlist-tag-toplist-desc": "Shows the most visited pages. Can be limited by several parameters.", "bs-smartlist-mostvisitedpages": "Most viewed pages", "bs-smartlist-mosteditedpages": "Most edited pages", "bs-smartlist-mostactiveusers": "Most active users (by edits)", diff --git a/SmartList/i18n/qqq.json b/SmartList/i18n/qqq.json index 7010506..f023e7b 100644 --- a/SmartList/i18n/qqq.json +++ b/SmartList/i18n/qqq.json @@ -36,6 +36,8 @@ "bs-smartlist-time": "Option in [{{canonicalurl:Special:WikiAdmin|mode=Preferences}} Special:WikiAdmin?mode=Preferences], label for time\n{{Identical|Time}}", "bs-smartlist-title": "Option in [{{canonicalurl:Special:WikiAdmin|mode=Preferences}} Special:WikiAdmin?mode=Preferences], label for title\n{{Identical|Title}}", "bs-smartlist-tag-smartlist-desc": "Used in InsertMagic extension, tag description for displays configurable information about recent changes.\n{{Related|Bs-tag-desc}}", + "bs-smartlist-tag-smartlist-example-rc": "Description of example for mode \"recent changes\". Used in InsertMagic tag description.", + "bs-smartlist-tag-smartlist-example-whatlinkshere": "Description of example for mode \"whatlinkshere\". Used in InsertMagic tag description.", "bs-smartlist-tag-newbies-desc": "Used in InsertMagic extension, tag description for displays the latest users.\n{{Related|Bs-tag-desc}}", "bs-smartlist-tag-toplist-desc": "Used in InsertMagic extension, tag description for displays a list of the most viewed pages.\n{{Related|Bs-tag-desc}}", "bs-smartlist-mostvisitedpages": "Used in [[Special:AdminDashboard]] and [[Special:UserDashboard]], headline for most viewed pages\n\nSee also\n*{{msg-mw|statistics-mostpopular}}", -- To view, visit https://gerrit.wikimedia.org/r/291574 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7452ec52a6248ca803a7a41c0698d415d583c728 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: master Gerrit-Owner: Mglaser <gla...@hallowelt.biz> Gerrit-Reviewer: Dvogel hallowelt <daniel.vo...@hallowelt.com> Gerrit-Reviewer: Ljonka <l.verhovs...@gmail.com> Gerrit-Reviewer: Pwirth <wi...@hallowelt.biz> Gerrit-Reviewer: Raimond Spekking <raimond.spekk...@gmail.com> Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz> Gerrit-Reviewer: Siebrand <siebr...@kitano.nl> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits