User:WikiMaster/Projects: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
m (→‎Skins & Themes: Tutorial: Creating a custom skin for MediaWiki 1.18+)
(→‎Contact Forms: Configuring the ContactPage Extension in MediaWiki)
 
(30 intermediate revisions by 2 users not shown)
Line 2: Line 2:
== Outreach ==
== Outreach ==
=== Goals ===
=== Goals ===
* <s>One hundred</s> Ten daily contributors by September 28, <s>2011</s> 2012 ([[PortlandWiki]]'s <s>second</s> [[PortlandWiki:About|third birthday]]).
* <s>One hundred</s> <s>Ten</s> At least one and a half daily contributors by September 28, <s>2011</s> <s>2012</s> 2013, ([[PortlandWiki]]'s <s>second</s> <s>third</s> [[PortlandWiki:About|fourth birthday]]).
: Looks like that ain't gonna happen this year... --[[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) 12:22, 29 September 2011 (PDT)
: Looks like ten daily contributors <s>ain't gonna</s> ''didn't'' happen as of PortlandWiki's 3rd birthday... -[[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) 12:22, 29 September 2011 (PDT) | Updated 10:49, 30 September 2012 (PDT)
:: [[User:Kotra|Kotra]] suggests making the goals more modest. --[[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) 08:05, 4 October 2011 (PDT)
:: [[User:Kotra|Kotra]] suggests making the goals more modest. --[[User:WikiMaster|WikiMaster]] ([[User talk:WikiMaster|talk]]) 08:05, 4 October 2011 (PDT)


Line 33: Line 33:
* [[mediawikiwiki:Extension:Google Custom Search Engine|Extension:Google Custom Search Engine]]
* [[mediawikiwiki:Extension:Google Custom Search Engine|Extension:Google Custom Search Engine]]
: This extension adds a Google Custom Search Engine ([http://www.google.com/coop Google Co-op]) to your MediaWiki-powered site.
: This extension adds a Google Custom Search Engine ([http://www.google.com/coop Google Co-op]) to your MediaWiki-powered site.
* [[mediawikiwiki:Extension:SphinxSearch|Extension:SphinxSearch]]
: 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.


* [[mediawikiwiki:Extension:Woogle4MediaWiki|Extension:Woogle4MediaWiki]]
* [[mediawikiwiki:Extension:Woogle4MediaWiki|Extension:Woogle4MediaWiki]]
Line 62: Line 65:
: 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.
: 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 ===
=== Short URL / .htaccess ===
* [[mediawikiwiki:Manual:Short URL|Manual:Short URL]]
* [[mediawikiwiki:Manual:Short URL|Manual:Short URL]]
* [[mediawikiwiki:Manual:Short URL/Apache Rewrite rules|Manual:Short URL/Apache Rewrite rules]]
* [[mediawikiwiki:Manual:Short URL/Apache Rewrite rules|Manual:Short URL/Apache Rewrite rules]]
==== ShortURL & .htaccess Tools ====
* [http://shorturls.redwerks.org/ MediaWiki ShortURL Builder]


== MediaWiki Skins; Column Layouts; Formatting; CSS Tricks ==
== MediaWiki Skins; Column Layouts; Formatting; CSS Tricks ==
* [[mediawikiwiki:Category:User interface|Category:User interface]]
; Moved content to [[User:WikiMaster/MediaWiki Skins; Column Layouts; Formatting; CSS Tricks]].
* [[mediawikiwiki:Category:User interface extensions|Category:User interface extensions]]
* [[mediawikiwiki:Help talk:Formatting|Help talk:Formatting]]
* [[wikipedia:Wikipedia:Useful styles|Wikipedia:Useful styles]]
: '''[[wikipedia:Wikipedia:Useful styles|Wikipedia:Useful styles]]''' documents various CSS elements that are useful to know when working in the article and template namespaces.
* [http://www.themeswiki.org/Customizing_MediaWiki Customizing MediaWiki: Writing a New Skin]
: "Can we add our own skin in the wiki?" The answer is very straightforward. Yes, we can make our own skin from scratch and add it to the directory for the skins. In this tutorial, we will discuss in detail how to add new skins, and how to build skins from scratch.
* [[OrganicDesign:Category:Formatting templates|Category:Formatting templates]] (Formatting templates from [[OrganicDesign:|OrganicDesign]].)
: Also see [[OrganicDesign:|OrganicDesign]]'s [[OrganicDesign:OrganicDesign manifesto|manifesto]].
* [http://aaronparecki.com/Using_MediaWiki_as_a_CMS Using MediaWiki as a CMS]
: By [[Portlandia]]n [http://aaronparecki.com/Home Aaron Parecki]
 
=== Menu, Page Layout & [[wikipedia:Portal:Contents/Portals|Wiki Portal]] Examples ===
[[File:En Wikisource portal structure diagram.png|thumb||400px|Structure of a Wiki Portal]]
'''<big>[[mediawikiwiki:Portals|Portals]] - How to use the Wikipedia portal technology.</big>'''
: The objective of this document is to try to simplify the implementation of a Wikipedia-style portal in a normal Mediawiki system.
* [[wikipedia:Category:Wikipedia Portal templates|Category:Wikipedia Portal templates]]
* [[wikipedia:Wikipedia:Portal|Wikipedia:Portal]]
* [[enwikisource:Help:Portals|Help:Portals]] ([[enwikisource:Wikisource:About|Wikisource]])
 
; [[wikipedia:Portal:Contents/Portals|Wiki Portal]] Examples
* [[outreach:GLAM|GLAM]]
* [[wikipedia:Wikipedia:GLAM|Wikipedia:GLAM]]
: '''GLAM''' is an acronym for '''''G'''alleries, '''L'''ibraries, '''A'''rchives and '''M'''useums.'' It also incorporates other institutions such as theatres, zoos, botanical gardens, public broadcasters etc.
 
; [[wikipedia:Portal:Contents|Portal:Contents]]
* [[wikipedia:Portal:Cats|Portal:Cats]]
 
; Portal Extensions
* [[mediawikiwiki:Extension:GroupPortal|Extension:GroupPortal]]
: The GroupPortal extension allows for different groups to be redirected to different Main Pages. Configure your wiki's [[organizedpower:MediaWiki:Groupportal|MediaWiki:Groupportal]] page to redirect visitors to a particular landing page.
* [[mediawikiwiki:Hack:My portal|Hack:My portal]]
: My Portal is a MediaWiki hack, it is NOT a MediaWiki extension, that allows users to have a custom portal page like MyGoogle, MyYahoo, etc.
* [[mediawikiwiki:Extension:FundraiserPortal|Extension:FundraiserPortal]]
: FundraiserPortal is a simple extension that adds a portal to the top of the sidebar in SkinTemplate based skins like Monobook, Modern and Vector.
 
; Other Wiki Portals
* [http://www.sourcewatch.org/index.php?title=Portal:Coal_Issues Portal:Coal Issues] (SourceWatch)
 
'''<big>Wiki Page Template & Layout Examples</big>'''
* [[wikipedia:|Wikipedia]]'s main page.
* [http://wiki.ussf2010.org/wiki/Template:USSFwikiNews USSFwikiNews Template]
: Replica: http://telecafe.org/smw/Template:USSFwikiNews
* [[mediawikiwiki:Template:Cartella|Template:Cartella]]
* [http://it.wikipedia.org/wiki/Categoria:Template_finestre Categoria:Template finestre]
* [[mediawikiwiki:Project:WikiProject Extensions|Project:WikiProject Extensions]]
* [[mediawikiwiki:Project:WikiProject Bug Squad|Project:WikiProject Bug Squad]]
* [[wikipedia:Template:Box-header|Template:Box-header]]
 
It's easy to copy other MediaWiki pages, <s>including templates incorporated into the page</s>, by using instructions found here:
: [[mediawikiwiki:Help:Templates#Copying_from_one_wiki_to_another|Help:Templates#Copying_from_one_wiki_to_another]]
; [[User:WikiMaster|Dave]]'s Note -- Actually copying templates is ''not'' very easy, and often quite problematic.
: "Protected" templates, transcluded templates, whether or not the person trying to export the template has sysop privileges and other issues can make exporting templates difficult and error prone.<ref>[[mediawikiwiki:Project_talk:PD_help/Copying#Templates_not_Exporting|Copying#Templates not Exporting]]</ref><ref>[[metawikipedia:Help:Export#Details_and_practical_advice|Help:Export#Details_and_practical_advice]]</ref>
: The MediaWiki instructions recommends UNCHECKING the "include only the current revision" box before exporting the template. Doing so, however, produces a '''much larger file'''. An attempt to import the larger file can result in a timeout error. To get a smaller file, make sure the "include only the current revision" remains CHECKED. Images and other files should also import with the other page elements. They will probably have to be uploaded separately to the new wiki.
 
; SEE ALSO
* [[metawikipedia:Help:Export|Help:Export]]
* [[mediawikiwiki:Manual:Parameters to Special:Export|Manual:Parameters to Special:Export]]
 
=== CSS ===
* [[mediawikiwiki:Manual:CSS|Manual:CSS]]
: [[File:Bulbgraph.png|18px|Note|link=]] '''Note''': If code added to [[mediawikiwiki:mediawiki:Common.css|mediawiki:Common.css]] doesn't take effect immediately, you may have to do a [[mediawikiwiki:MediaWiki:Clearyourcache|hard refresh]].
* [[metawikipedia:Help:Cascading style sheets|Help:Cascading style sheets]] ([[metawikipedia:|meta.wikimedia.org]])
* [[wikipedia:Help:Cascading style sheets|Help:Cascading style sheets]] ([[wikipedia:Wikipedia|Wikipedia]])
* [[wikipedia:Wikipedia:Catalogue of CSS classes|Wikipedia:Catalogue of CSS classes]]
: There are a lot of classes and IDs used on the [[wikipedia:English Wikipedia|English Wikipedia]]. The use of most of them is not clearly explained or described anywhere but on the place they are used. However, since Special:WhatLinksHere does not work for [[wikipedia:Cascading Style Sheets|CSS]], it can be hard to find these explanations; the definitions themselves can be located in many different places. This resource is an attempt to catalogue and describe all the classes and IDs used on [[wikipedia:English Wikipedia|English Wikipedia]].
 
==== CSS Extensions ====
* [[mediawikiwiki:Extension:CSS|Extension:CSS]]
: This extension allows CSS stylesheets to be included in specific articles. The CSS can be another article, a file or can be rules defined directly within the parser-function.
:: (Requires bug fixes found on the [[mediawikiwiki:Extension talk:CSS#Problem installing?|extension's talk page]] and <span class="plainlinks">[http://devthought.com/2009/06/09/fix-ereg-is-deprecated-errors-in-php-53/ elsewhere]</span>.)
: More instructions for use: [http://www.organicdesign.co.nz/CSS_example http://www.organicdesign.co.nz/CSS_example]
* [[mediawikiwiki:Extension:NewPageCSS|Extension:NewPageCSS]]
: If you are creating a wiki page that ends up requiring a lot of <code>style</code> modifiers, it's probably simpler to put them into a CSS style sheet.  That's what this extension does: it uses the tag <code>&lt;css&gt;</code> to include a CSS in the text of the wiki page; that CSS is then put into the header of the resulting HTML, and so formats your page.
;Common.css ~ Where is it?
* [[mediawikiwiki:Thread:Project:Forum/Common.css ~ Where is it?|Common.css ~ Where is it?]]
 
=== Skins & Themes ===
[[File:Information icon.svg|28px|Info|link=]] Some sites using MediaWiki have a '''special stylish skin'''.
* [[mediawikiwiki:Category:Skin extensions|Category:Skin extensions]]
* [[mediawikiwiki:Category:Skin|Category:Skin]]
* [[mediawikiwiki:Manual:Skinning|Manual:Skinning]]
* [[mediawikiwiki:Category:Skins Gallery|Category:Skins Gallery]]
* [[mediawikiwiki:Manual:Gallery of user styles|Manual:Gallery of user styles]]
* [[mediawikiwiki:Sites using MediaWiki/gallery|Sites using MediaWiki/gallery]]
 
; Extensions
* [[mediawikiwiki:Extension:Theme|Extension:Theme]]
: The Theme extension allows loading of themes (preset CSS to change the appearance of a skin).
 
; Tutorials Tools & Tips
* [http://blog.redwerks.org/2012/02/08/mediawiki-skinning-tutorial/ Tutorial: Creating a custom skin for MediaWiki 1.18+]
* [http://net.tutsplus.com/tutorials/tools-and-tips/how-to-theme-any-cms-using-firebug-with-a-wiki-example/ How to Theme any CMS Using Firebug (and MediaWiki as an Example)]


== Images ==
== Images ==
Line 187: Line 100:


== Spam / Vandalism ==
== Spam / Vandalism ==
<!-- Begin video. -->
<div class="thumb tright"><div class="thumbinner" style="width:420px;" "height:315px;">
<videoflash>rhC1DFeblik</videoflash>
<div class="thumbcaption">'''<span class="plainlinks">[http://www.youtube.com/watch?v=rhC1DFeblik Fighting spam in MediaWiki]</span>'''<br />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.</div></div></div><noinclude>[[Category:Social Justice]]</noinclude>
<!-- End video. -->
; [http://snowulf.com/2012/02/02/mediawiki-spam-is-such-a-headache/ MediaWiki spam is such a headache]
; [http://snowulf.com/2012/02/02/mediawiki-spam-is-such-a-headache/ MediaWiki spam is such a headache]


Line 231: Line 149:
* [[mediawikiwiki:Category:Spam management extensions|Category:Spam management extensions]]
* [[mediawikiwiki:Category:Spam management extensions|Category:Spam management extensions]]
: The Spam management extensions extension contains articles on extensions that help detect and clean-up spam.
: The Spam management extensions extension contains articles on extensions that help detect and clean-up spam.
* [[mediawikiwiki:Extension:AbuseFilter|Extension:AbuseFilter]]
: '''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_.26_Vandalism_.E2.80.9CProtection.E2.80.9D|PortlandWiki:Technical Queue#Spam & Vandalism “Protection”]] for notes on technical issues that currently block successful installation of [[mediawikiwiki:Extension:AbuseFilter|Extension:AbuseFilter]].)
* [[mediawikiwiki:Extension:Bad Behavior|Extension:Bad Behavior]]
: '''[http://www.bad-behavior.ioerror.us Bad Behavior]''' ([http://bad-behavior.ioerror.us/documentation/mediawiki/ 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_.26_Vandalism_.E2.80.9CProtection.E2.80.9D|PortlandWiki:Technical Queue#Spam & Vandalism “Protection”]] for notes on technical issues that currently block successful installation of [[mediawikiwiki:Extension:Bad Behavior|Extension:Bad Behavior]].)


* [[mediawikiwiki:Extension:SpamRegex|Extension:SpamRegex]]
* [[mediawikiwiki:Extension:SpamRegex|Extension:SpamRegex]]
Line 266: Line 192:
: DeleteBatch extension adds a special page -- Special:DeleteBatch -- where users with the 'deletebatch' right can delete multiple pages easily.
: DeleteBatch extension adds a special page -- Special:DeleteBatch -- where users with the 'deletebatch' right can delete multiple pages easily.


* [[mediawikiwiki:Extension:AbuseFilter|Extension:AbuseFilter]]
* [[mediawikiwiki:Extension:AbsenteeLandlord|Extension:AbsenteeLandlord]]
: '''AbuseFilter''' allows privileged users to set specific controls on actions by users, such as edits, and create automated reactions for certain behaviors.
: 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.
 
* [[mediawikiwiki:Extension:Bad Behavior|Extension:Bad Behavior]]
: '''[http://www.bad-behavior.ioerror.us Bad Behavior]''' ([http://bad-behavior.ioerror.us/documentation/mediawiki/ Bad Behavior on MediaWiki]) is a set of PHP scripts which automatically blocks harvesters, spam bots, and other funky stuff. Bad Behavior version 2 was released on July 4, 2006 with better support for blocking malicious edits on MediaWiki. It installs much as any other extension.


=== Semi-automated editing tools/scripts/bots ===
=== Semi-automated editing tools/scripts/bots ===
Line 339: Line 262:
:- 200 most recently created extensions
:- 200 most recently created extensions
:- [[wikipedia:Et cetera|Et cetera]]
:- [[wikipedia:Et cetera|Et cetera]]
=== Enable Article or Page Comments ===
[[File:Comment submission failed.png|thumb|400px|left|Message a not logged-in user gets when attempting to use [[mediawikiwiki:Extension:ArticleComments|Extension:ArticleComments]] after fix found [[mediawikiwiki:Extension:ArticleComments#Logged-In_Users_Only|here]] is applied.]]{{Clear}}
* [[mediawikiwiki:Extension:ArticleComments|Extension:ArticleComments]]
: 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:<br />
:: http://www.mediawiki.org/wiki/Extension:ArticleComments#Logged-In_Users_Only
* [http://www.futureofmankind.co.uk/Billy_Meier/Extension:ArticleComments Extension:ArticleComments] (Alternative version of [[mediawikiwiki:Extension:ArticleComments|Extension:ArticleComments]].)
: 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).
<pre>
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}
</pre>
* [[mediawikiwiki:Extension:CommentPages|Extension:CommentPages]]
: This experimental extension appears to be hastily written and then subsequently abandoned.
=== More Extensions To Organize &amp; Categorize ===


* [[mediawikiwiki:Template:Extension|Template:Extension]]
* [[mediawikiwiki:Template:Extension|Template:Extension]]
Line 399: Line 350:
:- [[mediawikiwiki:Extension:Configure#$wgConfigureStyleVersion|$wgConfigureStyleVersion]]
:- [[mediawikiwiki:Extension:Configure#$wgConfigureStyleVersion|$wgConfigureStyleVersion]]


=== MediaWiki Widgets ===
=== Widgets ===
; MediaWiki Widgets
* [[mediawikiwidgets:Widgets Catalog|MediaWiki Widgets - Widgets Catalog]]
* [[mediawikiwidgets:Widgets Catalog|MediaWiki Widgets - Widgets Catalog]]
* [[mediawikiwidgets:All pages (Widget namespace)|MediaWiki Widgets - All pages (Widget namespace)]]
* [[mediawikiwidgets:All pages (Widget namespace)|MediaWiki Widgets - All pages (Widget namespace)]]
Line 406: Line 358:
* [[mediawikiwidgets:Widget:Google Document|Widget:Google Document]]
* [[mediawikiwidgets:Widget:Google Document|Widget:Google Document]]
: This widget allows you to add '''[http://documents.google.com/support/ Google Documents]''' to your wiki page.
: This widget allows you to add '''[http://documents.google.com/support/ Google Documents]''' to your wiki page.
'''NOTE''': [[mediawikiwidgets:MediaWiki Widgets|MediaWiki Widgets]] is no longer frequently maintained.<ref>[https://groups.google.com/forum/?fromgroups#!forum/mediawiki-widgets mediawiki-widgets Google Group]</ref> May have to switch to [[mediawikiwiki:Extension:WidgetsFramework|WidgetsFramework]] or some other widget framework.
: '''List of articles on PortlandWiki using MediaWiki Widgets''':<br />http://portlandwiki.org/index.php?title=Special:Search&redirs=1&ns0=1&search=widget&limit=500&offset=0
; WidgetsFramework
* [[mediawikiwiki:Extension:WidgetsFramework|WidgetsFramework]]
: [[mediawikiwiki:Extension:WidgetsFramework|WidgetsFramework]] is a MediaWiki extension aimed at updating some of the work done by the [[mediawikiwiki:Extension:Widgets|Widgets]] extension. As of 06:51, 21 March 2013 (PDT), WidgetsFramework's [[mediawikiwiki:Extension:WidgetsFramework|main extension page]] and its [[mediawikiwiki:Extension talk:WidgetsFramework|talk page]] appear to be active.


=== Social Profile ===
=== Social Profile ===
Line 435: Line 393:
* [[mediawikiwiki:Extension:ContactPage|Extension:ContactPage]]
* [[mediawikiwiki:Extension:ContactPage|Extension:ContactPage]]
: 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.
: 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.
** [http://www.inmotionhosting.com/support/edu/mediawiki/add-contact-form-media-wiki/configure-contactpage-extension Configuring the ContactPage Extension in MediaWiki]


=== Video ===
=== Video ===
Line 467: Line 426:


== Other Resources ==
== Other Resources ==
=== Wiki Hacks ===
=== Links &amp; Linking ===
* [[mediawikiwiki:Extension:Auto-Anchor|Extension:Auto-Anchor]]
: 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 '''[[mediawikiwiki:Extension_talk:Auto-Anchor#Same_Fatal_Error|here]]'''. Removed the extension.
 
* [[wikipedia:Template:Anchor|Template:Anchor]]
: The template <code><nowiki>{{anchor}}</nowiki></code> inserts one or more HTML anchors in a page. Those locations can then be linked to using <code><nowiki>[[#link|...]]</nowiki></code> syntax.
 
* [[metawikipedia:Help:Anchors|Help:Anchors]]
* [[metawikipedia:Help:Anchors|Help:Anchors]]
: Go beyond traditional wiki anchor links. See example [[CA/Community Assembly Continuations#djm_notes|here]] of how custom anchor is used for footnotes.
: Go beyond traditional wiki anchor links. See example [[CA/Community Assembly Continuations#djm_notes|here]] of how custom anchor is used for footnotes.
Line 507: Line 473:


== External Data | Import/Export Data | Data Visualization | News ==
== External Data | Import/Export Data | Data Visualization | News ==
[[File:PageAttachmentExt Screenshot v2.png|thumb|500px|<big>'''[[mediawikiwiki:Extension:PageAttachment|Extension:PageAttachment]]'''</big><br />This extension extends MediaWiki to allow adding files to a page as attachments.]]
Spent day researching how to upload pre-written articles ''en masse''.
Spent day researching how to upload pre-written articles ''en masse''.
=== Embed External Web Pages ===
* [[mediawikiwiki:Extension:Anysite|Extension:Anysite]] (Installed on PortlandWiki.)
: '''Anysite''' extension allows users to embed or include a website in a wiki page without touching HTML settings.
* [[mediawikiwiki:Extension:HTMLets|Extension:HTMLets]]
: The '''HTMLets''' extension provides a way to include (inline) static HTML snippets into wiki pages without changing the default setting of [[mediawikiwiki:Manual:$wgRawHtml|$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 <tt>&lt;iframe&gt;</tt>, or an HTML form, without allowing users to insert arbitrary and potentially harmful code.
=== Attachments ===
* [[mediawikiwiki:Extension:PageAttachment|Extension:PageAttachment]]
: This extension extends MediaWiki to allow adding files to a page as attachments.


=== News Extensions ===
=== News Extensions ===
Line 571: Line 549:
: [http://www.mediawiki.org/wiki/Manual:Importing_external_content#Converting_content_from_a_CSV_text_file Manual:Importing external content - Converting content from a CSV text file]
: [http://www.mediawiki.org/wiki/Manual:Importing_external_content#Converting_content_from_a_CSV_text_file Manual:Importing external content - Converting content from a CSV text file]
:: [http://sourceforge.net/projects/csv2other/ csv and xls converter to wiki]
:: [http://sourceforge.net/projects/csv2other/ csv and xls converter to wiki]
* [http://excel2wiki.net/ Copy & Paste Excel-to-Wiki Converter]
Instructions:
# Paste cells from Excel and click Submit.
# Copy results into mediawiki-style wiki.
* [[wikipedia:Wikipedia:Tools#Importing_.28converting.29_content_to_Wikipedia_.28MediaWiki.29_format|Wikipedia:Tools#Importing (converting) content to Wikipedia (MediaWiki) format]]


=== APIs Tutorials ===
=== APIs Tutorials ===
Line 609: Line 594:


; File sharing on an [[wikipedia:Intranet|intranet]].
; File sharing on an [[wikipedia:Intranet|intranet]].
* [[mediawikiwiki:UNC links|UNC links]]
(Content moved to [[telecafe:User:Dave/Wikis In The Enterprise#MediaWiki_as_an_Intranet]].)
: The '''Universal Naming Convention''', or UNC, specifies a common syntax to describe the location of a network resource, such as a shared file, directory, or printer.
 
; [[wikipedia:Intranet|Intranet]] file sharing extensions.
* [[mediawikiwiki:Extension:UncPath|Extension:UncPath]]
* [[mediawikiwiki:Extension:FileLink|Extension:FileLink]]
* [[mediawikiwiki:Extension:FileProtocolLinks|Extension:FileProtocolLinks]]
* [[mediawikiwiki:Extension:FileLink ParserFunction|Extension:FileLink ParserFunction]]


=== Exporting & Importing Templates ===
=== Exporting & Importing Templates ===
Line 659: Line 637:
* [[mediawikiwiki:Extension:DrupalIntegration|Extension:DrupalIntegration]]
* [[mediawikiwiki:Extension:DrupalIntegration|Extension:DrupalIntegration]]
: 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 [[wikipedia:Content management system|CMS]] instead of integrating many applications/extensions. This extension allows to use [[wikipedia:Drupal|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 [[mediawikiwiki:Extension:AuthDrupal|Extension:AuthDrupal]].)
: 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 [[wikipedia:Content management system|CMS]] instead of integrating many applications/extensions. This extension allows to use [[wikipedia:Drupal|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 [[mediawikiwiki:Extension:AuthDrupal|Extension:AuthDrupal]].)
=== Drupal Commons ===
* [http://drupal.org/project/commons 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.
* [http://drupal.org/project/commons_wikis Commons Wikis]
: Provide the wiki functionality for Drupal Commons distribution.


=== Drupal Wiki ===
=== Drupal Wiki ===
* [http://drupal.org/project/drupalwiki Drupal Wiki]
* <s>[http://drupal.org/project/drupalwiki Drupal Wiki]</s> (No longer supported.)
: A list of tools written for [http://drupal-wiki.com/ www.drupal-wiki.com] to provide an enterprise Wiki + Social Network platform.
: A list of tools written for [http://drupal-wiki.com/ www.drupal-wiki.com] to provide an enterprise Wiki + Social Network platform.


=== Wiki Modules For Drupal 7 ===
=== 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.
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.
* [http://drupal.org/project/drupal_wiki Wiki installation profile] 7.x-1.0-alpha5 tar.gz (2.84 MB) | zip (3.31 MB) 2011-Sep-19
* [http://drupal.org/project/drupal_wiki Wiki installation profile]
; Included in the [http://drupal.org/project/drupal_wiki Wiki installation profile]:
; See the full list of modules included in the [http://drupal.org/project/drupal_wiki Wiki installation profile] here<nowiki>:</nowiki>
:- [http://drupal.org/project/drupal Drupal core] 7.9 tar.gz (2.66 MB) | zip (3.07 MB) 2011-Oct-26
: http://drupal.org/node/1910818
:- [http://drupal.org/project/pathauto Pathauto] 7.x-1.0 tar.gz (36.32 KB) | zip (41.48 KB) 2011-Oct-31
:- [http://drupal.org/project/talk Talk] 7.x-1.0-beta3 tar.gz (11.73 KB) | zip (13.17 KB) 2011-Nov-23
:- [http://drupal.org/project/token Token] 7.x-1.0-beta7 tar.gz (39.58 KB) | zip (43.48 KB) 2011-Oct-28
:- [http://drupal.org/project/diff Diff] 7.x-2.0 tar.gz (24.9 KB) | zip (27.57 KB) 2011-Jul-21
:- [http://drupal.org/project/extlink External Links] 7.x-1.12 tar.gz (15.99 KB) | zip (22.93 KB) 2010-Oct-17
:- [http://drupal.org/project/flexifilter Flexifilter] 7.x-1.0-beta1 tar.gz (30.83 KB) | zip (35.48 KB) 2011-Sep-19
:- [http://drupal.org/project/freelinking freelinking] 7.x-3.1 tar.gz (28.94 KB) | zip (41.38 KB) 2011-Aug-19
:- [http://drupal.org/project/wikitools Wikitools] 7.x-1.0-alpha1 tar.gz (13.18 KB) | zip (14.84 KB) 2011-Mar-11


==== Additional Modules ====
==== Additional Modules ====
* [http://drupal.org/project/comment_notify Comment notify] 7.x-1.0 tar.gz (20.17 KB) | zip (23.36 KB) 2011-Nov-02
* [http://drupal.org/project/comment_notify Comment notify]
* [http://drupal.org/project/tableofcontents Table of Contents] (7.x-1.x-dev tar.gz (32.76 KB) | zip (38.63 KB) 2011-Jul-20)
* [http://drupal.org/project/tableofcontents Table of Contents]
* [http://drupal.org/project/revisioning Revisioning] 7.x-1.2 tar.gz (43.52 KB) | zip (56.26 KB) 2011-Jul-19
* [http://drupal.org/project/revisioning Revisioning]
* [http://drupal.org/project/interwiki interwiki] 7.x-1.0-beta2 tar.gz (14.6 KB) | zip (16.91 KB) 2011-Jan-25
* [http://drupal.org/project/interwiki interwiki]
: This filter provides a simplified, wiki-like syntax for linking to articles or search results on many commonly-used internet reference websites.
: This filter provides a simplified, wiki-like syntax for linking to articles or search results on many commonly-used internet reference websites.
* [http://drupal.org/project/simplewiki SimpleWiki filter] (7.x-1.x-dev tar.gz (35.15 KB) | zip (35.44 KB) 2011-Oct-09)
* [http://drupal.org/project/simplewiki SimpleWiki filter]
: 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.
: 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.
* (Outdated) [http://drupal.org/project/pearwiki_filter PEAR Wiki Filter] Last version as of 00:53, 29 November 2011 (UTC) : 6.x-1.0-beta1 tar.gz (18.01 KB) | zip (24.83 KB) 2007-Dec-31
* (Outdated) [http://drupal.org/project/pearwiki_filter PEAR Wiki Filter] Last version as of 00:53, 29 November 2011 (UTC)
: Apparently [http://drupal.org/project/flexifilter Flexifilter] is the replacement module for [http://drupal.org/project/pearwiki_filter PEAR Wiki Filter].
: Apparently [http://drupal.org/project/flexifilter Flexifilter] is the replacement module for [http://drupal.org/project/pearwiki_filter PEAR Wiki Filter].


Line 777: Line 753:
* [[wikipedia:Wikipedia:Transclusion costs and benefits|Wikipedia:Transclusion costs and benefits]]
* [[wikipedia:Wikipedia:Transclusion costs and benefits|Wikipedia:Transclusion costs and benefits]]


; Content Transclusion Extensions
* [[mediawikiwiki:Extension:Labeled Section Transclusion|Extension:Labeled Section Transclusion]]
* [[mediawikiwiki:Extension:Labeled Section Transclusion|Extension:Labeled Section Transclusion]]
: This extension allows '''selective [[wikipedia:Wikipedia:transclusion|transclusion]]''' of marked-off sections of text.  Its functionality is similar to an enhanced version of the <nowiki><onlyinclude></nowiki> tag with normal wiki transclusion, which selects sections for inclusion.  It is currently enabled on meta.wikimedia.org, *.wikisource.org, and en.wiktionary.org.
: This extension allows '''selective [[wikipedia:Wikipedia:transclusion|transclusion]]''' of marked-off sections of text.  Its functionality is similar to an enhanced version of the <nowiki><onlyinclude></nowiki> 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.
 
* [[mediawikiwiki:Extension:Include|Extension:Include]]
: This extension lets a wiki include external static text content from the following sources:
#a remote URL
#local file system
#SVN, using "svn cat"


=== [[User:Kotra|kotra]] asks: ===
=== [[User:Kotra|kotra]] asks: ===

Latest revision as of 13:10, 5 March 2014

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

<videoflash>rhC1DFeblik</videoflash>

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: <img size=40>PDF.png</img> Community Assembly Program Outline (Simple) <img size=18>http://dl.dropbox.com/u/21342552/dropimage/Info_icon.png</img>
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.

[Interwiki transcluding is disabled]

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