The new wiki at wiki.diaspora-project.org is set up, for the most part. There are a few outstanding issues that I need help with, so if any MediaWiki gurus could help out, that’d be great.
The content needs to be looked over with a fine-toothed-comb. I’ve done my best to convert the pages, but some of them haven’t been done yet. A quick browse-through of the different
I’m having difficulty getting image uploads to work on MediaWiki. My error log says the following:
PHP Warning: Cannot modify header information - headers already sent by (output started at /home/diaspora/public_html/wiki/LocalSettings.php:187) in /home/diaspora/public_html/wiki/includes/resourceloader/ResourceLoader.php on line 553
On the bright side, MediaWiki is properly integrated into Drupal, as is Mozilla Persona. You can register on the main site, log in through Persona, and you’ll be logged in on the wiki side of things as well.
So really, the only outstanding issue is image uploads. If we can resolve this, then I can mark this half of the “New Project Site” task as done.
Note: This discussion was imported from Loomio. Click here to view the original discussion.
did you resolve the issue?
If not, I could take a look at it this weekend, just PM me on IRC or send me an e-mail or something.
@Sean, would you enable user css/js in the mediawiki config, I’d like to play around with some styles and js so that it looks more like the new project site and also I plan on using a template for some of the stuff in the install instructions page and maybe elsewhere…
To answer your earlier question: no, the image upload issue still needs to be fixed. If you would like, I could get you some FTP/SSH details so that you can play around with the wiki?
Would definitely love your help, and you are most welcome to adjust the wiki’s style.
yeah, sure, just send me an email with the login and where I can find the stuff on the server, and I’ll give it a shot.
ok, so I’ve done a little bit of magic and now images can be uploaded,
also I have a first draft for a customized style sheet. try it out with the instructions I posted here: https://gist.github.com/4066729
and give me some feedback on how it looks
I’ll give it a try. I’d also like to point out that Hrishi has gone ahead and updated the front page of the wiki, I think it looks much better now. Florian, I’ve pointed him in your direction, perhaps you two might have some ideas about how to polish up how the wiki looks.
Ok, forget that gist…
I did a Mediawiki extension, all you have to do, to look at my proposed stylesheet is to go to your user preferences under [Appearance] and check the box at the bottom that says “Enable experimental Diaspora-specific modifications”.
(I’m really shocked at how easy it is to write Mediawiki extensions… :o)
Wow, it looks really great so far!
Wow, it looks really great so far!
since there haven’t been any serious issues (aesthetical or otherwise) with the stylesheet, I’d suggest we put it up for a vote? or should I just go ahead and enable it for everyone?
Go for it, it looks great and I haven’t noticed a single issue with the style.
The new wiki is nice
Found this tool to convert Markdown -> MediaWiki syntax: http://johnmacfarlane.net/pandoc/try
Also can we have this or something similar to embed images by url? http://www.mediawiki.org/wiki/Extension:EmbedImg
actually, I think this would suffice:
or just upload the images to the wiki, if they are tightly coupled with the surrounding content
just make sure they are at least some sort of CC, GFDL or better, and put the licensing information/author in the image description.
That would be great imho, forcing to upload is so 1995 What do others think?
ok, I updated the extension.
(repo is here, btw: https://github.com/Raven24/diaspora-mediawiki, code reviews welcome)
The stylesheet overrides should now be public,
also I did some work on a parser function for messageboxes. It can now be used to derive Templates for various purposes, see my test page: http://wiki.diaspora-project.org/wiki/User:Raven24/MsgboxTest
Next I’ll do some parser function/template/JS for the ‘install instructions’ page, possibly where the user can select [develop|production] and [mysql|postgres] and then the shown commands are adapted to the selection…
@Sean: I’m not sure the changes in the apache config for the fonts are working, I’m not getting the http header…
did you remember to restart apache?
I’ll give it another restart just for good measure.