Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7406389
BacklinkSettings.vue
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
BacklinkSettings.vue
View Options
<template>
<h3>{{ $i18n( 'cite-configuration-backlink-title' ).text() }}</h3>
<p>{{ $i18n( 'cite-configuration-backlink-description' ).text() }}</p>
<p v-if="cldrAlphabet">
{{ $i18n( 'cite-configuration-backlink-alpha-suggestion' ).text() }}
</p>
<cdx-field v-if="cldrAlphabet">
<cdx-text-input v-model="cldrAlphabetText" readonly></cdx-text-input>
</cdx-field>
<cdx-field>
<cdx-text-area
v-model="backlinkAlphabetText"
placeholder="a b c d e f g h i j k l m n o p q r s t u v w x y z"
@input="newValue"
></cdx-text-area>
<template #label>
{{ $i18n( 'cite-configuration-backlink-marker-label' ).text() }}
</template>
<template #description>
{{ $i18n( 'cite-configuration-backlink-marker-description' ).text() }}
</template>
<template #help-text>
{{ $i18n( 'cite-configuration-backlink-marker-help' ).text() }}
</template>
</cdx-field>
</template>
<script>
const { ref } = require( 'vue' );
const { CdxField, CdxTextInput, CdxTextArea } = require( '../codex.js' );
// @vue/component
module.exports = exports = {
components: {
CdxField,
CdxTextInput,
CdxTextArea
},
props: {
backlinkAlphabet: { type: String, required: true },
cldrAlphabet: { type: String, required: true }
},
emits: [ 'update' ],
setup( props ) {
return {
backlinkAlphabetText: ref( props.backlinkAlphabet ),
cldrAlphabetText: props.cldrAlphabet.join( ' ' ).toLowerCase()
};
},
methods: {
newValue() {
this.$emit( 'update', this.backlinkAlphabetText );
}
}
};
</script>
File Metadata
Details
Attached
Mime Type
text/html
Expires
Sat, Nov 21, 20:22 (1 d, 9 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
cd/9e/fa4300a817a12a1b27039f7c5ac2
Default Alt Text
BacklinkSettings.vue (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment