User talk:Psephomancy: Difference between revisions
Psephomancy (talk | contribs) (→Ask about Wikipedia cite templates: Reply to User:Kristomun) |
Psephomancy (talk | contribs) No edit summary |
||
Line 37: | Line 37: | ||
— [[User:Psephomancy|Psephomancy]] ([[User talk:Psephomancy|talk]]) 15:31, 5 February 2020 (UTC) |
— [[User:Psephomancy|Psephomancy]] ([[User talk:Psephomancy|talk]]) 15:31, 5 February 2020 (UTC) |
||
... and Template:Stub doesn't even have any text in it, it just depends on Template:Asbox, which has "Wikipedia" hardcoded into it somewhere and I don't have time to do this right now so I just reverted it. — [[User:Psephomancy|Psephomancy]] ([[User talk:Psephomancy|talk]]) 15:40, 5 February 2020 (UTC) |
|||
== Links and references == |
== Links and references == |
Revision as of 15:40, 5 February 2020
Ask about Wikipedia cite templates
Could you import more cite templates from Wikipedia? I was thinking of cite:arXiv in particular (so I could properly cite the PAMSAC article), but others may be useful too. I'm not familiar with the nitty-gritty of Wikipedia programming, so I don't know what would have to be copied over. Kristomun (talk) 14:46, 29 January 2020 (UTC)
- Yes, I've been meaning to import some more. Do you want to start a list?
- Actually Special:WantedTemplates has the ones that people have tried to use but don't currently exist. I was going to add Template:Clarify Template:Cleanup Template:Redundant Template:Who — Psephomancy (talk) 17:29, 29 January 2020 (UTC)
- I don't want to start using the templates before they're there. So I'd say Template:Cite_arXiv and a general stub template (Wikipedia has lots, but we could probably make do with a single one for everything for now). Could you also change the "doi:" link on cites with a doi tag to go to Wikipedia's doi article? It currently points to a nonexistent article here. Kristomun (talk) 16:48, 4 February 2020 (UTC)
- Template:Stub already exists, no?
- I thought that was just part of the page because it didn't have any additional formatting (e.g. icon like Wikipedia's stub templates). I've made a suggestion for a stub template with an icon here: User:Kristomun/Template:Stub, but it appears it needs a script, Module:Asbox, to work - I can't just copy over Template:Asbox from Wikipedia. Could you import Module:Asbox, or is it a simple matter of just copying the source from Wikipedia's module article over to a module article with the same name here? Kristomun (talk) 11:44, 5 February 2020 (UTC)
- doi should work now. You can make interwiki redirects to Wikipedia. — Psephomancy (talk) 02:44, 5 February 2020 (UTC)
Oh I added Template:Cite arXiv, but it requires a bot to complete the citation? That won't work here. — Psephomancy (talk) 03:07, 5 February 2020 (UTC)
Importing templates is finicky. I basically followed these instructions:
- Go to https://en.wikipedia.org/wiki/Special:Export
- In "Add pages manually:", add the
Template:Name
(Probably best to only do one template at a time) - Select all of "Include only the current revision, not the full history", "Include templates", and "Save as file"
- An XML file will be downloaded
- Go to https://electowiki.org/wiki/Special:Import
- Click "Browse" and find the .xml file
- Enter an interwiki prefix from https://electowiki.org/wiki/Special:Interwiki for rewriting links to point to the original wiki. (I could swear there was a
wikipediawikipedia
prefix yesterday, which would point to en.wikipedia's Wikipedia: namespace, but now I don't see it?) - Add an edit comment, which will show up in the Import log and the edit history of the page.
- Select "Import to default locations"
- Press "Upload file"
- It will list "Importing pages..." and each imported page, explaining whether and why it was imported, and then "Import finished!" (hopefully)
- 'After it has been imported open the template for editing, check the list below the edit box "Pages transcluded onto the current version of this page:". If there are any red links repeat the above steps for these templates as well. You might also need to copy styles in MediaWiki:Common.css page and Javascript in MediaWiki:Common.js before everything works. Finally edit the templates to customize for your wiki.'
I just tried this with Template:Stub
— Psephomancy (talk) 15:31, 5 February 2020 (UTC)
... and Template:Stub doesn't even have any text in it, it just depends on Template:Asbox, which has "Wikipedia" hardcoded into it somewhere and I don't have time to do this right now so I just reverted it. — Psephomancy (talk) 15:40, 5 February 2020 (UTC)
Links and references
I've found https://tools.wmflabs.org/citer/citer.fcgi quite useful for creating Wiki-type references. Could we somehow draw new editors' attention to this so that links are more likely to be references/citations than just plain URL links? Is there any way to automatically find stale/dead links and flag them, as well? Presumably Wikipedia has something like the latter to keep links current. Kristomun (talk) 17:04, 4 February 2020 (UTC)
- That's great! I've been using Wikipedia's sandbox to generate the links in VisualEditor and then copy and paste them into Electowiki's VisualEditor. I think we need to make a EW-specific Help page... — Psephomancy (talk) 02:44, 5 February 2020 (UTC)
Electowidget
Is Electowidget still part of this wiki? Kristomun (talk) 20:39, 4 February 2020 (UTC)
- You can ask User:RobLa about that. — Psephomancy (talk) 02:44, 5 February 2020 (UTC)
- Thanks for the ping, User:Psephomancy. My answer for User:Kristomun: Electowidget in it's old form was effectively mothballed around 2013-ish. I fiddled around with creating a Lua-based replacement, but my Lua skills aren't up to the the task yet. Still, I think a Lua-based rewrite has the most long term viability. -- RobLa (talk) 14:50, 5 February 2020 (UTC)