3,839
edits
Juho Kunsola (talk | contribs) (+ File:Cc-by-sa (1).svg + link to CC BY-SA 4.0 + link to all Creative Commons licenses on Wikipedia + tweak copyleft caption) |
Juho Kunsola (talk | contribs) (Documenting mobile interface (big edit)) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
== Accounts are available by request == | == Accounts are available by request == | ||
There was a problem with spammers registering accounts, so now accounts are [[Special:RequestAccount|available upon reasonable request]]. | There was a problem with spammers registering accounts, so now accounts are [[Special:RequestAccount|available upon reasonable request]]. | ||
To get an account you need to perform the only the 4 following things | |||
# Select an '''username''' | |||
# Provide a '''valid email''' address (the other fields are optional) | |||
# Pass the ReCAPTCHA once | |||
# '''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. | |||
The [[mw:Extension:ConfirmAccount]] settings are as follows: | |||
<code>$wgMakeUserPageFromBio = false;</code> | |||
<code>$wgAutoWelcomeNewUsers = false;</code> | |||
<code>$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 ), | |||
); | |||
</code> | |||
---- | ---- | ||
Line 93: | Line 123: | ||
== Scary transclusion == | == Scary transclusion == | ||
<code>$wgEnableScaryTransclusion = true;</code> is enabled and [[Special:Interwiki]] adjusted so that pages with the interwiki prefix 'wikipedia:' can be transcluded by writing <nowiki>{{wikipedia::Article name}}</nowiki> | <code>$wgEnableScaryTransclusion = true;</code> is enabled and [[Special:Interwiki]] adjusted so that pages with the interwiki prefix 'wikipedia:' can be transcluded by writing <nowiki>{{wikipedia::Article name}}</nowiki> | ||
== Mobile interface == | |||
'''[[mw:Extension:MobileFrontend]]''' (MF) and '''[[mw:Skin:Minerva Neue]]''' together make a mobile view. | |||
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: | |||
<code> | |||
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 | |||
); | |||
</code> |