Help:DiscussionTools/dtp

From Linux Web Expert

Revision as of 02:00, 18 February 2024 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

File:PD-icon.svg Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info. File:PD-icon.svg

This is the help page for Wikipedia editors and other end users who are using DiscussionTools .

DiscussionTools is the default talk page system provided with MediaWiki . It is the default discussion system at all Wikimedia wikis. It is available on the desktop and mobile web site, but not in Wikimedia Apps.

Reply tool

Links are added after each comment for posting quick replies to existing discussions.

Getting started

File:Reply tool version 2b screenshot.png
Screenshot of the visual mode
  1. At the end of each signed message, there will be a ⧼discussiontools-replybutton⧽ link. Click that link to reply to the message.
  2. A box will open. Your message will be placed where the box is located.
  3. Type your reply in the box. Your signature and the date will be added to your reply automatically.
  4. When you are ready to post your reply, click the ⧼discussiontools-replywidget-reply⧽ button.

Features

  • You can switch between visual and wikitext source editing modes.
  • In the wikitext source mode, a live preview shows what your message will look like while you are typing it.
  • In both the source and visual modes, you can use keyboard shortcuts to make links, to @-mention the person you're replying to, and to add character formatting.
  • If someone else posts a comment in the same section while you are typing your own comment, it will alert you. Click ⧼Discussiontools-replywidget-newcomments-button⧽ to see the new comment. If you have already typed part of your comment, it will try to keep your comment. Restoring your comment is sometimes slow on large pages.
  • Replying can be disabled on individual pages and sections as described at Help:DiscussionTools/Magic words and markup .

Limitations

  • As of 2022, this tool does not work with multi-line templates or wikitext codes that must be placed at the start of a line (e.g., wikitext table syntax). You will not be able to switch to visual mode if your comment contains this syntax. See reply tool visual mode limitations.
  • The tool will only show on:
    • Pages in talk namespaces
    • Pages in namespaces which have been configured to show the 'add signature' tool ($wgExtraSignatureNamespaces). For most Wikimedia wikis this is the project and help namespaces.
    • Pages which have manually added the Add topic button using __NEWSECTIONLINK__
  • The reply tool is visible when it detects a link to a user account and a timestamp on the same line. Some custom signatures will not be detected. See Why can't I reply to this comment?.

New topic tool

The new topic tool starts a new discussion topic on the page. The features and limitations are very similar to the features and limitations of the reply tool. Complex formatting, such as tables, is allowed.

Starting a new topic

  1. At the top of the page, click the "Add topic" tab.
  2. A box will open at the end of the page. Your message will be placed where the box is located.
  3. Type a subject heading in the box, where it says "⧼discussiontools-newtopic-placeholder-title⧽". A subject heading is required.
  4. Type your message in the big box. Your signature and the date will be added to the end of your message automatically.
  5. When you are ready to post your message, click the ⧼discussiontools-replywidget-newtopic⧽ button.

Experimental: Preloading message content

Since March 2023, the New topic tool includes experimental support for preloading the talk page message, similar to native MediaWiki preloading . Preloading is only supported experimentally on opt-in basis and is not yet ready for wide adoption. Support of this feature was introduced as part of T269310.

To enable the experimental preloading, it is necessary to provide the dtpreload=1 parameter (or usedt=1 in InputBox ). If the enabling parameter is provided, the following preloading URL parameters are recognized:

  • preloadtitle - if provided, the value is used as the talk page message's subject
  • preload - if provided, the page specified in the value is used to preload the talk page message content
  • preloadparams[] - if provided, the value is used to replace parameters in the preloading template; each parameter is specified as $1, $2, $3. This parameter can be provided multiple times.

Topic subscriptions

File:DiscussionTools topic subscription September 2022 en.png
Click the ⧼discussiontools-topicsubscription-button-subscribe⧽ button at the top of the section.

The topic subscriptions feature adds a link to ⧼discussiontools-topicsubscription-button-subscribe-label⧽ at the end of the discussion section headings. Click the ⧼discussiontools-topicsubscription-button-subscribe-label⧽ link to receive notifications if and when new comments are added to that section in the future.

File:Screenshot of topic subscription prototype.png
Notifications for new comments posted in a talk page section someone has subscribed to.

You can enable automatic topic subscriptions in Preferences → Discussion pages. Only edits made with the reply and new topic tools will cause you to be automatically subscribed.

