No edit summary
No edit summary
Line 1: Line 1:
'''wikEd''' is an editing tool for MediaWiki. Its most important function for Appropedia is to convert formatted text to wiki markup.  
'''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).  
It works in Firefox (and other Mozilla browsers).  
Line 10: Line 10:
* Copy and paste the formatted text into [http://www.appropedia.org/index.php?title=Wikedbox&action=edit&redlink=1 Wikedbox]
* Copy and paste the formatted text into [http://www.appropedia.org/index.php?title=Wikedbox&action=edit&redlink=1 Wikedbox]
* Go to the edit box on Appropedia and paste ('''ctrl+c''' and '''ctrl+v''').  
* Go to the edit box on Appropedia and paste ('''ctrl+c''' and '''ctrl+v''').  
* Click the wikify button, which looks like: [<span style="color:red">w</span>]
* 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.
* Preview and fix problems as you are able to (or save first then do the fixing).
* Preview and fix problems as you are able to (or save first then do the fixing).
Line 19: Line 19:
WikEd instructions are found at [[Wikipedia:User:Cacycle/wikEd]].
WikEd instructions are found at [[Wikipedia:User:Cacycle/wikEd]].


Note: it's best not to click "Save" when on the Wikeditbox page, to avoid confusing others, but it doesn't matter too much.
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 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.
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:
It can be added to the individual user's account, to give:
* a range of extra editing options and shortcuts.  
* a range of extra editing options and shortcuts.  
* a way to easily convert formatted text to MediaWiki markup (by clicking the wikify button ([[Image:WikEd wikify.png|16px|[w]]]).
* a way to easily convert formatted text to MediaWiki markup (by clicking the wikify button ([[Image:WikEd wikify.png|16px|[w]]]).
==How to install==
 
To use it on one page, just click the [http://www.appropedia.org/index.php?title=Wikedbox&action=edit&redlink=1 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
An example is found at: http://www.appropedia.org/index.php?title=User:Chriswaterguy/monobook.js&oldid=33334


Line 32: Line 37:
More complete instructions are found at [[Wikipedia:User:Cacycle/wikEd installation]].  
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:
<nowiki>// 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>');
}</nowiki>
Thus the page [http://www.appropedia.org/index.php?title=Wikedbox&action=edit&redlink=1 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==
==Interwiki links==

Revision as of 05:54, 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

The easiest place to find wikEd is at Wikedbox.

To port content using wikEd:

  • Copy and paste the formatted text into Wikedbox
  • Go to the edit box on Appropedia and paste (ctrl+c and ctrl+v).
  • 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 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.