User:Cognitive

From cognitivecomputer
Jump to: navigation, search

MediaWiki has been installed.

Consult the User's Guide for information on using the wiki software.

Getting started

Special Pages

Changes Made to this MediaWiki Application

Installation

Wikimedia installed at Cognitive Computer

Changes Made to Media Wiki

December 22, 2016: Change 1: Preventing anonymous editing

Add this to LocalSettings.php

$wgGroupPermissions['*']['edit'] = false;

December 22, 2016: Change 2: Allowing only admins to create accounts

Add this to LocalSettings.php (requires 1.5.1)

$wgGroupPermissions['*']['createaccount'] = false;

December 22, 2016: Change 3: Do Not Allow Users to Register

Add this to LocalSettings.php (requires 1.5.1)

$wgGroupPermissions['*']['createaccount'] = false;

December 22, 2016: Change 4: Allow Uploads

To enable image uploads, make sure the 'images' directory is writable, then set this to true:

$wgEnableUploads = true;

December 22, 2016: Change 5: Added Citation Extension

The extension files were already included in the directory wiki/extensions/Cite.

Added the following to the LocalSettings.php file:

require_once( $IP.'/extensions/Cite/Cite.php' );

December 22, 2016: Change 6: Installed the Template:Reflist

Went to Template:Reflist on Wikipedia

Clicked on "View Source" and copied the source

Created a new page: Template:Reflist

Copied the source.

Citations work on my Ninja article

January 7, 2017: Change 7: Installed Hit Counter

Reference Hit Counter Page

0. Confirmed I am using V 1.28 of Mediawiki (Extension only works with 1.24 or above)

1. Installed Hit Counter Folder in Extensions

2. Added the following code at the bottom of LocalSettings.php:

wfLoadExtension( 'HitCounters' );

Gave me a database error Reverted to previous LocalSettings

Changes that Need to Be Made

Created an 135 by 135 png logo

Uploaded it to /www/skins/common/images/

directory and renamed it wiki.png

Other Stuff that I used on 'Research and Ideas' That I am not using here

Change 7: Allow Users to Register - This Change has been superceded by Change 10

Add this to LocalSettings.php (requires 1.5.1)

$wgGroupPermissions['*']['createaccount'] = true;

  • This Change has been superceded by Change 10

Change 8: Do Not Allow Users to Create New Pages

Add this to LocalSettings.php

$wgGroupPermissions['*']['createpage'] = false;

$wgGroupPermissions['user']['createpage'] = false;

Change 9: Give the Administrator Permission to Create New Pages

Add this to LocalSettings.php

$wgGroupPermissions['sysop']['createpage'] = true;

Change 11: Upgraded Mediawiki Version from 1.10 to 1.19.1

Contracted with Siteground to upgrade my MediaWiki Version from 1.10 to the latest stable version 1.191 so that I would be ablt tostart using the "html" tag which was implemented in version 1.3.4

My Statement of Work to SiteGround

STATEMENT OF WORK

1. Upgrade my MediaWiki Site from V1.10 to the latest stable version which I believe is 1.19.0

2. Implementing the nine changes I have made to MediaWiki listed at:

http://researchandideas.com/index.php?title=User_talk:Pickens

3. Implement the "html" tag in the upgrade

4. Perform a backup to my site before upgrading to V1.19

5. Ensure that all my pages are migrated successfully to the new version

Change 12: Manual:RevisionDelete

https://www.mediawiki.org/wiki/Manual:RevisionDelete

Added to LocalSettings.php

$wgGroupPermissions['sysop']['deletelogentry'] = true;

$wgGroupPermissions['sysop']['deleterevision'] = true;