Editing Wikisphere extensions

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:


== Wikisphere ==
==Wikisphere==


Wikisphere offers a group of interdependent extensions


=== Common ===
'''Modules'''
 
(each module is technically an autonomous extensions)
{| class="wikitable"
|+
!name
!description
|-
|Wikisphere common
|Common methods required from the various Wikisphere extensions
|-
|Wikisphere PageProperties
|Allows to easily edit display title, language and content model of a page. Provides support for SEO and published/draft state of pages
|-
|Wikisphere PageOwnership
|Provides support for page ownership and attribution
|-
|Wikisphere Subpages
|Provides the list of subpages on the navigation panel, a magic word to display subpages of a given page, and a special page to navigate through suppages
|-
|File Inclusion
|A simple extension to display the content of authorized files within pages
|-
|Preload content
|(not yet developed) Automatically creates pages upon form submission based on the regular expressions
|}
 
 
===Configuration===
{| class="wikitable"
|+
!variable
!possible values
!description
|-
|$wgWikisphereUploadDisableWarnings
|true/false
|disable "was-deleted", "duplicate" and "duplicate-archive" warnings on file upload (requires the patches in the file [[Source code & patches/includes/upload/UploadBase.php|includes/upload/UploadBase.php]])
|-
|$wgWikisphereUploadUnderCurrentPage
|true/false
|upload images under the current page. E.g. A picture named "cover.png" will be uploaded in the path Book name/cover.png rather than without any path (as in standard WIKIs). This allows the use of generic name for pictures, which are by contrast characterized by their path. (requires the patches [[Source code & patches#Files.2FUpload|described here]])
|-
|$wgWikisphereAllowCreationRegularPages
|true/false
|if the extension Wikisphere PageOwnership is installed, regular users cannot create pages outside their owned pages. Setting this variable to true in combination with $wgWikisphereHandleDraftState set to "new" or "all" lets regulars users to create any page, at the same time leaving to moderators the power to publish it when appropriate
|-
|$wgWikisphereCreateOwnedPageRealName
|true/false
|if the extension Wikisphere PageOwnership is installed, automatically creates an owned page corresponding to the real name as soon as an user signs in
|-
|$wgWikisphereCreateOwnedPageTimestamp
|true/false
|if the extension Wikisphere PageOwnership is installed, automatically creates an owned page corresponding to the timestamp of the account creation as soon as an user signs in
|-
|$wgWikispherePostOnWikisphere
|true/false
|posts the semantic content c
|-
|$wgWikisphereHandleDraftState
|none, new, all, owned
|requires the extension Wikisphere PageProperties. If set to "none" the pages don't need to be explicitly published through the  page Properties (reachable from the dropdown of page actions, see picture 1) to be accessible to everybody. If set to "new" only new pages need to be explicitly published to be accessible to everybody. If set to "owned" only owned pages and subpages need to be published to be accessible to everybody or to be posted on the global site wikisphere.org (front-end)
|}
 
 
===Magic Words / Parser functions===
{| class="wikitable"
|+
!name
!use case
!description
|-
|noparse
|<nowiki>{{#noparse: <a href="">my link</a>}}</nowiki>
|can be used to print raw html within the page when [[mediawikiwiki:Manual:$wgRawHtml|$wgRawHtml]] is disabled
|-
|hostname
|<nowiki>{{#hostname:}}</nowiki>
|prints the host name, currently used by [[Template:Pdf thumbnail|Pdf thumbnail]] to open the pdf file
|}
 
 
==Wikisphere Common==


Common methods required from the various Wikisphere extensions
Common methods required from the various Wikisphere extensions


Features:


=== Subpages ===
<br />


Provides the list of subpages on the navigation panel, a magic word to display subpages of a given page, and a special page to navigate through suppages
* Displays the list of forms on the left navigation panel
* outputs script global variables on page head
* implements "userCan" on behalf of other Wikisphere extensions
* displays "Powered by WikiSphere" icon
* implements magic words "noparse" and "hostname"
* implements basic functions required by other Wikisphere extensions<br />


<br />


=== PageProperties ===
==PageProperties==


Provides SEO and published/draft state of pages. Only admins and page creators can publish a page.
Provides SEO and published/draft state of pages. Only admins and page creators can publish a page.




=== PageOwnership ===
==PageOwnership==




=== Preload content ===
==Subpages==
Provides the list of subpages on the navigation panel, a magic word to display subpages of a given page, and a special page to navigate through suppages








== CI Forms ==
==Preload content==
Please note that all contributions to Wikisphere may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikisphere:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)