mNo edit summary |
(Multiwiki no longer supported) |
||
Line 20: | Line 20: | ||
* View posts and replies without leaving the page |
* View posts and replies without leaving the page |
||
* Colored squares differentiating between posts and replies, and replies show the original post title |
* Colored squares differentiating between posts and replies, and replies show the original post title |
||
− | * Limited support for multiple wikis in one feed |
||
* Posts are split per day under headings |
* Posts are split per day under headings |
||
Line 33: | Line 32: | ||
<div id="discrc" data-wiki="wikiname"></div> |
<div id="discrc" data-wiki="wikiname"></div> |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
− | into its source, where <code>wikiname</code> is the part of the URL before <code>.wikia.com</code> (for <code>clashofclans.wikia.com</code> it would be <code>clashofclans</code>). |
+ | into its source, where <code>wikiname</code> is the part of the URL before <code>.wikia.com</code> (for <code>clashofclans.wikia.com</code> it would be <code>clashofclans</code>). |
− | <syntaxhighlight lang="html5"> |
||
− | <div id="discrc" data-wiki="dev,community,discussions"></div> |
||
− | </syntaxhighlight> |
||
== To do == |
== To do == |
Revision as of 13:06, 22 November 2020
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 .wikia.com
(for clashofclans.wikia.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)