Fandom Developers Wiki
Advertisement

ContribsButtons transforms the links at the top of Special:Contributions pages into a flexible grid of WDS-esque buttons that are easier to click and tap than the original row of links due to their increased size. ContribsButtons is designed to work with SOAPReport and/or QuickLogs if they are installed, incorporating the links they provide into the grid.

Installation

Configuration

When installing ContribsButtons site-wide or personally on an individual wiki, the following CSS rule can be placed below the import to make the buttons adopt whichever colors are desired:

:root {
    --contribs-buttons-background: red;
    --contribs-buttons-active-background: green;
}

Simply replace “red” with any color value (hex code, rgb, rgba, et cetera) to specify the inert color, and do the same with “green” to specify the color when hovering or clicking.

Changelog

Date Description
February 3, 2018 Initial revision.
February 5, 2018 SOAPReportButton color fix.

Padding tweak.

February 8, 2018 Rewrote main stylesheet for QuickLogs support.

Merged fork into the main stylesheet.
Padding was standardized.

March 5, 2018 Added CBD extension.
March 11, 2018 Vendor prefixes were corrected.

Font-family & background-image properties were standardized to ignore local user styling.

March 22, 2018 A bug in older versions of Safari that caused the buttons to break was fixed.
September 2, 2018 Resolved an issue where local CSS usages of !important would override flex display.
January 7, 2019 Added script.
October 11, 2020 Last round of UCP support fixes applied to CSS.
Text above can be found here (edit)
Advertisement