User:WikiMaster/Projects

From PortlandWiki
Revision as of 21:10, 20 July 2011 by WikiMaster (talk | contribs) (Semantic MediaWiki Plus (SMW+) links, resources.)
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

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.
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.
Reverting involves returning a page to a previous version of its history, as documented in the corresponding tab.
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.
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.

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.)

Semantic MediaWiki Plus (SMW+)

(Presumably for SMW+ since it's published on the Ontoprise website.)

List of Semantic MediaWiki Plus 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.

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

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

MediaWiki & 3rd Party Integration

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 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