Extension talk:StructuredDiscussions

Jump to navigation Jump to search

About this board

Any questions about the StructuredDiscussions extension.

Johnywhy (talkcontribs)
机智的小鱼君 (talkcontribs)

Put all $wgNamespaceContentModels[NS_*] under define("NS_*",*);

Reply to "Bug? "NS_TALK" is not working."

Accessing talk page from topic in PHP

3
Tinss (talkcontribs)

Hello,

I'm trying to write a hook that redirects topic pages (linked from notifications) to the talk page from which it belongs. I know there is a link to the talk page on the topic page, but it's an extra step I'd like to get rid of. I'm using the ArticleFromTitle hook and after searching for hours, I'm still baffled as to how I'm suppose to get the talk page's Title object from the topic's Title object.

Any help would be much appreciated.

Roan Kattouw (WMF) (talkcontribs)
Tinss (talkcontribs)

Thank you very much! Your example was easily adaptable to my use case. In order to redirect I called $context->getOutput()->redirect($subject->getFullURL($query)); from inside the ArticleFromTitle hook.

Thedonquixotic (talkcontribs)

I'm new to the mediawiki world, and I'm currently researching it in order to decide whether or not I want to use it. I think this extensions is very much needed, as I find talk pages extremely confusing in their presentation etc. I'm speaking as someone who works as a UX Designer and Developer, I'm technically inclined, and I actually know conceptually how talk pages work now, but even so it's very out of step with the UI norms the rest of the web have adopted and a more modern update like this seems necessary.

Also as much as this extension is needed, there is still a lot more features it could use. I think allowing for deeper threading is one thing. Or are these discussions meant to be shallow (in the sense of tree hierarchy depth, not content)?

It might be useful to have shallow comments discussion sections (like you would have on stack exchange or disqus) which have limited nested threads, and then have a deeper "forum" like format which allowed for deeper threading and possibly greater multimedia controls. Just a thought.

Tacsipacsi (talkcontribs)

I’m not very familiar with UX terms. What do you mean by deep discussions? Topics within topics? I don’t see where would it be useful to have more than the two current levels (page and topic). Replies to specific replies (i.e. what is currently available on Stack Exchange in two-level form: answers and comments on answers)? As far as I know, Structured Discussions supports this kind of deepness infinitely (or at least more than just one or two levels).

Thedonquixotic (talkcontribs)

By deep I mean the number of levels deep a thread can go. It can only go 3. Which I think is good for a comment section but maybe not for a more detailed conversation/debate on a topic. Perhaps having two forms of feedback would be good? One for commentary and then another for deeper topic discussion?

Reply to "Just some feedback"

Suggestion:Change flow topic display title to match topic title

1
Summary by Trizek (WMF)
197.235.109.215 (talkcontribs)

Issue

Currently info pages such as https://www.mediawiki.org/w/index.php?title=Topic:Tuxqtxu1kp6n1m1q&action=info use the same displaytitle as the sort key. Aside from not reflecting reality, it makes searching for flow titles a mess, see topic%3A+contentmodel%3Aflow-board .

Background

While searching for thread posts might never be possible, it would be at least useful to be able to search prior discussions by title. This only works with structureddiscussions boards but not threads, e.g. it is possible to find this board "Extension_talk:StructuredDiscussions" but not a thread like Topic:Ukzjwfa58ewp4zm6 without knowing the whole strange id.

