User:Mcint/WikiMaxxing: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
(→‎Trying out: links & interwiki)
Line 25: Line 25:


* In editing or browsing context: Toggle watchlist with <code>ctrl-opt-w</code>.
* In editing or browsing context: Toggle watchlist with <code>ctrl-opt-w</code>.
== Links ==
[[mw:Help:Links|Help:Links]]
=== Interwiki ===
[[Special:Interwiki]]. Allowing short links to other wikis, for example (mouseover or click) [[mw:]], [[wp:]], [[mw:Interwiki]], [[arxiv:2306.03423]], [[wp:Noisebridge]]


== Idioms ==
== Idioms ==

Revision as of 18:13, 8 June 2023

I'm on-boarding myself to more extensive wiki use. I've come across some features on Wikipedia that make it more a of delight to use and navigate. I'd like to document those features here (separated, or tagged by reader vs. editor benefitting), and encourage others to try them out.

Note well

Recommendations

Hello other users of the wiki!

I recommend, in Special:Preferences#mw-prefsection-gadgets, the Navigation popups and section link (URL fragment) gadgets, to help you get around more easily and link more precisely for others.

If you're going to edit the wiki frequently, there's a "double-click to edit" preference as well, and an EditTop gadget for editing just the lead section, the introductory section rendered above the table of contents any headers, and appearing before the first = header #1 = in the [Help:WikiText wikitext].

Differences

https://www.mediawiki.org/wiki/Differences_between_Wikipedia,_Wikimedia,_MediaWiki,_and_wiki

Preferences

  • Auto-number sections
  • (TODO: links to section head from self, not just from page's table of contents).

Trying out

Shortcuts

  • When editing, with editor open: ctrl-opt-p - preview, ctrl-opt-s - save, (ctrl-opt-v - show changes/diff)
  • When browsing, go to your own userpage: Special:Mypage with ctrl-opt-..
  • In editing or browsing context: Toggle watchlist with ctrl-opt-w.

Links

Help:Links

Interwiki

Special:Interwiki. Allowing short links to other wikis, for example (mouseover or click) mw:, wp:, mw:Interwiki, arxiv:2306.03423, wp:Noisebridge

Idioms

Code - not quite quoting

  • For code, literal or copyable text, or config files, useful variants include:
<tt> <code>
<pre>

Folding

  • Collapsable: <div class="mw-collapsible">...</div>
  • Collapsed, i.e. default closed: <div class="mw-collapsible mw-collapsed">...</div>
  • Collapsed, subsection visible: <div class="mw-collapsible mw-collapsed">[visible]<span class="mw-collapsible-content">[hidden]</span></div>. (In my opinion, div/span > div/div. Flashes on load, but placeholds 1 line).

Linking to sources:

Quoting: Quote template & Blockquote html

mw:Template:Quote

nowiki (quoting)

<nowiki>something in wiki or template syntax</nowiki>

Gadgets

Pages for testing, viewing, & changing your experience:

Try yourself

You can add your own, via your Special:Mypage/common.js (or Special:Mypage/global.js). JS was enabled for the wiki per MW Manual with $wgAllowUserJs = true;

Enable for all

...

Relevant links, open these first. Note Namespaces / Prefixes and Gadget(s). In order least-to-most sensitive:

Constituents of Gadget-vector-headanchor, as an example:

Instructions:

  • Find Gadget worth trying on another wiki. MediaWiki & Wikipedia have numerous and well-used samples.
  • (Try it via the person route above User:Mcint/WikiMaxxing#Try_yourself. If you like it, and think it should be shared, talk it over in Slack#wiki or Discord# ? metaguild?, and continue.)
  • Open Special:Gadgets
    • Copy definition string from other wiki's Special:Gadgets into this one, Special:Gadgets.
    • Follow the new linked definition files and create the pages, copying over the contents.
    • Check all are loaded.
  • Open your Special:Preferences#mw-prefsection-gadgets. Enable. Hard refresh an appropriate page to test it.
    • Confirm it works & nothing else is obviously broken.
  • Congrats!

Video Embed

You can now mw:Extension:EmbedVideo#Tags

In wikitext, use #ev / #evu / #evt templates: {{#evu:https://www.youtube.com/watch?v=RYQY5-UepEk}}

Features

Wants

  • QR Code generated for each page, for printing / easy UX linking back to page
  • References section - extract all URLs (or external links) into references footer section
  • Better editors
    • Visual Editor (maybe via/after an upgrade. IDK if requires some mw version), as available at least on Wikipedia, Mediawiki.
    • Side by side editing, no scrolling to find edit textbox, nor preview (or live preview).
  • Better spam handling
Username (Many spam, not all, have FirstLast123, fit in elsewhere) ( talk (good, rare if present) contribs (** major determinant of spam/ban-worthy. Navigation popups allow at-a-glance mouseover viewing block ) (is action-link) (groups,...) if part of any, good sign of real/approved. confirmed/autoconfirmed just mean 3+ day old account, clicked emailed link - low signal groups. (Created [datetime]) :shrug:

Make (or find)

  • Gadget to toggle numbering of sections, on-page. Pref?
  • ...
  • (Gadget - easy-append todo list / TIL / notes / inbox. JS/AJAX on page, append / sections to personal page.)
  • (Gadget to import gadgets? - prb perms issues MediaWiki: ns, Special: ns)

Done!

...at least a little