User talk:Jack who built the house/Convenient Discussions/Archives/2023

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

LiquidThreads

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 14:37, 15 April 2023 (UTC)

On pages with LiquidThreads, such as wikt:User talk:Yair rand/newentrywiz.js, it would be helpful if CD wasn't adding additional reply buttons at weird locations. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 16:57, 14 March 2022 (UTC)

✓ Done, LiquidThreads pages are excluded from CD. Jack who built the house (talk) 09:01, 24 September 2022 (UTC)

syntaxhighlight

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 14:37, 15 April 2023 (UTC)

Hi, in the message Wikimedia:Convenient-discussions-cf-reaction-pre/en the syntax <syntaxhighlight> is suggested. But <syntaxhighlight> without the lang paramater results into categorizing the pages into Category:Pages with syntax highlighting errors. Therefore I suggest to change the message a bit: From <syntaxhighlight> to <syntaxhighlight lang="text">. Could you do this please? Thanks a lot. Raymond 19:35, 7 May 2022 (UTC)

@Raymond, thanks! Fixed :) Iniquity (talk) 09:58, 30 May 2022 (UTC)

"The comment has changed"

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 14:37, 15 April 2023 (UTC)

@Jaguar K: thanks for your reports. Regarding the last one: the developers have added a HTML comment to every comment. This message should be shown only once for every page visited. I'll also try to fix them all in the coming release by removing HTML comments from the compared part. Jack who built the house (talk) 05:39, 5 August 2022 (UTC)

Пропало отображение флагов в заголовке комментария.

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 14:38, 15 April 2023 (UTC)

Если включен гаджет "Флаги участников" [1], то теперь эти флаги перестали отображаться в заголовке комментария, рядом с именем автора. В теле комментария флаги отображаются. Если выключить CD, то флаги отображаются.

Ping @Jack who built the house. DenBkh (talk) 11:21, 23 August 2022 (UTC)

Ping @JWBTH DenBkh (talk) 11:22, 23 August 2022 (UTC)
Спасибо за репорт. Я уже заметил, в ближайшее время будет выпущено исправление. Jack who built the house (talk) 13:59, 23 August 2022 (UTC)
Спасибо, а есть какой-нибудь вариант как можно откатиться на предыдущую версию, пока этот этот баг не поправлен? DenBkh (talk) 12:37, 1 September 2022 (UTC)
@DenBkh: Прошу прощения за задержку. Сейчас обновление вышло. Грузить старую версию можно, указывая номер версии (ревизии) в URL, например mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Jack_who_built_the_house/convenientDiscussions.js&oldid=690971591&action=raw&ctype=text/javascript');. Jack who built the house (talk) 07:13, 24 September 2022 (UTC)

Format issue on w:en:WP:AN

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 14:38, 15 April 2023 (UTC)

When Convenient Discussions is enabled, a weird bug is introduced on w:en:Wikipedia:Administrators' Noticeboard#Open tasks. The admin tasks list there will occupy more columns than the horizontal space allows, rendering over the other elements and introducing horizontal scrolling. When CD is not enabled, this does not occur. Maddy from Celeste (talk) 20:28, 1 September 2022 (UTC)

@Maddy from Celeste: Hi, thanks for the report! Do you use Firefox? I see this in Firefox, but not in Chrome. It seems to be a peculiar browser bug. If I add <div style="float: right;">text</div> under a section heading, the effect is the same.
I currently fixed it at the page itself. Jack who built the house (talk) 08:59, 24 September 2022 (UTC)
Yeah, I'm on Firefox. Thanks for the fix! Madeline (part of me) 09:01, 24 September 2022 (UTC)

Проблема с использованием свернутых списков в обсуждениях

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 14:38, 15 April 2023 (UTC)

@Jack who built the house Обнаружил следующую проблему: если кто-то в обсуждении помещает кусок текста в свернутый список, то развернуть этот текст невозможно, ибо ссылка на его разворачивание перекрывается всплывающим «Ответить». Пример подобного можно посмотреть, например, здесь (свёрнутый список «Скрытый текст с возможным нарушением ЭП»). Как я понимаю, это происходит в том случае, когда свёрнутый список является частью поста. И это очень неудобно. Можно это как-то поправить? Vladimir Solovjev (talk) 15:56, 14 December 2022 (UTC)

