Skip to content

Conversation

@ninetailedtori
Copy link

@ninetailedtori ninetailedtori commented Dec 28, 2025

Closes #1870, closes #1381.

🎉 Theme for Arch Linux 🎉

Honestly, this is a major refactor of the existing arch-wiki theme into an umbrella "Arch Linux" userstyle, including:

  • arch-wiki existing theme
    • migrated to mediawiki variables?
  • an additional one started by someone else for aur.archlinux.org: feat(arch-user-repository): init #1870
    • merged with this PR yet?
    • finished?
  • and all the others I'll be actively doing for Arch Linux!
    • archlinux (home)?
    • archlinux/download?
    • man.archlinux?
    • archlinux/packages?
    • security.archlinux?
    • bbs.archlinux?

💬 Additional Comments 💬

This is based off of the old PR that died, #1381, but will be moving the wiki to use MediaWiki variables in the library module e.g. #1895, once we can confirm it working as it should on arch's wiki (no leftover overriding on their end). All other sites will be done by me, aside from the AUR one which was done by someone else (though it'll be edited by me as well, to fall in line with the new style of formatting).

Base: #1866

🗒 Checklist 🗒

  • I have read and followed Catppuccin's submission guidelines.
  • I have made a new directory underneath /styles/archlinux containing the contents of the /template directory.
    • I have ensured that the new directory is in lower-kebab-case.
    • I have followed the template and kept the preprocessor as LESS.
  • I have made sure to update the userstyles.yml file with information about the new userstyle.
  • I have included the following files:
    • catppuccin.user.less - all the CSS for the userstyle, based on the template.

@ninetailedtori ninetailedtori force-pushed the manpages branch 2 times, most recently from a347cca to ee87d5b Compare December 28, 2025 22:50
@WalkQuackBack WalkQuackBack changed the title feat(archlinux) feat(archlinux): init Dec 28, 2025
@github-actions github-actions bot added the arch-wiki Arch Wiki label Dec 29, 2025
@WalkQuackBack WalkQuackBack added the 0.kind: init A new userstyle label Dec 29, 2025
@ninetailedtori
Copy link
Author

ninetailedtori commented Dec 30, 2025

PR is now up to every page aside from:

  • Download DONE!
  • Wiki (needs mediawiki lib, will set up my own localhost tomorrow)
    Feel free to test it for me! Security and BBS were the last ones I just did, and rework of AUR as well as expansion of it to include Packages (official) was done earlier as well! :]

Copy link
Member

@uncenter uncenter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there is still a bunch of duplicated input styles?

@ninetailedtori
Copy link
Author

Looks like there is still a bunch of duplicated input styles?

If you spot any duplicated styles that aren't being annoyingly overwritten by something on the page (like the .pun #brdX regions), do lemme know o7
I'm not sure how to get them to overwrite including on top of the other css used on the page without specificity unfortunately.

@ninetailedtori ninetailedtori force-pushed the manpages branch 2 times, most recently from 8ac3259 to b8c797e Compare December 31, 2025 21:44
@ninetailedtori
Copy link
Author

This is a reminder for me to change the mediawiki location once that's published, because I'm going to forget :P

@WalkQuackBack
Copy link
Member

This may have rebased this onto the wrong branch. Could you try rebasing onto origin/main again?

@ninetailedtori ninetailedtori changed the base branch from main to feat/mediawiki-lib-module January 3, 2026 23:57
@github-actions github-actions bot removed youtube YouTube lastfm Last.fm labels Jan 4, 2026
Copy link
Member

@uncenter uncenter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a lot of duplication between the first @-moz-document and for bbs.archlinux.com. Can we avoid that? Does the regex for the first one not include bbs?

@ninetailedtori
Copy link
Author

ninetailedtori commented Jan 4, 2026

There's a lot of duplication between the first @-moz-document and for bbs.archlinux.com. Can we avoid that? Does the regex for the first one not include bbs?

The regex DOES apply to bbs, it just isn't important enough for some reason.

I tried, but where I redefined, it wasn't applying at all. I might actually define all of these commons in a modular way, then just call the function within the required scopes at this point. Not sure why they had something overwrite it though, very annoying. I'll see what I can do though, through specificity tinkering.

@ninetailedtori ninetailedtori changed the title feat(archlinux): init feat(arch-linux): init Jan 4, 2026
…d a lot of my og style, and need to work it back.
Signed-off-by: Toria <[email protected]>
@ninetailedtori ninetailedtori marked this pull request as ready for review January 11, 2026 00:42
==/UserStyle== */

@import "https://userstyles.catppuccin.com/lib/lib.less";
@import "http://127.0.0.1:8000/lib/mediawiki.less";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder to change this before merging.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should keep this around for at least a few months, with the updateURL pointing to the new userstyle, in a similar way to the CSS > Less migration. Then, current users will be able to migrate properly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ninetailedtori we will take care of this, don't worry about doing this yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: init A new userstyle arch-wiki Arch Wiki

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants