DChiuch

New features & feature requests

Recommended Posts

Hi all,

 

Please use this topic to request, announce and discuss new features for the KHUX Wiki. I will be in charge of any server-side stuff like MediaWiki extensions and themes, and myself and others will also do our best here to implement any templates or other helpful additions.

Share this post


Link to post
Share on other sites

To start with, I've added templates to quickly write the name of any of the games with "χ" in the title. You can use {{KHUX}}, {{KHX}} or {{KHXBC}} on any page to quickly add the text "Kingdom Hearts Unchained χ", "Kingdom Hearts χ" or "Kingdom Hearts χ Back Cover" respectively, saving everyone the hassle of having to find and copy-paste the χ.

 

Please note that to link or italicise these titles, you will still need to apply formatting – so most of the time you will be writing something like ''{{KHUX}}'' or ''[[{{KHUX}}]]''.

Share this post


Link to post
Share on other sites

To start with, I've added templates to quickly write the name of any of the games with "χ" in the title. You can use {{KHUX}}, {{KHX}} or {{KHXBC}} on any page to quickly add the text "Kingdom Hearts Unchained χ", "Kingdom Hearts χ" or "Kingdom Hearts χ Back Cover" respectively, saving everyone the hassle of having to find and copy-paste the χ.

 

Please note that to link or italicise these titles, you will still need to apply formatting – so most of the time you will be writing something like ''{{KHUX}}'' or ''[[{{KHUX}}]]''.

 

A most emphatic thank you for that!

Share this post


Link to post
Share on other sites

Could you please install the following extension:

https://www.mediawiki.org/wiki/Extension:ParserFunctions

 

I need this to make the Keyblade template work, and it is really useful for templates in general.

 

EDIT: I get an error message on this file: http://www.khunchainedx.com/wiki/File:Starlight_(Upgrade_2)_KHX.png

Any idea what causes this?

Edited by TheSilentHero

Share this post


Link to post
Share on other sites

Could you please install the following extension:https://www.mediawiki.org/wiki/Extension:ParserFunctionsI need this to make the Keyblade template work, and it is really useful for templates in general.

 

EDIT: I get an error message on this file: http://www.khunchainedx.com/wiki/File:Starlight_(Upgrade_2)_KHX.pngAny idea what causes this?

 

No problem, installed the extension.

 

I've fixed the image error – the problem was that for some reason the image file's folder didn't have the right permissions after uploading. Not sure why this happened in the first place, so please let me know if it happens again with any other images.

Share this post


Link to post
Share on other sites

The search box always sends you to the search page, even though you typed in a page's name correctly. This is very annoying, and I'd really like it to directly send me to the page instead.

 

