I have apparently missed something really obvious: How do I get our work wiki to have a row of formatting buttons at the top of the edit box, the way English Wikipedia does?
(I expected all that out of the tarball, and I looked for extensions but didn't find one that did this.)
- d.
Copy the Mediawiki:Common.js page from Wikipedia into your wiki (you only need the part labeled "Extra toolbar options" if you just want the buttons.
http://en.wikipedia.org/wiki/MediaWiki:Common.js
JH
On Nov 18, 2007, at 5:51 PM, David Gerard wrote:
I have apparently missed something really obvious: How do I get our work wiki to have a row of formatting buttons at the top of the edit box, the way English Wikipedia does?
(I expected all that out of the tarball, and I looked for extensions but didn't find one that did this.)
- d.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
Copy the Mediawiki:Common.js page from Wikipedia into your wiki (you only need the part labeled "Extra toolbar options" if you just want the buttons.
I think for the standard buttons this is incorrect (see bottom).
JH
On Nov 18, 2007, at 5:51 PM, David Gerard wrote:
I have apparently missed something really obvious: How do I get our work wiki to have a row of formatting buttons at the top of the edit box, the way English Wikipedia does?
(I expected all that out of the tarball, and I looked for extensions but didn't find one that did this.)
At least in my installation (version 1.10) this can be enabled in the per-user settings (Spezial:Einstellung in german, probably Special:Settings in english). No need to fiddle with Common.js.
HTH, Arnd
Ah, I was assuming that he wanted the extra buttons present on wikipedia. I thought that seeing the buttons was the default, though, in 1.10. There may be some browser-dependence.
JH
On Nov 19, 2007, at 4:06 AM, amuenzeb@rockwellcollins.com wrote:
Copy the Mediawiki:Common.js page from Wikipedia into your wiki (you only need the part labeled "Extra toolbar options" if you just want the buttons.
I think for the standard buttons this is incorrect (see bottom).
JH
On Nov 18, 2007, at 5:51 PM, David Gerard wrote:
I have apparently missed something really obvious: How do I get our work wiki to have a row of formatting buttons at the top of the edit box, the way English Wikipedia does?
(I expected all that out of the tarball, and I looked for extensions but didn't find one that did this.)
At least in my installation (version 1.10) this can be enabled in the per-user settings (Spezial:Einstellung in german, probably Special:Settings in english). No need to fiddle with Common.js.
HTH, Arnd _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
Check out my customization based on Wikipedia's http://www.appropedia.org/MediaWiki:Common.js
For each new button, you just add a new:
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "
http://www.appropedia.org/images/8/80/Button_upper_letter.png", "speedTip": "Superscript", "tagOpen": "<sup>", "tagClose": "</sup>", "sampleText": "Superscript text"};
Where:
- Image file is the actual location of the uploaded button (after uploading the button image, click the link to the file and see the URL for the location of the image). - Speedtip is what shows on hover. - Check out the rest and feel free to ask me.
Good luck, Lonny Founder - Appropedia.org
On Nov 19, 2007 2:06 AM, amuenzeb@rockwellcollins.com wrote:
Copy the Mediawiki:Common.js page from Wikipedia into your wiki (you only need the part labeled "Extra toolbar options" if you just want the buttons.
I think for the standard buttons this is incorrect (see bottom).
JH
On Nov 18, 2007, at 5:51 PM, David Gerard wrote:
I have apparently missed something really obvious: How do I get our work wiki to have a row of formatting buttons at the top of the edit box, the way English Wikipedia does?
(I expected all that out of the tarball, and I looked for extensions but didn't find one that did this.)
At least in my installation (version 1.10) this can be enabled in the per-user settings (Spezial:Einstellung in german, probably Special:Settings in english). No need to fiddle with Common.js.
HTH, Arnd _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org