Profile cover photo
Profile photo
Stephan Gambke
About
Stephan's posts

 
If you have a MediaWiki extension cloned from GitHub (e.g. if you installed SemanticMediaWiki using Composer) then add the following to LocalSettings.php to have the extension's version hash on the Special:Version page link to the correct tree view on GitHub:
$wgGitRepositoryViewers['git://github.com/(.+)/(.+).git'] = 'https://github.com/$1/$2/tree/%H';

 
If you have a MediaWiki extension cloned from GitHub (e.g. if you installed SemanticMediaWiki using Composer) then add the following to LocalSettings.php to have the extension's version hash on the Special:Version page link to the correct tree view on GitHub:
$wgGitRepositoryViewers['git://github.com/(.+)/(.+).git'] = 'https://github.com/$1/$2/tree/%H';

If you have a MediaWiki extension cloned from GitHub (e.g. if you installed SemanticMediaWiki using Composer) then add the following to LocalSettings.php to have the extension's version hash on the Special:Version page link to the correct tree view on GitHub:
$wgGitRepositoryViewers['git://github.com/(.+)/(.+).git'] = 'https://github.com/$1/$2/tree/%H';

Post has attachment
So I adopted the MediaWiki PageTools extension, which is providing parser functions to access page title and category information. I really only needed the page title stuff, but this thing is so tiny and straightforward, I thought I might as well do the rest, too.

Post has attachment
Who writes the Firefox extension?

Post has attachment
Finally. I released version 0.1 of my new Mediawiki skin Chameleon today.

For the longest time I used Gumax Horizontal. I liked the color scheme, the layout of the page elements (horizontal menu on top, whole page width for the content) and the dropdown menu. But updates were slow and buggy for new versions of MediaWiki and I did not particularly like some of the changes in the newer versions, so I had to constantly patch it. At some point it became too much and I decided to write my own skin.

Lazy that I am I chose to largely avoid having to write my own CSS and use Twitter Bootstrap instead. Worked out great. Out came a skin with the layout I like and dropdown menus. There are some other nice traits that come with using Bootstrap. Without giving too much thought to that, the skin already seems to scale quite alright on smaller devices, like tablets and phones. But some more thought has to go into this. Another bonus is that it is really easy to modify the appearance of elements (colors, dimensions, fonts). Want a narrower navigation bar? One line in the LocalSettings. Different font size? Same. For a complete makeover just include your own LESS files. Bootswatch.com has some nice stuff.

There is still some work to do, but it is already a fully functioning skin, so I released it as version 0.1. See https://www.mediawiki.org/wiki/Skin:Chameleon for installation and customization instructions.

Post has attachment
Awesome

Post has attachment
After more than a year I released Semantic Forms Inputs 0.7 today. The main change was the addition of the 'two listboxes' input type by Yury Katkov. This input type allows the selection of multiple values from a list.

Other than that there were a few bugfixes.

Post has attachment
So I was looking for some program to stylize JavaScript. Guess what, I did not find anything configurable enough to provide the heavily-spaced style preferred by MediaWiki. But I found something promising on github that could probably be hacked into what I needed and went to work on it. I fixed some bugs, added a rule for MediaWiki's infamous spaces inside parentheses and filled in the IndentationRule, that did nothing before. This last one especially is probably still pretty buggy, but the results look alright so far and I am confident, that at least it will not just eat chunks of the input. There are definitely issues with indenting binary expressions. Alas, I will not be able to fix this unless I find another parser. Other than that I now declare it useable. Have a look, it's on github.

Post has shared content
Unless big issues show up, we'll be releasing Semantic MediaWiki 1.8 next week!
Wait while more posts are being loaded