Kyrkosok / web-client

The Kyrksök website.
https://kyrksok.se/
GNU General Public License v3.0
4 stars 11 forks source link

Add campaign on Wikimedia Commons to recieve images #24

Closed Ainali closed 2 years ago

Ainali commented 7 years ago

We need to setup a campaign on Wikimedia Commons. We have commons cat, and id for the template bbr in the url-parameter we use (from issue #23). A good name for the campaign would be kyrksok.

Ainali commented 7 years ago

@lokal-profil Can you help us with the campaign? It is very similar to the Wiki Loves Monuments campaigns (all objects are churches).

Abbe98 commented 7 years ago

This is currently a blocker for #23 and #25

lokal-profil commented 7 years ago

OK so what I would need is for you to fill out the missing bits in the template below (you can use wlm-se-bbr and ÖDOK as a guide).

Also will you always provide bbr complex ids (anläggningsid) or might it be building ids instead?

The template below restricts the license choice to simplify the process. Let me know if that is not what you want

{
    "enabled": true,
    "title": "<title>",
    "display": {
        "headerLabel": "<header>",
        "thanksLabel": "<thanks>"
    },
    "defaults": {
        "categories": [
            "<default category>"
        ]
    },
    "licensing": {
        "ownWorkDefault": "own",
        "ownWork": {
            "licenses": [
                "cc-by-sa-4.0"
            ]
        }
    },
    "fields": [
        {
            "wikitext": "{{BBR|1=$1",
            "label": "<bbr id label>",
            "required": true
        },
        {
            "wikitext": "|2=$1}}",
            "label": "<bbr type label>",
            "required": true
        }
    ],
    "tutorial": {
        "skip": true
    }
}
Abbe98 commented 7 years ago

Actually kyrksok sometimes have complex id;s and sometimes just building ones...

2016-10-31 12:59 GMT+01:00 André Costa notifications@github.com:

OK so what I would need is for you to fill out the missing bits in the template below (you can use wlm-se-bbr https://commons.wikimedia.org/w/index.php?title=Campaign:wlm-se-bbr&action=edit and ÖDOK https://commons.wikimedia.org/w/index.php?title=Campaign:%C3%96DOK&action=edit as a guide).

Also will you always provide bbr complex ids (anläggningsid) or might it be building ids instead?

  • is optional (the images will automatically be categorised as uploaded through the campaign).
  • is the text which would be displayed when you visit the Campaign to look at the uploaded images. </li> <li> <header> and <thanks> are displayed when/after you are uploading images. These are normally i18n enabled templates. </li> </ul> <p>The template below restricts the license choice to simplify the process. Let me know if that is not what you want</p> <p>{ "enabled": true, "title": "<title>", "display": { "headerLabel": "<header>", "thanksLabel": "<thanks>" }, "defaults": { "categories": [ "<default category>" ] }, "licensing": { "ownWorkDefault": "own", "ownWork": { "licenses": [ "cc-by-sa-4.0" ] } }, "fields": [ { "wikitext": "{{BBR|$1|a}}", "label": "{{int:Mwe-upwiz-campaigns-wlm-se-bbr-id}}" } ], "tutorial": { "skip": true } }</p> <p>— You are receiving this because you commented. Reply to this email directly, view it on GitHub <a href="https://github.com/Kyrkosok/web-client/issues/24#issuecomment-257276267">https://github.com/Kyrkosok/web-client/issues/24#issuecomment-257276267</a>, or mute the thread <a href="https://github.com/notifications/unsubscribe-auth/ACgoJxHZmtQwqyCpigA_0MSi5geR69zYks5q5dgmgaJpZM4KhkYp">https://github.com/notifications/unsubscribe-auth/ACgoJxHZmtQwqyCpigA_0MSi5geR69zYks5q5dgmgaJpZM4KhkYp</a> .</p> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/lokal-profil"><img src="https://avatars.githubusercontent.com/u/4129218?v=4" />lokal-profil</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>Then you would need to pass both the id and the type ("a" or "b") to the campaign (I did a similar thing in the ÖDOK campaign.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Abbe98"><img src="https://avatars.githubusercontent.com/u/2631719?v=4" />Abbe98</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>For the new URI;s that's not a issue but for the old ones I might need to add a type column to the database and retrive it from the indexing script...</p> <p>2016-10-31 15:02 GMT+01:00 André Costa notifications@github.com:</p> <blockquote> <p>Then you would need to pass both the id and the type ("a" or "b") to the campaign (I did a similar thing in the ÖDOK campaign.</p> <p>— You are receiving this because you commented. Reply to this email directly, view it on GitHub <a href="https://github.com/Kyrkosok/web-client/issues/24#issuecomment-257301532">https://github.com/Kyrkosok/web-client/issues/24#issuecomment-257301532</a>, or mute the thread <a href="https://github.com/notifications/unsubscribe-auth/ACgoJ2isXt663Vu3PqY6GL-TgLi-gq92ks5q5fURgaJpZM4KhkYp">https://github.com/notifications/unsubscribe-auth/ACgoJ2isXt663Vu3PqY6GL-TgLi-gq92ks5q5fURgaJpZM4KhkYp</a> .</p> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/lokal-profil"><img src="https://avatars.githubusercontent.com/u/4129218?v=4" />lokal-profil</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>I updated the template to take into account the two parts of the id. What I would need from you to take this further are all of the <code><entries></code>. They should be either in English or better yet multilingual.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Abbe98"><img src="https://avatars.githubusercontent.com/u/2631719?v=4" />Abbe98</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p><code><entries></code> would be the filename?</p> <p>I will start distinguish building and facility id;s in different columns when indexing, it's probably a few hours of work because I would like to improve the coverage of both types in Wikidata too. It would make it easier to support both this and WLM in the future...</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/lokal-profil"><img src="https://avatars.githubusercontent.com/u/4129218?v=4" />lokal-profil</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>Sorry with <code><entries></code> I meant every single entry in my template above which I surrounded by <code><></code> brackets. So the help texts/titles/banners etc. to show to users. </p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Abbe98"><img src="https://avatars.githubusercontent.com/u/2631719?v=4" />Abbe98</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>Okey, I'm afraid this is a task for my winter holidays or a very long train trip...</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Ainali"><img src="https://avatars.githubusercontent.com/u/5566159?v=4" />Ainali</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>Jag tror att vi kan hoppa över i18n-mallade meddelanden just nu eftersom att det enda stället vi har länkarna är från ett gränssnitt på svenska. När vi utökar det till fler språk bör vi såklart fixa det. Här kommer mitt försök till entries. "title": Kyrkor "headerLabel": Ladda upp dina bilder på kyrkor. "thanksLabel": Tack för att du har laddat upp kyrkbilder till Wikimedia Commons! "categories": Images uploaded through Kyrksök</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/lokal-profil"><img src="https://avatars.githubusercontent.com/u/4129218?v=4" />lokal-profil</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>Good if you can write something for the last two then I'll try to put it up later this week.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Abbe98"><img src="https://avatars.githubusercontent.com/u/2631719?v=4" />Abbe98</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>I guess <code><bbr id label></code> and <code><bbr type label></code> could be equal to the ones in WLM?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/lokal-profil"><img src="https://avatars.githubusercontent.com/u/4129218?v=4" />lokal-profil</a> commented <strong> 7 years ago</strong> </div> <div class="markdown-body"> <p>That was my first thought but wlm assumes "anläggning" and so there is only one parameter which explicitly mentions that.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Ainali"><img src="https://avatars.githubusercontent.com/u/5566159?v=4" />Ainali</a> commented <strong> 3 years ago</strong> </div> <div class="markdown-body"> <p>Ping @lokal-profil: do you need any more information to complete this?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/Abbe98"><img src="https://avatars.githubusercontent.com/u/2631719?v=4" />Abbe98</a> commented <strong> 2 years ago</strong> </div> <div class="markdown-body"> <p>Closed by <a href="https://phabricator.wikimedia.org/T299915">T299915</a>.</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>