@Vladimir Solovjev: да, см. FAQ:
The comment menu (Reply/Edit/Thank/...) overlaps a user link, and I can't click it.
Make a long click/tap or right click on the block; it will disappear.
Также такой проблемы нет в новом дизайне ( → «Переформатировать сообщения, заменяя подписи на стандартные ссылки сверху и снизу»). Jack who built the house (talk) 20:06, 15 December 2022 (UTC)
Спасибо! Vladimir Solovjev (talk) 12:12, 16 December 2022 (UTC)

No Subscribe links next to the topics (plwiki)

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 14:39, 15 April 2023 (UTC)

@Jack who built the house

On pl.wikipedia.org (ex. pl:Wikipedia:Kawiarenka/Kwestie_techniczne) CD for some reason doesn't add the Subscribe topic link with the bell. --MarMi wiki (talk) 01:08, 28 December 2022 (UTC)

If it's for some reason technically difficult to display it there, then maybe add an option to move the Subscription into the menu on the right (three dots)? MarMi wiki (talk) 11:41, 28 December 2022 (UTC)
Hi, thanks for the reports. Busy right now, but will look into it as soon as I have time. Jack who built the house (talk) 11:30, 5 January 2023 (UTC)
It also doesn't add it here. (I recently moved script loading to global.js).
I thought that it may be because of the [edit] link, but it doesn't seems like it:
en:Wikipedia:Village_pump_(technical) - [edit], subscription present
de:Wikipedia:Technik/Werkstatt - [edit code], subscription present
pl:Wikipedia:Kawiarenka/Kwestie_techniczne - [edit | edit code], subscription NOT present
Here - [edit code], subscription NOT present MarMi wiki (talk) 12:23, 5 January 2023 (UTC)
✓ Fixed it. By the way, if something about subscriptions in CD breaks, you can check "Enable topic subscription" at Special:Preferences#mw-prefsection-editing for a time being, it will work well with the rest of CD. Sometimes guys at WMF make breaking changes to this feature without warning 😁 Jack who built the house (talk) 13:58, 5 January 2023 (UTC)
When I loaded this page to see your last reply, the bell still wasn't showing (but it could be because the page/script was still from cache?).
I reset that (global) option (set/save, unset/save) and now the bell is present.
Thanks. MarMi wiki (talk) 15:40, 5 January 2023 (UTC)

Feature request: Archive searching adjustements for Community discussions

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 14:39, 15 April 2023 (UTC)

The community discussions pages use different archive scheme, is it possible for CD to adjust to them?

enwiki (Village pump sections)

plwiki (Stoliki) MarMi wiki (talk) 12:53, 28 December 2022 (UTC)

See the description of the archivePaths configuration property. It largely regulates how archive searching is carried out. You'll need to create a configuration file, see "Configuring for a wiki". Jack who built the house (talk) 18:29, 16 February 2023 (UTC)

Ерунда с отображением списков

Добрый день! Возможно, об этом уже писали, но не помню.
Иногда CD не отображает сообщение, в котором есть список. Например, тут:
https://imgur.com/bTn1jru - вот так это выглядит в сохраненном виде.
https://imgur.com/SYjf0gO - вот так в коде. Michgrig (talk) 11:24, 11 February 2023 (UTC)

Забыл пингануть: @Jack who built the house, @JWBTH Michgrig (talk) 11:25, 11 February 2023 (UTC)
Это что-то с твоими стилями (я вижу, они там какие-то особенные). У меня такого эффекта нет. Jack who built the house (talk) 06:00, 13 February 2023 (UTC)
Ты имеешь в виду настройки CSS? Да, я подключил себе оформление отступов из фр.вики (очень удобно, кстати, дает визуализацию уровней дискуссии, уже забыл о том, что у меня кастомное :) ). Michgrig (talk) 12:32, 13 February 2023 (UTC)
Отключил кастомное оформление, и все стало нормально. Теперь либо новый дизигн, либо сам CD делает то же самое, что было сделано через персональный CSS.
Спасибо! Michgrig (talk) 20:41, 14 February 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 18:40, 27 November 2023 (UTC)

Topic subscription links sometimes missing from enwiki help desk

Since ~some days I've noticed that the "Subscribe" links under headings on w:en:Wikipedia:Help desk are missing most of the time (but every few reloads they do appear). I've recreated it in w:en:User:Maddy from Celeste/sandbox; it seems to be something related to w:en:Wikipedia:Help desk/Header, but I can't tell what. Interestingly, they do reliably show up if I add the cdtalkpage=1 URL query parameter. Madeline (part of me) 10:41, 21 April 2023 (UTC)