EDIT: Also, can you add an "auto-refresh" function to the Recent Changes? And install WhosOnline (https://www.mediawiki.org/wiki/Extension:WhosOnline), which lets you see the users who are online. It also needs to be added to MediaWiki:Recentchangestext . It's not really necessary, but it's nice to know if someone is online or not.

Edited by TheSilentHero

Share this post


Link to post
Share on other sites

The search box always sends you to the search page, even though you typed in a page's name correctly. This is very annoying, and I'd really like it to directly send me to the page instead.

 

EDIT: Also, can you add an "auto-refresh" function to the Recent Changes? And install WhosOnline (https://www.mediawiki.org/wiki/Extension:WhosOnline), which lets you see the users who are online. It also needs to be added to MediaWiki:Recentchangestext . It's not really necessary, but it's nice to know if someone is online or not.

 

Managed to fix the search issue, that was an annoying bug.

 
Do you know of a setting/extension for the auto-refreshing Recent Changes? I can't find anything on this.
 
Have installed WhosOnline and added it to the recent changes page added it as a link in the sidebar, I think it's more clear to people where to find it that way.

Share this post


Link to post
Share on other sites

 

Managed to fix the search issue, that was an annoying bug.

 
Do you know of a setting/extension for the auto-refreshing Recent Changes? I can't find anything on this.
 
Have installed WhosOnline and added it to the recent changes page added it as a link in the sidebar, I think it's more clear to people where to find it that way.

 

The WhosOnline would really only be useful on the Recent Changes, but it seems to behave differently from other wikis, since it puts the names in a list, instead of a single row of text...

 

The auto-refresh checkbox code can be found in here: http://www.khwiki.com/MediaWiki:Common.js. Just search for checkbox.

Share this post


Link to post
Share on other sites

Me and Katie were talking and thinking of adding the archives on here with the wiki. (i.e; videos, trailers, images, etc.) 

 

Let me know what any of you think.

 

(Added here as this seems like a feature for the wiki)

Share this post


Link to post
Share on other sites

The WhosOnline would really only be useful on the Recent Changes, but it seems to behave differently from other wikis, since it puts the names in a list, instead of a single row of text...

 

The auto-refresh checkbox code can be found in here: http://www.khwiki.com/MediaWiki:Common.js. Just search for checkbox.

 

Yeah, I thought it looked a bit weird having all of the names in a list above the recent changes. What if I added auto-refresh to the Who's Online page too, would that be a suitable solution?

 

I've added the auto-refresh code and enabled it for recent changes.

 

Me and Katie were talking and thinking of adding the archives on here with the wiki. (i.e; videos, trailers, images, etc.) 

 

Let me know what any of you think.

 

(Added here as this seems like a feature for the wiki)

 

Integrating our video archives, image archives, etc into the wiki is definitely something we can do down the track, but developing it would be quite involved so we'll have to wait a while.

Share this post


Link to post
Share on other sites

Yeah, I thought it looked a bit weird having all of the names in a list above the recent changes. What if I added auto-refresh to the Who's Online page too, would that be a suitable solution?

 

I've added the auto-refresh code and enabled it for recent changes.

 

I asked Porplemontage, the developer of KHWiki and other wiki's, if he knows how to change it to a single line of names. In the meantime, could you add the Countdown feature from here: http://www.khwiki.com/MediaWiki:Common.js ?

 

EDIT:It seems to be fixed now. Can you add it back to the RC?

Edited by TheSilentHero

Share this post


Link to post
Share on other sites

I asked Porplemontage, the developer of KHWiki and other wiki's, if he knows how to change it to a single line of names. In the meantime, could you add the Countdown feature from here: http://www.khwiki.com/MediaWiki:Common.js?

 

That's alright, I've got it handled – I think it's because the Who's Online extension running on KHWiki is an old version, and we have the latest version on the KHUX Wiki (and they must have changed the display format). There's no quick setting to change it but I've edited the extension code to change the display format to make it in-line with the old format, and have added to the recent changes page.

 

Whoops, I did have the 'countdown' feature up and running but I broke it later on when I was editing the Javascript. I've fixed it now.

Share this post


Link to post
Share on other sites

Whoops, I did have the 'countdown' feature up and running but I broke it later on when I was editing the Javascript. I've fixed it now.

 

Are you sure? Because it doesn't seem to work, and I can't find the Countdown code in the Common.js either.

Share this post


Link to post
Share on other sites

Are you sure? Because it doesn't seem to work, and I can't find the Countdown code in the Common.js either.

 

Oh my bad, I thought you said "checkbox" and were referring to the auto-refresh feature, which was actually broken. I've added the countdown now.

Share this post


Link to post
Share on other sites

For some reason, the khwiki is under the Interlanguage prefixes instead of Interwiki prefixes for the interwiki. Also, I'm pretty sure we don't need to forward it to work (on the khwiki the unchained wiki is not forwarded anyway).

 

Side bar really needs to be added to. Something like this, maybe? 

* Navigation** Main Page|Main Page** Special:Search|Advanced Search** Category:Mechanics|Gameplay** Keyblade|Keyblades** Category:Missions|Missions** Medal|Medals** Title|Titles** helppage|Help** Special:RecentChanges|Recent Changes** Special:Random|Random Page* SEARCH* Community** http://kh13.com/forum/forum/84-kingdom-hearts-unchained-%CF%87-kingdom-hearts-%CF%87chi/|Kingdom Hearts Unchained χ Forum** Kingdom Hearts Unchained χ Wiki:Community Portal|Community Portal** Kingdom Hearts Unchained χ Wiki:Staff|Staff*TOOLBOX*LANGUAGES

If we want dropdown menus like the khwiki has, we'll need to set the default wiki skin to monobook and add some code to the MediaWiki:Monobook.js page, like this. The wgSidebar being what the dropdown menus are and the code below being what creates it. If we do want dropdowns, then something like this, perhaps:

/* MONOBOOK SIDEBAR v2.3 */window.wgSidebar = ( window.wgSidebar || {} );wgSidebar['Help'] = [	'Kingdom Hearts Unchained χ Wiki:About|About',	'Help:Contents|Help Pages',	'Kingdom Hearts Unchained χ Wiki:Manual of Style|Manual of Style',	'Category:Stubs|Stubs',	'Kingdom Hearts Unchained χ Wiki:Sandbox|Sandbox',];wgSidebar['Keyblades'] = [	'Starlight|Starlight',	'Treasure Trove|Treasure Trove',	'Lady Luck',	'Three Wishes|Lady Luck',	'Olympia|Olympia',	'Divine Rose|Divine Rose',	'Moogle of Glory|Moogle of Glory',];wgSidebar['Gameplay'] = [	'Guilt|Guilt',	'Ability|Ability',	'Avatar Boards|Avatar Boards',	'Party|Party',	'Raid Boss|Raid Boss',	'Title Banner|Titles',];wgSidebar['Medals'] = [	'Category:Attack Medals|Attack Medals',	'Category:Healing Medals|Healing Medals',	'Category:Buff Medals|Buff Medals',	'Category:Magic|Magic Medals',	'Category:Power|Power Medals',	'Category:Speed|Speed Medals',];

 

I've asked about it on SadakoTetsuwan's talk page, but I'll ask here too. I'd like the user Keybot to be added to the "Bot" usergroup, because there are a huge amount of uncategorized files that I'd like to categorize.

I've done a Title table based on what was put on the talk page, if it looks good I'll go ahead and replace the Title page with it.

 

And finally, is anybody interested in a discord channel for the wiki? 

Edited by Rikki S

Share this post


Link to post
Share on other sites

 

 

For some reason the "Add an interwiki or language prefix" link will only let me add to the interlanguage prefixes, any idea why? I've removed forwarding if it's not needed.

 

I don't think it's worth going to Monobook to allow dropdown menus, I think Vector is much better. A lot of people prefer not to have dropdown menus as having elements appear and disappear can be slightly frustrating, so maybe we should just have a simplied sidebar menu that just shows the top level stuff? I think because the KHUX Wiki is more specialised compared to the KH Wiki, we can get away with not needing to go as many levels deep. That's just my opinion though, maybe let's get more points of view before we make a final decision.

 

In the meantime I've added to the sidebar kind of based on your suggestions, everyone feel free to comment on if you think it's fine.

 

I've added Keybot to the Bot group.

 

The title table looks great, I'd say go ahead!

 

As for Discord, I'm not sure, the discussion areas for the wiki are already quite fragmented and it might not be the best to split it even more. I wouldn't be opposed but I think that's something we should consider.

Share this post


Link to post
Share on other sites

For some reason the "Add an interwiki or language prefix" link will only let me add to the interlanguage prefixes, any idea why? I've removed forwarding if it's not needed.

 

No idea, unfortunately. Every time you try to use it as an interwiki link ([[khw:Main page]] for instance) it just creates a blank space, so it's a bit frustrating. But if's not letting you add to the actual table, that's really bizarre. There are other ways to set up an interwiki, but they rely on phpMyAdmin if you have it or Mysql. So they might not be practical or possible.

 

Simple sidebar is fine. You're right in we don't have very many links to sidebar and it's only 1 or 2 more clicks for the deeper stuff. Though, I think the tools section should be under the Community section, personally. Since those are the least likely links regular wiki users will be using.

Edited by Rikki S

Share this post


Link to post
Share on other sites

No idea, unfortunately. Every time you try to use it as an interwiki link ([[khw:Main page]] for instance) it just creates a blank space, so it's a bit frustrating. But if's not letting you add to the actual table, that's really bizarre. There are other ways to set up an interwiki, but they rely on phpMyAdmin if you have it or Mysql. So they might not be practical or possible.

 

Simple sidebar is fine. You're right in we don't have very many links to sidebar and it's only 1 or 2 more clicks for the deeper stuff. Though, I think the tools section should be under the Community section, personally. Since those are the least likely links regular wiki users will be using.

 

I can use both phpMyAdmin / MySQL commands directly, but I haven't had any luck with either. It's really weird. No matter how I insert it, it just comes up us an interlanguage link. eg. I just deleted khw from the Special:Interwiki page, and then tried to insert it via an SQL command. I ran:

 

 

REPLACE INTO interwiki (iw_prefix,iw_url,iw_local) VALUES ('khw', 'http://www.khwiki.com/$1', 0);

 

and the query goes through, no problem. But it's in as an interlanguage link. I'm stuck.

 

I agree about putting Community above Tools. Not only because of importance, but because Tools changes in size depending on what page you're on, and it's annoying to have the Community box jump around like that. I've swapped the two.

Share this post


Link to post
Share on other sites

I've added Keybot to the Bot group.

 

I'm not sure why but I'm unable to connect to the wiki through Auto Wiki Browser. If I try to connect with https, it says "no connection could be made because the target machine actively refused it" along with what I'm assuming is the IP address. If I try to connect with http, it says "API returned the following error: 'The login module requires a POST request'"

 

Not exactly sure how that's fixed, to be honest. If you have any ideas...or can anyone else connect to the wiki with AWB? 

Share this post


Link to post
Share on other sites

I'm not sure why but I'm unable to connect to the wiki through Auto Wiki Browser. If I try to connect with https, it says "no connection could be made because the target machine actively refused it" along with what I'm assuming is the IP address. If I try to connect with http, it says "API returned the following error: 'The login module requires a POST request'"

 

Not exactly sure how that's fixed, to be honest. If you have any ideas...or can anyone else connect to the wiki with AWB? 

 

Could you send me your settings file so I can test it?

Share this post


Link to post
Share on other sites

As far as the KHWiki link, it may mean using a different prefix (perhaps "kh" instead of "khw").

 

 

(on the khwiki the unchained wiki is not forwarded anyway).

Can you clarify what you mean?

 

 

I'm not sure why but I'm unable to connect to the wiki through Auto Wiki Browser. If I try to connect with https, it says "no connection could be made because the target machine actively refused it" along with what I'm assuming is the IP address. If I try to connect with http, it says "API returned the following error: 'The login module requires a POST request'"

I remember having this issue on the KHWiki. I believe Neumannz solved it -- if he doesn't remember how, I *think* it had something to do with enabling bot-editing on the wiki.

 

EDIT: https://en.wikipedia.org/wiki/Wikipedia_talk:AutoWikiBrowser/Archive_28#Can.27t_update_AWB

Edited by InperialManse

Share this post


Link to post
Share on other sites

Could you send me your settings file so I can test it?

 

I haven't changed the default settings at all. Just try to connect to "khunchainedx.com/w/" with both http & https. The http/https is a drop down to the left of the url.

Posted Image

 

 

As far as the KHWiki link, it may mean using a different prefix (perhaps "kh" instead of "khw").

 

Can you clarify what you mean?

 

I remember having this issue on the KHWiki. I believe Neumannz solved it -- if he doesn't remember how, I *think* it had something to do with enabling bot-editing on the wiki.

 

EDIT: https://en.wikipedia.org/wiki/Wikipedia_talk:AutoWikiBrowser/Archive_28#Can.27t_update_AWB

Just that it isn't forwarded or transcluded there. Posted Image

 

If there's some setting for bot-editing then enabling that would help. I can log in to other wiki's with AWB, including KHwiki, so it's just this one.

Share this post


Link to post
Share on other sites

In the meantime I've added to the sidebar kind of based on your suggestions, everyone feel free to comment on if you think it's fine.

Can you change the sidebar Community Portal link to Community portal? Thanks!

Share this post


Link to post
Share on other sites

Would it also be possible to do something about the external link captcha? We have to add links to khinsider for the medal images, and I keep getting a captcha, which really slows down the process.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now