Help:Structured Discussions/FlowDeluxe

From mediawiki.org

FlowDeluxe is a user script to customize the display of discussion pages running with Structured Discussions (Flow).

How to get it?[edit]

You need to add the following code to your common.js:

mw.loader.load("https://fr.wikipedia.org/w/index.php?title=MediaWiki:Gadget-FlowDeluxe.js&action=raw&ctype=text/javascript");

The inclusion of the script alone will not change anything. You have to choose the options you want from the list below and add them in your common.js.

The code to include all current options:

mw.loader.load("https://fr.wikipedia.org/w/index.php?title=MediaWiki:Gadget-FlowDeluxe.js&action=raw&ctype=text/javascript");
flowDeluxeSujetsOuverts = "#A9F5F2"; //Color open topics
flowDeluxeSujetsClos = "rgba(60, 207, 90, 0.13)"; //Color closed topics
flowDeluxeDiscuterContributions = true; //Display (talk | contribs) links
flowDeluxeDateComplete = true; //Show dates
flowDeluxeBoutonsResumes = true; //Insert templates in summary
flowDeluxeIndentationColors = true; //Colored indentation
flowDeluxeNeverHide = true; //Never hide topics
flowDeluxeButtonsInline = true; //Action buttons inline

List of options[edit]

Colored indentation  [edit]

Exemple of colorful indentation with gadget.

Messages are colored as in the old discussion system:

flowDeluxeIndentationColors = true;

Color open topics[edit]

Colors the title/summary for all opened topics with the color code you choose (hexadecimal or rgb). Example:

flowDeluxeSujetsOuverts = "#A9F5F2";

Color closed topics[edit]

Colors the title/summary for all closed topics with the color code you choose (hexadecimal or rgb). Example:

flowDeluxeSujetsClos = "rgba(60, 207, 90, 0.13)";

Permanent links for talk and contribs[edit]

Always display (talk | contribs) next to usernames. For admins, the "block" link also appears.

flowDeluxeDiscuterContributions = true;

Always show dates[edit]

To display the date and time of messages instead of only having "a day ago":

flowDeluxeDateComplete = true;

Insert templates in the summary[edit]

(Only on fr.wikipedia.org)

flowDeluxeBoutonsResumes = true;

Never hide closed topics[edit]

Never hide closed topics:

flowDeluxeNeverHide = true;

Display action buttons on one line[edit]

An example with a yellow background for an open topic and action buttons inline

Display buttons inline, instead of using the dropdown list with "..."

flowDeluxeButtonsInline = true;

Future developments[edit]

  • Block the description on the top or on the right
  • Summary permanently deployed right

Report a bug[edit]