Good catch, thank you! The reason is the day headings (=April 19=). Will fix in the next release. Jack who built the house (talk) 20:08, 22 April 2023 (UTC)
Thanks! Madeline (part of me) 20:19, 22 April 2023 (UTC)
Released. Jack who built the house (talk) 14:09, 30 April 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 18:46, 27 November 2023 (UTC)

Yi translation

Hi @Jack who built the house, I added some Yiddish translation to translatewiki.net. Please add yi support to the tool. Thank you! וויקיפּעדלער (talk) 17:29, 1 March 2023 (UTC)

Hi! Thank you for the contribution. Currently the deployment pipeline (automatically) adds the translation for a language when 25% of strings are translated. The statistics currently tells me that only 10% of Yiddish strings are translated. Could you translate at least ~60 more strings so that the engine adds the translation? Jack who built the house (talk) 00:32, 24 March 2023 (UTC)
@וויקיפּעדלער fyi. Iniquity (talk) 13:52, 14 April 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 13:13, 28 November 2023 (UTC)

RedWarn warnings support

Couldn't find a section "noticeApplied-1154599320-1154323234" on the page and co. appeared after I made this edit with RedWarn’s warning system Aaron Liu (talk) 14:18, 13 May 2023 (UTC)

Don't know what RedWarn is, but Fixed. Jack who built the house (talk) 12:19, 25 August 2023 (UTC)
Huh. RedWarn is basically Twinkle but with a better UI. Thanks for fixing the notice and is it possible to automatically subscribe to RedWarn topics too? Aaron Liu (talk) 13:36, 25 August 2023 (UTC)
is it possible to automatically subscribe to RedWarn topics too?
I suspect that would be non-trivial. Jack who built the house (talk) 15:15, 25 August 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 13:09, 28 November 2023 (UTC)

Не удалось найти сообщение в исходном коде

@Jack who built the house: Не удаётся отвечать на первое сообщение темы ru:Special:Diff/130687774 (-</ref>) с помощью CD, при этом второй ответ и редактирование первого ответа возможны: ru:Special:Diff/130688432, ru:Special:Diff/130688432130688624 и ru:Special:Diff/130688432130688641. Alex NB IT (talk) 10:01, 27 May 2023 (UTC)

@JWBTH Alex NB IT (talk) 11:44, 27 May 2023 (UTC)
VM277:712 Uncaught TypeError: Cannot read properties of undefined (reading 'test')
    at CommentForm.js:1696:22
    at Array.forEach (<anonymous>)
    at CommentForm.js:1695:23
    at OO.EventEmitter.emit (<anonymous>:712:399)
    at OO.ui.InputWidget.setValue (load.php?lang=ru&modules=ext.discussionTools.init%7Cjquery%2Cmoment%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector-2022&version=1g0q4:680:81)
    at load.php?lang=ru&modules=ext.discussionTools.init%7Cjquery%2Cmoment%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector-2022&version=1g0q4:679:630
Iniquity (talk) 12:42, 1 August 2023 (UTC)
@Alex NB IT: Спасибо за репорт, он помог найти ошибку в коде. Но в данном случае это, к сожалению, не поможет, потому что это тот очень редкий случай, когда буквально всё, что может, сбивает с толку CD, не давая ему найти сообщение в вики-коде. Технические подробности, если вам интересно:
  • В заголовке раздела — закрывающий тег, который CD считает настоящим тегом, не отображаемым как текст, и это его путает. (Слишком специфический случай, чтобы ловить его.)
  • Сообщение не содержит текста, а содержит лишь ссылку, что мешает установлению идентичности сообщения в вики-коде и сообщения на странице.
  • Ещё один фактор — совпадение порядкового номера сообщения в коде и сообщения на странице — тоже не помогает, потому что одно из сообщений на вашей СО выглядит как два в вики-коде. Индексы не совпадают.
0 из 3. Результат — у скрипта недостаточно уверенности, что сообщение в вики-коде — это то же сообщение, что и на странице. Jack who built the house (talk) 01:36, 25 August 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 13:11, 28 November 2023 (UTC)

Похоже, раздел был архивирован

ru:Википедия:Запросы к патрулирующим#Лауреаты Государственной премии из-за ru:Википедия:Запросы к патрулирующим/Архив/2011/2 полугодие#Лауреаты Государственной премии СССР в области литературы, искусства и архитектуры @Jack who built the house @JWBTH Alex NB IT (talk) 17:54, 9 June 2023 (UTC)

