Forum:Redirect button


 * See: Help:Custom edit buttons

Is there any way to get a redirect button in the editing toolbar at the harrypotter wiki? I asked about this before and was told there was going to be some sort of software update to enable this. I assume it just needs to be installed. John Reaves 04:46, 24 January 2007 (UTC)


 * When we upgrade, it will simply be a matter of appending to the mwCustomEditButtons[] array in MediaWiki:Monobook.js (or user js, or Common.js). It was introduced here (js changes). --Splarka (talk) 05:02, 24 January 2007 (UTC)
 * So it wouldn't be automatic at the wiki? If not, who will do this? John Reaves 05:13, 24 January 2007 (UTC)


 * There is no omni-browser-compatible method to do it really. Just wait for the upgrade (or the mw:Extension:CharInsert extension). --Splarka (talk) 08:08, 24 January 2007 (UTC)

If/when the mwCustomEditButtons extension is installed, copy following code: if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://images.wikia.com/central/images/c/c8/Button_redirect.png", "speedTip": "Redirect", "tagOpen": "#REDIRECT ",    "tagClose": "", "sampleText": "Insert text"}; } – Smiddle 15:50, 24 January 2007 (UTC)


 * Good news: mw:Extension:CharInsert was added today. You can add insertables to MediaWiki:Edittools now. I've added a simple menu and a #redirect inserter to central as an example. --Splarka (talk) 02:39, 25 January 2007 (UTC)
 * Thanks for all the help, but all of the MediaWiki pages are protected. Is there a way to circumvent editing the page directly? John Reaves (talk) 03:51, 25 January 2007 (UTC)


 * I've added #REDIRECT for you. Lemme know if you want anything else. --Splarka (talk) 04:00, 25 January 2007 (UTC)
 * The button still isn't showing up in the edit tools bar. Also, does it only require admin status to edit MediaWiki pages, or something like system admin or developer status? John Reaves (talk) 04:14, 25 January 2007 (UTC)


 * It should be at the bottom below the Save page, Show preview, and Show changes buttons. And yes, admins are able to edit MediaWiki pages. G .He (Talk!) 04:22, 25 January 2007 (UTC)

Okay, I see it now. Is there a way to get it into the editing toolbar, similar to Wikipedia? John Reaves (talk) 04:40, 25 January 2007 (UTC)


 * As mentioned above, the MediaWiki upgrade needs to take place first. G .He (Talk!) 04:43, 25 January 2007 (UTC)


 * Oh, I see. Thanks, John Reaves (talk)


 * I prefer my custom "charinsert" :) --Ciencia Al Poder ¿Algo que decir? 08:20, 25 January 2007 (UTC)