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
39 lines
2.8 KiB
JSON
39 lines
2.8 KiB
JSON
{
|
||
"@metadata": {
|
||
"authors": [
|
||
"Shirayuki",
|
||
"Liuxinyu970226",
|
||
"Robby",
|
||
"Nemo bis",
|
||
"Mateon1",
|
||
"Mar(c)"
|
||
]
|
||
},
|
||
"popups-message": "Name shown in user preference for this extension",
|
||
"popups-desc": "{{desc|name=Popups|url=https://www.mediawiki.org/wiki/Extension:Popups}}",
|
||
"popups-redirects": "Unused at this time.\n\nMessage shown when the hovercard is showing a redirected page.\n\nParameters:\n* $1 - Redirect target page",
|
||
"popups-settings-title": "Title used for the setting's dialog",
|
||
"popups-settings-description": "Description for the setting's dialog",
|
||
"popups-settings-option-simple": "Title for the reader hovercard option\n{{Identical|Enable}}",
|
||
"popups-settings-option-simple-description": "Description for the reader hovercard option",
|
||
"popups-settings-option-advanced": "Title for the editor or navigation popups option\n{{Identical|Advanced}}",
|
||
"popups-settings-option-advanced-description": "Description for the editor or navigation popups option",
|
||
"popups-settings-option-off": "Title to turn off hovercards option.\n\nSee also:\n* {{msg-mw|Popups-settings-enable}}\n{{Identical|Disable}}",
|
||
"popups-settings-save": "Save buttton for the setting's dialoag\n{{Identical|Save}}",
|
||
"popups-settings-help-ok": "Confirmation button after showing how to re-enable hovercards.\n{{Identical|Done}}",
|
||
"popups-settings-cancel": "Cancel button for the setting's dialog\n{{Identical|Cancel}}",
|
||
"popups-settings-help": "Help text explaining how to re-enable previews",
|
||
"popups-settings-enable": "Link on the footer to enable hovercards if its disabled.\n\nSee also:\n* {{msg-mw|Popups-settings-option-off}}",
|
||
"popups-send-feedback": "Tooltip for the send feedback icon on the hovercard. Should mention that its an external link.\n{{Identical|Send feedback}}",
|
||
"popups-preview-no-preview": "The message shown to the user when a preview can't be generated.",
|
||
"popups-preview-footer-read": "The link shown to the user when a preview can't be generated.",
|
||
"popups-preview-disambiguation": "The description shown on a preview for a disambiguation page",
|
||
"popups-preview-disambiguation-link": "The link shown on a preview for a disambiguation page",
|
||
"prefs-reading": "Title for 'Reading preferences' section on preferences page",
|
||
"popups-prefs-optin-title": "Title for Page Previews option\n\n<em>Description for Page previews option</em>",
|
||
"popups-prefs-optin-enabled-label": "Label for Page Previews opt in\n{{Identical|Enable}}",
|
||
"popups-prefs-optin-disabled-label": "Label for Page previews opt out\n{{Identical|Disable}}",
|
||
"popups-prefs-disable-nav-gadgets-info": "Help message telling to disable Navigation Popups gadget in order to enable Page Previews.\n\nParameters:\n* $1 – Link to the Gadgets tab of Preferences",
|
||
"popups-prefs-conflicting-gadgets-info": "Help message informing about possible conflicts with other gadgets/customizations"
|
||
}
|