00:15
mguex has quit [(Quit: WeeChat 1.9)]
00:16
mguex has joined joined #nixos-wiki
01:14
<
makefu >
wiki-todo: document "purpose of (propagated)nativeBuildInputs" @ML
08:09
ixxie has joined joined #nixos-wiki
08:34
ixxie has quit [(Quit: Lost terminal)]
09:25
zraexy has quit [(Ping timeout: 240 seconds)]
09:28
nixoswikibot has quit [(Remote host closed the connection)]
09:29
nixoswikibot has joined joined #nixos-wiki
15:26
zarel has joined joined #nixos-wiki
15:37
zarel has quit [(Ping timeout: 264 seconds)]
15:41
zraexy has joined joined #nixos-wiki
16:05
zarel has joined joined #nixos-wiki
16:11
zarel has quit [(Quit: Leaving)]
18:14
<
samueldr >
in case lurkers didn't see the first time around
18:14
<
samueldr >
I'll finish polishing up the actual theme during the day, then what'll be left is integrating in the configuration
18:39
<
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?
18:40
<
fadenb >
If yes, let me spin up my laptop and let's try it live ;)
18:40
<
samueldr >
there's the polishing I was talking about
18:41
<
samueldr >
but otherwise, it should work
18:41
<
fadenb >
Booting up....
18:44
<
fadenb >
ok, where can I find the skin files?
18:46
<
samueldr >
the skin was installed following those instructions
18:46
<
samueldr >
depending on how you manage the configuration and how nixops works, if you're deploying nixops, a submodule could work?
18:47
<
fadenb >
currently mediawiki is not nix managed at all (unfortunately). Only the host is nixified
18:50
<
fadenb >
ok, skin directory is in place, and it is loaded...
18:51
<
fadenb >
the rest of the configuration is done via settings in LocalSettings.php right?
18:51
<
samueldr >
I'm currently uploading a repo that tracks the changes from a clean~ish mediawiki installation
18:51
<
samueldr >
but basically yes
18:52
<
samueldr >
there is one other folder, which is self-contained, adding .css files
18:52
<
samueldr >
so, skins folder, LocalSettings.php + css folder
18:52
<
fadenb >
That sounds like it will be not that much of a hassle to manage :)
18:52
<
samueldr >
the whole reason I picked that theme
18:53
<
samueldr >
it was customizable without touching its folder
18:53
<
samueldr >
and didn't need a bunch of dependencies
18:53
<
fadenb >
:) Yeah most skins I looked at were obscure php code and required changes all over the place
18:55
<
samueldr >
my current testing setup is far from optimal
18:55
<
samueldr >
I'm using a bitnami apliance ova
18:56
<
samueldr >
I was lead to believe it would be simple, like using an app (never used one before)
18:56
<
samueldr >
their setup is pretty weird
18:56
<
samueldr >
I'll have to look into setting up mediawiki in a container instead
18:56
<
samueldr >
(nixos container)
18:57
<
samueldr >
the `nix/nixos-site.css` file is the actual CSS file from the nixos website
18:57
<
samueldr >
though, I'm not even sure it affects anything right now
18:57
<
samueldr >
I think their version of bootstrap is way older
18:57
<
samueldr >
and most of it seems to have non-bootstrap class names
18:58
<
fadenb >
I do not have permission to access your repo
18:58
<
fadenb >
Want to add me? username: fadenb
18:58
<
samueldr >
oh sorry, I thought I created it public
18:59
<
samueldr >
made it public just now
18:59
<
samueldr >
no secrets in there
18:59
<
samueldr >
and if there was, nothing "worth anything" since it's all in a local virtualbox vm
19:00
<
fadenb >
:P I still have to remove all secrets from the nixops setup I use for the host so that i can publish it
19:00
<
samueldr >
git-filter-branch works wonders for that, assuming a force push won't cause adverse effects
19:03
<
fadenb >
"require_once( "$IP/skins/Tweeki/Tweeki.php" );" This is only required for older mediawiki versions?
19:03
<
samueldr >
you probably know more about setting up mediawiki
19:03
<
samueldr >
I only followed the installation instructions of the theme
19:05
<
fadenb >
if you do a hard refresh you should see it in action
19:06
<
fadenb >
I believe this require_once has all been replaced by "wfLoadSkin( 'Tweeki' );" in newer version. But it seems to work
19:06
<
samueldr >
oh, it wasn't ready to go up :)
19:06
<
samueldr >
(as you can see by the barren top bar)
19:08
<
fadenb >
No worries, just wanted to make sure it will work before to much time is invested
19:08
<
fadenb >
will rollback in a few minutes. I will check the special pages (which most skins seem to break)
19:08
<
samueldr >
I know the Special:Version worked
19:08
<
samueldr >
Special:AllPages isn't fancy, but works
19:09
<
fadenb >
I tried some mobile skins, they all resulted in 5XX errors with most special pages. This one seems ok :)
19:10
<
samueldr >
I was pleasantly surprised too, that everything worked properly
19:10
<
samueldr >
I tried a couple others
19:11
<
samueldr >
and either they lacked customisation options, or broke stuff
19:12
<
samueldr >
yes, though it did need some beforehand too
19:12
<
fadenb >
Do you plan to integrate the links that were on the nav bar with the default skin ?
19:12
<
samueldr >
going from fluid to fixed is always hard
19:12
<
samueldr >
I'll see if it can work using the special page
19:14
<
fadenb >
I can not find the github login link, minor detail :P
19:14
<
samueldr >
pretty major imho
19:17
<
fadenb >
Google now says the site is mobile friendly. Another plus
19:18
<
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
19:18
<
samueldr >
completely unusable
19:18
<
samueldr >
but had media queries!
19:19
<
samueldr >
(my job was to fix it, not making it unusable btw)
19:20
<
fadenb >
is that something one can easily fix?
19:21
<
samueldr >
must show only when logged-in
19:22
<
samueldr >
(for the edit link)
19:22
<
samueldr >
I can't login right now, not knowing the github login link invocation
19:23
<
samueldr >
it might be fixable, the same way hiding TOC right now still uses col-10, but centers the contents
19:23
<
samueldr >
instead of using the full width
19:24
<
samueldr >
(see screenshot in the issue)
19:24
<
samueldr >
oh, scrollbar
19:24
<
samueldr >
I have overlay scrollbars enabled in google-chrome
19:25
<
samueldr >
I'll look into fixing this
19:25
<
samueldr >
the scrollbar is from a fix, for an unlikely case
19:25
<
samueldr >
when the TOC is too long, it's not scrollable
19:26
<
fadenb >
Anything you want to test with the live site? Otherwise I will roll back to the old skin
19:26
<
samueldr >
no, thanks
19:28
<
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
19:28
<
fadenb >
Will probably end up as some hacky jenkins job ;)
19:28
<
samueldr >
couldn't the whole LocalSettings.php be managed under nixops?
19:29
<
samueldr >
I never touched nixops
19:30
<
fadenb >
I could probably write the whole file from nixops but that would not solve the rest of the mediawiki
19:31
<
fadenb >
I am currently working on a clean setup with a mediawiki package and additional packages for mediawiki extensions
19:31
<
fadenb >
But knowing my schedule that will take a while to complete
19:32
<
samueldr >
setup as a nixos module?
19:33
<
fadenb >
That would be the stage after packaging mediawiki and all required extensions
19:33
<
samueldr >
right now, I'm guessing this means that you have some kind of generic nginx/phpfpm setup
19:35
<
samueldr >
I'm a bit confused about one detail, with regards to webapp and nix
19:35
<
samueldr >
how are database migrations usually handled?
19:36
<
fadenb >
Manually :/
19:36
<
samueldr >
oh, that explains why I couldn't find any worthwhile examples in the packages
19:37
<
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"
19:37
<
samueldr >
tt-rss might, too
19:38
<
samueldr >
I have it set up on my server, but never looked into how it worked
19:40
<
samueldr >
or I might be wrong, I followed another setup and it's not even using the nix package
19:54
<
samueldr >
redmin is run through a service
19:54
<
samueldr >
redmine*
19:54
<
samueldr >
it does the migrations through preStart
19:56
<
samueldr >
so much easier when the application isn't run through php
20:04
<
samueldr >
it seems that apache module has some kind of support for a `startupScript` option per "serviceType"
20:06
<
fadenb >
will look into that as a possibility
20:07
<
samueldr >
I need something like that for work anyway