aboutsummaryrefslogtreecommitdiffstats
path: root/resources/src/mediawiki.special/contributions.less
Commit message (Collapse)AuthorAgeFilesLines
* styles: Replace deprecated breakpointsVolker E2024-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | The values have slightly changed: - Tablet breakpoint is decreased by 80px, pushing lesser devices into a mobile only experience but should make barely a difference to vast majority of our users. - Biggest difference is in `min-width-breakpoint-desktop`, which is increased by 120px in comparison to `@width-breakpoint-desktop: 1000px` before. - This is also changing values in `Skin::initPage` and 'mediawiki.page.ready/ready.js', which contain an old workaround for iPad meta viewport values. Bringing the function to the same values as the new breakpoints. Also changing accompanying comments for clarifying better what code is here for. Bug: T349793 Change-Id: I3afba8c51f60de9271054499bfa3ffbcc1a9d779
* Revert "Revert "Make ContributionsSpecialPage parent for SpecialContributions""Thalia2024-05-131-1/+1
| | | | | | | | | This reverts commit 1f4bb6651a47316769811b4f1ae8f9c5180c7c74. This re-instates Ic00fa3297fb08eacf570d3ec3fcf64925fcf69c5. Bug: T363358 Change-Id: Ibf4f382f5aaf4447cfe9404d5dd8b6b59b314cdc
* Revert "Make ContributionsSpecialPage parent for SpecialContributions"DannyS7122024-05-091-1/+1
| | | | | | | | | | This reverts commit 4e5917441d8d7fea32ee3e8ee3466d52e05c2a12. Reason for revert: breaking change, caused T364569 Bug: T364569 Bug: T363358 Change-Id: Ie5b899c31844a1ff1c3fba279638980d3e0ef176
* Make ContributionsSpecialPage parent for SpecialContributionsThalia2024-05-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Why: * For the temporary accounts project, we will make some changes to how user contributions can be viewed, including showing global contributions (T337089) and showing contributions from temporary accounts using the same IP (T358852). * We will create new special pages that re-use logic from SpecialContributions. These will be similar but use different pager classes. What: * Add ContributionsSpecialPage parent class, which does most of the work for SpecialContributions. * ContributionsSpecialPage is not able to be an abstract class since its ancestor classes aren't (all the way up to SpecialPage) but it provides a function ::getPager that must be overridden by subclasses. * Hooks that were provided by SpecialContributons are run from ContributionsSpecialPage in order to allow extensions to modify contributions pages in general, and not have to reimplement the modification for every contributions page. For backwards compatability, hooks are not renamed. Comments are added instead. * In order to limit the scope of this patch, keep the history clean and not introduce new bugs, this is purely a refactor. It does not aim to fix any of the problems already existing in SpecialContributions, or to update any of the old styles used. Bug: T363358 Change-Id: Ic00fa3297fb08eacf570d3ec3fcf64925fcf69c5
* htmlform, special: Replace OOUI spacing vars with skin variablesVolker E.2024-04-011-12/+4
| | | | | | | Applying Codex tokens via skin variables removing duplicated efforts for the same outcome. Change-Id: I39a7e704325f6bd645cd2d45f13efd30776be0d5
* mediawiki.special: Replace mediawiki.ui variables with skin varsVolker E2023-04-281-1/+1
| | | | | | | | | | Replacing two leftover import statements with skin vars. Also replacing two values, color and border, where 1:1 design token replacements are available. Following-up to I603a7bc52bf31233b2a82cdc2bff08fd1cb294fe Bug: T332541 Change-Id: If6cae5c0200f49ed2e3e6c0ae66626372b3178e7
* build: Uprade stylelint-config-wikimedia from 0.13.1 to 0.14.0James D. Forrester2023-03-161-1/+1
| | | | Change-Id: Ia66b47d707453b4204a52e3ad62c52be60cc1c86
* SpecialContributions: Display form errorsBartosz Dziewoński2022-07-141-7/+2
| | | | | Bug: T311948 Change-Id: Idd5028ccc123096b6e3b8f1b686cebf61f6d7f19
* Fix units of copy-pasted @ooui-font-size-base LESS variableBartosz Dziewoński2020-10-161-1/+1
| | | | | | | Same change as I3baf15fd8e0435fc7a05ba6ff6fef58f7aa55563 in OOUI. Bug: T265650 Change-Id: Ic829a494220bba00758febde1ce679cc9ecf0165
* Don't apply styling for Special:Contributions on other pagesBartosz Dziewoński2019-10-161-38/+40
| | | | | | | | | | | This file is part of a large ResourceLoader module that is loaded on many special pages. The change here uses the same approach as other files in this directory, e.g. block.less. Bug: T235137 Change-Id: I23c552944c6e7e31a4107f7974bb1e5867627283
* Make Special:Contributions use OOUIjdlrobson2019-09-231-0/+65
Changes: * IP address/username is now a single label & input element combination * Add page-specific styles in separate LESS file * Remove no longer necessary CSS rule Bug: T117736 Bug: T219238 Change-Id: I979078d8937898acae22bc28d5ed51da1d4ed627