Fandom Developers Wiki
Advertisement

The Discussions API is not officially supported. The API may change at any moment, resulting in the script breaking.

DiscussionsRC is a Special:RecentChanges-like view of the recent posts and replies on wikis with Discussions enabled. It is an alternative to DiscussionsFeed, with the following features:

  • View posts and replies without leaving the page
  • Colored squares differentiating between posts and replies, and replies show the original post title
  • Posts are split per day under headings

Installation

Usage

DiscussionsRC loads automatically at Special:DiscussionsRC on wikis with Discussions enabled.

To place the Discussions feed on a page, insert <div id="discrc" data-wiki="wikiname"></div> into its source, where wikiname is the part of the URL before .fandom.com (for clashofclans.fandom.com it would be clashofclans).

To do

Feel free to work on these if you want!

  • 'High' priority
    • Show image/poll information in the summary (different coloured boxes)
    • Show images and polls in preview (the popup)
    • If posts or comments are deleted, highlight them as deleted
    • Have a reported content interface or filter
  • 'Medium' priority
    • Show formatting in posts (bold, links, mentions)
    • Show a wikimark instead of the server name in /multi
    • Show user posts in the preview instead of redirecting to /u/xxxxx
    • Use loading circle when the summary is popping up
    • Load more button at the bottom, to load more than 100 entries
    • i18n
  • 'Low' priority
    • Implement upvoting and replying within the preview
    • Auto refresh


Text above can be found here (edit)
Advertisement