Practical Semantic Mediawiki: Difference between revisions

Jump to navigation Jump to search
Line 1: Line 1:
'''Type''': Resolution
''This free hands-on workshop for non technical users emphasizes the "need to know" aspects of Web publishing, wikis, information design and Semantic Mediawiki for flexible, structured, practical re-usable content that fits into the Web of Data. It is not expected participants will become experts in all these topics, but will be able to create a site, and have an overview of what can be done as a basis of progressive learning. The workshop comes with unlimited free support for any open cause (as practical).''


'''Source File''': http://www.aclu.org/safefree/resources/17087res20030714.html
I will be guiding this workshop November 26, 2010 at [http://www.ecto.coop/ ecto coop] in Montreal from 10AM till 1PM.


'''Sample Text''':


'''MODEL LOCAL RESOLUTION TO PROTECT CIVIL LIBERTIES'''
= Forward =


'''WHEREAS''' the City of _______ is proud of its long and distinguished tradition of protecting the civil rights and liberties of its residents;
Practice site: '''{{PSITE|Practice}}'''


'''WHEREAS''' the City of _______ has a diverse population, including immigrants and students, whose contributions to the community are vital to its economy, culture and civic character;
== Acronyms ==


'''WHEREAS''' the preservation of civil rights and liberties is essential to the well-being of a democratic society;
* MW: Mediawiki
* SMW: Semantic Mediawiki


'''WHEREAS''' federal, state and local governments should protect the public from terrorist attacks such as those that occurred on September 11, 2001, but should do so in a rational and deliberative fashion to ensure that any new security measure enhances public safety without impairing constitutional rights or infringing on civil liberties;
= Web publishing =


'''WHEREAS''' government security measures that undermine fundamental rights do damage to the American institutions and values that the residents of the City of _______ hold dear;
== Difference between Semantic Mediawiki and static web sites, CMS, Mediawiki ==


'''WHEREAS''' the Council of the City of _______ believes that there is no inherent conflict between national security and the preservation of  liberty -- Americans can be both safe and free;
* Designing information well makes it easier to find, consistent and re-usable.


'''WHEREAS''' federal policies adopted since September 11, 2001, including provisions in the USA PATRIOT Act (Public Law 107-56) and related executive orders, regulations and actions threaten fundamental rights and liberties by:


(a) authorizing the indefinite incarceration of non-citizens based on mere suspicion, and the indefinite incarceration of citizens designated by the President as ""enemy combatants"" without access to counsel or meaningful recourse to the federal courts;
* Static web sites can be more difficult to manage active content, it's harder to re-use content. They can require more technical knowledge to edit consistently.
* Content management systems use forms to guide content editing, but they tend to require low level changes (database, programming), and most users have constrained access to the site
* Mediawiki is designed to organize large sets of pages, potentially with many involved people, with potentially less constrained access
* It is the same software the world-changing Wikipedia uses
* Semantic Mediawiki adds structured information and views (Wikipedia [http://www.gossamer-threads.com/lists/wiki/foundation/216574#216574 considers their approach])
** '''We are going to learn markup encoding in order to have more control over content and appearance'''


(b) limiting the traditional authority of federal courts to curb law enforcement abuse of electronic surveillance in anti-terrorism investigations and ordinary criminal investigations;
== Access models ==
* Fully open, no login required
* Require login for editing
* Require created accounts to edit (closed editing)
* Require created accounts to access (fully private)
** Encryption to avoid snooping


(c)  expanding the authority of federal agents to conduct so-called ""sneak and peek"" or ""black bag"" searches, in which the subject of the search warrant is unaware that his property has been searched;
Access models can be changed over time; avoid starting a wiki with jargon or unsympathetic content.


(d)  granting law enforcement and intelligence agencies broad access to personal medical, financial, library and education records with little if any judicial oversight;
== Site users ==


(e)  chilling constitutionally protected speech through overbroad definitions of ""terrorism"";
* Levels
** De-emphasize control, make it as flat as possible
** Bureaucrats still exist - edit site-wide content and styles, block pages and users
* OpenID signin allows people to use account information from other OpenID sites


(f)  driving a wedge between immigrant communities and the police that protect them by encouraging involvement of state and local police in enforcement of federal immigration law;
{{Practice|Create an account and sign in}}


(g)  permitting the FBI  to conduct surveillance of religious services, internet chatrooms, political demonstrations, and other public meetings of any kind without having any evidence that a crime has been or may be committed;
== Accessibility ==


'''WHEREAS''' new legislation has been drafted by the Administration entitled the Domestic Security Enhancement Act (DSEA) (also known as PATRIOT II) which contains a multitude of new and sweeping law enforcement and intelligence gathering powers, many of which are not related to terrorism, that would severely dilute, if not undermine, many basic constitutional rights, as well as disturb our unique system of checks and balances by:
''Here, accessibility refers to supporting people with vision, keyboard control or cognitive impediments.''


(a) diminishing personal privacy by removing important checks on government surveillance authority,
* Making sites accessible generally increases usability
** Works on more devices from text browser to handheld
** Typically more straightforward navigation
** Accessible hot keys can be used by any expert user
** [http://asyourworldchanges.wordpress.com/2008/10/06/using-the-curb-cuts-principle-to-reboot-computing/ The curb cuts principle]
* Mediawiki is accessible, SMW has issues (forms)
* Value content over appearance
* Use good captions for images (<nowiki>[[File:Orange.png|A square of the colour orange]]</nowiki>) , image maps


(b)  reduce the accountability of government to the public by increasing government secrecy,
== Terms of use ==
[[File:Copright continuum.jpg|right|500px|Copyright continuum, from traditional copyright to public domain]]


(c)  expanding the definition of ""terrorism"" in a manner that threatens the constitutionally protected rights of Americans, and
* Creative Commons - share with options for attribution, non-commercial, changes
** [http://creativecommons.org/choose/?jurisdiction=ca Choose your license]
* Traditional copyright - by permission only


(d)  seriously erode the right of all persons to due process of law
* Re-using content
** [http://search.creativecommons.org/ Find CC media]


'''WHEREAS''' these new powers pose a particular threat to the civil rights and liberties of the residents of our city who are Arab, Muslim or of South Asian descent; and
<br class="cleared" />


'''WHEREAS''' many other communities throughout the country have enacted resolutions reaffirming support for civil rights and civil liberties in the face of government policies that threaten these values, and demanding accountability from law enforcement agencies regarding their use of these new powers;
= Using Mediawiki =


'''THEREFORE BE IT RESOLVED''' THAT THE COUNCIL OF THE CITY OF _______:
[[File:MediaWiki_logo_without_tagline.png|right]]


1.  '''AFFIRMS''' its strong support for fundamental constitutional rights and its opposition to federal measures that infringe on civil liberties.
''Mediawiki is the underlying software of Wikipedia. It is robust, relatively easy to host (and there are lots of easy to use free and low cost hosting sites), and supported by a large community and supports hundreds of useful extensions.''


2.  '''AFFIRMS''' its strong support for the rights of immigrants and opposes measures that single out individuals for legal scrutiny or enforcement activity based on their country of origin.
<br class="cleared" />


3.  '''DIRECTS''' the Police Department of the City of _______ to:
== Progressive uses ==


:(a)  refrain from participating in the enforcement of federal immigration laws;
* Basic site with pages and categories
** You just need to know a few things for your wiki to be as useful as most Web sites
* Add widgets for more interactivity
* Wiki gardening to reorganize content
* Add semantic classes for reusable data


:(b)  seek adequate written assurances from federal authorities that residents of the City of _______ and individuals in the custody of the City of _______ who are placed in federal custody will not be subjected to military detention; secret detention; secret immigration proceedings; or detention without access to counsel, and refrain from assisting federal authorities obtain custody of such individuals absent such assurances;


:(c)  refrain from engaging in the surveillance of individuals or groups of individuals based on their participation in activities protected by the First Amendment, such as political advocacy or the practice of a religion, without particularized suspicion of criminal activity unrelated to the activity protected by the First Amendment;
* Typical users of a site
** Viewer
** Casual editor
** Advanced editor (defines new templates, categories)
** Gardener (organizes site content)
** Helper (helps others)
** Semantic coder
* Third party sites
** Media
** Page links
** Semantic content


:(d) refrain from racial profiling.  The police department shall not utilize race, religion, ethnicity, or national origin as a factor in selecting which individuals to subject to investigatory activities except when seeking to apprehend a specific suspect whose race, religion, ethnicity or national origin is part of the description of the suspect;
* Ideally online people will get to know each other through user pages ([http://en.wikipedia.org/wiki/User:Bkwillwm example])


:(e)  refrain, whether acting alone or with federal or state law enforcement officers, from collecting or maintaining information about the political, religious or social views, associations or activities of any individual, group, association, organization, corporation, business or partnership unless such information directly relates to an investigation of criminal activities, and there are reasonable grounds to suspect the subject of the information is or may be involved in criminal conduct;
== Creating pages ==


:(f)  refrain from: engaging in video surveillance unless the police have reasonable suspicion that the subjects of the video surveillance have or are about to commit a crime, establishing a general surveillance network of video cameras, deploying facial recognition technology or other unreliable biometric identification technology within the City of _______;
* How to name pages
** One topic per page
* Short, avoid special symbols, use sentence type capitalization, avoid Title Case unless appropriate


:(g) provide advance or simultaneous notice of the execution of a search warrant to any resident of the City of _______ whose property is the subject of such a warrant, and refrain from participating in a joint  search with any law enforcement agency absent assurances that such notice will be provided to such individuals during the  search;
=== Basic markup ===


:(h) refrain from undertaking or participating in any initiative, such as the Terrorism Information and Prevention System (TIPS), that encourages members of the general public to spy on their neighbors, colleagues or customers;
[[File:Sky_Clouds_13.jpg|right|400px|A picture of clouds with the sun poking through in case people start to panic]]


:(i) refrain from the practice of stopping drivers or pedestrians for the purpose of scrutinizing their identification documents without particularized suspicion of criminal activity;
''Rather than using a rich text editor, Mediawiki uses a progressively learned set of markup, that's designed to be human-readable, consistent and enforces meaning over appearance. It's not dependant on special programs, and could be carved into a park bench and retain its meaning.''


:(j) report to the City Council any request by federal authorities that, if granted, would cause agencies of the City of _______ to exercise powers or cooperate in the exercise of powers in apparent violation of any city ordinance or the laws or Constitution of this State or the United States;
* <nowiki>''Italic'', '''Bold'''</nowiki>
* <nowiki>* List heading level one</nowiki> — use # for numbered list
** <nowiki>** List level two</nowiki> — ## for numbered list
*** ...
* <nowiki>=Heading one=</nowiki>
** <nowiki>==Heading two==</nowiki>
*** ...


4. '''DIRECTS''' public schools and institutions of higher learning within the City of _______ to provide notice to individuals whose education records have been obtained by law enforcement agents pursuant to section 507 of the USA PATRIOT Act;
* <nowiki>[[Mypage]]</nowiki> — A wiki link
** "Red links" are links to pages that don't exist
** <nowiki>[[File:Mypicture.png]]</nowiki> — Media (inline or link)
*** A shortcut to creating images is to create the File: link first, then follow the red link to the upload form
** <nowiki>[[Mypage|This is my page]]</nowiki> Alternate link text (using pipe symbol)
* <nowiki>http://theirsite.com</nowiki> — A non-wiki link
** Use <nowiki>[]</nowiki> brackets and space after the link to use your own link text. <nowiki>[http://theirsite.com Their site]</nowiki>.


5. '''DIRECTS''' public libraries within the City of _______ to post in a prominent place within the library a notice to library users as follows: ""WARNING: Under Section 215 of the federal USA PATRIOT Act (Public Law 107-56), records of the books and other materials you borrow from this library may be obtained by federal agents. That federal law prohibits librarians from informing you if records about you have been obtained by federal agents. Questions about this policy should be directed to: Attorney General John Ashcroft, Department of Justice, Washington, DC 20530 "";
* <nowiki>{{My Template}}</nowiki> — A template of page-included content (reusable content, function or site value).. templates are included from the inside out — <nowiki>{{second{{first}} }}</nowiki>
** Don't Repeat Yourself
** Pipe symbol is used to pass parameters — <nowiki>{{Highlight|Anything}}</nowiki> can be used to consistently apply an appearance to anything passed as a parameter
* <nowiki>{{ #geocode: Montréal, Quebec}}</nowiki> — Template function, in this case geocode turns a place name into geographic coordinates
* <nowiki>{{{1}}}</nowiki> — SMW variable, in this case the first value passed to a template


6. '''Directs''' the City Council Chief of Staff to:
The most important rule is '''make sure your brackets match'''.


a. Transmit a copy of this resolution to Senators _______ and __________, and Representatives _________ accompanied by a letter urging them to:
* Finding or starting pages using go/search
* Proactive linking
** Brainstorm using links


* support Congressional efforts to assess the impacts of the PATRIOT Act       
{{Practice|Create a new page that's a unique generally recognized world [[:Category:Place|city]], include a link to another wiki page and another site.}}
* monitor federal anti-terrorism tactics and work to repeal provisions of the USA PATRIOT ACT and other laws and regulations that infringe on civil rights and liberties     
* ensure that provisions of the USA PATRIOT Act "sunset" in accordance with the provisions of the Act.      
* take a lead in Congressional action to prohibit passage of the Domestic Security Enhancement Act, known as "Patriot II"


7. '''DIRECTS''' the City Manager to seek periodically from federal authorities the following information in a form that facilitates an assessment of the effect of federal anti-terrorism efforts on the residents of the City of _______:
===Categories===


(a)    The names of all residents of the City of _______ who have been arrested or otherwise detained by federal authorities as a result of terrorism investigations since September 11, 2001; the location of each detainee; the circumstances that led to each detention; the charges, if any, lodged against each detainee; the name of counsel, if any, representing each detainee;
* Categories <nowiki>[[Category:Places with rivers]]</nowiki>
** Subcategories <nowiki>[[Category:Places with immediate access to water]]</nowiki>


(b)  The number of search warrants that have been executed in the City of _______ without notice to the subject of the warrant pursuant to section 213 of the USA PATRIOT Act;
''It's a good practice to put every page in at least one category.''


(c)    The extent of electronic surveillance carried out in the City of _______ under powers granted in the USA PATRIOT Act;
{{Practice|Put your page in a category, put that category in a sub-category}}


(d)  The extent to which federal authorities are monitoring political meetings, religious gatherings or other activities protected by the First Amendment within the City of _______;
===Images and files ===


(e)    The number of times education records have been obtained from public schools and institutions of higher learning in the City of _______ under section 507 of the USA PATRIOT Act;
* Uploading images and files


(f)    The number of times library records have been obtained from libraries in the City of _______ under section 215 of the USA PATRIOT Act;
=== Page maintenance===


(g)  The number of times that records of the books purchased by store patrons have been obtained from bookstores in the City of _______ under section 215___ of the USA PATRIOT Act;
* Moving pages
** Moving preserves the original link, can be useful for "also known as"


8. '''DIRECTS''' the City Manager to transmit to the City Council no less than once every six months a summary of the information obtained pursuant to the preceding paragraph and, based on such information and any other relevant information, an assessment of the effect of federal anti-terrorism efforts on the residents of the City of _______;
{{Practice|Move your page to a more specific location (Placename, Region), observe [[Special:RecentChanges]]}}
{{Bonus practice|Add an image, place it on the right and include a caption.}}


9. '''DIRECTS''' all public libraries to have a policy that ensures the regular destruction of records that identify the name of the book borrower after the book is returned, or that identify the name of the Internet user after completion of Internet use;
* Deleting pages


10. '''ADVISES''' all persons in local businesses and institutions, and particularly booksellers, to refrain when possible from keeping records which identify the name of the purchaser, and to regularly destroy such records that are maintained, in order to protect intellectual privacy rights; and be it
=== Templates ===


11. '''DIRECTS''' the City Manager to transmit a copy of this resolution to Governor ____, and appropriate members of the State Legislature, accompanied by a letter urging them to ensure that state anti-terrorism laws and policies be implemented in a manner that does not infringe on civil liberties as described in this resolution;
* Templates - used for consistently reused content or formatting


12. '''DIRECTS''' the City Manager to transmit a copy of this resolution to President Bush and Attorney General Ashcroft; and be it
* Like a page link, for the first instance just enter a template placeholder, using two curly brackets instead of square. <nowiki>{{My template}}</nowiki>
* Then follow the red link to fill in the template, and use it on other pages.
* Templates can accept parameters, separated by the pipe symbol. <nowiki>{{{Template|Parameter1|Parameter2|...}}</nowiki> Parameters are available in the template as <nowiki>{{{1}}}, {{{2}}}</nowiki>, etc.


13. '''FURTHER RESOLVED''' that the provisions of this Resolution shall be severable, and if any phrase, clause, sentence, or provision of this Resolution is declared by a court of competent jurisdiction to be contrary to the Constitution of the United States or of the State of _______ or the applicability thereof to any agency, person, or circumstances is held invalid, the validity of the remainder of this Resolution and the applicability thereof to any other agency, person or circumstances shall not be affected thereby
* [[Template example]]


[[Category:Civil Rights]]
=== Making pages look good ===
[[Category:Model Legislation]]
 
''CSS is the style system of Web pages and can also be used in Mediawiki. Like wiki markup, learning can be progressive.''
 
[http://www.placeography.org/index.php/Main_Page Placeography] | [http://genozymes-ge3ls.ca/wiki/Bioenergy Biofuel Visions]
 
* Re-using CSS styling <nowiki><div style="background: orange">Hello world</div></nowiki>
** Avoid losing meaning (don't use <nowiki><big></nowiki> for headers), keep it simple
* Re-using styles [[MediaWiki:Common.css]]
* Possible to hide MW's menus and change the 'skin'
 
{{Practice|Add <nowiki><div class="noticebox" style="float: right">...</div></nowiki> around some page content, add <nowiki><br class="cleared" /></nowiki> after}}
 
{{Bonus practice|Move your div to a reusable template}}
 
= Semantic Mediawiki =
 
[[File:SMW_logo_180px.png|right]]
 
''SMW is an extension ecology of MW that allows marking up content for re-use, and creating easier to use forms and views.''
 
 
* Meaning through annotations and relationships
** You define the relationships for your application
** Triples — subject, predicate, object
*** Subject — what we're talking about
*** Predicate — the relationship type
*** Object - what the subject is being related to
** Combine them and you can flexibly describe anything
 
** Montréal ''is a'' place
** Montréal ''has population'' 1,906,811
** Montréal ''has geographic coordinates'' 45.5088889, -73.5541667 (latitude and longitude)
 
* What properties does your content need to be useful?
 
== Inline property annotation ==
 
''Single instances of data can be marked-up using annotations. Annotations look like categories, but they use a double colon. The first part is the relationship type, the second either a value or object page.''
 
* <nowiki>[[Date::Jan 1, 2011]]</nowiki> — A date value that adds a date to the page it's on.
* <nowiki>[[asserted by::David Mason]]</nowiki> — A page link that asserts the page it's on
 
 
<div class="noticebox" style="background: #FFB04C">
'''Page: Montreal'''
 
* <nowiki>[[A::Place]]</nowiki>
* <nowiki>[[Population::1906811]]</nowiki>
* <nowiki>[[Geographic coordinates::45.5088889, -73.5541667]]</nowiki>
</div>
 
{{Practice|Add a population annotation to your place.}}
 
* [http://semantic-mediawiki.org/wiki/Help:Properties_and_types#List_of_data_types Built-in types]
* Geographic coordinate
* [[Special:Properties|Viewing all properties]]
* Subtypes
** A city is a place
 
* '''With inline properties, you can annotate any page in a freeform way, and query those annotations on other pages, using views like maps and timelines, simple lists for todo items, sums for numbers, etc'''
 
== Queries ==
 
''"Ask" queries can be added to any page to add links or values from other pages according to parameters, for example, by category, pages that have particular values, etc.''
 
** <nowiki>{{ #ask: [[A::Place]] }}</nowiki>
** <nowiki>{{ #ask: [[Category:City]] }}</nowiki>
 
* [[Special:Ask|Interactive queries]]
 
== Classes ==
 
''Instead of using inline property assignments, semantic classes use templates with value assignments. This allows display formatting and further, consistent semantic interaction according to the template name (which is usually the category).''
 
{{Practice|Change your page so it's a an Entity.}}
 
<div class="noticebox" style="background: #FFB04C">
'''Page: [[Montréal]]'''
 
<nowiki>{{Entity</nowiki><br />
<nowiki>|A=Place</nowiki><br />
<nowiki>|Population=10000</nowiki><br />
<nowiki>}}</nowiki>
</div>
 
Classes are composed of:
 
* A '''template''', which both assigns properties and displays them. You can change it to have all the pages look the same.
* '''Properties''', which is the collection of distinct data about that class
* A '''form''', which makes it easier to enter new page in that class
 
* {{PSITE|Special:CreateClass}} (template, properties, forms)
** One topic per page
** Formlink snippet to add to a page, for a form named Comment: <nowiki>{{#formlink:Comment|Add a comment}}</nowiki> [http://genozymes-ge3ls.ca/wiki/Bioenergy Example]
 
== Examples ==
 
* Form: [http://www.asiancanadianwiki.org/wiki/Amrita_Choudhury Asian Canadian Wiki]
* Form: [http://genozymes-ge3ls.ca/wiki/Special:FormEdit/Topic Biofuels vision]
* Databases: [http://genozymes-ge3ls.ca/wiki/Environmental_database Genozymes environmental databases]
 
* Class templates will often contain queries that show linked classes
 
=== Use cases of Semantic Mediawiki's classes===
 
==== Discourse DB ====
 
''http://www.discoursedb.org ([http://discoursedb.org/wiki/TSA_airport_screening_procedures_controversy example]) stores discourse relationships (position) for '''articles''' on current topics in a structured system.''
 
<pre>
{{Item
|author=The author or authors of the item; if there is more than one, separate their names with comas
|source=The publication in which it was printed/posted
|date=The date of publication
|url=A URL at which it can be found, if one exists
|quote=A one-to-four-sentence quote from the item, that captures the spirit of the opinion it holds
}}
</pre>
 
''The template includes a query for positions on this Item.''
 
<nowiki>{{#ask:[[Category:Positions]][[Addresses topic::{{PAGENAME}}]]|format=topiclayout}}</nowiki>, which uses the isfor, isagainst, and ismixed properties.
 
<pre>
{{#ask: [[is for::{{PAGENAME}}]]
  |format=template
  |template=ItemQuery
  |sort=Was published on
  |order=descending
  |link=subject
  |? Was written by
  |? Was published by
  |? Was published on
  |? Has URL
  |? Has quote
}}
</pre>
 
==== Placeography ====
 
''http://www.placeography.org ([http://www.placeography.org/index.php/Pillsbury_A_Mill%2C_301_Main_Street_South_East%2C_Minneapolis%2C_Minnesota example]) documents information about '''places'''. Its properties show some of the ambiguities when trying to describe things.''
 
<pre>
{{Infobox Building
|Building name
|Image
|Address
|Neighbourhood
|City-locality
|State-province
|County
|Country
|Year built
|Year razed
|Primary style
|Secondary style
|Additions
|Major Alterations
|Moved from Location
|Historic Function
|Current Function
|Architect or source of design
|Builder
|...
}}
</pre>
 
==== Asian Canadian Wiki ====
 
''http://www.asiancanadianwiki.org  ([http://www.asiancanadianwiki.org/wiki/Ni_Komang_Swijani example]) AAType is used for '''artists''' and '''organizations'''.''
 
<pre>
{{AAType
|Image=uploaded picture
|Home page=URL
|Arts=acting, dance, ...
|Type=Person or Group
|Aspects=Developer, Moderator, Prominent
}}
</pre>
 
The template includes queries for Events for the current page.
 
 
Forms and templates can support multiple properties per field.
 
{{Practice|Create your own semantic class using {{PSITE|Special:CreateClass}} with template, properties, form. Add pages to it Include a Place field that has a type of Page }}
 
{{See|[http://www.mediawiki.org/wiki/Extension:Semantic_Forms Semantic Forms documentation].}}
 
== Views ==
 
<div style="float: right">
{{ #ask: [[Geographic coordinate::+]]|format=map}}
</div>
 
* Format= parameter to queries
** <nowiki>{{ #ask: [[Geographic coordinate::+]]|format=map}}</nowiki>
 
* [http://innovationcell.com/wiki/Impact Timeline], Calendar, Map, [http://www.asiancanadianwiki.org/wiki/Facet_browse_with_map Facet browser]
 
{{Practice|Create a facet view for entered places}}
 
<br class="cleared" />
 
== Basic inference==
 
''Inference is used to derive information from basic details.''
 
<nowiki>{{#ifexpr: {{{Population|}}} > 50000
 
| [[Category:City]] }}
</nowiki>
 
''If the page's population is greater than 50000, then put it in the category of city.''
 
* ''If it's within 500m of a place...''
* ''If it has been visited in the last 4 months''
* ''If it has a picture...''
* ''If it has more than one relation...''
 
This is a simple form of artificial intelligence, that can be very useful for large sets of pages for arbitrary classifications.
 
{{See|[http://www.mediawiki.org/wiki/Extension:Parser_function_extensions parser functions documentation].}}
 
== Future directions==
 
* Relating ontologies (categories and properties) between sites
* Reusing content
** Open data — information from government and other sources is becoming available
* Easier to use interfaces
** But it always helps to have an understanding of the details
* Creating a big picture across the web where anyone can ask questions and add their data
 
<br class="cleared" />
 
= Mediawiki Widgets=
 
''[http://www.mediawikiwidgets.org/Main_Page Mediawiki Widgets] allow embedding third-party site content for rich media (Youtube, photo sites, etc) and interactive discussions (DISQUS, Twitter, etc) without needing to set it up or host it on your site''.
 
* DISQUS discussion
** Register with DISQUS
** Get key
** Create [[Widget:DISQUS|widget]]
** Embed widget on pages
 
= Converting content or sites =
 
* [http://johnmacfarlane.net/pandoc/ Pandoc]
* Convertors for [http://wiki.services.openoffice.org/wiki/Convert2MediaWiki Open Office], [http://wikieducator.org/Microsoft_Launches_Open_Source_Filter_for_Mediawiki Microsoft Word]
* Convert from spreadsheet, other databases, etc.
 
= Hosting =
 
* [[Special:Export]] a site, modularize by category
** Complete site export
* [[Special:Version]]
* Free light/startup hosting
* Inexpensive Mediawiki with SMW option
* Wikia
* Self-hosting
 
= Getting help =
 
* View source of pages
* Mediawiki help sites and community
* Semantic mediawiki help sites and community
* If it's for an open cause, ask me
** User group
 
= Reusing this workshop =
 
Material on this page is free to re-use under a [http://creativecommons.org/licenses/by-sa/2.0/ Creative Commons by-sa license], please attribute wiki.zooid.org.
 
[[Category:SemWeb]]
[[Category:Practical Semantic Mediawiki]]
 
{{Blikied|Nov 25, 2010}}

Navigation menu