Спорт-вики — википедия научного бодибилдинга
MediaWiki:Common.js — различия между версиями
Admin (обсуждение | вклад) |
Ars (обсуждение | вклад) |
||
| Строка 30: | Строка 30: | ||
"sampleText": "ФАЙЛ"} | "sampleText": "ФАЙЛ"} | ||
} | } | ||
| + | |||
| + | <script type="application/ld+json"> | ||
| + | { | ||
| + | "@context": "http://schema.org", | ||
| + | "@type": "WebSite", | ||
| + | "url": "http://sportwiki.to/", | ||
| + | "potentialAction": { | ||
| + | "@type": "SearchAction", | ||
| + | "target": "http://sportwiki.to/index.php?search={search_term_string}", | ||
| + | "query-input": "required name=search_term_string" | ||
| + | } | ||
| + | } | ||
| + | </script> | ||
Версия 19:49, 21 августа 2015
/* Размещённый здесь JavaScript код будет загружаться всем пользователям при обращении к каждой странице */
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png",
"speedTip": "Ввод",
"tagOpen": "<br>",
"tagClose": "",
"sampleText": ""}
}
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png",
"speedTip": "Ссылка",
"tagOpen": "<ref>",
"tagClose": "</ref>",
"sampleText": "СЫЛКА"}
}
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1c/Button_advanced_image.png",
"speedTip": "Рисунок",
"tagOpen": "[[Image:",
"tagClose": "|300px|thumb|right|ОПИСАНИЕ]]",
"sampleText": "ФАЙЛ"}
}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "http://sportwiki.to/",
"potentialAction": {
"@type": "SearchAction",
"target": "http://sportwiki.to/index.php?search={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
