Manual talk:Interface/JavaScript/de

Saving of JS/CSS files

edit

If one edits a JS file and presses the save button, you will get redirected to the "Read"-view. This should not be the default behaviour for a JS file. This also applies to CSS files. Neither does one need a preview of the file itself, but of a wiki page using it. If the save button is clicked, one should stay at the page to do the next edit. Why should one want to read the JS/CSS file after an edit?

Wikitext parsing

edit

If your JS file includes strings containing wikitext language such as --~~~~ it will get parsed and replaced as expected on wiki pages. This should not be the default behaviour in a JS file.

You can use

 // <nowiki>
 /* JS goes here */
 // </nowiki>

to overcome this issue.

Return to "Interface/JavaScript/de" page.