User:Jack Phoenix

From Halopedia, the Halo wiki

avatar
Jack Phoenix
741 article edits
Basic info
Name

Jack Phoenix

Location

Finland

Website

MediaWiki.org and other Wikimedia Foundation sites, such as the English Wikipedia, ShoutWiki, Brickipedia, and many, many more...

Recent activity
Sent a message to Dab1001
"Hi Daniel, Could you take a look at [https://github.com/Halopedia/Onyx..."
Sent a message to Dab1001
"Hi Daniel, First of all, apologies for the somewhat delayed response! I..."
Received a gift from Bluecaboose
Sent a gift to Jedimca0
Is now friends with Ultra Force
Is now friends with Solar Dragon
Is now friends with Manticore
Received a gift from Knightrez
Is now friends with Spark818
Is now friends with Knightrez
Awards
5 of 8
Biography
About me

Hi, I'm Jack Phoenix, a MediaWiki developer. I maintain the social tools as well as the Nimbus skin, which are used on Halopedia, in addition to a variety of other stuff.

On Halopedia, I'm an administrator (verify), so if you need any help or have found a bug in the software, please don't hesitate to contact me!

Hobbies & interests

Star Wars, The Legend of Zelda series, (Super) Mario series & more

Board
5 of 9
You must be logged in to post messages to other users
avatar

Hi,

Apologies for my own delayed reply as well. I saw your message a few days after you sent it, but I've had a really busy time at uni over the past couple of months, and it just completely slipped my mind. I also haven't done any work on Onyx for quite a while for the same reason. I do intend to get back on it once exams are over in a few weeks, though, so the project's not dead or anything.

In relation sidebar, I agree, that kind of functionality is really something that should be provided by the API itself. The fact that it doesn't seems like a very questionable design choice to me, but I'll just have to work with what's provided. It's a shame that people didn't take to your proposed sidebar parser, as I think that it would've been an improvement over what's available now, even if a little messy. Still, in that case, I'll probably end up writing my own parser to extract what I need, as I'm not fond of copying code without fully understanding every aspect of it as I do my own code (doing this has caused me huge headaches in the past lol).

Regarding parsing information from MediaWiki pages, I think I'll definitely look into it in the long term for Onyx, in that case, though I may do this after first making a bare-bones version of the skin to make available sooner. However, I'm not sure how I would go about retrieving the contents of a page from within the OnyxTemplate::execute() function. Do you know of a way it can be done, preferably getting the raw wikitext rather than an HTML version? Also, is there any way of embedding an arbitrary image from the wiki into a skin? I'm specifically thinking about the logo here, as the recommended aspect ratio of the image used as the logo by default wouldn't work well for an Oasis-style skin, so I think it will be necessary for Onyx to use a different one entirely.

Once I finish my exams and get back to building Onyx, I'll definitely hop on the IRC occasionally, so that we can communicate about it more easily. If you're still interested in contributing to Onyx yourself at all, let me know and I'll get you access to the GitHub repo. Don't feel any pressure, though.

Thanks for all your help, and again, apologies for being so slow to respond.

- Daniel

avatar

Hey,

Nicmavr suggested that I should reach out to you. I'm currently in the process of creating a MediaWiki skin for Halopedia, but I'm unfamiliar with MediaWiki's API. He said that you're quite familiar with it, and so I was wondering if you could help me out.

The skin I'm creating, called Onyx, aims to emulate the look and feel of Wikia's Oasis skin (just the skin, though - I'm not planning to port over any of the additional features they've added). I've gotten pretty far just using MediaWiki.org's skinning guide, but I'm now beginning to run into more complex issues where the HTML or data provided by the API isn't really compatible with my design for the skin, such as with the logo and with the sidebar. I think I may need to write some code to parse out the bits that I need, which is what Nimbus does, I think(?).

Alternatively, I also considered giving Onyx its own pages for those aspects in the MediaWiki namespace (something like MediaWiki:Onyx-config and MediaWiki:Onyx-navigation), then getting those pages and parsing the information I need from within the call to OnyxTemplate::execute(). However, I'm not sure if the MediaWiki API allows for that, and if it does, whether it would be considered bad practice to do so.

Do you think you could give me any pointers or help?

My code so far is available here, on Halopedia's GitHub, if you want to take a look at it. I apologise if it looks at all messy or poorly styled. This is the first significant project I've ever undertaken in PHP, so the language is quite alien to me - I usually stick to Java for OO stuff.

Anyway, I'd appreciate any tips or advice you can give me.

Thanks in advance,

Daniel

avatar

As an Admin of Halopedia. Are you able to join the Halopedia Discord server? Info down below.

https://www.halopedia.org/Halopedia:Discord_Channel

If you join please mention me with @CIA391#6775 so I can promote you on it.

avatar

hey halo is awesome next to black ops 2 and this is no site for slaying the magic dragon

avatar

Hello Jack, I was wondering if you could maybe help me set up a (for-profit) "wiki foundation" for this site?: http://movies.shoutwiki.com

I'm willing to pay you if necessary, I just know you're good at MediaWiki and I'm horrible at it. :P Feel free to e-mail me at pinkiepiecupcakes6@gmail.com for details if you accept.