User:WikiMaster/Projects

From PortlandWiki
Revision as of 16:45, 1 July 2011 by WikiMaster (talk | contribs) (→‎Semantic MediaWiki: Semantic MediaWiki Plus Publications)
Jump to navigation Jump to search

Outreach

Goals

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

Planning

PortlandWiki:Planning

Neighborhoods

Semantic MediaWiki

Calendar Tools

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

List of Semantic MediaWiki Plus Publications

Other mediawiki extensions

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

Video

Flickr Extensions

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

Gadgets

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

Wikia

Other Admin To Do

Other Resources

External Data | Import/Export Data

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

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.

External Data

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

APIs Tutorials

Article::doEdit()

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

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

Import / Export Tools & Extensions

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

Templates, Infoboxes, Microformats, Etc.

Interwiki

Interwiki | magicword

Wiki Modules For Drupal 7

MediaWiki & 3rd Party Integration

Transclude External Templates

Manual:$wgEnableScaryTranscluding

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

Scary Transclusions: Exact Character Case Matters!

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


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

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

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

Source: "Template fetch failed"

These syntax examples appear to work after page purge:

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

[Interwiki transcluding is disabled]

Transcluded invite ends here.

Image Transclusion & Namespaces Transclusion Issues

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

Further (transclusion issues) research.

kotra asks:

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

Other stuff

snippet library — A code snippets collection.

References