mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +00:00
1e946a379d
Creating a different page preview for disambiguation pages. This patch: - modifies the Preview model to accept a new 'type' property - modifies the Restbase Gateway to pass the 'type' prop to the Preview model - creates a new template to accept both generic/disambig previews - modifies the renderer to render the new template - generates icons for new template through resource loader - adds new i18n strings - modifies event-logging "preview seen" event to send new "disambiguation" previewType - updates event logging schema version - adds tests for Preview model and renderer for new preview type - does way too much? yes, yes it does. Bug: T168392 Change-Id: Idc936cc3eabbdd99a3d98f43c66b4cdbb7d24917
32 lines
1.9 KiB
JSON
32 lines
1.9 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": []
|
|
},
|
|
"popups-message": "Page previews",
|
|
"popups-desc": "Displays previews when the user hovers over a page link",
|
|
"popups-redirects": "redirects to <h3>$1</h3>",
|
|
"popups-settings-title": "Page preview",
|
|
"popups-settings-description": "This tool lets you preview links to wiki pages and to references.",
|
|
"popups-settings-option-simple": "Enable",
|
|
"popups-settings-option-simple-description": "Get quick previews of a topic while reading a page.",
|
|
"popups-settings-option-advanced": "Advanced",
|
|
"popups-settings-option-advanced-description": "See link previews and access editing function menus. This is used by many editors.",
|
|
"popups-settings-option-off": "Disable",
|
|
"popups-settings-save": "Save",
|
|
"popups-settings-help-ok": "Done",
|
|
"popups-settings-cancel": "Cancel",
|
|
"popups-settings-help": "You can turn previews back on using a link in the footer of the page.",
|
|
"popups-settings-enable": "Enable previews",
|
|
"popups-send-feedback": "Send Feedback (external link)",
|
|
"popups-preview-no-preview": "There was an issue displaying this preview",
|
|
"popups-preview-footer-read": "Go to this page",
|
|
"popups-preview-disambiguation": "This title relates to more than one page",
|
|
"popups-preview-disambiguation-link": "View similar pages",
|
|
"prefs-reading": "Reading preferences",
|
|
"popups-prefs-optin-title": "Page previews\n\n<em>Get quick previews of a topic while reading a page</em>",
|
|
"popups-prefs-optin-enabled-label": "Enable",
|
|
"popups-prefs-optin-disabled-label": "Disable",
|
|
"popups-prefs-disable-nav-gadgets-info": "You have to [[$1 | disable Navigation Popups Gadget]] from Gadgets tab to enable Page Previews",
|
|
"popups-prefs-conflicting-gadgets-info": "Certain gadgets and other customizations may affect the performance of this feature. If you experience problems please review your gadgets and user scripts, including global ones."
|
|
}
|