ह्या लेखाचा/विभागाचा इंग्रजी किंवा अमराठी भाषेतून मराठी भाषेत भाषांतर करावयाचे बाकी आहे. अनुवाद करण्यास आपलाही सहयोग हवा आहे. ऑनलाईन शब्दकोश आणि इतर सहाय्या करिता भाषांतर प्रकल्पास भेट द्या.


AutoEd is a user script that helps to automatically make certain changes in articles, and it also allows for easy design, use, and customization of user scripts related to automated article cleanup. It is based on CodeFixer, Plastikspork's script, and Formatter, but allows for further customization and the easier creation of new functions. It is currently maintained primarily by Drilnoth and Plastikspork.

Installation guide संपादन

AutoEd ची उभारणी करणे फारच सोपे आहे व त्यात तांत्रिक कौशल्याची गरज नाही. ज्याप्रमाणे आपण कोणत्याही पाककृती पासून एखादा खाद्यपदार्थ बनवू शकता त्याप्रमाणे आपण ही स्क्रिप्ट टाकू शकता. निर्देश खाली दिले आहेत.जर आपण जास्त उत्सुक असाल तर इंग्रजी विकिच्या या चर्चापानावर मदत मागा.

To add AutoEd script ऑटोएड स्क्रिप्ट जोडण्यासाठी:

  1. विकिपीडियावर प्रवेश करा. (हा फिचर फक्त नोंदणीकृत सदस्यांसाठीच आहे.)
  2. याची खात्री करून घ्या कि आपला न्याहाळक(ब्राऊजर) जावास्क्रिप्टला सहाय्यीभूत आहे.जर आपण अनेक दशकांपूर्वीचा न्याहाळक वापरत असाल किंवा जर आपण जावास्क्रिप्ट 'अक्षम' केली असेल तरच, अन्यथा, आपणास काही करण्याची गरज नाही.
  3. आपल्या common.js पानावर जा.
    • तज्ञ सदस्य हे एखादी विशेष 'स्किन' सक्रिय असतांनाच AutoEd सक्रिय करू इच्छित असतील,तर त्यांनी .js पानावर जाण्यास, विशेष:MyPage/skin.js वर जावे किंवा माझ्या पसंतीतील देखावा मधल्या सर्व .js कळी दर्शविणारी यादी बघावी.
  4. उघडलेल्या पानावर संपादन करा ही कळ टिचका.
  5. खालील कोड तेथे जोडावा व ते पान जतन करावे: importScript('Wikipedia:AutoEd/complete.js');
    • याने AutoEd च्या सर्व क्रिया सक्रिय होतील. जर आपणास त्यापैकी काहीच हव्या असतील तर § Customization हा खालील विभाग बघा.
  6. कोणत्याही अविशिष्ट लेखावर जा व bypass your cache करा. वरचे बाजूस असलेल्या'अधिक' या निपतन मेन्यूखाली आपणास "auto ed" ही नवीन प्रविष्टी दिसेल. ही प्रविष्टी, पानाचे दोन्ही : वाचन व संपादन स्थितीत, दिसावयास हवी.

