(fix link ("redlink" option won't lead to edit box if page is already created))
No edit summary
Line 11: Line 11:
To convert content using wikEd:  
To convert content using wikEd:  
* Copy and paste the formatted text into the box at [http://www.appropedia.org/index.php?title=Wikedbox&action=edit Wikedbox]
* Copy and paste the formatted text into the box at [http://www.appropedia.org/index.php?title=Wikedbox&action=edit Wikedbox]
* Go to the edit box on Appropedia and paste ('''ctrl+c''' and '''ctrl+v''').
* Click the wikify button, which looks like: [[Image:WikEd wikify.png|16px|[w]]]
* Click the wikify button, which looks like: [[Image:WikEd wikify.png|16px|[w]]]
* Copy the converted wiki text ('''ctrl+a''' to select all, then '''ctrl+c''') and paste into the target page.
* Copy the converted wiki text ('''ctrl+a''' to select all, then '''ctrl+c''') and paste into the target page.

Revision as of 12:33, 11 February 2010

wikEd is an editing tool for MediaWiki. Its most important function in Appropedia is to convert formatted text to wiki markup.

It works in Firefox (and other Mozilla browsers).

Using wikEd to convert formatted text to wiki markup

This is usually an essential step in porting pages from external sources.

The easiest place to find wikEd is at Wikedbox.

To convert content using wikEd:

  • Copy and paste the formatted text into the box at Wikedbox
  • Click the wikify button, which looks like: [w]
  • Copy the converted wiki text (ctrl+a to select all, then ctrl+c) and paste into the target page.
  • Preview and fix problems as you are able to (or save first then do the fixing).
  • Note that it works for formatted text, and not for images. The urls of images are replaced with their filenames, so you must decide what to do:
    • Upload the images & ensure the links are correct - only if the images are open licensed; or
    • Manually fix the image links to correct links to the images -where they are very relevant, but not open licensed; or
    • Strip out the links entirely (easiest option)

WikEd instructions are found at Wikipedia:User:Cacycle/wikEd.

Note: it's best not to click "Save" when on the Wikedbox page, to avoid confusing others, but it doesn't matter too much. (You can also blank the page afterward, if it's been saved.)

You can use wikEd to port pages and keep their format. This works for Word documents and HTML pages, and probably many other standard formats. However, it does not yet work for , so PDF files must be converted to XML or HTML first (see Help:Porting content from PDF format) then converted again with wikEd.

How to install

It can be added to the individual user's account, to give:

  • a range of extra editing options and shortcuts.
  • a way to easily convert formatted text to MediaWiki markup (by clicking the wikify button ([w]).

To use it on one page, just click the Wikedbox as described above. To have it always on, rather than just on one specific page, use the following methods.

Add to your account

An example is found at: http://www.appropedia.org/index.php?title=User:Chriswaterguy/monobook.js&oldid=33334

You can copy the text in that page to your own monobook.js page, do a hard refresh to clear your browser's cache (e.g. ctrl+F5?) and you should have the new editing tools above the edit box.

More complete instructions are found at Wikipedia:User:Cacycle/wikEd installation.

On Wikipedia

In the version of MediaWiki used by Wikipedia, it is available as a widget under user preferences, as well as by the previous method.

Installing on one page in a wiki

Add this to your MediaWiki:Common.js page, as in Appropedia:

// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor ONLY FOR A SINGLE PAGE: [[Wikedbox]] if (wgPageName == 'Wikedbox') { document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript"></' + 'script>'); }

Thus the page Wikedbox is now powered by wikEd.

To avoid confusion, choose a pagename without spaces; otherwise make sure any spaces are written as underscores in the script above.

Interwiki links

Cookies help us deliver our services. By using our services, you agree to our use of cookies.