User:WikiMaster/Projects

From PortlandWiki
Revision as of 21:12, 2 August 2011 by WikiMaster (talk | contribs) (→‎User Identity: Extension:OpenID)
Jump to navigation Jump to search

Outreach

Goals

  • One hundred daily contributors September 28, 2011 (PortlandWiki's second birthday).
  • Easier user interface; make PortlandWiki readily accessible to non-geek contributors.

Planning

PortlandWiki:Planning

Intra-Wiki Communication

The WebChat extension adds a special page used to chat in real time with other wiki users using a web-based IRC client. Once installed, it will be available via Special:WebChat.

Neighborhoods

Maps

Wanna insert an OpenStreetMap instead of Google Map into your article? Use one of the handy OpenStreetMap MediaWiki extensions.

Spam / Vandalism

Extensive list.
A basic how-to guide explaining how to carry out administrative actions.
Wikis are a common target for spammers wishing to promote products or web sites due to their open editing nature. MediaWiki offers a number of features designed to help block wiki spam.
Many IP address blacklists lists are available. For instance stopforumspam.com has a list of "All IPs in CSV" which (as of 2011) contains about 140,000 IPs of known spambots.
When you install a fresh copy of MediaWiki, it is susceptible to different kinds of intentional vandalism. Due to the nature of a wiki website, no matter how many protections are present, vandalism will always be present to a certain extent. This page will describe how to limit it.
This setting allows a wiki to require special permissions to edit some namespaces.
Sysops can block and unblock IP addresses from editing, uploading files, moving pages, and, if they have been granted such rights, protecting/unprotecting and deleting/undeleting pages.
Reverting involves returning a page to a previous version of its history, as documented in the corresponding tab.
The Title Blacklist extension allows wiki administrators to block the creation, movement and upload of pages which title matches one or more regular expressions, as well as blocking creation of accounts with matching usernames.
Nuke is an extension that makes it possible for sysops to mass delete pages.
AntiBot is a simple framework for spambot checks and trigger payloads.
DeleteBatch extension adds a special page -- Special:DeleteBatch -- where users with the 'deletebatch' right can delete multiple pages easily.
AbuseFilter allows privileged users to set specific controls on actions by users, such as edits, and create automated reactions for certain behaviors.
Twinkle is a set of JavaScript functions that gives registered users several extra options to assist them in common Wikipedia maintenance tasks, and to help them deal with acts of vandalism.

User Identity

The User identity extensions category contains articles on extensions that make changes or add enhancements to the rights management system, e.g. the way rights are assigned, APIs, maintenance tools.
This extension makes a MediaWiki installation OpenID-aware and lets users log in using their OpenID identity - a special URL - instead of or as an alternative to standard username/password log in.
Existing authentication plugins are available for many cases like IMAP, LDAP and more. Category:User identity extensions lists these extensions. If you need to write your own plugin, see the source doc at MediaWiki Source Documentation. (Also see the latest source code.)
The ConfirmEdit extension lets you use various different CAPTCHA techniques, to try to prevent spambots and other automated tools from editing your wiki, as well as to foil automated login attempts that try to guess passwords.
This extension has been integrated into the latest trunk version of the ConfirmEdit extension; which should work if you're using version 1.11 or higher of MediaWiki.
This extension allow to integrate a strong captcha with a math operation generated as image.
(Dave's Note: Installed this on PortlandWiki but left it commented out for now [as of 31 July 2011] until I can decipher poorly written documentation.)
This extension claims it can also integrate with ConfirmEdit.
User Merge and Delete extension allows wiki users with the usermerge permission (Bureaucrat by default) to merge one Wiki user's account with another Wiki user's account.
User rights are specific access and ability permissions that can be assigned to customizable groups.
Blocking users is an action that sysops can perform upon users or IP addresses to prevent them from editing the wiki.

Semantic MediaWiki

Calendar Tools

Semantic Result Formats (SRF) is a MediaWiki extension, used in conjunction with the Semantic MediaWiki extension, that bundles a number of further result formats for SMW's inline queries. The individual formats can be added to the installation independently, including...
(Extension:Semantic Result Formats/calendar format replaces the Extension:Semantic Calendar.)
(The Discourse DB Opinion calendar is a use-case example of the Extension:Semantic Result Formats/calendar format.)

User Registration

This extension tweaks user registration process in order to make users populate their user pages with semantic data at registration time.
Dave's notes: This extension appears abandoned. Also may want to look for an option that can integrate with SocialProfile.

Semantic MediaWiki Plus (SMW+)

SMW+ Deployment Framework
SMW+ is a semantic enterprise Wiki for teams that need a human-readable and agile knowledge base for collaborating on rich text and data in their daily work.
The Deployment Framework: Enjoy extension possibilities - effortlessly.
(Image of deployment framework admin table.)
Distributing a MediaWiki extension using the Deployment Framework
SMW+ User Forum | For commercial and production use.
(Presumably for SMW+ since it's published on Ontoprise's SMW Forum website.)

List of Semantic MediaWiki Plus (SMW+) Publications

Other mediawiki extensions

The InputBox extension is a MediaWiki extension that adds already created HTML forms to wiki pages. Users can "complete" a form (entering text, selecting menu items, etc.) by entering text into the box.
Features "mediawiki extension list Best mediawiki extension list" from ETCwiki.
This extension enables installation and updating of extensions and MediaWiki itself. It obtains deployment packages by using the API provided by the Distribution extension, parses these and applies them. For this it provides several special pages. You can read more about the deployment effort on the deployment page.
Will need to config SOAP.

Social Profile

Contact Forms

Provides a special page Special:Contact so that people can contact you without you to expose some email (no spam). Form allow to gather some basic information about people like name, email, company or organisation ...
Contact page example: http://www.nozicaa.com/en/page.content/Special:Contact
The ContactPage extension implements a contact form for visitors. It creates a special page Special:Contact, which is similar to Special:EmailUser, but it has a fixed recipient, and can be used anonymously.

Video

Flickr Extensions

Extension:Flickr#Changes_to_this_code
wiki.edsimpson.co.uk > MediaWiki Extensions > Flickr Extension
Extension:Widgets#Widget_library
http://www.mediawikiwidgets.org/Flickr
http://www.mediawikiwidgets.org/FlickrShow

Gadgets

A list of special gadgets users can enable on their preferences pages, as defined by the definitions. This overview provides easy access to the system message pages that define each gadget's description and code.
The list of available gadgets is defined on MediaWiki:Gadgets-definition. Gadgets defined there show up in the "Gadgets" section of Special:Preferences, so users can pick the gadgets they would like to use. An overview of the gadgets defined by MediaWiki:Gadgets-definition is also shown on Special:Gadgets, along with links to the respective system messages, for easy editing.
Custom client-side JavaScript and CSS-based scripts, widgets and gadgets are the lifeblood of making a really awesome MediaWiki site. Power users create and share their own tools, which can get merged out to everyone or kept for individual opt-in.

Wikia

Other Admin To Do

Other Resources

Site Notices

MediaWiki:Sitenotice is displayed above the page title for all users, unless it is superseded by another notice.
The DismissableSiteNotice extension allows users to close the sitenotice, using cookies.
CentralNotice adds the possibility to manage sitenotices from one central wiki. If you only need to post one global message (sitenotice) to a single wiki, you may want to use MediaWiki:Sitenotice instead.

External Data | Import/Export Data

Spent day researching how to upload pre-written articles en masse.

Must Read: Wikipedia:Creating a bot
MediaWiki Bulk Page Creator | MediaWiki Bulk Page Creator
(Depends on Snoopy; already trying to get DreamHost to help with server config.)
(Finally got Snoopy installed but MediaWiki Bulk Page Creator's scant documentation is hard to follow. Now looking at tools listed under Also, And....)

Import/Export MediaWiki Manuals

Importing from other types of files
The Edit.php, importImages.php and ImportTextFile.php maintenance scripts can be used to import text and images into MediaWiki.

Import / Export Tools & Extensions

(Extension:External Data is part of the Semantic Bundle already installed on PortlandWiki.)
Manual:Importing external content - Converting content from a CSV text file
csv and xls converter to wiki

APIs Tutorials

Article::doEdit()

Wiki Object Model (WOM) | Page Object Model | Data Extraction

Extension:Wiki Object Model/Functions
Extension:Semantic Forms/POM

Templates, Infoboxes, Microformats, Etc.

Interwiki

Interwiki | magicword

Wiki Modules For Drupal 7

Development for modules and various dependencies that allow Drupal 7x to function as a wiki appear either stalled, in alpha or dev mode, or just not porting over from earlier versions of the Drupal code base.

MediaWiki & 3rd Party Integration

The Extensions by integration target category contains articles on extensions that integrate with one or more 3rd party applications and/or MediaWiki extensions.

Transclude External Templates

Manual:$wgEnableScaryTranscluding

How to use Scary transclusing
  • Enable $wgEnableScaryTranscluding
$wgEnableScaryTranscluding = true;
  • Make sure the relevent interwiki prefixes have iw_trans set to 1 in the database.
You should now be able to type {{wiki:template name}} or {{wiki::main namespace page name}} to transclude the page from a foriegn wiki.
You can also do {{raw:wiki:template name}} to do a raw transclude, where all templates on the foreign page are expanded as if they come from your wiki instead of the other wiki.

Scary Transclusions: Exact Character Case Matters!

May 24, 2011: Noticed that at least some scary transclusions seemed to stop working. Also noticed this for the first time:


Ultimately discovered that the lowercase "wikipedia" was removed from the Special:Interwiki table. Restored it, ran an update.php command (Manual:update.php) in the maintenance folder and the scary transclusions began working again. -WikiMaster (talk) 12:37, 24 May 2011 (PDT)

Transclusion template fix?
(yup, in a sort of half-ass way. hip hip fuckin' hooray. only wasted half a dozen painful hours so far...)
Intermittent functionality at this point. Caching issue?
Try purging page:

And the "Template fetch failed" error message is often something that goes away if you purge the page cache adding "?action=purge" to the URL.

Source: "Template fetch failed"

These syntax examples appear to work after page purge:

{{wikipedia::Wikipedia:Meetup/Portland}}
{{wikipedia::Wikipedia:Meetup/Portland/Invite}}
Transcluded invite begins here.

[Interwiki transcluding is disabled]

Transcluded invite ends here.

Image Transclusion & Namespaces Transclusion Issues

Mass_Effect_Wiki_Collaboration.png (link to actual image)
  • 50px|link=MediaWiki (image link doesn't work; namespace issues?)
  • Photo: White Stag sign, Portland. (this image shows up because it's already uploaded to portlandwiki)
  • This image resides on PortlandWiki server AND Wikipedia server.
  • Manual:Linked images (namespace issues playing havoc with interwiki linking?)

Further (transclusion issues) research.

kotra asks:

Are you trying to transclude the content from a Wikipedia page into PW? If so I think we would need to use mediawikiwiki:Manual:$wgEnableScaryTranscluding. -kotra (talk) 18:40, 24 March 2011 (UTC)
Yup! That's exactly what I'm trying to do. Thanks kotra! - Dave Myers 16:49, 17 April 2011 (UTC)

Bots

Robots or bots are automatic processes which interact with Wikipedia (and other Wikimedia projects) as though they were human editors.
  1. MediaWiki-Bot-3.4.0 -- A high-level bot framework for interacting with MediaWiki wikis
  2. MediaWiki-Bot-Plugin-Admin-3.2.1 -- A plugin to MediaWiki::Bot providing admin functions
  3. MediaWiki-Bot-Plugin-Steward-0.0003 -- A plugin to MediaWiki::Bot providing steward functions
  4. MediaWiki-Bot-Shell-0.002 -- A shell interface to your MediaWiki::Bot

Other stuff

snippet library — A code snippets collection.

References