উইকিঅভিধান:ব্যবহারকারী স্ক্রিপ্ট

উইকিঅভিধান ভিত্তিক

সম্পাদনা

প্রদর্শন শৈলী

সম্পাদনা
  • script titles[] (source) – Beautifies entry and talk page headers by adding script classes to them. This makes them display in more appropriate fonts and sometimes fixes jumbling of right-to-left characters. Buggy.
  • s to search[] (source) – Focuses the search input on pressing 's'.
  • gadgets definition[] (source) – Beautifies MediaWiki:Gadgets-definition and adds links to the relevant code and gadget message pages.
  • Custom Languages[] (source) – Displays only the language(s) that the user is interested in. Auto collapses all languages. The user can toggle any language(s) and the script remembers. Can't be use together with TabbedLanguages.

পাতা/ভুক্তি তৈরি

সম্পাদনা
  • nymReferer[] (source) - adds several parameters to redlinks so that after clicking it wikitext will be automatically filled with some initial text
  • Tbot (greenify)[] (source) - changes redlinks in translation tables to greenlinks enabling accelerated creation
  • Add auto cat[] (source) - On redlinked category pages, adds two links below the header that allow you to add {{auto cat}} and save the page, or add it and preview.

সম্পাদনা

সম্পাদনা

Scripts that add to or refine editors' toolsets.

  • expandASADRS[] (source) - helps you expand several headers (particularly "Alternative forms", "Synonyms", "Antonyms", "Derived terms", "Related terms", "See also").
  • Edittols character names[] (source) – adds tooltips showing the names of the non-ASCII characters in the Edittools box below the editing area

সমরৈখিক

সম্পাদনা
  • AddAudio[১০] (source) - facilitates recording and adding audio. As of yet works in Firefox only
  • AjaxEdit[১১] (source) - Inline editing of a section without the need to reload the whole page. Also does live previewing as you type.
  • Template parameters wizard[১২] (source) – Helps fill parameters of templates.
  • Autocomplete[১৩] (source) – Offers a popup suggestions menu whenever you start typing a link or template in the main edit box.
  • autocompleter[১৪] (source) – Tab-based, context-sensitive autocompletion of usernames, page titles, and more, directly in the edit window

প্রাকদর্শন

সম্পাদনা
  • ajaxPreview[১৫] (source) – Allows editing preview and changes without page reloading.
    An alternative is to turn on "Use live preview" option in Preferences, but it loads whole HTML so no performance gain is achieved. Also while previewing a page with Use live preview option, it won't show show/hide buttons in tables.
  • UniversalTransclusionPreviews[১৬] (source) – Preview transclusions from any namespace. No longer works.
  • templatePreview[১৭] (source) – Saves the name of the last page that you previewed using the "Preview page with this template" feature. Requires localStorage; sends an error message to the console if localStorage is not available in your browser.

পরিষ্করণ

সম্পাদনা
  • Strip it down. We only need subset of it.

অন্যান্য

সম্পাদনা

সম্পাদনা পার্থক্য

সম্পাদনা
  • inlineDiff[২৬] (source) – Adds buttons to each line on the Recent Changes screen, the watchlist, the contributions screen, and article history screens, allowing one to load (and show/hide after loading) an individual diff without moving to another page and view multiple diffs at once.
  • WhoDidThat?[২৭] (source) - Searches the last revision that did not include the selected text, thus shows the edit that introduced some text

ব্যবহারকারী পাতা

সম্পাদনা
  • userinfo (source) - Shows user groups, edit count, and time registered.

তালিকা

সম্পাদনা

নজর তালিকা

সম্পাদনা

ইতিহাস

সম্পাদনা

বিষয়শ্রেণী সমূহ

সম্পাদনা
  • Clean up Reconstructed categories[৪০] (source) – ReplacesReconstructed:language name/ with an asterisk in category pages containing reconstructed terms (such as Category:Proto-Indo-European nouns), making the list much easier to read.

সংযোগকারী পাতাসমূহ

সম্পাদনা
  • What links here filter[৪১] (source) – Adds an additional filter on What Links Here pages allowing you to, in effect, exclude pages transcluding given template.
    NOTE: very very slow.

সাম্প্রতিক পরিবর্তন

সম্পাদনা
  • GlobalRecentChanges[৪৩] (source) - Allows you to monitor recent changes across various wikis (*.wikimedia, *.wikipedia, *.wiktionary).
  • Hide unwanted categories[৪৪] (source) – Hides categories in Special:WantedCategories that have been crossed out (which indicates that they have either been created or no longer have any pages in them).
  • expandabledotjs[৪৫] (source) - using this and the template {{User:Dixtosa/expandable}} now it is supereasy to create expandable lists. The template also has prefix and suffix parameters. see it for details.
  • ScriptInstaller[৪৬] (source) – An automated installer for user scripts.
    • ScriptInstaller[৪৭] (source) – An improved version of the above script.
  • userscriptInterwikiLink[৪৮] (source) – Shows the line of code that can be inserted into common.js (supports interwiki links)