Proposed solution

  1. Add displaytitle (Help:Magic words#DISPLAYTITLE) in each thread as its thread title, e.g. :Topic:Ukzjwfa58ewp4zm6 -> displaytitle: "Issues with StructuredDiscussions" .
  2. This will presumably be shown in search once this task (https://phabricator.wikimedia.org/T143396) is resolved.
Reply to "Suggestion:Change flow topic display title to match topic title"
Kaldari (talkcontribs)

Mostly putting this here for my own reference... The major issues that I currently see with StructuredDiscussions being a good replacement for article talk pages are:

  • There’s no archiving system
  • It seems old topics are not in-page searchable
  • List of topics (in the "Browse topics" UI) isn’t scannable. Seems to only show a maximum of 11 topics at a time.
  • Copying and pasting is better than it used to be but still a bit wonky. For example, line break handling is buggy.
  • The UI is confusing. Some examples:
    • Does “Hide” just hide for me or everyone?
    • What is “Recently…”?
    • What’s the difference between the 2 different “Reply”s?
Trizek (WMF) (talkcontribs)

Thanks.

Concerning the list of topics, when you scroll it down, it will load more results.

For all your other comments, there are already requests (and tickets) made. I can link them to you of really necessary.

Kaldari (talkcontribs)

Yes, if you know ticket numbers for any of those, please post them. Thanks!

Here are a couple more I just noticed:

  • After you jump to an old topic from "Browse topics", it disappears off the screen (presumably because content above the section you jumped to loads in after).
  • The "cur" and "prev" links in the history seem to mostly not function, but when they are available they seem to do different things than they normally do.
Trizek (WMF) (talkcontribs)

Here are a few links that would fit your reports:

  • search in old topics covers some of your questions, like the list of topics not searchable and the archiving (archiving can be a status you search for).
  • copy/pasting not working properly has no specific ticket but changing the storage format may help (T174374)
  • Confusing UI
    • how hide works: add tooltips
    • what is "recently" has no ticket, but there are something about relative timestamps to improve. You can hover the date to have a better timestamp.
    • the two reply buttons are related to the threading, currently based on user selection rather than being hard-coded into the data structure as they are now. (T105438 and T108998)
  • The problem when you jump to an old topic is to be recondidered, to have, a pagination instead of infinite scrolling (:T132817). This is overall covered by reconsider how to navigate on a Flow board
  • History integration is currently poor in consistency with everything else (T85563), that impacts the "cur" and "next" links.

You can find here the most urgent improvements that have been decided last year, based on user feedback. Most of your cases are listed there.

Reply to "Issues with StructuredDiscussions"

How to create a new conversation page

3
Sokote zaman (talkcontribs)

hello

How to create a new talk page other than the discussion page and user?

Ciencia Al Poder (talkcontribs)
Trizek (WMF) (talkcontribs)
Reply to "How to create a new conversation page"
TitusiMW (talkcontribs)

Thanks in advance for any help/pointers.

TitusiMW (talkcontribs)

Folks any help with this?

Reply to "Math is not Rendering in Flow"
Pajellen (talkcontribs)

Seem to be having a weird issue with StructuredDiscussions, the editing window that shows up under the Topic name doesn't want to allow me to enter text UNLESS I have the Debug line added (?Debug=true), with that line added it works with no issue. I confirmed it works with both Source and Visual Editing so it doesn't seem to be a Parsoid issue. Below are screenshots of what I'm referring to:

https://imgur.com/a/dgdmTjN

Ciencia Al Poder (talkcontribs)

Open the developer tools of your browser (hit F12) and look at the console for any JavaScript error (they usually appear in red color). Maybe there's some error causing this.

Reply to "Issue with Message Input box"

Exception caught when starting a new topic

1
Summary by PlavorSeol
PlavorSeol (talkcontribs)

Parser function to detect Flow page's status

2
Framawiki (talkcontribs)

Hello.

Is it technically possible to detect in a template code if it's used in a Flow environment (ticket/board desc) ? ie. a parser function ?

Currently I can play with {{#ifeq:{{NAMESPACE}}|Topic|It's in a Flow topic|It's not in}}

but it does not work with board desc, that have a "real" namespace.

Have a method to do this can be really useful to remove adaptations problems of templates that were initially written for classic talk page. These templates do really bad renders like fr:Discussion_utilisateur:Xmen_le_grand.

Is the resolution of this problem foreseen ?

Thanks for your work.

Framawiki (talkcontribs)

Any news here?

Reply to "Parser function to detect Flow page's status"