Jump to content

User:Qwerfjkl/scripts/encode

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Qwerfjkl (talk | contribs) at 21:44, 25 January 2022 (Remove cat). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This script gives a toolbox link 'Encode' to encode strings into their HTML entities e.g. &&.

encode
DescriptionScript for encoding strings
Author(s)Qwerfjkl
StatusStable
First releasedDecember 27, 2021; 3 years ago (2021-12-27)
UpdatedFebruary 9, 2022; 3 years ago (2022-02-09)
SkinsVector
SourceUser:Qwerfjkl/scripts/encode.js

Installation

red-outlined triangle containing exclamation point Warning: You are not logged in. Please create an account or log in to proceed. After installing the script, bypass the cache of the page.

Method 1

Click on the button below. If it doesn't appear after a few seconds, then try [1].

Install Button

Method 2

This can be used on any Wikimedia project.

  1. Place {{subst:iusc|1=User:Qwerfjkl/scripts/encode.js}} on the bottom of your common.js page or your skin.js page.
  2. Press Publish changes (ignore any error warnings).
Method 3

This can only be used on the English Wikipedia.

  1. Place {{subst:iusc|1=User:Qwerfjkl/scripts/encode.js}} on the bottom of your common.js page or your skin.js page.
  2. Press Publish changes (ignore any error warnings).