For more take a look at here.

These functions can be included directly in a script but don't do anything unless called by some other code. The functions marked as deprecated have been rendered obsolete by new features added to MediaWiki, and only exist now as wrappers for compatibility with existing code.

Documentation Summary
en:User:Dixtosa/XMLize.js (de)XMLization of wikitext. Good for wikitext processing.
morebits.js A collection of wiki-related functions (such as editing via the API and displaying Twinkle-style windows), maintained as part of Twinkle (but usable separately)

User scripts
User scripts are powerful customizations, authored by the community, that allow registered Wiktionarians to change Wiktionary's interface beyond the options available in preferences. This page provides a list of available scripts and instructions on installing them. User scripts are written in JavaScript.
  • Click here to skip directly to the script list.
  • Many of the most popular scripts become gadgets, and are subsequently removed from this page. You can enable them via Preferences - Gadgets. It is recommended that you check there first for any tool you might be looking for, since gadgets have been widely tested and proven useful and reliable.
  • Most scripts are designed and tested primarily with the Vector skin, Wiktionary's current default.

How to install user scripts: (Simple method for scripts located on English Wiktionary)
  1. First, make sure you are registered and logged in. Only logged-in users can install scripts.
  2. Click the superscript link next to the name of the script you want to install and follow the instructions in the footnote.
  3. If there is no superscript link next to the name of the script, then follow the link to the script's documentation and look for installation instructions there.
  4. After you copy the necessary code to your common.js file as instructed in the footnote/documentation, save the page and bypass your cache to make sure the changes take effect.

Automatic installer: Script Installer makes script installations fully automatic. The installer itself must first be installed manually. Afterwards, scripts can be installed with a single click.

টেমপ্লেট:tocright

This is a portal about user scripts. The main purpose of this page is to list all of the useful userscripts that exist. Feel free to add a new userscript.

If you want to request a userscript or discuss a development-related stuff or just have an idea refer to here.

  1. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Erutuon/scripts/scriptTitles.js}}
  2. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Swalladge/scripts/sToSearch.js}}
  3. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Erutuon/scripts/gadgets-definition.js}}
  4. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Betty/custom_languages.js}}
  5. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Dixtosa/nymReferer.js}}
  6. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Ruakh/Tbot.js}}
  7. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Erutuon/scripts/addAutoCat.js}}
  8. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Dixtosa/expandASADRS.js}}
  9. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Erutuon/scripts/Edittools-character-names.js}}
  10. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Yair rand/AddAudio.js}}
  11. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Dixtosa/AjaxEdit.js}}
  12. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:קיפודנחש/TemplateParamWizard.js}}
  13. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:ערן/autocomplete.js}}
  14. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Theopolisme/Scripts/autocompleter.js}}
  15. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Js/ajaxPreview.js}}
  16. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Equazcion/UniversalTransclusionPreviews.js}}
  17. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Erutuon/scripts/templatePreview.js}}
  18. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Dixtosa/minorEdits.js}}
  19. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:Wikipedia:AutoEd/basic.js}}
  20. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Joeytje50/AWB.js/load.js}}
  21. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Dixtosa/history.js}}
  22. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Erutuon/scripts/searchLang.js}}
  23. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Useigor/Gadget-Ledokol.js}}
  24. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:So9q/TranslationAdder-InputFiller.js}}
  25. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:So9q/FilterTranslations.js}}
  26. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Writ Keeper/Scripts/commonHistory.js}}
  27. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Dixtosa/WhoDidThat.js}}
  28. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Dixtosa/skipToPost.js}}
  29. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Dixtosa/catwatch.js}}
  30. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:MusikAnimal/customWatchlists.js}}
  31. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:UncleDouggie/smart watchlist.js}}
  32. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Js/watchlist.js}}
  33. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Equazcion/RemoveMarkAll.js}}
  34. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:קיפודנחש/watchlistMark.js}}
  35. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Kephir/gadgets/hollis.js}}
  36. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Dixtosa/unwatch.js}}
  37. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Erutuon/scripts/watchlistScriptTagging.js}}
  38. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Epicgenius/nothanks.js}}
  39. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Dixtosa/highlightme.js}}
  40. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Erutuon/scripts/reconstructedCategories.js}}
  41. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:V111P/js/wlhFilters.js}}
  42. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Markhurd/hidetopcontrib.js}}
  43. Copy the following code, click here, then paste:
    {{subst:iusc|1=meta:User:Dentonius/scripts/GlobalRecentChanges.js}}
  44. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Erutuon/scripts/hideUnwantedCategories.js}}
  45. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Dixtosa/expandable.js}}
  46. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Equazcion/ScriptInstaller.js}}
  47. Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Erutuon/scripts/ScriptInstaller.js}}
  48. Copy the following code, click here, then paste:
    {{subst:iusc|1=w:en:User:Dixtosa/userscriptInterwikiLink.js}}