New Wiki is Up


(Sean Tilley) #1

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.

  1. 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

  2. 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. :wink:


Note: This discussion was imported from Loomio. Click here to view the original discussion.


(raven24) #2

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.


(raven24) #3

@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… :wink:


(Sean Tilley) #4

Sure thing!

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? :slight_smile:

Would definitely love your help, and you are most welcome to adjust the wiki’s style.


(raven24) #5

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.


(Sean Tilley) #6

Done! :slight_smile:


(raven24) #7

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


(Sean Tilley) #8

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. :slight_smile:


(raven24) #9

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)


(Sean Tilley) #10

Wow, it looks really great so far!


(Sean Tilley) #11

Wow, it looks really great so far!


(raven24) #12

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?


(Sean Tilley) #13

Go for it, it looks great and I haven’t noticed a single issue with the style. :slight_smile:


(Jason Robinson) #14

The new wiki is nice :slight_smile:

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


(raven24) #15

actually, I think this would suffice:
http://www.mediawiki.org/wiki/Manual:$wgAllowExternalImages

or just upload the images to the wiki, if they are tightly coupled with the surrounding content :slight_smile:
just make sure they are at least some sort of CC, GFDL or better, and put the licensing information/author in the image description.


(Jason Robinson) #16

That would be great imho, forcing to upload is so 1995 :slight_smile: What do others think?


(raven24) #17

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… :slight_smile:

@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? :wink:


(Sean Tilley) #18

I’ll give it another restart just for good measure. :slight_smile: