The User:Isaacl/style/discussion-threads.css user stylesheet defines a set of Cascading Style Sheet rules that add style formatting to lists used in discussion threads. The stylesheet is currently in an experimental state.
On English Wikipedia, threaded discussions are represented as nested lists, using the :
and *
characters in wikitext. A reply to a comment is added within another list nested within the comment. Conceptually, it is a list of replies to the comment. The stylesheet adds the following style:
This styling will be applied to any page for which the reply tool or topic subscription is enabled. (The stylesheet checks for an HTML attribute added by discussion tool features to mark a list item as a comment.)
Below is a mockup of how the discussion thread styling appears.
Any suggestions for better writing? QuestioningEditor 17:05, 18 August 2023 (UTC)
To install, add the following text to your common.css file:
@import '/wiki/User:Isaacl/style/discussion-threads.css?action=raw&ctype=text/css';
Alternatively, add the following text to your common.js file:
mw.loader.load('/info/en/?search=User:Isaacl/style/discussion-threads.css?action=raw&ctype=text/css', 'text/css');
See the Toggle discussion threads style user script for a way to temporarily disable the CSS style rules for discussion threads on the current page, using an item in the Tools menu.
The styling of unordered lists (whose list items start with a bullet) is awkward.
The stylesheet uses CSS syntax that is only supported by newer versions of the Chromium-based browsers and Safari. Firefox does not support all of the necessary CSS syntax and thus is not supported.
The User:Isaacl/style/discussion-threads.css user stylesheet defines a set of Cascading Style Sheet rules that add style formatting to lists used in discussion threads. The stylesheet is currently in an experimental state.
On English Wikipedia, threaded discussions are represented as nested lists, using the :
and *
characters in wikitext. A reply to a comment is added within another list nested within the comment. Conceptually, it is a list of replies to the comment. The stylesheet adds the following style:
This styling will be applied to any page for which the reply tool or topic subscription is enabled. (The stylesheet checks for an HTML attribute added by discussion tool features to mark a list item as a comment.)
Below is a mockup of how the discussion thread styling appears.
Any suggestions for better writing? QuestioningEditor 17:05, 18 August 2023 (UTC)
To install, add the following text to your common.css file:
@import '/wiki/User:Isaacl/style/discussion-threads.css?action=raw&ctype=text/css';
Alternatively, add the following text to your common.js file:
mw.loader.load('/info/en/?search=User:Isaacl/style/discussion-threads.css?action=raw&ctype=text/css', 'text/css');
See the Toggle discussion threads style user script for a way to temporarily disable the CSS style rules for discussion threads on the current page, using an item in the Tools menu.
The styling of unordered lists (whose list items start with a bullet) is awkward.
The stylesheet uses CSS syntax that is only supported by newer versions of the Chromium-based browsers and Safari. Firefox does not support all of the necessary CSS syntax and thus is not supported.