Jack Phoenix's board
From Halopedia, the Halo wiki
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
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
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.
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.
Hi, I've been having a few thoughts about our redirects, and Subtank directed me to you an Porplemontage. At the moment, when one types into the search bar, both articles and redirects appear in the drop-down menu. Many of these redirects are redundant or have poorly-written titles, and I believe they make the wiki look unprofessional. Deleting these redirects (and deciding which ones should be kept) would be a phenomenal task, so I'm wondering if there's a way of altering the coding so redirects don't appear in the drop down menu. Is this possible?
Hey im trying to edit the page: http://www.halopedian.com/Carter-A259/Quotes#Firefight_Voice. i make the edits, but it wont save them. Help? ~~~~
Whoa, a lot of JS being added. I thought the FadeToggle would work find without the rest. Even tested it in different wikis before I asked Nicmavr to add it in Halopedia. :O
ther was a person with yuor same name that baned me for nothing i swear im here to ask you if it was you