Profile

Cover photo
Stephan Gambke
41,186 views
AboutPosts

Stream

Stephan Gambke

Tips and tricks  - 
 
 
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';
2
Jamie Thingelstad's profile photoJeroen De Dauw's profile photoStephan Gambke's profile photo
3 comments
 
Drama - that's what I thought. Which is why I did not even bother to try. :/
Add a comment...

Stephan Gambke

Shared publicly  - 
 
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.
What can this extension do?[edit | edit source]. Provides parser functions to retrieve/set page information: {{#pageincategory: 'category' }}. returns 'true' if the current page is categorised with 'category'. {{#pagenumcategories:}}. returns the number of categories found for the current page.
1
Add a comment...

Stephan Gambke

Shared publicly  - 
 
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.
1
Add a comment...

Stephan Gambke

Shared publicly  - 
 
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.
1
Add a comment...

Stephan Gambke

Shared publicly  - 
 
 
Unless big issues show up, we'll be releasing Semantic MediaWiki 1.8 next week!
1
Add a comment...

Stephan Gambke

Shared publicly  - 
 
After nearly one year I finally released version 0.4 of the Lingo extension.
It now caches the glossary which should make for a significant performance boost. It also has now special handling for IE6/IE7 (it's still ugly, but not as ugly as before). Finally some bugs were fixed.
1
Add a comment...

Stephan Gambke

Tips and tricks  - 
 
 
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';
1
Add a comment...

Stephan Gambke

Shared publicly  - 
 
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';
1
Add a comment...

Stephan Gambke

Shared publicly  - 
 
Who writes the Firefox extension?
< Prev · Random; Next >; >|. Permanent link to this comic: http://xkcd.com/1288/ Image URL (for hotlinking/embedding): http://imgs.xkcd.com/comics/substitutions.png. Selected Comics. Search comic titles and transcripts: RSS Feed - Atom Feed. Comics I enjoy: Three Word Phrase, Oglaf (nsfw), SMBC, ...
1
Add a comment...

Stephan Gambke

Shared publicly  - 
 
Awesome
1
Add a comment...

Stephan Gambke

Shared publicly  - 
 
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.
codepainter - A JavaScript beautifier that can infer coding style from a sample
1
Yaron Koren's profile photo
 
Wow, neat!
Add a comment...

Stephan Gambke

Shared publicly  - 
 
Wikimedia is participating in the Free and Open Source Outreach Program for Women 2013. Several paid internship positions for 3 months projects are available for women willing to develop open source projects related to Wikimedia or other participant organizations.
1
Add a comment...
Basic Information
Gender
Male