This is the talk page for discussing improvements to the DiscussionsRC page.
- Please sign and date your posts by typing four tildes (
~~~~
). - Put new text under old text. Click here to start a new topic.
- If you're new to the wiki, please take a look at the talk page help.
- Be polite
- Assume good faith
- Be welcoming
Page is showing up blank on my wiki[]
w:c:wreckitralph:Special:DiscussionsRC is coming up blank, though it's clear the script itself is running or it'd just be an invalid special page. I don't know if it has anything to do with recent edits to the script, but yeah. - Citrusellaeditswikis (talk) 17:28, February 12, 2019 (UTC)
- Hi, should be fixed now. Didn't realise that so many large wikis were using it, so I guess it's fine to keep it as Experimental for now (I asked for it to be changed to unmaintained earlier). noreplyz talk 13:26, February 16, 2019 (UTC)
- Ah, I thought it was still maintained just because it had a recent edit. o.o Good to know it's fixed! Not sure I'd consider that wiki large, though I imagine it'd be quite possible a number of wikis are using it since it's a pretty nice script. - Citrusellaeditswikis (talk) 00:50, February 21, 2019 (UTC)
URLs suddenly broken[]
All links on the page this creates are formatted as https://https//(wikiname).fandom.com.wikia.com/(whatever the url ends with normally, i.e. a discussions link or a mediawiki one like the userpage or contribs)
. I don't see any recent changes to the code so perhaps it's a bug with something the code relies on? - Citrusellaeditswikis (talk) 15:42, March 5, 2019 (UTC)
- Fix
is awaiting reviewapproved. puxlit (talk) 17:09, March 5, 2019 (UTC); edited 20:15, March 5, 2019 (UTC)- Just a note that this issue has cropped up again. 0_o - Citrusellaeditswikis (talk) 15:11, May 10, 2019 (UTC)
- Bizarrely, it appears you're being served a stale version of w:c:wreckitralph:MediaWiki:ImportJS without the aforementioned fix. Does Special:DiscussionsRC work for you if you append
?debug=1
to the URL? puxlit (talk) 15:40, May 10, 2019 (UTC)
- Bizarrely, it appears you're being served a stale version of w:c:wreckitralph:MediaWiki:ImportJS without the aforementioned fix. Does Special:DiscussionsRC work for you if you append
- Just a note that this issue has cropped up again. 0_o - Citrusellaeditswikis (talk) 15:11, May 10, 2019 (UTC)
Proposal to highlight and scroll relevant post into view[]
Would the maintainer be partial to the idea of highlighting and scrolling the post (whose .drc-view
was triggered) into view once the modal opens? puxlit (talk) 00:10, May 26, 2019 (UTC); edited 00:15, May 26, 2019 (UTC)
- I'm happy with this idea being implemented, if anyone wants to add it. noreplyz talk 01:47, May 26, 2019 (UTC)
Is the process for enabling this sitewide the same for UCP?[]
The wiki I admin--which is being used as the example, eep! that's a problem with what I'm about to say--had the special page for this stop working upon migration to UCP. Does it need to be manually placed on a different page to work now? (I have not tested that, but everything I can find says this works on UCP but I'm having trouble figuring out exactly how.) - Citrusellaeditswikis (talk) 21:29, August 27, 2020 (UTC)
- Try reordering the scripts in your ImportJS so DiscussionsRC is on the top. If that doesn't work, try removing InterwikiRC from it. -- Cube-shaped garbage can 21:31, August 27, 2020 (UTC)
- Aargh, I should have tried that. (I moved it to the top and removed InterwikiRC.) The amount of times I've overlooked moving things around lately as fixes for this kind of thing is making me feel like it's the "turn it off and back on again" of problems, at least regarding UCP and myself. XP Thanks! - Citrusellaeditswikis (talk) 21:47, August 27, 2020 (UTC)
Adding Discussion Post Limiters by count[]
So while implementing DiscussionsRC on the Naruto FANDOM, I tried adding the code to the community portal. However, I have had trouble trying to limit the latest discussion count to about 5 - 7, as it spans a long list of all discussions within one day. Does anyone know how to limit the number of latest discussions viewable on that page? I tried using a table to limit height, but it doesn't have any affect. Any help would be appreciated!
-Ventillate { About Me | Message | My Work }
12:46, 21 October 2021 (UTC)
- Hi, it's not supported directly by the script, but you should be able to wrap the div in a scrollbox. For instance:
<div id="discrc" data-wiki="naruto" style="max-height:300px;overflow-y:scroll"></div>