На странице «государственный» с маленькой буквы, в ссылке — с большой. Jack who built the house (talk) 21:25, 25 August 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 13:11, 28 November 2023 (UTC)

Uninstalling CD breaks Discussion Tools

A few days ago, I installed CD on my enwiki account. Earlier today, while trying to debug a Discussion Tools problem (see https://phabricator.wikimedia.org/T334906), I removed CD. This broke discussion tools completely. I no longer get the Reply links, or the Subscribe links for TopicSubscriptions. At this point, reinstalling CD reliably fixes the problem and uninstalling CD reliably breaks it again. Any idea what's going on? RoySmith (talk) 20:18, 9 June 2023 (UTC)

Hi! Are the relevant checkboxes at w:Special:Preferences#mw-prefsection-editing (under "Discussion pages") enabled?
To debug DT without CD you can add ?cdenable=0 to the URL. To enable DT at the same time, if it is disabled in the settings, you can add &dtenable=0 to the same URL. For example: https://commons.wikimedia.org/wiki/User_talk:Jack_who_built_the_house/Convenient_Discussions?cdenable=0&dtenable=1. Jack who built the house (talk) 21:43, 9 June 2023 (UTC)
Hmmm, the checkboxes are greyed out. I'm not sure if that means they're enabled or not. RoySmith (talk) 01:27, 10 June 2023 (UTC)
I see! To enable DT, you need to
1) either check the "Set a local exception" checkboxes and then check the main checkboxes,
2) or follow the link "global preference" and check the checkboxes. This will enable DT globally. Jack who built the house (talk) 08:42, 10 June 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 13:11, 28 November 2023 (UTC)

Create discussion + Add topic error

CD has a problem with creating/adding a topic to a discussion page, which doesn't exist yet (redlink), at least on commons.

If the CD can't add topic on those pages, then it should fallback to the normal add topic operation (or it shouldn't intercept that option if the discussion page doesn't exist yet).

Error from the console:

TypeError: t.target.source is undefined		CommentForm.js:2180:14
    prepareSource CommentForm.js:2460
    Babel 6
    prepareSource CommentForm.js:2417
    submit CommentForm.js:3070
    Babel 4
    submit CommentForm.js:3051
    addEventListenersToButtons CommentForm.js:1839
    emit index.php:269

MarMi wiki (talk) 12:30, 16 July 2023 (UTC)