After you have subscribed to this section, there will be an ⧼discussiontools-topicsubscription-button-unsubscribe-label⧽ link. Click that to stop receiving notifications about new comments in that section.

Notes

  • Notifications are based on the first comment and its timestamp. Changes to the section heading do not affect the subscription.
  • You can only subscribe to a ==Level 2 section==.
  • You will receive notifications about new comments regardless of the editing interface used to post them.
  • Subscriptions will remain intact even when conversations are moved to other pages or the section heading changes.
  • You can read technical information at Extension:DiscussionTools/How it works#Notifications.
  • Subscribing to a thread that was initiated by a Massmessage distribution will subscribe you to all threads created at the same time.[1]

Page subscription

File:Subscribe-Vector2022.png
Location of page subscription link in Skin:Vector 2022 , when the "⧼vector-page-tools-label⧽" menu is pinned.

You can subscribe to a whole talk page and be notified of new topics.

This "⧼discussiontools-topicsubscription-button-unsubscribe-label⧽" link is present in the "⧼vector-page-tools-label⧽" menu. Depending on your configuration, this menu can be either collapsed under the "Tools" menu or visible.

When you click on it, the ⧼discussiontools-topicsubscription-button-unsubscribe-label⧽ link becomes an ⧼discussiontools-topicsubscription-button-unsubscribe-label⧽ link.

This is different from watching the page. Watching the page will highlight all edits made on the talk page: new topics, comments, edits... If you subscribe to the talk page, you will only be notified about new discussion topics.

You can see a list of your subscriptions at Special:TopicSubscriptions. You can unsubscribe from topics on that page, too.

Information and appearance

Discussion pages will show additional information about each section. Discussion pages will not look the same as article pages, to help newcomers recognize them as places for talking to other users.

This feature adds new information about:

  • the number of users and the number of comments in each topic and how old the most recent comment is – at the top of each ==section heading==
  • the most recent comment on the page – at the top of the page
  • the number of comments in each thread – in the Table of Contents (Vector 2022 skin only)

This feature also changes the appearance of the talk pages, particularly for ==Level 2== section headings.

You can turn off this feature in Special:Preferences#mw-prefsection-editing-discussion. Look for "⧼discussiontools-preference-visualenhancements⧽".

Bolikan boros link tumindohoi

Tumimpuun Milatok 29, 2024, monikid komen kaamu do permalink.[2] This link keeps track of the comment, even if moved elsewhere.

The link to a comment is available from its timestamp, in the signature. Clicking (or tapping on mobile) on the link copies the permalink to your clipboard.

If a comment has been moved from the linked-to page, a message is shown to the user, with a link to the new location.

The comment accessed using this link will be highlighted by a colored background.

Format Permalink

The URL fragment is now a unique identifier, stored in a database. The page the comment is currently on doesn’t matter anymore. It applies to either new topics or any responses.

Each new comment is identified using the author of the new message and its timestamp, and also the user and timestamp of the comment being replied to. The most common format is: #c-<username1>-<timestamp1>-<username2>-<timestamp2>

New topics are identified by their author, timestamp, and the new topic title: #c-<username>-<timestamp>-<topic title>

In addition, most recent existing section links to topics in the format #<topic title> will also trigger this message if the topic was moved and can be found elsewhere.[3]

Monolibamban kobolingkangan

Each comment with a proper signature is taken into account. A proper signature is a signature with a link to a user page, or user talk page, or user contributions, and a timestamp formatted according to the wiki's language. Custom timestamps might not be detected.

All comments matching the signature requirements are taken into account for a permalink, no matter their age; this change is retroactive on older comments.

Changing the username in the signature, or the timestamp of an already posted message, will corrupt the permalink.

If a comment is deleted, it can be traced back. The last old revision where the comment appeared will be shown. This is available on Special:FindComment.

Talk pages permalinks won't work in any page that transcludes sections under <h1> headings.

Mobile

All of the above features are also available on the mobile web site. Their design is adapted to fit in with the design of the mobile skin and the mobile editor.

The reply tool's comment box shows vertical placement of your comment. It does not show horizontal placement ("indentation"), to provide more space for editing on narrow mobile screens.

Nuut

  1. <translate> task <tvar name=1>T334906</tvar></translate>
  2. Kosimbanan diti au manahak bagos do English Wikipedia ontok tadauwulan dii.
  3. Older topics links, before August 2023, are not all indexed. This only applies to the topic links, comment permalinks will work for any comment.