CZ:Enhancing your editing with javascript extensions: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Larry Sanger
No edit summary
imported>Stephen Ewen
(→‎wikEd: tidy up; cut uneeded)
Line 9: Line 9:
==wikEd==
==wikEd==
[[Image:WikEd screenshot.jpg|thumb|400px|right|Screenshot of wikEd showing Citizendium's approved Biology article.]]
[[Image:WikEd screenshot.jpg|thumb|400px|right|Screenshot of wikEd showing Citizendium's approved Biology article.]]
 
===Purpose===
Have you ever wished that the Citizendium editing window were more like your word processor? Or that you could use your word processor to write a Citizendium article, paste it into the edit window, and then turn it into wiki markup with just a click? Thanks to wikEd, both can be so!
'''WikEd''' adds rich features to all Citizendium edit windows and pages.  When you open a Citizendium article to edit it, it will look and feel a lot like the word processor you may be used to.  Above the window, you will have many new buttons that create "wikicode" with just a press (pause your mouse for a few seconds over buttons for a message explaining what each does).  WikEd also adds a few very helpful features just below the edit page window, as well as on top of the page.  With wikEd you can:
 
WikEd adds rich features to all Citizendium edit windows and pages.  When you open a Citizendium article to edit it, it will look and feel a lot like the word processor you may be used to.  Above the window, you will have many new buttons that create "wikicode" with just a press.  Pause your mouse for a few seconds over buttons for a message explaining what each does.  WikEd also adds a few very helpful features just below the edit page window, as well as on top of the page.  With wikEd you can:


*Paste in formatted text and tables from your word processor and convert it to wiki markup
*Paste in formatted text and tables from your word processor and convert it to wiki markup
Line 24: Line 22:
*Much, much more!
*Much, much more!


You may have to try wikEd for a while to fully appreciate it.  You can remove it in seconds just as easily as you can add it, so don't worry that it might damage anything.  You can also turn it off and on with just the click of a new button it adds to the top right corner of all edit pages, next to the "log out" link. After you give it a solid go, you may find yourself wondering, ''How did I ever live without this before?''  
You may have to try wikEd for a while to fully appreciate it.  You can remove it in seconds just as easily as you can add it, so don't worry that it might damage anything.  You can also turn it off and on with just the click of a new button it adds to the top right corner of all edit pages, next to the "log out" link.   


If you want a much more in-depth description of wikEd, [http://en.wikipedia.org/wiki/User:Cacycle/wikEd visit its author's page].  While there, make sure you see [http://en.wikipedia.org/wiki/User:Cacycle/wikEd#Known_general_issues known general issues] for its few easy-to-live-with bugs.  WikEd is released to the public domain.  
If you want a much more in-depth description of wikEd, [http://en.wikipedia.org/wiki/User:Cacycle/wikEd visit its author's page].  While there, make sure you see [http://en.wikipedia.org/wiki/User:Cacycle/wikEd#Known_general_issues known general issues] for its few easy-to-live-with bugs.  WikEd is released to the public domain.  
Line 32: Line 30:
The directions just below explain how to both install and uninstall wikEd for use at Citizendium.
The directions just below explain how to both install and uninstall wikEd for use at Citizendium.


====Installation====
===How to install===
 
:1. Ensure that javascript is enabled in your Firefox or Mozilla-based browser.  It is be turned on by default.  
:1. Ensure that javascript is enabled in your Firefox or Mozilla-based browser.  It is be turned on by default.  
:2. [[Special:Mypage/monobook.js|Click here]] to open your monobook.js page.
:2. [[Special:Mypage/monobook.js|Click here]] to open your monobook.js page.
Line 43: Line 40:
WikEd should now be installed. To test it, go to any page you may be interested in editing and click the "edit" tab at the top of the page.
WikEd should now be installed. To test it, go to any page you may be interested in editing and click the "edit" tab at the top of the page.


===Uninstall===
To uninstall, just revert your monobook.js page.
To uninstall, just revert your monobook.js page.



Revision as of 14:31, 10 September 2007

Citizendium Technical Help
How to edit an article | Searching | Start article with subpages
The Article Checklist | Subpage template

|width=10% align=center style="background:#F5F5F5"|  |}

Java can greatly enhance your Citizendium editing experience.

This page tells you about ways to enhance your Citizendium contributing experience by adding javascripts to your Special:Mypage/monobook.js page.[1] Like the name implies, Special:Mypage/monobook.js is a special page where you can add java extensions that work with the MediaWiki software upon which Citizendium runs.

If any of that sounds a little too much like "Greek" to you, relax. Enhancing your Citizendium experience with java extensions is a lot easier than you may think. Just follow the easy directions below.

wikEd

Screenshot of wikEd showing Citizendium's approved Biology article.

Purpose

WikEd adds rich features to all Citizendium edit windows and pages. When you open a Citizendium article to edit it, it will look and feel a lot like the word processor you may be used to. Above the window, you will have many new buttons that create "wikicode" with just a press (pause your mouse for a few seconds over buttons for a message explaining what each does). WikEd also adds a few very helpful features just below the edit page window, as well as on top of the page. With wikEd you can:

  • Paste in formatted text and tables from your word processor and convert it to wiki markup
  • See wiki markup syntaxes highlighted in assigned colors
  • Search and replace
  • See previews and changes
  • Edit in fullscreen mode
  • Fix common mistakes with just a click
  • Keep track of summary, search, and replace fields
  • Navigate quickly to headings
  • Much, much more!

You may have to try wikEd for a while to fully appreciate it. You can remove it in seconds just as easily as you can add it, so don't worry that it might damage anything. You can also turn it off and on with just the click of a new button it adds to the top right corner of all edit pages, next to the "log out" link.

If you want a much more in-depth description of wikEd, visit its author's page. While there, make sure you see known general issues for its few easy-to-live-with bugs. WikEd is released to the public domain.

As of March 2007, wikEd will only work if you use Firefox or another Mozilla-based browser. To get Firefox, which also adds a spell-checker to the Citizendium editing window, visit its download page.

The directions just below explain how to both install and uninstall wikEd for use at Citizendium.

How to install

1. Ensure that javascript is enabled in your Firefox or Mozilla-based browser. It is be turned on by default.
2. Click here to open your monobook.js page.
3. Click the "edit" tab at the top of the page.
4. In the edit window that opens, copy and paste: {{wikEd}}
5. Click the Save page button.
6. Press CTRL + F5 at the same time to invoke a "hard refresh".

WikEd should now be installed. To test it, go to any page you may be interested in editing and click the "edit" tab at the top of the page.

Uninstall

To uninstall, just revert your monobook.js page.

Navigation popups

Onslow Beach popup.jpg

Purpose

Navigation popups allows you to view a preview of an article inside a popup box without leaving your current page. This allows you to view the introduction to any article simply by moving your mouse over the link to that article without the need to click forward and backwards between pages. When you pause your mouse over a link, the popup will appear. After a few moments, the introduction from the linked article will be loaded into the popup box.

The popups also add additional information and menu links that assist with editing and maintaining articles for both authors and editors. There is also an optional feature that can be enabled to give system administrators and constables some advanced tools.

How to install

To use, you must be a logged in member of the site. The script doesn't work for people who aren't logged in. Once logged in, just click here to your own Monobook.js file. Edit this page an add this single line of code:

{{subst:navpop}}

Now Save the page.

Lastly, do a hard reload/refresh of your browser screen. (to load in the javascript to your browser's cache). This is done by:

  • Internet Explorer - Ctrl+F5
  • Mozilla Firefox - Shift+Ctrl+R
  • Opera - F5

Uninstall

Go to your monobook.js file and delete the line of previously inserted then save and do the hard refresh of your browser again.

Other extensions

The extensibility of the Wikmedia software upon which Citizendium runs is all but limitless. Add to and keep attuned to this page and the Citizendium-L mailing list.

Notes

  1. If you have set a skin other than Citizendium's default monobook in your "my preferences", see the wikEd author page to learn how to adjust the directions that follow.

Also see