User:WikiMaster/Projects

From PortlandWiki
Jump to: navigation, search

Contents

Outreach

Goals

  • One hundred Ten At least one and a half daily contributors by September 28, 2011 2012 2013, (PortlandWiki's second third fourth birthday).
Looks like ten daily contributors ain't gonna didn't happen as of PortlandWiki's 3rd birthday... -WikiMaster (talk) 12:22, 29 September 2011 (PDT) | Updated 10:49, 30 September 2012 (PDT)
Kotra suggests making the goals more modest. --WikiMaster (talk) 08:05, 4 October 2011 (PDT)
  • Easier user interface; make PortlandWiki readily accessible to non-geek contributors.

Planning

PortlandWiki:Planning

Intra-Wiki Communication

See Create Your Own IRC Channel for tutorial on using Internet Relay Chat (IRC).
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.

For social media related stuff, look here: User:WikiMaster/SocialProfile

MediaWiki: Upgrading

Neighborhoods

Maps

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

Search

This extension adds a Google Custom Search Engine (Google Co-op) to your MediaWiki-powered site.
Sphinx operates as a standalone server and does not keep any text to itself. It creates an index which is based on a SQL query that retrieves documents from a database (Mediawiki MySQL etc.), stores indices and at a later stage returns corresponding rows that matches the search.
Woogle4MediaWiki replaces MediaWiki's built-in search and can search natively (WoogleNative) or remotely (WoogleRemote). Woogle4MediaWiki thus allows you to search multiple MediaWiki instances (and also other Wiki engines).
Woogle also
  1. introduces social search features within your Wiki - i.e. lets you collaboratively describe, discuss and rank queries and results
  2. adds a small mouseover information window to "red links" to highlight the demand for that page
  3. allows you to receive notifications about changes in the Wiki based on keywords ("WoogleAlerts")
  4. provides aggregate search statistics about popular as well as unsatisfied searches
See Woogle4MediaWiki/Decider manual for slidecasts and demo.

Sitemaps & Error Handling

Sitemaps
Sitemaps are files that make it more efficient for search engine robots (like googlebot) to crawl a website (so long as the bot supports the sitemap protocol.)

Error Handling

Special404 provides a simple wiki based 404 special page destination you can configure for your wiki. The body of the 404 page can also be customized using MediaWiki:Special404-body on your wiki.
Also see
Jump to: "... use the rel=canonical link element to make it clearer which URL you prefer to have indexed."
CloudFlare protects and accelerates any website online. Once your website is a part of the CloudFlare community, its web traffic is routed through our intelligent global network. We automatically optimize the delivery of your web pages so your visitors get the fastest page load times and best performance. We also block threats and limit abusive bots and crawlers from wasting your bandwidth and server resources. The result: CloudFlare-powered websites see a significant improvement in performance and a decrease in spam and other attacks.

Short URL / .htaccess

ShortURL & .htaccess Tools

MediaWiki Skins; Column Layouts; Formatting; CSS Tricks

Moved content to User:WikiMaster/MediaWiki Skins; Column Layouts; Formatting; CSS Tricks.

Images

Moved contents to User:WikiMaster/Images#Images: Testing, Research.

Image Transclusion Issues -- UPDATE

Moved contents to User:WikiMaster/Image Transclusion Issues.

Namespaces

Also See Help:Subpages
Also See Category:Subpage extensions
A namespace is a collection of pages which have content with a similar purpose, i.e. pages where the intended use is the same. Namespaces can be thought of as partitions of different types of information within the same wiki, and keep "real" content separate from user profiles, help pages, etc.
This setting allows a wiki to require special permissions to edit some namespaces.
The Lockdown extension implements a way to restrict access to specific namespaces and special pages to a given set of user groups. This provides a more fine grained security model than the one provided by the default $wgGroupPermissions and $wgNamespaceProtection settings.
The Access Control Panel extension provides a simple interface to setup group-based access control. Groups can be created or deleted, members can be added into or removed from groups, privileges can be granted or revoked, all in a single control page. While a group is created, an associated namespace is also created. Members of a group can view and edit their group's namespace. If access privilege is granted, they can also view and/or edit other group's namespace. This extension is a simple front-end to Extension:Lockdown, so Lockdown extension should be installed first before installing this extension.
To prevent conflicts in new namespaces added by extensions, please "register" your extension's namespace here. If a constant for the custom namespace exists, you can list it here too.

Spam / Vandalism

Fighting spam in MediaWiki
Yury Katkov from WikiVote company teaches how to fight spam and vandalism in wikis and more specifically in MediaWiki. He describes anti-spam bots, anti-spam extensions and questions of CAPTCHA, and how to be gentle with the normal wiki authors.
MediaWiki spam is such a headache
MediaWiki (and its extensions) provide a number of features to reduce the problem of Wiki Spam. Note that many of these features are not activated by default.
Extensive list.
The AbortNewAccount extensions category contains articles on extensions that use the AbortNewAccount hook.
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.
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.
$wgSpamRegex is one of MediaWiki's most effective built in anti-spam features. It will not block all spam, but it can reduce spam dramatically, with almost no negative impact upon legitimate users. $wgSpamRegex's configuration settings will control how mediawiki examines the text of contributions and determines if the contributions are spam or not.
Also see Extension:SpamRegex, noted below.
Reverting involves returning a page to a previous version of its history, as documented in the corresponding tab.
Blank User Agents
SetEnvIf User-Agent ^$ spammer=yes     # block blank user agents

Order allow,deny
allow from all           
deny from env=spammer

Extensions to ward off vandalism

The Spam management extensions extension contains articles on extensions that help detect and clean-up spam.
AbuseFilter allows privileged users to set specific controls on actions by users, such as edits, and create automated reactions for certain behaviors.
(11:05, 21 July 2012 (PDT) NOTE: See PortlandWiki:Technical Queue#Spam & Vandalism “Protection” for notes on technical issues that currently block successful installation of Extension:AbuseFilter.)
Bad Behavior (Bad Behavior on MediaWiki) is a set of PHP scripts which automatically blocks harvesters, spam bots, and other funky stuff. Bad Behavior version 2.2.7 was released on June 13, 2012. It installs much as any other extension.
(11:05, 21 July 2012 (PDT) NOTE: See PortlandWiki:Technical Queue#Spam & Vandalism “Protection” for notes on technical issues that currently block successful installation of Extension:Bad Behavior.)
SpamRegex extension creates a new page, Special:SpamRegex, to filter out unwanted links or text. A full list of currently blocked links or text can be viewed on this same special page. The spamregexed expressions cannot be used in page content, edit summaries or move summaries, depending on what was chosen by the user who blocked links or text.
The SpamBlacklist extension prevents edits that contain URLs whose domains match regular expression patterns defined in specified files or wiki pages. When someone tries to save a page, SpamBlacklist checks the text against a (potentially very large) list of illegal host names. If there is a match, the extension displays an error message to the user and refuses to save the page.
Also See: UMassWiki:Blocking Spam In Mediawiki#SpamBlacklist
This extension is a variation on the KittenAuth plugin for other pieces of software. It allows wiki admins to set certain actions that need verification from the user, to prevent automated spam. KittenAuth lets users pick a kitten from a list of five images to verify themselves as human.
The Asirra extension provides a kitten auth system for protection against spambots and other automated tools. The Asirra service itself is powered by Microsoft. Users have to distinguish between images of cats and images of dogs, a task which proves to be easy for humans but difficult for bots.
SimpleAntiSpam extension adds a hidden form field to the edit page as an anti-spam/anti-bot check. If the field is not blank when the page is saved, the save will be aborted and a generic "you triggered the spam filter" page will be shown.
CheckUser is an extension that allows a user (with the checkuser permission) to check which IPs are used by a given username and which usernames are used by a given IP, without having to run queries directly against the database by hand. The extension is running live on all Wikimedia wikis.
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.
Extension:RudeProxyBlock blocks all the open proxies that Wikipedia had blocked. The pages in the Wikipedia open proxies category have been turned into a list. This bot was created because the block function in Pywikipediabot userlib.py was always returning a BlockError, which disallows access to all users listed in MediaWiki:Openproxylist.
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.
This extension will automatically lock the database from any further changes if a sysop has not been on the wiki recently (determined by $wgAbsenteeLandlordMaxDays). This helps prevent dead or inactive wikis from becoming spambot targets. To unlock the database, a sysop simply needs to visit the wiki again.

Semi-automated editing tools/scripts/bots

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.
  • Huggle - another editing tool I know about from Wikipedia -kotra (talk) 02:48, 13 August 2011 (UTC)
Huggle is a Windows application for dealing with vandalism on Wikipedia, written in Visual Basic .NET.
AutoWikiBrowser (often abbreviated AWB), is a semi-automated MediaWiki editor for Microsoft Windows 2000/XP/Vista/7 designed to make tedious repetitive tasks quicker and easier. (AWB also functions reasonably well under Wine on GNU/Linux but this is not officially supported.) It is essentially a browser that automatically opens up a new page when the last is saved. When set to do so, it suggests some changes (typically formatting) that are generally meant to be incidental to the main change.

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.
The ConfirmAccount extension disables direct account creation and requires the approval of new accounts by a bureaucrat. Direct account creation can still be enabled (if you want Sysops/Bureaucrats to be able to directly make them) by configuring user rights. The ConfirmEdit extension can be used (in conjunction with the ConfirmAccount extension) in order to use captchas to stop flood requests.
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 and SMW+

The Semantic MediaWiki and SMW+ material formerly found on this page was moved to here: User:WikiMaster/SMW Sandbox

Special Page Extensions

Two versions -- the Extension:Editcount version looks like the more robust.
This extension allows a user to organize personal selections of pages in a collection. Collections can be:
  1. edited and structured using chapters
  2. persisted, loaded and shared
  3. rendered as PDF (see mediawikiwiki:Extension:PDF_Writer)
  4. exported as ODF Text Document (see mediawikiwiki:Extension:OpenDocument_Export)
  5. exported as DocBook XML (see mediawikiwiki:Extension:XML_Bridge)
  6. ordered as a printed book at http://pediapress.com/
  7. exported as ZIM file (see mediawikiwiki:Extension:Collection/openZIM)

Other mediawiki extensions: Extension Matrix

View By
- Entire Extension Matrix: View all extensions (very large!)
- By explicitly supported MediaWiki version
- By status of extension
- By type of extension
- 200 most recently created extensions
- Et cetera

Enable Article or Page Comments

Message a not logged-in user gets when attempting to use Extension:ArticleComments after fix found here is applied.
Was using this extension on PortlandWiki here: Talk:CA/Continuations and here: CA/Continuations. Disabled after significant spambot attack. Re-enabled extension after making adjustments shown here:
http://www.mediawiki.org/wiki/Extension:ArticleComments#Logged-In_Users_Only
Tried using this extension, but disabled it after getting the error message shown below, possibly because it's modified to work with a newer version of MediaWiki (1.20wmf10) than currently installed on this wiki as of 17:42, 4 March 2013 (PST).
Call to undefined method SpecialProcessComment::checkPermissions

Backtrace:

#0 /home/portlandwiki_ps/portlandwiki.org/extensions/ArticleComments/SpecialProcessComment.php(31): SpecialPage->__call('checkPermission...', Array)
#1 /home/portlandwiki_ps/portlandwiki.org/extensions/ArticleComments/SpecialProcessComment.php(31): SpecialProcessComment->checkPermissions()
#2 /home/portlandwiki_ps/portlandwiki.org/includes/SpecialPageFactory.php(458): SpecialProcessComment->execute(NULL)
#3 /home/portlandwiki_ps/portlandwiki.org/includes/Wiki.php(240): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#4 /home/portlandwiki_ps/portlandwiki.org/includes/Wiki.php(640): MediaWiki->performRequest()
#5 /home/portlandwiki_ps/portlandwiki.org/includes/Wiki.php(547): MediaWiki->main()
#6 /home/portlandwiki_ps/portlandwiki.org/index.php(57): MediaWiki->run()
#7 {main}
This experimental extension appears to be hastily written and then subsequently abandoned.

More Extensions To Organize & Categorize

This template should be added to the main page of all extensions documented on MediaWiki (and only the main page). It will add a useful infobox using the information supplied (see below) and will automatically add the extension to Category:All extensions, plus the appropriate status and implementation type categories.
Shows the most popular Pages within an article.
This extension generates "breadcrumbs" to help users navigate around your wiki.
ImageMap is an extension which allows clickable image maps. An image map is a list of coordinates in a specific image, which hyperlinks areas of the image to multiple destinations (in contrast to a normal image link, in which the entire area of the image links to a single destination). For example, a map of the world may have each country hyperlinked to further information about that country. The intention of an image map is to provide an easy way of linking various parts of an image without dividing the image into separate image files.
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.
The CategoryTree extension provides a dynamic view of the wiki's category structure as a tree. It uses AJAX to load parts of the tree on demand.
AddPageService is a web service that enables external programs to add or edit pages on the wiki just as a regular user.
Will need to config SOAP.
Purple MediaWiki (PMWX), an extension to be integrated into MediaWiki that allows fine-grained addressability to the content of wiki pages.
See in action: http://project.cim3.net/wiki/PMWX

Configuration

The Configure extension allows bureaucrats (by default) to modify configuration settings of the wiki, including:
- $wgConfigureHandler
- $wgConfigureFilesPath
- $wgConfigureDatabase
- $wgConfigureAllowDeferSetup
- $wgConfigureFileSystemCache
- $wgConfigureFileSystemCacheExpiry
- $wgConfigureWikis
- $wgConfigureExtDir
- $wgConfigureAdditionalExtensions
- $wgConfigureDisabledExtensions
- $wgConfigureExtensionsVar
- $wgConfigureOnlyUseVarForExt
- $wgConfigureViewRestrictions
- $wgConfigureEditRestrictions
- $wgConfigureNotEditableSettings
- $wgConfigureEditableSettings
- $wgConfigureAPI
- $wgConfigureUpdateCacheEpoch
- $wgConfigureStyleVersion

Widgets

MediaWiki Widgets
This widget allows you to add Google Calendar widget to your wiki page.
This widget allows you to add Google Documents to your wiki page.

NOTE: MediaWiki Widgets is no longer frequently maintained.[1] May have to switch to WidgetsFramework or some other widget framework.

List of articles on PortlandWiki using MediaWiki Widgets:
http://portlandwiki.org/index.php?title=Special:Search&redirs=1&ns0=1&search=widget&limit=500&offset=0
WidgetsFramework
WidgetsFramework is a MediaWiki extension aimed at updating some of the work done by the Widgets extension. As of 06:51, 21 March 2013 (PDT), WidgetsFramework's main extension page and its talk page appear to be active.

Social Profile

Google Docs, Widgets, Gadgets, Etc.

Category:Google extensions
You won't find an extension here, but a code snippet that might work for migrating Google Docs data from docs to MediaWiki. Scroll down to Michael McMillam's answer to see the code.
The GoogleDocViewer extension adds the <doc> tag for embedding a Google Doc in view, edit, or published mode (provided that the user is currently logged into their Google account and has access to the document).
GoogleDocs4MW extension allows to embed Google Docs' spreadsheets on the wiki via the <googlespreadsheet> tag. This extension shows up on Wikia's Extensions Help Page.
This widget allows you to add Google Documents to your wiki page.

Calendar

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

Links & Linking

Create anchor id attribute values using a similar mechanism that headers use.
ALERT! Fatal error! Installed this extension on 4 October 2012 at got the fatal error shown here. Removed the extension.
The template {{anchor}} inserts one or more HTML anchors in a page. Those locations can then be linked to using [[#link|...]] syntax.
Go beyond traditional wiki anchor links. See example here of how custom anchor is used for footnotes.
Code used in example:
;<big>[[CA/Community Assembly Continuations#djm_notes|*]]</big> [[User:WikiMaster|Dave]]'s notes ([[CA/Community Assembly Continuations#djm_notes|see below]]).
'''<big><span id="djm_notes">*</span> [[CA/Community Assembly Continuations#Building_a_Unified.2C_Grassroots_Movement|↑]]</big>''' ''The views expressed belong to [[User:WikiMaster|Dave Myers]] and do not necessarily reflect the views of other [[Community Assembly]] organizers.''

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.

Embed Pages

This page describes the steps necessary to embed a page within another page. See also: Help:Template.

Syntax

{{Namespace:Pagename}}

Embedded special pages

The default install of MediaWiki allows you to embed only selected special pages, such as (depending on version):

See also Help:Special pages#Links to special pages.

Generated lists

See: Help:Generated lists

Embedded images

See: Help:Images

External Data | Import/Export Data | Data Visualization | News

Extension:PageAttachment
This extension extends MediaWiki to allow adding files to a page as attachments.

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

Embed External Web Pages

Anysite extension allows users to embed or include a website in a wiki page without touching HTML settings.
The HTMLets extension provides a way to include (inline) static HTML snippets into wiki pages without changing the default setting of $wgRawHtml. Snippets are located in files in a special directory on the web server. This addresses the demand for a simple way to insert special JavaScript code, an <iframe>, or an HTML form, without allowing users to insert arbitrary and potentially harmful code.

Attachments

This extension extends MediaWiki to allow adding files to a page as attachments.

News Extensions

Dropbox Sync

One woman's adventure in creating a method to sync MediaWiki instances from any one of several local machines she and her husband work from. She provides easy-to-follow details on:
  1. Syncing the MediaWiki database.
  2. Securing the MediaWiki database.
  3. Step-by-step recap of the above.

Content Sharing

This short how-to explains how you can integrate your wiki content into other websites via iframes or something the like.

Graphs & Charts

MediaWiki's category grouping of graph and other data visualization related templates.
An extension for visualizing data in wiki pages, including line, bar and pie charts.

RSS / Feeds

Extenstions for including RSS feeds in wiki pages. For extensions that generate RSS or Atom feeds, see Category:Feed generator extensions.
Extensions for generating RSS and/or Atom feeds. For extensions that integrate RSS feeds on wiki pages, see Category:RSS Extensions.

Remote Content: Other

The Remote content extensions category contains articles on extensions that embed content from remote sites using techniques other than RSS.
This extension allows you to list your most recent blog posts on your wiki on the sidebar.

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

The DataTransclusion extension allows individual data records to be retrieved from an external source such as a database or a web API. The fields from the data record are then passed to a template as template parameters for rendering. The design of DataTransclusion aims to make the mechanism flexible, so it can easily be adopted to different application, while remaining safe and secure to use even on large scale public wikis.
Extension:External Data is part of the Semantic Bundle already installed on PortlandWiki.
Data Transfer is an extension to MediaWiki that allows users to both export and import data from and to the wiki, with export done in XML format and import possible in both XML and CSV formats.
Manual:Importing external content - Converting content from a CSV text file
csv and xls converter to wiki

Instructions:

  1. Paste cells from Excel and click Submit.
  2. Copy results into mediawiki-style wiki.

APIs Tutorials

Article::doEdit()

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

Extension:Wiki Object Model/Functions
Extension:Semantic Forms/POM
Miscellaneous
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....)

Templates

Document Linking & Document Embed Templates

Want to link to specific documents on your server? Try these methods:

The template the above instructions creates: Template:Pdf
Example of this template in use on this wiki: Community Assembly Program Outline (Simple)
File sharing on an intranet.

(Content moved to telecafe:User:Dave/Wikis In The Enterprise#MediaWiki_as_an_Intranet.)

Exporting & Importing Templates

At times, templates will call sub-templates or other templates on a wiki. If you click the edit tab and look at the bottom of the page below the edit text area, new versions of MediaWiki will list other templates called by the current template. These may need to be copied over as well for the template to work. Documentation subpages (Template:Foobar/doc) are generally not needed, though they can be helpful for more complex templates.

Infoboxes; Microformats

WordPress Related

It's possible that integrating MediaWiki with WordPress might offer a viable approach for deploying a multi-site, multi-wiki "family."

This extension allows you to insert teaser (first paragraphs) from your Wordpress blog into a MediaWiki page. PHP5 and "mysqli" (see MySQL improved extension) are required. Work in progress ...
This is a wiki extension which integrates WordPress comments anywhere on any MediaWiki page. On MediaWiki sites which require registration, this extension allows visitors to comment on certain pages without logging in. It enables wiki owners access to the moderation and spam protection features of WordPress.
This extension lets wiki users add comments to WordPress. Also, new pages created by wiki users appear as new posts on the Word Press blog. Can be used in combination with WordPress Comments, Semantic Forms or CreateBox and optionally DynamicPageList to produce a complete free post & comment collective blog, similar to the news system of EmuWiki.com.
PhotoCommons is a plug-in for WordPress allowing easy searching, inserting and maintaining of files from Wikimedia Commons into your blog.
Dave's Note: Look at this as a use-case study for utilizing a "commons" area accessible to multiple technological platforms.
This WordPress plugin allows you to view a Mediawiki in a WordPress page.
A collection of MediaWiki extensions that create a single sign-on system between WordPress Multi-User and MediaWiki. Allows WordPress Multi-User (now Multisite) admins add robust wiki functionality to their websites without forcing users to create separate accounts. Users can sign in once to the home page of the system and have that sign-in carried over to the wiki. Setup powering CUNY Academic Commons, a site conceived of as an open-source academic social network in which the members of the 23-campus City University of New York system can connect with one another, share resources, and create new communities of interest. The site is built on the following platforms, which can now all be accessed via a single log-in: WordPress Multi-User + BuddyPress + BbPress + MediaWiki.

Drupal Related

MediaWiki API (For Drupal)

This module provides an input filter which allows the conversion of content marked up using MediaWiki syntax to html for display on your drupal site, by using the "parse" feature of the MediaWiki API.

MediaWiki Extensions

Have you ever wanted to have forum, blogs, calendar of events, comments in threaded discussions, and other things together with your MediaWiki application? If yes, then one possible solution is to use existing CMS instead of integrating many applications/extensions. This extension allows to use Drupal with MediaWiki. It synchronizes users, groups and user-to-groups assignments from MediaWiki to users, roles and user-to-role assignments of Drupal. User accesses MediaWiki and Drupal with the same original account of MediaWiki. User logs in through MediaWiki and becomes automatically logged in to Drupal. Users logs out from MediaWiki and becomes logged out from Drupal too. (For the logging in through Drupal see Extension:AuthDrupal.)

Drupal Commons

Drupal Commons is a ready-to-use solution for building either internal or external communities. It provides a complete social business software solution for organizations.
Provide the wiki functionality for Drupal Commons distribution.

Drupal Wiki

A list of tools written for www.drupal-wiki.com to provide an enterprise Wiki + Social Network platform.

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.

See the full list of modules included in the Wiki installation profile here:
http://drupal.org/node/1910818

Additional Modules

This filter provides a simplified, wiki-like syntax for linking to articles or search results on many commonly-used internet reference websites.
SimpleWiki is an easy-to-use input format based on the work done by WikiCreole researching common wiki markup elements. SimpleWiki uses Creole syntax extended with decorators and block declarations for advanced markup.
Apparently Flexifilter is the replacement module for PEAR Wiki Filter.

Tutorials

Scroll down to these responses:
- Brief Wiki How-to
- How to create invidual sections for wiki

Drupal wiki examples

Other

This post is asking about, not actually providing "best practices" for Drupal wikis. Some of the questions asked are good, and touch on exploring potential for tighter integration between D7 and MediaWiki, configuring existing Drupal modules so that Drupal performs more like a stand-alone wiki, etc.
Organic groups is an alternative to D7 as wiki. Looks more like approach to creating and maintaining discussion groups.

MediaWiki & 3rd Party Integration

The User activity extensions category contains articles on extensions that monitor user activity (logins, logouts, new user creation, etc).
The Extensions by integration target category contains articles on extensions that integrate with one or more 3rd party applications and/or MediaWiki extensions.
Alfresco is an enterprise, open source content management for documents, web, records, images, and collaborative content development.

Interwiki | Magic Words

Help:Interwiki linking

Transclude External Pages

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:

Scary Transclusions: Exact Character Case Matters!

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.
Transcluded invite ends here.

Image Transclusion & Transclusion Issues

Moved content to here: User:WikiMaster/Image Transclusion Issues#Image Transclusion & Transclusion Issues.

Further (transclusion issues) research.

Content Transclusion Extensions
This extension allows selective transclusion of marked-off sections of text. Its functionality is similar to an enhanced version of the <onlyinclude> tag with normal wiki transclusion, which selects sections for inclusion. It is currently enabled on meta.wikimedia.org, *.wikisource.org, and en.wiktionary.org. Does not transclude content to remote wikis.
This extension lets a wiki include external static text content from the following sources:
  1. a remote URL
  2. local file system
  3. SVN, using "svn cat"

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.

See also

(The entire suite of Semantic Bundle extensions, including Semantic Forms is already installed on PortlandWiki.)

References