Extension talk:BootStrapSkinContactForm

About this board

Move configuration of Thank you message to "MediaWiki:" namespace

3
Kghbln (talkcontribs)

I think it will be better to move this to the namespace holding system messages. You could e.g. have a message called "MediaWiki:Bootstrapskincontact" which holds the link to the page containing the Thank you message. Thus the extension could automatically direct a usere to this given page.

A similar thing is done for core e.g. with "MediaWiki:Disclaimerpage". The page enterted there is the spot to find the disclamer, whereever this may be on the wiki.

SwiftSys (talkcontribs)

Will take a look a little later, working on the security issue at the moment, thanks though as always your support is always appreciated. :)

Reply to "Move configuration of Thank you message to "MediaWiki:" namespace"

contacts-process.php should remain in extension's folder

7
Kghbln (talkcontribs)

I think it will be better if there is a way to get this working without having to move files after installation or upgrading. Since I am not a programmer I cannot be of help with this but it probably should be done.

SwiftSys (talkcontribs)

Will do that, many thanks for suggestion, Skizzers has been emailing with detailed help, didn't even know you could email users?

Kghbln (talkcontribs)

Isn't this great?!! Nice to read that you got direct help here. That's the way to go!

SwiftSys (talkcontribs)

Have sorted the moving files issue now, all working fine. Also made it so that the thank you page is what it is, the user simply has to create the resultant page when they arrive there for the first time.

Just need to solve the security issue, I've tried hacking it like Skizzers describes, but it just throws up error messages, so I'm still not convinced, but its not me that needs convincing, its Skizzers lol

Kghbln (talkcontribs)

Yay! However I would recommend to take Skizzers advice serious. My impression is that he really knows his way. So if it does not work somehow there is still something in the water.

SwiftSys (talkcontribs)

lol skizzers run a hack and gave me the code to use myself and I've been pluging away for hours now, unable to find a solution, will give it another day and then try something different. Might have to resort to writing something complex!

SwiftSys (talkcontribs)

All sorted now, waiting on Skizzers to check

Reply to "contacts-process.php should remain in extension's folder"

Changes to CSS can easily be done on wiki

3
Kghbln (talkcontribs)

The system messages "MediaWiki:Common.css" or "MediaWiki:Thenameofyourskin.css" etc. (this may not be camelcased - another reason for distince naming) allow for further customization of CSS so amending the code-base is not necessary. Same for JS, too.

SwiftSys (talkcontribs)

No need have sorted this now, managed to get the module extensions to work correctly, don't know why but I was using $out instead of $output, which incidentally also cured the page name issue. Had a blonde moment, though I'm still under the affects of anaesthtic, had an operation yesterday, nothing serious, but I'm feeling pretty spaced out lol

Kghbln (talkcontribs)

Cannot blame you for having blonde moments. I have them all the time, too. Proof of this is on this very talk page. :)

Reply to "Changes to CSS can easily be done on wiki"

An extension should never require core to be amended

3
Kghbln (talkcontribs)

I think there are only very very rare cases where hacking core of MediaWiki is justificable/acceptable. Perhaps there is a hook or something that allows to do the task without amending core files.

SwiftSys (talkcontribs)

Sorry, I'm lost, where have I modified the core? To my knowledge I haven't touched any other files? Unless I've missed something?

Kghbln (talkcontribs)

Oops, I was having a senior moment here (since I am in my 40ies, too). I figured "SpecialContact.php" was a core file for some reasons. No worries.

Reply to "An extension should never require core to be amended"
There are no older topics
Return to "BootStrapSkinContactForm" page.