wiki

From IndieWebCamp
Jump to: navigation, search

Contents


wiki may refer to:


Page type

Main article: wiki-page

In addition to sequential / time-ordered posts, many in the IndieWebCamp community either want to or already host a wiki or wiki pages on their own personal site.

Wiki pages are typically editable and versioned with visible / easily accessible version history & browsable versions. Wiki pages are often also multi-authored and have a multi-platform interface (like any web-based content hosting solution).

There are also various wiki hosting sites / silos.

Projects

Main article: wiki-projects

IndieWebCamp projects related to wiki hosting/creation/editing:

See also wiki projects brainstorming.

Wiki Features We Use

At some unlikely point in the far future, we may decide to migrate the wiki off of MediaWiki. If this ever happens, we'll need to be sure whatever replaces it has roughly the same functionality that we use in MediaWiki. Below is a list to collect descriptions of MediaWiki features that we use. Feel free to add to it.

  • Wiki-style editing - Click "edit" to view page source and "save" to save changes immediately. Conflicts are not merged automatically, and a message is shown if someone else has edited the page in the mean time.
  • Wiki-style links - MediaWiki provides a syntax for quickly linking between wiki pages, e.g. [[events]].
  • Nickname templates - We often use sparkline templates to display someone's photo and name in a line of text such as Aaron Parecki. This is done by creating a template with the person's nickname and typing {{aaronpk}} in a line of text.
  • Signature on edits - Sometimes we add a signature to lines using ~~~~ which is replaced by the logged-in user's signature and a timestamp.
  • Content templates - Several pages (such as events and 2016/Guest_List) use templates to avoid duplicating complicated wiki markup on the page. The templates themselves are wiki pages and are editing by the community.
  • IRC notifications - When wiki pages are edited, we get notifications in IRC describing the change.
  • The ability to embed HTML in the wiki markup – needed e.g. to add microformats to events
  • The ability to upload images, e.g. clicking "embed file" icon inserts wiki link with [[File:Example.jpg]]. Clicking that wiki link takes you to the form to upload the image.

Wiki Features We Need

Sometimes, MediaWiki does not have a good way to do what we want, so we have to hack around it.

  • Hotlinked images - We often want to hotlink images to avoid uploading them to the wiki (which is only possible if the image can be CC0 licensed), but we also want to proxy the img src on the resulting page so that the site can be served over https even if the image is http

See also:

Suggestions

See:

Suggestions and bug reports for improving the IndieWebCamp.com wiki. Please provide suggestions as github issues here:

Logins should use the person's authorization endpoint if specified

If the user has specified an authorization endpoint on their home page, the wiki should use that directly rather than letting indieauth.com handle it. This will change the wiki's use of indieauth.com to be only used for rel-me-auth handling.

If you've defined your own authorization endpoint then you will never hit indieauth.com when signing in.

Improve layout on mobile

Current layout looks very "desktop shrunk down" compared to wikipedia on mobile. The sidebar and header and footer need pinching to be legible/clickable, as do the event listings.

Prompt new users to create their user page with data from their h-card

When a user first signs in, the wiki can read their h-card from their website, and pre-populate a user page template. This would make it easier to get started and would avoid making new users learn MediaWiki syntax as their first step into the community.

(thanks for the suggestion @rikmendes)

Switch to https only

Switch the wiki to https only.

Rewrite image URLs to a proxy service

In order to switch the wiki to https only, we need to rewrite all hotlinked images to a URL that is served over https.

Additionally, it would be great to use something like https://github.com/aaronpk/ca3db which archives a snapshot of the image that is hotlinked so that if the URL disappears we can still show the image on the wiki.

wiki-login URLs with symbols like `/`, `?`, `&` and https-only

obfuscated wiki's userpage-title URLs, which containing symbols like /, ?, & and https-only (without redirect from http-counterpart) are being used as actual URLs on related services (like IRC)

leads to wrong URLs, henceforth 404s

example: http://indiewebcamp.com/User:Unicyclic.com_mal -> -> http://indiewebcamp.com/irc/2016-04-08#t1460112925864

possible solution?

# 10:41 aaronpk you can hide the default title on your user page and add your own # 10:42 aaronpk add __NOTITLE__ in the page then just use regular header syntax

Embed WebmentionDressing

See aaronpk/self#3

Incorporate WebmentionDressing

There's an "iframe ready" gist now (demo), and it's really easy to theme (I think).

tl;dr you just put this in an iframe and use your path as the URL hash (#IndieAuth, #2014/Online, etc.)

If you're game (just nod), I can fork an alternative theme (maybe without bootstrap) and we can have a theme selection dropdown and a "fork and propose your own theme" link. Could be fun.

Improve date readibility

Currently the events page uses YYYY-MM-DD which has two problems. First, the year is first, so if you scan down the left edge you see only years which is not very useful. Second, there is month/day ambiguity between US and the rest of the world, so I'm not sure whether this is April 9th or September 4th.

Current: 2014-04-09 Desired: 09 April 2014

screen shot 2014-04-08 at 4 03 41 pm

8 comments

Add "remember me" checkbox to login screen

Used to be there...not sure what happened to it. Probably is actually part of the IndieAuth MediaWiki plugin

Update Mediawiki version

The current Mediawiki version 1.17 is quite out of date. Need to update to the current version. The main challenge will be making sure the plugins and skin is compatible.

2 comments

Add a custom icon to the site

This will mean I can tell which tabs are indiewebcamp in Chrome, and have other benefits listed in the handy Icon page: http://indiewebcamp.com/icon

Better mobile editing support

Add or change the theme to have mobile support for editing.

  • This means that on mobile view have a text box that is capable of being scrolled through that is not so wide that it forces the editor to scroll left and right across the screen. Use case: Ben Ward had trouble doing this during the morning of IndieWebCamp UK 2013.

Possible solution: Install and use this extension http://www.mediawiki.org/wiki/Extension%3aMobileDetect, to detect this skin (WP Touch)


Done

Suggestions that have been implemented.

wiki/resolved

See Also

Personal tools
Namespaces
Variants
Actions
Recent & Upcoming
Resources
Toolbox