This script can aid in making edits by using regular expressions to replace certain lines of text (typically errors) in articles with other, correct lines of text. The main setup creates a single tab at the top of the page entitled "auto ed". Clicking this tab will open the editform (if it isn't already open) and run the script, making various fixes depending on what modules you are using, and finally clicking the "diff" button so that you can see the changes. Right now the modules are very limited and customization isn't fully implemented, but the presets described below present an easy way to use the script without needing to know JavaScript or understanding the technical details of the script.

Customization संपादन

विकिपीडिया:AutoEd/Customization will contain details on how to customize this script and create new modules and presets. It is not yet completed, but currently contains some basic information about variables and choosing your own modules which may be useful.

wikEd संपादन

AutoEd is also compatible with wikEd. For it to function properly, however, you need to add the following to your monobook.js page. This disables the diff page from opening automatically, but at this time is required in order for AutoEd's changes to be made correctly in wikEd.

autoEdClick = false;

Although each user can customize AutoEd to fit their personal tastes, and can even use its core coding to help build other scripts, AutoEd has a number of "preset" customizations which can be used without any knowledge of JavaScript. So far the "basic", "wikichecker", "formatter", and "complete" presets have been created, although what they do will continue to expand and more presets can be created by any user or upon request.

To install a preset, just add the code given in each section to your monobook.js page (if you're using a different skin, you probably know what to do) and purge your cache by following the instructions on that page. The script should then be installed and ready for use; if it doesn't seem to be working, please mention this on the talk page so that we can try to fix it.

Basic संपादन

The "basic" preset serves to clean up various problems with wikitext, headlines, templates, and ISBNs.

importScript('Wikipedia:AutoEd/basic.js');

Once installed, the "auto ed" tab should appear on all non-talk pages. Clicking it will run the following fixes:

  • HTML entities like Ö will be replaced with their unicode characters like Ö.
  • Some headline names will be fixed to comply with the manual of style (e.g., "Weblinks" becomes "External links")
  • HTML code like <i> or <h1> will be replaced with the equivalent wikitext.
  • <br> HTML tags will be fixed to use correct HTML or XHTML syntax.
  • A space will be added before the slash in <references /> so that it looks more like backward-compatible XHTML.[१]
  • The unneeded "Template:" prefix will be removed from template names.
  • Unicode control characters will be removed. These characters are hard to remove by hand because they all "invisible", but they can cause problems and unnecessarily increase the page's size.
  • ISBNs will be modified to allow WikiMagic to work. See WP:ISBN and सहाय्य:Magic#ISBN for details.
  • Some wikilinks will be simplified. For example, [[dog|dogs]] becomes [[dog]]s. Wikilinks which link to the current article are also removed.
  • Redirects to {{संदर्भयादी}} are changed to actually use the main {{संदर्भयादी}} template (this can help certain scripts which don't detect the redirects as being the same as the main template).
  • Substituted {{संदर्भयादी}} templates are replaced with the non-substituted version.
  • Bold text is removed from the beginning and end of headlines; this is typically unnecessary formatting.
  • Colons are removed from the end of headlines; it is typically bad form to have a colon after the section name to "introduce" the section's main text.

If you want, you can view the code for this preset at विकिपीडिया:AutoEd/basic.js

Formatter संपादन

This preset is designed to function as a replacement for the Formatter script, and it includes most all of the functions of that script, plus a few more.

importScript('Wikipedia:AutoEd/formatter.js');

This script features all of the functions of the basic script except for template and ISBN cleanup, along with the following:

  • Whitespace is cleaned up.

It also differs from the basic version because the name of the tab at the top of the screen is changed to "format".

The code for this preset can be viewed at विकिपीडिया:AutoEd/formatter.js.

Wikichecker संपादन

This preset is designed to fix as many of the errors listed at विकिपीडिया:WikiProject Check Wikipedia as is possible for a semi-automated script.

importScript('Wikipedia:AutoEd/wikichecker.js');

This script features all of the functions of the basic script along with the following:

  • HTML tables will be converted to wikitables. This change often needs fine-tuning to make sure that there aren't any problems, which is why it isn't included in the basic script.
  • <br> tags will be removed from the ends of image descriptions, wikilinks, and templates, and when they are at the end of lines in bulleted lists. This change can sometimes cause errors so more detailed manual checking is needed than with some fixes.

It also differs from the basic version because it provides a link in the automatic edit summary to the WikiProject Check Wikipedia page and the name of the tab at the top of the screen is changed to "check".

The code for this preset can be viewed at विकिपीडिया:AutoEd/wikichecker.js.

Complete संपादन

This preset does just what it sounds like it should: It contains almost all of the modules created for AutoEd. The only current exception is Fullwidth, which has a higher-than-normal number of false positives. You can still use this module by following the instructions at विकिपीडिया:AutoEd/Customization.

importScript('Wikipedia:AutoEd/complete.js');

The code for this preset can be viewed at विकिपीडिया:AutoEd/complete.js.

Community संपादन

This table lists the core community "modules" available for use.

Module Basic Formatter WikiChecker Complete Description
ExtraBreaks नाही नाही होय होय Removes some extra <br> and <br /> tags
Fullwidth नाही नाही नाही नाही Replaces "fullwidth" characters with normal characters
Headlines होय होय होय होय Cleans up headline names and syntax
HTMLToWikitext होय होय होय होय Converts HTML code to corresponding wikitext
ISBN होय नाही होय होय Fixes ISBN links to allow WikiMagic to work
Links होय होय होय होय Cleans up some common problems with external links
TablesToWikitext नाही नाही होय होय Converts HTML tables to wikitables (usually needs additional editing to make sure that there aren't errors).
Templates होय नाही होय होय Cleans up some template syntax
UnicodeControlChars होय होय होय होय Removes "invisible" unicode control characters
UnicodeHex नाही नाही नाही होय Converts hex encoded characters in wikilinks to unicode
Unicodify होय होय होय होय Converts HTML entities to unicode characters
Whitespace नाही होय नाही होय Adds and removes whitespace in certain locations
Wikilinks होय होय होय होय Cleans up and simplifies internal links