Extension:WikiShare

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
WikiShare

Release status:Extension status experimental

WikiShare extension icon.svg
ImplementationTemplate:Extension#type Skin, Tag
DescriptionTemplate:Extension#description Adds social media sharing capabilities, without sending any user data, to wikis using sidebar portlet and page toolbar. With user preferences enabling/disabling the feature and individual services. Wiki SysAdmin settings to control the look, placement and appearance of the toolbar.
Author(s)Template:Extension#username Gregory Varnum (Varnenttalk)
Latest versionTemplate:Extension#version 0.1a20150624 (2015-06-24)
LicenseTemplate:Extension#license GPL
Download
TagsTemplate:Extension#tags
<wikishare />
Hooks usedTemplate:Extension#hook
SkinBuildSidebarManual:Hooks/SkinBuildSidebar
ArticleViewHeaderManual:Hooks/ArticleViewHeader
ParserFirstCallInitManual:Hooks/ParserFirstCallInit

Translate the WikiShare extension if it is available at translatewiki.net

IssuesPhabricator

Open tasks · Report a bug

Extension in early development stages - page created as placeholder and container for any necessary discussion during development.

Concept[edit]

Develop a MediaWiki extension that allows social media sharing in a way that allows for deployment on WMF sites.

  • No use of APIs or scripts
  • No transmission of any of the wiki user's information - including IP address
  • Only support services that allow URL based submissions
  • Use Wikimedia Commons images
    • Require use of InstantCommons or offer optional bundle of images?
  • User preferences will allow wiki users to:
    • Disable or enable entire social media sharing feature for people avoiding social media
    • Disable or enable specific services
  • SysAdmin settings to:
    • Set defaults for user prefs
    • Add additional or custom services
    • Pick between 2-3 different toolbox designs

Release notes[edit]

  • Alpha 0.1a20150624
    • Proof concept of design
    • Basic layout
    • Settings not yet enabled
    • Incomplete coding

Roadmap[edit]

Intended to help developer map out future features and communicate plans to potential users. Version in bold is the current development stage.

  • Alpha 0.2aX
    • Basic settings mapped out
  • Alpha 0.3aX
    • SpecialPages setup
  • Beta 0.XaX
    • Functional version with settings
  • Beta 0.XaX
    • Finalize images setup
  • Beta 0.XaX
    • Additional designs
  • Version 1.0
    • Fully functional for third-party wikis
  • Version 2.0
    • Compliance for Wikimedia project wikis

Notes[edit]

Sources for code[edit]

Working examples of concept in light form on current WMF sites:

Model code to borrow from:

General thoughts / essays[edit]

Interested in bug squashing[edit]

Free floating ideas[edit]

  • Dantman: When you get close to the sharing area a grey x shows up on the right side of it. When you hover over it a tooltip says something like "Disable share buttons." After clicking the button the share area is replaced with a message. For logged out users "Share buttons have been disabled temporarily. [Log in] to disable them permanently. - Undo" and a cookie is set. For logged in users the message is "Share buttons have been disabled permanently. You can re-enable them later in your [preferences]. - Undo"
    • Dantman: After clicking the button the share area is replaced with a message. For logged out users "Share buttons have been disabled temporarily. Log in to disable them permanently. - Undo" and a cookie is set. For logged in users the message is "Share buttons have been disabled permanently. You can re-enable them later in your preferences. - Undo"