feat: add icon and text for addsection action (#368)

This commit is contained in:
alistair3149 2021-05-05 13:08:37 -04:00
parent 782a3fab09
commit 87756194fb
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
4 changed files with 16 additions and 4 deletions

View file

@ -26,6 +26,8 @@
"citizen-footer-desc": "Edit this text on MediaWiki:Citizen-footer-desc", "citizen-footer-desc": "Edit this text on MediaWiki:Citizen-footer-desc",
"citizen-footer-tagline": "Edit this text on MediaWiki:Citizen-footer-tagline", "citizen-footer-tagline": "Edit this text on MediaWiki:Citizen-footer-tagline",
"citizen-action-addsection": "Add topic",
"citizen-jumptotop": "Back to top", "citizen-jumptotop": "Back to top",
"citizen-search-fulltext": "Search pages containing", "citizen-search-fulltext": "Search pages containing",

View file

@ -21,6 +21,7 @@
"citizen-drawer-search": "Placeholder and title text for search input on main menu", "citizen-drawer-search": "Placeholder and title text for search input on main menu",
"citizen-footer-desc": "Edit this text on MediaWiki:Citizen-footer-desc", "citizen-footer-desc": "Edit this text on MediaWiki:Citizen-footer-desc",
"citizen-footer-tagline": "Edit this text on MediaWiki:Citizen-footer-tagline", "citizen-footer-tagline": "Edit this text on MediaWiki:Citizen-footer-tagline",
"citizen-action-addsection": "Used in the Citizen skin. See for example {{canonicalurl:Talk:Main_Page|useskin=vector}}\n{{Identical|Add topic}}. Same as vector-action-addsection in Vector skin.",
"citizen-jumptotop": "Label for link to jump to top of page", "citizen-jumptotop": "Label for link to jump to top of page",
"citizen-search-fulltext": "Fulltext search suggestion", "citizen-search-fulltext": "Fulltext search suggestion",
"citizen-tagline-ns-talk": "Tagline for pages in talk namespace", "citizen-tagline-ns-talk": "Tagline for pages in talk namespace",
@ -37,4 +38,5 @@
"prefs-citizen-fontsize-label": "Label for the font size settings", "prefs-citizen-fontsize-label": "Label for the font size settings",
"prefs-citizen-pagewidth-label": "Label for the page width settings", "prefs-citizen-pagewidth-label": "Label for the page width settings",
"prefs-citizen-resetbutton-label": "Label for the reset button that restore default settings" "prefs-citizen-resetbutton-label": "Label for the reset button that restore default settings"
} }

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
<title>
add
</title>
<path d="M11 9V4H9v5H4v2h5v5h2v-5h5V9z"/>
</svg>

After

Width:  |  Height:  |  Size: 198 B

View file

@ -255,7 +255,7 @@
}, },
"skins.citizen.icons.ca": { "skins.citizen.icons.ca": {
"class": "ResourceLoaderImageModule", "class": "ResourceLoaderImageModule",
"selector": "#ca-{name} > *:after", "selector": "#ca-{name} > a:after",
"defaultColor": "#000", "defaultColor": "#000",
"images": { "images": {
"view": "resources/skins.citizen.icons/shared/article.svg", "view": "resources/skins.citizen.icons/shared/article.svg",
@ -269,6 +269,7 @@
"unprotect": "resources/skins.citizen.icons/shared/unLock.svg", "unprotect": "resources/skins.citizen.icons/shared/unLock.svg",
"watch": "resources/skins.citizen.icons/shared/eye.svg", "watch": "resources/skins.citizen.icons/shared/eye.svg",
"unwatch": "resources/skins.citizen.icons/shared/eyeClosed.svg", "unwatch": "resources/skins.citizen.icons/shared/eyeClosed.svg",
"addsection": "resources/skins.citizen.icons/shared/add.svg",
"talk": "resources/skins.citizen.icons/shared/discussion.svg", "talk": "resources/skins.citizen.icons/shared/discussion.svg",
"nstab-main": "resources/skins.citizen.icons/shared/article.svg", "nstab-main": "resources/skins.citizen.icons/shared/article.svg",
"translate": "resources/skins.citizen.icons/shared/language.svg" "translate": "resources/skins.citizen.icons/shared/language.svg"
@ -285,7 +286,7 @@
}, },
"skins.citizen.icons.n": { "skins.citizen.icons.n": {
"class": "ResourceLoaderImageModule", "class": "ResourceLoaderImageModule",
"selector": "#n-{name} > *:after", "selector": "#n-{name} > a:after",
"defaultColor": "#000", "defaultColor": "#000",
"images": { "images": {
"mainpage-description": "resources/skins.citizen.icons/shared/home.svg", "mainpage-description": "resources/skins.citizen.icons/shared/home.svg",
@ -296,7 +297,7 @@
}, },
"skins.citizen.icons.t": { "skins.citizen.icons.t": {
"class": "ResourceLoaderImageModule", "class": "ResourceLoaderImageModule",
"selector": "#t-{name} > *:after", "selector": "#t-{name} > a:after",
"defaultColor": "#000", "defaultColor": "#000",
"images": { "images": {
"whatlinkshere": "resources/skins.citizen.icons/shared/whatlinkshere.svg", "whatlinkshere": "resources/skins.citizen.icons/shared/whatlinkshere.svg",
@ -314,7 +315,7 @@
}, },
"skins.citizen.icons.pt": { "skins.citizen.icons.pt": {
"class": "ResourceLoaderImageModule", "class": "ResourceLoaderImageModule",
"selector": "#pt-{name} > *:after", "selector": "#pt-{name} > a:after",
"defaultColor": "#000", "defaultColor": "#000",
"images": { "images": {
"mytalk": "resources/skins.citizen.icons/shared/userTalk.svg", "mytalk": "resources/skins.citizen.icons/shared/userTalk.svg",