@MarMi wiki, hello! I cant reproduce this problem. Can you give me some example? :) Iniquity (talk) 12:36, 1 August 2023 (UTC)
Example (commons):
c:File:GNOME_Shell.png
Click Discussion (red), wait for page load
Click Add topic (CD will intercept it, there will be a 404 request in a dev console to https://commons.wikimedia.org/w/index.php?title=File_talk:GNOME_Shell.png&veaction=editsource&cdaddtopic=1)
Put something in topic and in contents, try to publish - exception in console
CD loaded immediately as a script from global.js (m:User:MarMi_wiki/global.js#L-94).
Additionally, if the developer console is open during that process, the CD topic window will be (or can be) grayed out (like it was inactive) and will not react to mouse clicks - but it can be accessed from a keyboard. MarMi wiki (talk) 14:47, 1 August 2023 (UTC)
Thanks! Yes, I confirm that it is impossible to send a message.
CommentForm.js:2180 TypeError: Cannot read properties of undefined (reading 'modifyContext')
    at CommentForm.js:2460:58
    at Generator.next (<anonymous>)
    at i (asyncToGenerator.js:3:20)
    at r (asyncToGenerator.js:25:9)
Iniquity (talk) 15:02, 1 August 2023 (UTC)
@MarMi wiki: Thank you! Fixed. You can now add topics to nonexistent pages.
If something bad happens to creating topics in CD, you may open "Add topic" in a new tab. There you will have the standard form. Jack who built the house (talk) 01:11, 25 August 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 13:10, 28 November 2023 (UTC)

Подключение CD на страницы RfC

Добрый день!
Можно ли сделать так, чтобы CD работали на страницах RfC? Например, в Викиданных все RfC являются подстраницами d:Wikidata:Requests for comment. Michgrig (talk) 15:27, 3 September 2023 (UTC)

А где не работает? У меня на подстраницах по твоей ссылке везде CD работает. Jack who built the house (talk) 13:41, 14 September 2023 (UTC)
Возможно, меня переглючило. Кажется, потом я видел, что работает. Michgrig (talk) 11:34, 16 September 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 13:10, 28 November 2023 (UTC)

Not want to use

@Jack who built the house I am LordVoldemort728 and yesterday I installed this feature to here but I don't like this feature so I want to uninstall it but I am unable to do it. I have removed

mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Jack_who_built_the_house/convenientDiscussions.js&action=raw&ctype=text/javascript');

from my global.js but I can't uninstall it. Please tell how to uninstall it. LordVoldemort728 (talk) 08:58, 4 January 2023 (UTC)

Между абзацем и цитатой

Создаю раздел с сообщением. Я пишу: первый абзац, один перевод строки, цитата. CD при сохранении в конце первого абзаца добавляет <br>.

Далее я исправляю своё сообщение: редактирую лишь текст после цитаты. CD при сохранении исправления удаляет <br> и добавляет между первым абзацем и цитатой второй перевод строки (то есть пустую строку).

Я думаю, CD должен сразу выдавать конечный вариант с пустой строкой, а не выдавать сначала промежуточный вариант с <br>.

@Jack who built the house, @JWBTH. Smigles (talk) 23:58, 10 August 2023 (UTC)

Спасибо за репорт и наблюдательность. Да, нелогичное поведение; оно явно связано с тем, что вторая строка начинается и заканчивается шаблоном, для каковых случаев у меня прописана специальная логика, чтоб не ломалось кое-что другое. При случае гляну. Но вроде ничего критичного здесь не произошло. Jack who built the house (talk) 16:25, 15 August 2023 (UTC)
Fixed. Jack who built the house (talk) 13:38, 14 September 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 13:00, 11 February 2024 (UTC)

Не работают горячие клавиши

Зашёл сейчас на форумы почитать обсуждения, перестали работать кнопки F, W, S с помощью которых обычно листаю вниз к новым сообщениям. Интерфейсные кнопки слева мышкой работают, а горячие клавиши нет. С чем может быть связано? — Vladlen Manilov / 17:08, 25 August 2023 (UTC)

@Владлен Манилов: О, всё-таки кто-то их использует! Гипотеза была в том, что никто не использует и никто не заметит. Гипотеза опровергнута, горячие клавиши возвращены. Jack who built the house (talk) 17:19, 25 August 2023 (UTC)
О, спасибо. — Vladlen Manilov / 17:20, 25 August 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 13:00, 11 February 2024 (UTC)

Reproducible editing bug on a very specific reply, don't know what causes it

This edit to a comment broke the entire thing. I have no idea what triggered this. Aaron Liu (talk) 20:23, 25 August 2023 (UTC)

Oops! That was a mistake in a regular expression. Fixed, thanks. Jack who built the house (talk) 21:57, 25 August 2023 (UTC)
I got another one! this edit removed all the newlines, breaking a wikitable. Aaron Liu (talk) 22:41, 29 August 2023 (UTC)
I might try to improve handling of such cases, but I will argue that it might be not the best idea to substitute code that w:Template:Third opinion response substitutes. It's too complex and intricate code to use in a comment. What is the reasoning behind not using a simple pair of a header template and footer template instead of the whole table/image/CSS markup?
Anyway, even if we agree to substitute all that markup, you don't need to insert {{{!}} instead of {|. I updated the code of that template to use the regular markup. I think CD would handle it well. Jack who built the house (talk) 23:56, 29 August 2023 (UTC)
Great! I have no idea why they escaped all the vertical bars either... Aaron Liu (talk) 02:07, 30 August 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 13:01, 11 February 2024 (UTC)

Благодарность

Если поблагодарить участника за правку по ссылке «поблагодарить» в истории, то ссылка поменяется на текст «поблагодарён». Если же поблагодарить через кнопку «Поблагодарить» возле сообщения участника, то в истории напротив правки, которой было добавлено это сообщение, по-прежнему будет ссылка «поблагодарить». Почему так?

@Jack who built the house, @JWBTH. Smigles (talk) 13:15, 23 September 2023 (UTC)

Потому что Медиавики записывает куки при благодарении в истории, а не хранит факт благодарности на сервере. В принципе можно сделать так, чтобы благодарности через CD туда же записывались, если нужно. Jack who built the house (talk) 14:56, 23 September 2023 (UTC)
Благодарности через историю тоже хранятся на сервере, они отображаются в журнале благодарностей. Или вы хотите сказать, что благодарность привязывается к конкретной правке в куках, а не на сервере? Smigles (talk) 15:21, 23 September 2023 (UTC)
Точнее, Медиавики хранит благодарности на сервере, но не использует это для показа текста «поблагодарён» в истории. Хранится ли на сервере то, за какую правку поблагодарили, я не знаю, но и неважно. В общем, я сейчас реализовал сохранение благодарности в куках, это оказалось несложно. Теперь должно отражать благодарности через CD в истории. Сейчас поблагодарю вас и проверю. Jack who built the house (talk) 16:30, 23 September 2023 (UTC)
Да, работает. Jack who built the house (talk) 16:31, 23 September 2023 (UTC)
Да, работает. А теперь ещё одна ситуация, но наоборот: если поблагодарить через историю, то CD возле сообщения по-прежнему будет показывать кнопку «Поблагодарить» вместо «Поблагодарили». Можно ли и это исправить? Smigles (talk) 21:17, 23 September 2023 (UTC)
А вот это уже нетривиально, так как мы не знаем заранее, какой правкой было добавлено сообщение. То есть у нас есть ID поблагодарённых правок и набор сообщений с датами и авторами. Как их соотнести? Никак, не ища добавление сообщения в истории, что делается при благодарении и открытии диалога копирования ссылки на сообщение. Jack who built the house (talk) 21:21, 23 September 2023 (UTC)
Понял. Ладно, это некритично. Smigles (talk) 21:29, 23 September 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 13:01, 11 February 2024 (UTC)

Missing translations + feature request (CD popups stamp)

On TranslateWiki some fragments are missing for translation (ex. text from newTopicsSubscription-popup-text and related).

Feature request: consider adding a "CD" (in small text?) stamp to popups that aren't obviously related to CD - like for example popups with new features (ex. in title "New feature (CM)"). Otherwise it could be hard to tell where the untranslated text comes from on non-English wikis (at least the first time, until you get the idea to search the message in scripts through the browser dev console). MarMi wiki (talk) 11:21, 18 April 2023 (UTC)

On TranslateWiki some fragments are missing for translation (ex. text from newTopicsSubscription-popup-text and related).
Translatewiki imports strings for translation from a repository, then updates the repository. It hasn't imported them yet, it takes about a week I think :(
consider adding a "CD" (in small text?) stamp to popups that aren't obviously related to CD
I actually haven't added this label for a reason – page subscription is not an exclusively CD's feature. It's a part of MediaWiki's DiscussionTools extension, it's just that CD supports it now.
Otherwise it could be hard to tell where the untranslated text comes from on non-English wikis
Add ?uselang=qqx to a page's URL – you will see the IDs of all messages, for example. Prefix Convenient Discussions messages with "Wikimedia:" and MediaWiki messages with "MediaWiki:", and you will get the page name on Translatewiki. Jack who built the house (talk) 11:40, 18 April 2023 (UTC)
uselang won't help much in this case, as this popup shows only once, and uselang requires a page reload. MarMi wiki (talk) 11:57, 18 April 2023 (UTC)
Well, it would show up again if not closed, but yeah. Jack who built the house (talk) 11:59, 18 April 2023 (UTC)
Ah, I didn't know that.
The CD stamp placed somewhere is a simpler solution, because it doesn't require much technical knowledge. Maybe even mentioning it directly in the message, like adding at the bottom: "Generated by the CD." (at least for messages like the "New feature", when it's not obvious that they come from the CD).
On non-English wikis these popups will probably stay for the most part untranslated, because there's not much incentive to translate them after a week they had shown once - unless an user who rarely visits the talk pages happen, and the message is generated for more than a couple of weeks (I don't know how it works). MarMi wiki (talk) 12:54, 18 April 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 21:35, 21 March 2024 (UTC)

