Topic on Project:Support desk

Adding an Edit with Form Button

1
Kirabook (talkcontribs)

Hello.

So, here is the deal. I have a mediawiki skin, which is great, but there's just one problem that I'm looking to resolve. I hope I can resolve it/get help here?

  • please excuse some of the mess around, I'm in the process of overhauling the content*

http://creawiki.net/index.php?title=Zabis
http://pastebin.com/4Hn7S7MF (line 450 and onward is the PHP for the Edit button and so on)

In this theme, most of the page options are pulled into a drop down menu, only the edit button is outside of it. Unfortunately, the "Edit with Form" option is also pulled into the dropdown. I've spent weeks trying to figure out how to create a duplicate "Edit" button, except make it "Edit with form" which leads to the form for that page. I can't for the life of me figure it out, this is also because PHP is not my strong suit.

How can I adjust the PHP to not pull the "Edit with Form" into the Page dropdown, and if that's not possible, how can I just duplicate that Edit button, but customize it to fight the Edit with Form situation?


MediaWiki 1.22.0
PHP 5.3.13 (cgi-fcgi)
MySQL 5.5.32-log

Reply to "Adding an Edit with Form Button"