Topic on Extension talk:DiscussionTools

Reply button missing after upgrade to MW1.41

13
Summary by ESanders (WMF)
Krd (talkcontribs)

Hello. Today I upgraded a private wiki to 1.41.0 (from 1.39.x or 1.40.x, sadly don't remember exactly), and now I don't get the Reply button on talk pages any more. There is still the Start-a-discussion button on an empty talk page, but after the page exists there are no Reply buttons. How can I debug this further?

Tacsipacsi (talkcontribs)
Krd (talkcontribs)

Special:DiscussionToolsDebug says it's good.

Matma Rex (talkcontribs)

Check your user preferences, and make sure that the "Enable quick replying" option appears there and is enabled. I seem to recall that the preferences code has changed heavily around that time in development, you might need to set some configuration variables to make it appear.

Krd (talkcontribs)

The option is there and it was already enabled.

Tacsipacsi (talkcontribs)

May it happen that simply JavaScript is turned off or a JavaScript error prevents further JS code from running on the page? If not, I have no more ideas.

Krd (talkcontribs)

I have no indication that JS fails. Is there any debugging code in the extension that I could activate?

Krd (talkcontribs)

Is there any way to enable debug code to determine in which part of the extension things go wrong?


When loading a not existing user talk page, the blue "Start discussion" button appears and I see in the server log:


[14/Mar/2024:07:04:32 +0100] "GET /index.php?title=Benutzer_Diskussion:Test99&action=edit&redlink=1 HTTP/1.1" 200 24388

[14/Mar/2024:07:04:32 +0100] "GET /load.php?lang=de&modules=ext.discussionTools.init.styles%7Cext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.interface.helpers.styles%7Cmediawiki.pager.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.styles.legacy&only=styles&skin=vector HTTP/1.1" 200 147999

[14/Mar/2024:07:04:32 +0100] "GET /load.php?lang=de&modules=site.styles&only=styles&skin=vector HTTP/1.1" 200 38

[14/Mar/2024:07:04:32 +0100] "GET /load.php?lang=de&modules=user.styles&only=styles&skin=vector&user=redacted&version=nykhn HTTP/1.1" 200 54

[14/Mar/2024:07:04:32 +0100] "GET /extensions/DiscussionTools/images/emptystate.svg HTTP/1.1" 200 9022

[14/Mar/2024:07:04:32 +0100] "GET /skins/Vector/resources/skins.vector.styles.legacy/images/bullet-icon.svg?d4515 HTTP/1.1" 200 159

[14/Mar/2024:07:04:32 +0100] "GET /skins/Vector/resources/skins.vector.styles.legacy/images/user-avatar.svg?b7f58 HTTP/1.1" 200 254

[14/Mar/2024:07:04:32 +0100] "GET /skins/Vector/resources/skins.vector.styles.legacy/images/arrow-down.svg?9426f HTTP/1.1" 200 223

[14/Mar/2024:07:04:32 +0100] "GET /skins/Vector/resources/skins.vector.styles.legacy/images/watch-icon.svg?6ab6f HTTP/1.1" 200 252

[14/Mar/2024:07:04:32 +0100] "GET /load.php?lang=de&modules=startup&only=scripts&raw=1&skin=vector HTTP/1.1" 200 36954

[14/Mar/2024:07:04:32 +0100] "GET /skins/Vector/resources/skins.vector.styles.legacy/images/search.svg?ac00d HTTP/1.1" 200 251

[14/Mar/2024:07:04:33 +0100] "GET /favicon.ico HTTP/1.1" 200 3098

[14/Mar/2024:07:04:32 +0100] "GET /load.php?lang=de&modules=ext.discussionTools.init%7Cjquery%2Coojs-ui-core&skin=vector&version=1oly1 HTTP/1.1" 200 586918


while when the user talk page exists, there is:

[14/Mar/2024:07:04:49 +0100] "GET /index.php?title=Benutzer_Diskussion:Test98 HTTP/1.1" 200 20403

[14/Mar/2024:07:04:49 +0100] "GET /load.php?lang=de&modules=site.styles&only=styles&skin=vector HTTP/1.1" 200 38

[14/Mar/2024:07:04:49 +0100] "GET /load.php?lang=de&modules=user.styles&only=styles&skin=vector&user=redacted&version=nykhn HTTP/1.1" 200 54

[14/Mar/2024:07:04:49 +0100] "GET /load.php?lang=de&modules=ext.discussionTools.init.styles%7Cext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.styles.legacy&only=styles&skin=vector HTTP/1.1" 200 144515

[14/Mar/2024:07:04:49 +0100] "GET /load.php?lang=de&modules=startup&only=scripts&raw=1&skin=vector HTTP/1.1" 200 36954

[14/Mar/2024:07:04:49 +0100] "GET /skins/Vector/resources/skins.vector.styles.legacy/images/user-avatar.svg?b7f58 HTTP/1.1" 200 254

[14/Mar/2024:07:04:49 +0100] "GET /skins/Vector/resources/skins.vector.styles.legacy/images/watch-icon.svg?6ab6f HTTP/1.1" 200 252

[14/Mar/2024:07:04:49 +0100] "GET /skins/Vector/resources/skins.vector.styles.legacy/images/arrow-down.svg?9426f HTTP/1.1" 200 223

[14/Mar/2024:07:04:49 +0100] "GET /skins/Vector/resources/skins.vector.styles.legacy/images/search.svg?ac00d HTTP/1.1" 200 251

[14/Mar/2024:07:04:50 +0100] "GET /favicon.ico HTTP/1.1" 200 3098

[14/Mar/2024:07:04:49 +0100] "GET /load.php?lang=de&modules=ext.discussionTools.init%7Cjquery%2Coojs-ui-core&skin=vector&version=1oly1 HTTP/1.1" 200 586918


Does that make sense?

Krd (talkcontribs)

Is there any way to enable debug code to determine in which part of the extension things go wrong?


When loading a not existing user talk page, the blue "Start discussion" button appears and I see in the server log:


14/Mar/2024:07:04:32 +0100 "GET /index.php?title=Benutzer_Diskussion:Test99&action=edit&redlink=1 HTTP/1.1" 200 24388

14/Mar/2024:07:04:32 +0100 "GET /load.php?lang=de&modules=ext.discussionTools.init.styles%7Cext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.interface.helpers.styles%7Cmediawiki.pager.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.styles.legacy&only=styles&skin=vector HTTP/1.1" 200 147999

14/Mar/2024:07:04:32 +0100 "GET /load.php?lang=de&modules=site.styles&only=styles&skin=vector HTTP/1.1" 200 38

14/Mar/2024:07:04:32 +0100 "GET /load.php?lang=de&modules=user.styles&only=styles&skin=vector&user=redacted&version=nykhn HTTP/1.1" 200 54

14/Mar/2024:07:04:32 +0100 "GET /extensions/DiscussionTools/images/emptystate.svg HTTP/1.1" 200 9022

14/Mar/2024:07:04:32 +0100 "GET /skins/Vector/resources/skins.vector.styles.legacy/images/bullet-icon.svg?d4515 HTTP/1.1" 200 159

14/Mar/2024:07:04:32 +0100 "GET /skins/Vector/resources/skins.vector.styles.legacy/images/user-avatar.svg?b7f58 HTTP/1.1" 200 254

14/Mar/2024:07:04:32 +0100 "GET /skins/Vector/resources/skins.vector.styles.legacy/images/arrow-down.svg?9426f HTTP/1.1" 200 223

14/Mar/2024:07:04:32 +0100 "GET /skins/Vector/resources/skins.vector.styles.legacy/images/watch-icon.svg?6ab6f HTTP/1.1" 200 252

14/Mar/2024:07:04:32 +0100 "GET /load.php?lang=de&modules=startup&only=scripts&raw=1&skin=vector HTTP/1.1" 200 36954

14/Mar/2024:07:04:32 +0100 "GET /skins/Vector/resources/skins.vector.styles.legacy/images/search.svg?ac00d HTTP/1.1" 200 251

14/Mar/2024:07:04:33 +0100 "GET /favicon.ico HTTP/1.1" 200 3098

14/Mar/2024:07:04:32 +0100 "GET /load.php?lang=de&modules=ext.discussionTools.init%7Cjquery%2Coojs-ui-core&skin=vector&version=1oly1 HTTP/1.1" 200 586918


while when the user talk page exists, there is:


14/Mar/2024:07:04:49 +0100 "GET /index.php?title=Benutzer_Diskussion:Test98 HTTP/1.1" 200 20403

14/Mar/2024:07:04:49 +0100 "GET /load.php?lang=de&modules=site.styles&only=styles&skin=vector HTTP/1.1" 200 38

14/Mar/2024:07:04:49 +0100 "GET /load.php?lang=de&modules=user.styles&only=styles&skin=vector&user=redacted&version=nykhn HTTP/1.1" 200 54

14/Mar/2024:07:04:49 +0100 "GET /load.php?lang=de&modules=ext.discussionTools.init.styles%7Cext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.styles.legacy&only=styles&skin=vector HTTP/1.1" 200 144515

14/Mar/2024:07:04:49 +0100 "GET /load.php?lang=de&modules=startup&only=scripts&raw=1&skin=vector HTTP/1.1" 200 36954

14/Mar/2024:07:04:49 +0100 "GET /skins/Vector/resources/skins.vector.styles.legacy/images/user-avatar.svg?b7f58 HTTP/1.1" 200 254

14/Mar/2024:07:04:49 +0100 "GET /skins/Vector/resources/skins.vector.styles.legacy/images/watch-icon.svg?6ab6f HTTP/1.1" 200 252

14/Mar/2024:07:04:49 +0100 "GET /skins/Vector/resources/skins.vector.styles.legacy/images/arrow-down.svg?9426f HTTP/1.1" 200 223

14/Mar/2024:07:04:49 +0100 "GET /skins/Vector/resources/skins.vector.styles.legacy/images/search.svg?ac00d HTTP/1.1" 200 251

14/Mar/2024:07:04:50 +0100 "GET /favicon.ico HTTP/1.1" 200 3098

14/Mar/2024:07:04:49 +0100 "GET /load.php?lang=de&modules=ext.discussionTools.init%7Cjquery%2Coojs-ui-core&skin=vector&version=1oly1 HTTP/1.1" 200 586918


Does that make sense?

Krd (talkcontribs)

I can reproduce that the Reply button works at a fresh 1.39.6 installation, and gets broken after an upgrade to 1.41.0.

Krd (talkcontribs)

And I can confirm that it works in 1.40.2.

Krd (talkcontribs)

Even in a fresh installation of 1.41.0 is does NOT work.

Krd (talkcontribs)