User talk:Psephomancy

From electowiki

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:WhoPsephomancy (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)

Whoops, didn't know that. Kristomun (talk) 11:44, 5 February 2020 (UTC)

Importing templates is finicky. I basically followed these instructions:

  1. Go to https://en.wikipedia.org/wiki/Special:Export
  2. In "Add pages manually:", add the Template:Name (Probably best to only do one template at a time)
  3. Select all of "Include only the current revision, not the full history", "Include templates", and "Save as file"
  4. An XML file will be downloaded
  5. Go to https://electowiki.org/wiki/Special:Import
  6. Click "Browse" and find the .xml file
  7. 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?)
  8. Add an edit comment, which will show up in the Import log and the edit history of the page.
  9. Select "Import to default locations"
  10. Press "Upload file"
  11. It will list "Importing pages..." and each imported page, explaining whether and why it was imported, and then "Import finished!" (hopefully)
  12. '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. Wikipedia templates have a rat's nest of dependencies which make them far more complicated than we need them to be. It's not as simple as copying the HTML and CSS of the template and having it work fine here. — Psephomancy (talk) 15:40, 5 February 2020 (UTC)

That seems to be w:Module:Asbox under function p.main Kristomun (talk) 17:23, 5 February 2020 (UTC)

I don't have permission to import things with https://electowiki.org/wiki/Special:Import. Could you import w:Template:db-user? Kristomun (talk) 16:30, 6 February 2020 (UTC)

No longer as important as I found out how one's supposed to move pages. Kristomun (talk) 21:18, 6 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)
Should we then remove or move the Electowidget pages until such a rewrite happens? Kristomun (talk) 15:05, 5 February 2020 (UTC)
User:Kristomun: yes, that would be fine. I redirected many of the pages over to User:RobLa/Electowidget. It'd probably be best to take conversation about the Electowidget over to User_talk:RobLa/Electowidget. -- RobLa (talk) 04:33, 6 February 2020 (UTC)

Not noticing there's a move option

Looks like I did the FAB->MCAB rename incorrectly. Could you move User:Kristomun/Floating Approval Bucklin to Maximum Constrained Approval Bucklin‎, delete User:Kristomun/MCAB duplicate, and delete this particular revision: https://electowiki.org/w/index.php?title=User:Kristomun/Floating_Approval_Bucklin&oldid=7450 ? Kristomun (talk) 21:17, 6 February 2020 (UTC)

I moved/deleted the pages. The revision can't be deleted, though parts of it can be hidden, but it's not normal to do that on Wikipedia unless there's a serious problem like copyright violation, doxxing, etc. I assume we'll do the same here? — Psephomancy (talk) 06:14, 7 February 2020 (UTC)
I agree, following Wikipedia's guidelines is a good thing to do. Disregard my request to delete the revision :-) Kristomun (talk) 11:55, 7 February 2020 (UTC)

Criterion compliance logic

Talk:Distributed_Score_Voting led me to think about criterion compliance tables. Would it be possible to add logic to a wiki so that e.g. if we know that monotonicity, LNHelp, LNHarm, and mutual majority are incompatible, then if someone adds to a method's page that this method passes the latter three, the system automatically adds that the method is not monotone?

Or would it be possible to add tags that say "this method is monotone" and then have a big comparison of methods page/table that automatically updates itself for every method, filling in whether the method is monotone, not monotone, or its monotonicity status is unknown? Then if we have a policy that criterion compliance claims must be referenced or proven, we'd get a better comparison of methods page than the one on Wikipedia.

But perhaps this requires additional software that would be hard to combine with the existing Miraheze platform, e.g. https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki or https://stackoverflow.com/questions/1854794/. Hence my question. Kristomun (talk) 10:17, 8 February 2020 (UTC)

I was hoping categories could serve some purposes like this (Electowiki:Help#Dynamic_page_Lists), but I think they're not powerful enough.
meta:Extensions says "Semantic MediaWiki – alters MediaWiki too much, use Cargo instead"
mw:Extension:Cargo
mw:Extension:Wikibase_Client is also available. Would either of those do what you want? (We can turn on any of the extensions on meta:Extensions with a few clicks.) — Psephomancy (talk) 19:37, 8 February 2020 (UTC)