Fandom Developers Wiki
Advertisement
Fandom Developers Wiki

ActivityFeedMimic gives a way to show the main recent activity of a wiki on a page, with a look similar to the <activityfeed /> feature which has been deprecated in 2020.

The stylesheet is meant to be used with a dedicated template — {{ActivityFeed}}

Behind the scenes, the template transcludes the native MediaWiki feed {{Special:RecentChanges}} with certain parameters, and wraps it with a container that has the class activity-feed. The stylesheet then restyles the feed to a minimalistic and cleaner look.

Installation

In addition to installing the script, you should copy the template ActivityFeed into your wiki.

Usage

Put {{ActivityFeed}} on the main page of your wiki, or on any other page.

The template also accepts some optional parameters, for more information see the template documentation.

Translation

Most of the stylesheet is not textual, but it contains a few textual marks:

  • "New page:"
  • " > created by"
  • " > edited by"

Non-english wikis may want to customize the text to be in their respective language. This can be done on the wiki's CSS page by assigning new values to certain custom CSS variables. For example on a hebrew wiki it may be:

:root {
    --activityfeed-msg-new-page: "עמוד חדש:";
    --activityfeed-msg-created-by: " > נוצר בידי";
    --activityfeed-msg-edited-by: " > נערך בידי";
}

Note: The code editor used on Fandom is outdated, and does not recognize custom CSS variables, so it marks them as errors. You can safely ignore those errors and save the CSS page.

Dependencies

Demo

Track the most recent changes to the wiki on this page.
List of abbreviations:
N
This edit created a new page (also see list of new pages)
m
This is a minor edit
b
This edit was performed by a bot
(±123)
The page size changed by this number of bytes

20 October 2021

Changelog

November 9, 2020
First created
October 13, 2021
Some updates


Text above can be found here (edit)
Advertisement