Remove annoying "you have subscribed" pop-up

As I have enabled new topic subscription, now every time I post a new topic I'll get a "You have subscribed!" toast on the upper-right corner. Is there a way to disable this? Aaron Liu (talk) 13:19, 14 May 2023 (UTC)

@Aaron Liu: No idea why I enabled them in the first place (but regular comments don't get those). Will disable them for all, thanks for bringing this to my attention. Jack who built the house (talk) 02:14, 25 August 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 21:35, 21 March 2024 (UTC)

Customize namespaces

Certain users have pages where people are expected to comment with signatures in the User: namespace, so a way to add the user namespace would be helpful. Aaron Liu (talk) 17:49, 22 May 2023 (UTC)

When there are signatures on the page, the script should treat it as a talk page. If there aren't, the user can add a dummy HTML element like <span class="cd-talkPage"></span> for CD to treat it as a talk page. See User:Jack who built the house/Convenient Discussions#FAQ for more details. Jack who built the house (talk) 20:07, 25 August 2023 (UTC)
Hmm, w:User:Illusion Flame/Guestbook and w:User:Cassiopeia/NPPS/Aaron Liu don't have it enabled. Aaron Liu (talk) 20:21, 25 August 2023 (UTC)
Ah sorry, you're right. To even consider a page for parsing, it should be in one of the namespaces listed in mw.config.get('wgExtraSignatureNamespaces'). Jack who built the house (talk) 22:08, 25 August 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 21:35, 21 March 2024 (UTC)

Dear @Jack who built the house

On the page de:Wikipedia Diskussion:Hauptseite/Aktuelles your script eats up the bullet points.

Regards Dwain 16:18, 15 September 2023 (UTC)

@Dwain Zwerg: Hi. When the bullet point precedes a comment, that's intended behavior. Jack who built the house (talk) 17:10, 15 September 2023 (UTC)
Would you consider making that only optional? Regards Dwain 20:15, 15 September 2023 (UTC)
Too much complex behavior is tied to pages being redesigned this way, with a line in front of each thread. There is no difference from this POV, whether * or : markup is used (most wikis use these characters interchangibly). Special treatment is only for #. So, I'm afraid, no. Jack who built the house (talk) 08:48, 16 September 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 21:35, 21 March 2024 (UTC)

Кривая подсветка новых сообщений

Привет! Почему-то время от времени подсветка новых сообщений съезжает. Скриншоты двух примеров вот тут (один из рувики, второй прямо с этой страницы). С чем это может быть связано? Michgrig (talk) 16:17, 24 September 2023 (UTC)

Это очень странный гейзенбаг, который иногда появляется у некоторых юзеров (у меня нет, хотя когда-то появлялся), причину которого я пока не установил. Если заметишь какие-то закономерности, которые могли бы объяснить его природу, пиши. Jack who built the house (talk) 16:41, 24 September 2023 (UTC)
У меня такое регулярно происходит. Подсветка появляется не в том месте то ли во время загрузки CD, то ли сразу после окончания загрузки, а потом, через секунду-две, встаёт на нужное место. Smigles (talk) 23:40, 28 September 2023 (UTC)
У меня всплывает в памяти мысль, будто подсветка встаёт на нужное место не сама по себе, а только после того, как я пошевелю мышкой, но память может подводить. Воспроизвести проблему прямо сейчас, чтобы подтвердить или опровергнуть эту мысль, не удалось. Smigles (talk) 23:52, 28 September 2023 (UTC)
Если через секунду-две, то это более-менее ожидаемое поведение (некоторые моменты мешают полностью синхронизировать подсветку с содержимым страницы). А вот если надо пошевелить мышкой — то нет. Jack who built the house (talk) 23:58, 28 September 2023 (UTC)
У меня ни через две секунды, ни через две минуты, ни от шевеления мышкой не нормализуется.
А вот после моего ответа встало на место. Michgrig (talk) 20:09, 29 September 2023 (UTC)
Я добавил половинчатое решение против таких случаев. Напишите, если снова заметите. Jack who built the house (talk) 13:26, 5 October 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 21:35, 21 March 2024 (UTC)

Две реплики отображаются как одна

@Jack who built the house and JWBTH: здравствуйте! На скриншоте Вы увидите, что две реплики от разных участников отображаются как одна. Прошу выяснить и устранить причину этого. Guest Kashapov (talk) 17:39, 25 October 2023 (UTC)

Подозреваю, что участник подписался вручную, потому что на скриншоте — формат времени без 0 перед часами, «8:44» вместо «08:44», как генерируют четыре тильды. CD понимает подписи только в стандартном формате. Jack who built the house (talk) 17:58, 25 October 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 21:35, 21 March 2024 (UTC)

Freezing on en.wiki village pump

@Jack who built the house: Hi! When I go to w:en:VPP with CD enabled, the page loads very slowly, and the whole tab eventually freezes. This doesn't happen with CD disabled. Any ideas what the problem may be? Thanks in advance, Madeline (part of me) 21:29, 22 November 2023 (UTC)

@Maddy from Celeste: Hi there! I can't reproduce this currently.
But that's quite a big page. Which browser do you have? If that's Chrome, you can try opening settings and enabling "Try to improve performance of long pages" on the "Talk page" tab. Then reload the page.
There can also be a conflict of CD with some other script or gadget that causes this. To figure out the root cause you can try to open this page in another browser and see if the freezing persists. If it does, the reason is not in the browser. Jack who built the house (talk) 00:08, 23 November 2023 (UTC)
I'm having this problem with Firefox. I tried with Safari, but couldn't reproduce. Madeline (part of me) 07:30, 23 November 2023 (UTC)
@Maddy from Celeste: The issue can also be in the lack of available RAM. If the problem goes away when there are no other windows and only few tabs, that's it. Jack who built the house (talk) 23:39, 23 November 2023 (UTC)
I tried restarting Firefox and only using one tab, but it wasn't resolved. Also, I'm pretty sure I've read VPP with CD enabled just fine before. Madeline (part of me) 09:15, 24 November 2023 (UTC)
I don't know if you did anything, but the problem seems to be gone now. :) Madeline (part of me) 15:36, 26 November 2023 (UTC)
Actually, looks like it freezes when the browser is in fullscreen mode. Probably a Firefox bug… Madeline (part of me) 19:40, 26 November 2023 (UTC)
Can we get an idea of the relative RAM requirements of Convenient Discussions, maybe added to the Compatibility or FAQ section? RudolfoMD (talk) 18:00, 18 December 2023 (UTC)
Haha, it's not that they should be particularly huge! I believe it's mostly how the browser handles the rendering of long pages. Even when you don't use CD, discussions with more than 500 comments on the page can have negative effects on performance. CD just adds more elements to the page, adding to that. Jack who built the house (talk) 18:44, 18 December 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 21:35, 21 March 2024 (UTC)

Багрепорт: после обновления CD стал съедаться пробел перед отметкой времени

@Jack who built the house: @JWBTH: Сабж. Alex NB IT (talk) 10:54, 15 December 2023 (UTC)

Вижу, спасибо, щас исправим Jack who built the house (talk) 11:37, 15 December 2023 (UTC)
Fixed. Jack who built the house (talk) 12:28, 15 December 2023 (UTC)
 Thank you. Alex NB IT (talk) 12:29, 15 December 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 21:35, 21 March 2024 (UTC)

Detect signatures supplied by templates

Some templates like {{rm}} supply a signature at the end of the template, and CD should be able to detect them instead of always supplying a double signature. Aaron Liu (talk) 14:41, 13 May 2023 (UTC)

@Aaron Liu, you can add .mw-notalk class to these templates :) Iniquity (talk) 12:45, 1 August 2023 (UTC)
Sorry for the late reply but where in the template do I add it? Aaron Liu (talk) 13:35, 25 August 2023 (UTC)
@Aaron Liu means that w:template:rm adds a signature when using it with subst:.
CD should be able to detect them instead of always supplying a double signature
I've implemented this, though the solution is hacky and depends on the preview being shown before submitting the form. It works by automatically checking the "Omit signature" checkbox (that is present in the "Advanced" section on comment forms adding sections/subsections) when a double signature is identified. Jack who built the house (talk) 19:57, 25 August 2023 (UTC)
Nice. However templates like Wikipedia's {{3ORShort}} still give you a double sign. Aaron Liu (talk) 16:44, 29 August 2023 (UTC)
Ah I see, it should work when replying as well. Will do. Jack who built the house (talk) 18:33, 29 August 2023 (UTC)
Ah, thanks. Aaron Liu (talk) 19:31, 29 August 2023 (UTC)
✓ Done. Jack who built the house (talk) 22:36, 21 April 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 11:46, 28 April 2024 (UTC)

Respect preload parameters?

On w:Template talk:W-graphical, there is a "Request edit" button that normally preloads and fills in the $1 parameter. However, CD currently doesn't fill it in. Could CD perhaps do that? Aaron Liu (talk) 20:42, 16 December 2023 (UTC)

Will do. Jack who built the house (talk) 20:54, 16 December 2023 (UTC)
✓ Done. Jack who built the house (talk) 22:35, 21 April 2024 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Iniquity (talk) 11:46, 28 April 2024 (UTC)