[MediaWiki-commits] [Gerrit] Smartlist: Improved tag documentation - change (mediawiki...BlueSpiceExtensions)
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' => '', + 'examples' => array( + array( + 'label' => wfMessage( 'bs-smartlist-tag-smartlist-example-rc' )->plain(), + 'code' => '' + ), + array( + 'label' => wfMessage( 'bs-smartlist-tag-smartlist-example-whatlinkshere' )->plain(), + 'code' => '' + ) + ), + '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' => '', + 'examples' => array( + array( + 'code' => '' + ) + ), + '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' => '', + 'examples' => array( + array( + 'code' => '' + ) + ), + '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.", +
[MediaWiki-commits] [Gerrit] Smartlist: Improved tag documentation - change (mediawiki...BlueSpiceExtensions)
Mglaser has uploaded a new change for review. https://gerrit.wikimedia.org/r/291574 Change subject: Smartlist: Improved tag documentation .. Smartlist: Improved tag documentation New tag description. Thanks to Sabine Gürtler and Anja Ebersbach. Change-Id: I7452ec52a6248ca803a7a41c0698d415d583c728 --- M SmartList/SmartList.class.php M SmartList/i18n/en.json M SmartList/i18n/qqq.json 3 files changed, 29 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions refs/changes/74/291574/1 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' => '', + 'examples' => array( + array( + 'label' => wfMessage( 'bs-smartlist-tag-smartlist-example-rc' )->plain(), + 'code' => '' + ), + array( + 'label' => wfMessage( 'bs-smartlist-tag-smartlist-example-whatlinkshere' )->plain(), + 'code' => '' + ) + ), + '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' => '', + 'examples' => array( + array( + 'code' => '' + ) + ), + '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' => '', + 'examples' => array( + array( + 'code' => '' + ) + ), + 'helplink' => 'https://help.bluespice.com/index.php/SmartList' ); return true; diff --git a/SmartList/i18n/en.json b/SmartList/i18n/en.json index f16df1a..1fe52fd 100644 --- a/SmartList/i18n/en.json +++ b/SmartList/i18n/en.json @@ -32,8 +32,10 @@ "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-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