SSF:About

From Stop Synthetic Filth! wiki
Revision as of 13:29, 21 August 2021 by Juho Kunsola (talk | contribs) (+ == Other settings == <code>$wgNamespacesWithSubpages[NS_MAIN] = true;</code> # Enable subpages in the main namespace)
Jump to navigation Jump to search
w:Copyleft is called "the user's right" in Finnish as it gives the user lots of rights, which the user may forfeit through being a dirty pirate, but who pirates free stuff?
The SSF! wiki is permanently licensed under CC BY-SA 4.0 w:copyleft license, except where other w:copyright or other copyleft license already exists. See all Creative Commons licenses on Wikipedia.
Stop Synthetic Filth! wiki is hosted in Helsinki, Finland at a hosting business that uses electricity from renewable sources only. (Check)



MediaWiki

The #SSF! wiki has the following configuration. Observe: this is not a complete listing of the configuration.

ConfirmAccount

The mw:Extension:ConfirmAccount settings are as follows:

$wgMakeUserPageFromBio = false;

$wgAutoWelcomeNewUsers = false;

$wgConfirmAccountRequestFormItems = array(

       'UserName'        => array( 'enabled' => true ), # Your choice of user name
       'RealName'        => array( 'enabled' => false ), # Not asked, this would be a nice field to have, if it was possible to add it as an optional field
       'Biography'       => array( 'enabled' => false, 'minWords' => 50 ),
       'AreasOfInterest' => array( 'enabled' => false ),
       'CV'              => array( 'enabled' => false ),
       'Notes'           => array( 'enabled' => true ), # Optional / Can be blank - Any info you want to provide
       'Links'           => array( 'enabled' => true ), # Optional / Can be blank - Any info you want to provide
       'TermsOfService'  => array( 'enabled' => false ),

);

reCAPTCHA settings

reCAPTCHA settings for the server

$wgGroupPermissions['*'            ]['skipcaptcha'] = false;
$wgGroupPermissions['user'         ]['skipcaptcha'] = false;
$wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;
$wgGroupPermissions['bot'          ]['skipcaptcha'] = true; // registered bots
$wgGroupPermissions['sysop'        ]['skipcaptcha'] = true;

$wgCaptchaTriggers['edit']          = true; 
$wgCaptchaTriggers['create']        = true; 
$wgCaptchaTriggers['addurl']        = true; 
$wgCaptchaTriggers['createaccount'] = true;
$wgCaptchaTriggers['badlogin']      = true;


reCAPTCHA settings explained for humans

In human readable terms the reCAPTCHA settings are as follows:

  1. Anonymous users have to pass the captcha always
  2. Non-autoconfirmed users have to pass the captcha always
  3. Autoconfirmed users do not have to pass the CAPTCHA (See #Autopromotion settings explained for humans to figure out when you will be autoconfirmed)

Email settings

  1. $wgEnableEmail = true;
    Email is enabled. See mw:Manual:$wgEnableEmail for more info.
  2. $wgEnableUserEmail = true;
    Emailing users with [[Special:EmailUser/Username]] is enabled if the user has verified his/her email address and has not disabled receiving mail via wiki. See mw:Manual:$wgEnableUserEmail for more info.
  3. $wgEnotifUserTalk = true;
    Emailing notices about someone else having edited your talk page are enabled. See mw:Manual:$wgEnotifUserTalk for more info
  4. $wgEnotifWatchlist = true;
    Email notices about someone editing a page on your Special:Watchlist are enabled. See mw:Manual:$wgEnotifWatchlist for more info.
  5. $wgEmailAuthentication = true;
    Requirement to verify your email address is enabled. Without having a verified email address of the email functions only the sending new password via email will work. Also not verifying email address stops a user from being autopromoted to autoconfirmed-status. See mw:Manual:$wgEmailAuthentication for more info.

Scary transclusion

$wgEnableScaryTransclusion = true; is enabled and Special:Interwiki adjusted so that pages with the interwiki prefix 'wikipedia:' can be transcluded by writing {{wikipedia::Article name}}

Mobile interface

mw:Extension:MobileFrontend (MF) and mw:Skin:Minerva Neue together make a mobile view. See mw:Extension talk:MobileFrontend mw:Skin talk:Minerva Neue for more information.

Adding links to the mobile menu can be done through MediaWiki:Mobile.js | Topic on Extension talk:MobileFrontend (2020-11-30)

Advanced Mobile Contributions (AMC) needs to be enabled for all users in order for them to see a link to Special:RecentChanges and Special:SpecialPages

  • In the following configuration
  • "base" => all mobile users
  • "beta" => users that have enabled the beta features in the mobile menu -> settings
  • "amc" => users that have enabled AMC in mobile menu -> settings


Here is the configuration for the mobile interface:

wfLoadSkin( 'MinervaNeue' );  # load skin specifically developed for mobile device audience
$wgMFDefaultSkinClass = 'SkinMinerva'; # default skin for MF
wfLoadExtension( 'MobileFrontend' ); # load MF
$wgMFAutodetectMobileView = true; # explicit setting of this is not required since Mediawiki version (???)
$wgMFAdvancedMobileContributions = true; # allow AMC. Obs. without this there will be no reasonable minimum menu
$wgMinervaPageActions = array( # show UI for page actions: edit, talk, watch, switch language
        'edit' => true,
        'talk' => true,
        'watch' => true,
        'switch-language' => true
);
$wgMinervaHistoryInPageActions = array( # show UI for page history in mobile menu to all mobile users
  'beta' => true,
  'base' => true,
  'amc' => true
);
$wgMinervaAdvancedMainMenu = array(  # Enable Advanced Main Menu in mobile menu to all mobile users
  'beta' => true,
  'base' => true,
  'amc' => true
);
$wgMinervaPersonalMenu = array( # Show personal menu in mobile menu to all mobile users
  'beta' => true,
  'base' => true,
  'amc' => true
);


Autopromotion to skip CAPTCHA permanently

This is no longer very relevant as users created by Juho will be autoconfirmed. This may be useful for some cases, but due to the spammers passing reCAPTCHA accounts are upon request

“Make 7 edits, and when your account has existed for at least 1 hour and have clicked the "Verify my email"-link sent to verify possession of a valid email account and you can skip captcha permanently.”

~ Juboxi on settings of the autopromotion


Autopromotion settings for the server

$wgAutopromote = array(
        'autoconfirmed' => array(
                '&',
                APCOND_EMAILCONFIRMED,
                array( APCOND_EDITCOUNT, 7 ),
                array( APCOND_AGE, 60*60 ),
        ),
);

Autopromotion settings explained for humans In human readable terms:

  1. Users will be automatically promoted to autoconfirmed when all three conditions are met
    1. They have confirmed their email address by clicking on the confirmation link in the email sent by the system when registering an account
    2. They have made 7 edits
    3. Their account has existed for at least one hour

These values may need to be adjusted in the future. The goal of these settings is to

  1. Avoid spamming, vandals etc.
  2. To give genuine contributors ability to edit without needing to solve CAPTCHAs reasonably quickly

Other settings

$wgNamespacesWithSubpages[NS_MAIN] = true; # Enable subpages in the main namespace


Magic words

See mw:Help:Magic words



Tidio chat

Tidio.com is a nice chat service provider that offers 7 days of free premium, after which a downgrade to the free-tier with some crippling from the software's full potential.

It may be installed on many platforms. I installed it for the SSF! Wordpress.

Once the chat is installed, it can be included on unlimited number of pages with a Javascript script inserted in the <body> ... </body> according to the documentation, but seems to work just fine also in the <head> ... </head>, which was actually what they suggested previously.

To enable a Tidio chat on a Mediawiki, one way is to install, load and configure mw:Extension:HeadScript

Instructions

  • Install mw:Extension:HeadScript
  • Add wfLoadExtension( 'HeadScript' ); to LocalSettings.php
  • You can find the code in the 'Tidio Panel' -> 'Settings' -> Installation -> 'If you still want to access your JavaScript code or reinstall the chat - click here' -> 'Javascript'. Copy this code.
  • Add the code to load the script to LocalSettings.php as instructed in the extension's documentation.

Instructions

  1. To get an account you need to perform the only the 4 following things
    1. Select an username
    2. Provide a valid email address (the other fields are optional)
    3. Pass the ReCAPTCHA once
    4. Verify your email After you have requested an account you will receive an email from s e r v i c e s @ stop-synthetic-filth.org asking you to click the link in the email to verify your email.
    Requesters must verify their email by clicking the link or it will not show up in the account requests queue. Your account request will be processed. We will never sell or hand over your email addresses to 3rd parties.