mguex has quit [(Quit: WeeChat 1.9)]
mguex has joined joined #nixos-wiki
<makefu> wiki-todo: document "purpose of (propagated)nativeBuildInputs" @ML
<Reaktor|krebs> added todo. check on http://lassul.us/wiki-todo
<nixoswikibot> [[Alternative Package Sets]] https://nixos.wiki/index.php?diff=891&oldid=887&rcid=889 * Ixxie * (+0)
ixxie has joined joined #nixos-wiki
ixxie has quit [(Quit: Lost terminal)]
zraexy has quit [(Ping timeout: 240 seconds)]
nixoswikibot has quit [(Remote host closed the connection)]
nixoswikibot has joined joined #nixos-wiki
zarel has joined joined #nixos-wiki
zarel has quit [(Ping timeout: 264 seconds)]
zraexy has joined joined #nixos-wiki
zarel has joined joined #nixos-wiki
zarel has quit [(Quit: Leaving)]
<nixoswikibot> [[NixOS on ARM]] ! https://nixos.wiki/index.php?diff=892&oldid=890&rcid=890 * Dezgeg * (+857) Document Raspberry Pi 3
<nixoswikibot> [[Talk:NixOS on ARM]] ! https://nixos.wiki/index.php?diff=893&oldid=828&rcid=891 * Dezgeg * (+96)
<samueldr> in case lurkers didn't see the first time around
<samueldr> I'll finish polishing up the actual theme during the day, then what'll be left is integrating in the configuration
<fadenb> samueldr: what is the current state of this theme? Is it ready to be dropped into a mediawiki 1.29 and can be activated?
<fadenb> If yes, let me spin up my laptop and let's try it live ;)
<samueldr> there's the polishing I was talking about
<samueldr> but otherwise, it should work
<fadenb> Booting up....
<fadenb> ok, where can I find the skin files?
<samueldr> the skin was installed following those instructions
<samueldr> depending on how you manage the configuration and how nixops works, if you're deploying nixops, a submodule could work?
<fadenb> currently mediawiki is not nix managed at all (unfortunately). Only the host is nixified
<samueldr> hm
<samueldr> oh well
<fadenb> ok, skin directory is in place, and it is loaded...
<fadenb> the rest of the configuration is done via settings in LocalSettings.php right?
<samueldr> I'm currently uploading a repo that tracks the changes from a clean~ish mediawiki installation
<samueldr> but basically yes
<samueldr> there is one other folder, which is self-contained, adding .css files
<samueldr> so, skins folder, LocalSettings.php + css folder
<fadenb> ah, ok
<fadenb> That sounds like it will be not that much of a hassle to manage :)
<samueldr> the whole reason I picked that theme
<samueldr> it was customizable without touching its folder
<samueldr> and didn't need a bunch of dependencies
<fadenb> :) Yeah most skins I looked at were obscure php code and required changes all over the place
<samueldr> my current testing setup is far from optimal
<samueldr> I'm using a bitnami apliance ova
<samueldr> I was lead to believe it would be simple, like using an app (never used one before)
<samueldr> their setup is pretty weird
<samueldr> I'll have to look into setting up mediawiki in a container instead
<samueldr> (nixos container)
<samueldr> the `nix/nixos-site.css` file is the actual CSS file from the nixos website
<samueldr> though, I'm not even sure it affects anything right now
<samueldr> I think their version of bootstrap is way older
<samueldr> and most of it seems to have non-bootstrap class names
<fadenb> I do not have permission to access your repo
<fadenb> Want to add me? username: fadenb
<samueldr> oh sorry, I thought I created it public
<samueldr> made it public just now
<samueldr> no secrets in there
<samueldr> and if there was, nothing "worth anything" since it's all in a local virtualbox vm
<fadenb> :P I still have to remove all secrets from the nixops setup I use for the host so that i can publish it
<samueldr> git-filter-branch works wonders for that, assuming a force push won't cause adverse effects
<fadenb> "require_once( "$IP/skins/Tweeki/Tweeki.php" );" This is only required for older mediawiki versions?
<samueldr> you probably know more about setting up mediawiki
<samueldr> I only followed the installation instructions of the theme
<fadenb> if you do a hard refresh you should see it in action
<fadenb> I believe this require_once has all been replaced by "wfLoadSkin( 'Tweeki' );" in newer version. But it seems to work
<samueldr> oh, it wasn't ready to go up :)
<samueldr> (as you can see by the barren top bar)
<fadenb> No worries, just wanted to make sure it will work before to much time is invested
<fadenb> will rollback in a few minutes. I will check the special pages (which most skins seem to break)
<samueldr> I know the Special:Version worked
<samueldr> Special:AllPages isn't fancy, but works
<fadenb> I tried some mobile skins, they all resulted in 5XX errors with most special pages. This one seems ok :)
<samueldr> I was pleasantly surprised too, that everything worked properly
<samueldr> I tried a couple others
<samueldr> and either they lacked customisation options, or broke stuff
<fadenb> https://nixos.wiki/wiki/Cheatsheet extreme cases like this will need some work
<samueldr> yes, though it did need some beforehand too
<fadenb> Do you plan to integrate the links that were on the nav bar with the default skin ?
<samueldr> going from fluid to fixed is always hard
<fadenb> Yep :)
<samueldr> yes
<samueldr> I'll see if it can work using the special page
<fadenb> I can not find the github login link, minor detail :P
<samueldr> pretty major imho
<nixoswikibot> [[Contributing to nixpkgs]] https://nixos.wiki/index.php?diff=894&oldid=799&rcid=892 * Fadenb * (+1) remove double redirect and go directly to target
<fadenb> Google now says the site is mobile friendly. Another plus
<samueldr> for what it's worth, I worked on a website that google said was mobile friendly, but the actual website was broken on mobile
<samueldr> completely unusable
<samueldr> but had media queries!
<samueldr> (my job was to fix it, not making it unusable btw)
<fadenb> ^^
<fadenb> Some pages that have only a single headline still show the navigation thingy on the right like https://nixos.wiki/wiki/NixOS_Wiki_History
<fadenb> is that something one can easily fix?
<samueldr> must show only when logged-in
<samueldr> (for the edit link)
<samueldr> I can't login right now, not knowing the github login link invocation
<samueldr> thanks
<samueldr> it might be fixable, the same way hiding TOC right now still uses col-10, but centers the contents
<samueldr> instead of using the full width
<samueldr> (see screenshot in the issue)
<fadenb> https://i.imgur.com/I9UEd0B.png <-- also visible if logged out
<samueldr> oh, scrollbar
<samueldr> sorry
<samueldr> damn it
<samueldr> I have overlay scrollbars enabled in google-chrome
<samueldr> I'll look into fixing this
<samueldr> the scrollbar is from a fix, for an unlikely case
<samueldr> when the TOC is too long, it's not scrollable
<fadenb> Anything you want to test with the live site? Otherwise I will roll back to the old skin
<samueldr> no, thanks
<fadenb> ok, so deployment wise I just copied the 2 files and the few lines to the LocalSettings.php. I will think up some way to allow those to be easily replaceable
<fadenb> Will probably end up as some hacky jenkins job ;)
<samueldr> couldn't the whole LocalSettings.php be managed under nixops?
<samueldr> I never touched nixops
<fadenb> I could probably write the whole file from nixops but that would not solve the rest of the mediawiki
<fadenb> I am currently working on a clean setup with a mediawiki package and additional packages for mediawiki extensions
<fadenb> But knowing my schedule that will take a while to complete
<samueldr> setup as a nixos module?
<fadenb> That would be the stage after packaging mediawiki and all required extensions
<samueldr> right now, I'm guessing this means that you have some kind of generic nginx/phpfpm setup
<fadenb> yep
<samueldr> I'm a bit confused about one detail, with regards to webapp and nix
<samueldr> how are database migrations usually handled?
<fadenb> Manually :/
<samueldr> oh, that explains why I couldn't find any worthwhile examples in the packages
<fadenb> Actually I believe the only nixos service I know that does db migrations is gitlab. And AFAIK this is done automatically each time the application is started so it is "simple"
<samueldr> tt-rss might, too
<samueldr> I have it set up on my server, but never looked into how it worked
<samueldr> or I might be wrong, I followed another setup and it's not even using the nix package
<samueldr> redmin is run through a service
<samueldr> redmine*
<samueldr> it does the migrations through preStart
<samueldr> so much easier when the application isn't run through php
<samueldr> it seems that apache module has some kind of support for a `startupScript` option per "serviceType"
<fadenb> will look into that as a possibility
<samueldr> I need something like that for work anyway