|
Dados de MRG |
270x160px
|
Nome |
MRG
|
Nascimento |
1988
|
Naturalidade |
Loulé - Portugal -
|
Posição |
WikiDev
|
Áreas de interesse:
Funções adicionadas para actualização para 1.24
$wgSitename = "Wiki Sporting, a enciclopédia do Sporting Clube de Portugal";
para
$wgSitename = "Wiki Sporting";
- Adição das extensões MobileFrontend e Mantle para usar a novão versão mobile da wikimedia.
- Adição da extensão MultimediaViewer para poder ver as imagens e écran inteiro.
- Pages optimized to display well on mobile devices should include a meta viewport in the head of the document specifying the below. Should be added to SkinVector.
$out->addMeta ( 'viewport', 'width=device-width, initial-scale=1' );
- Maximum time in seconds to cache resources served by the resource loader. Should be added to LocalSettings.
$wgResourceLoaderMaxage = array(
'versioned' => array(
// Squid/Varnish but also any other public proxy cache between the client and MediaWiki
'server' => 30 * 24 * 60 * 60, // 30 days
// On the client side (e.g. in the browser cache).
'client' => 30 * 24 * 60 * 60, // 30 days
),
'unversioned' => array(
'server' => 24 * 60 * 60, // 24 hours
'client' => 24 * 60 * 60, // 24 hours
),
);
- Deactivate User CSS and JS. Should be added to LocalSettings.
# User Javascript and CSS
$wgAllowUserJs = false;
$wgAllowUserCss = false;
- Disable links to talk pages of anonymous users. Should be added to LocalSettings.
$wgDisableAnonTalk = true;
- Set default searching fields. Should be added to LocalSettings.
$wgNamespacesToBeSearchedDefault = array(
NS_MAIN => true,
NS_TALK => false,
NS_USER => true,
NS_USER_TALK => false,
NS_PROJECT => true,
NS_PROJECT_TALK => false,
NS_FILE => true,
NS_FILE_TALK => false,
NS_MEDIAWIKI => true,
NS_MEDIAWIKI_TALK => false,
NS_TEMPLATE => true,
NS_TEMPLATE_TALK => false,
NS_HELP => true,
NS_HELP_TALK => false,
NS_CATEGORY => true,
NS_CATEGORY_TALK => false
);
- Enable the UniversalEditButton for browsers that support it. Should be added to LocalSettins.
$wgUniversalEditButton = true;
- XHTML5 is the default since 1.22. Setting it to false, in LocalSettings, no longer works.
$wgHtml5 = true;
- Enable HTML5 microdata attributes for use in wikitext. Great for "Dados do Jogador" and Filiais/Núcleos...Should be added to LocalSettings.
$wgAllowMicrodataAttributes = true;
- This is the list of preferred extensions for uploading files. Uploading files with extensions not in this list will trigger a warning. Should be added to LocalSettings.
$wgFileExtensions = array(
'png', 'gif', 'jpg', 'jpeg', 'jp2', 'webp', 'ppt', 'pdf', 'psd',
'mp3', 'xls', 'xlsx', 'swf', 'doc','docx', 'odt', 'odc', 'odp',
'odg', 'mpp', 'svg'
);
/* Código CSS colocado aqui afectará os utilizadores do tema Vector da WikiSporting.com */
/** HTML TEMPLATE **/
#wrapper {
width: 915px;
margin: auto;
margin-top: 20px;
margin-bottom: 20px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
background-color: #E2E2E2;
border-width: 2px;
border-style: solid;
border-color: #CCCCCC;
padding: 20px;
}
#header_area {
text-align: center;
width: 100%;
}
#header_area IMG {
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
#content_area {
background-color: #FFFFFF;
border-color: #CCCCCC;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
width: 96%;
margin-top: 20px;
padding-left: 2%;
padding-right: 2%;
}
#footer_area {
width: 100%;
font-size: x-small;
overflow: hidden;
}
.footer_area_left {
float: left;
width: 50%;
padding-top: 1%;
}
.footer_area_right {
float: right;
width: 50%;
text-align: right;
padding-top: 1%;
}
#p-cat-universo {
background-color: #E2E2E2;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
-moz-border-radius-topright: 10px;
-moz-border-radius-bottomright: 10px;
-webkit-border-top-right-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
margin-bottom: 1.5em;
margin-left: -1.2em;
padding-bottom: 0.5em !important;
padding-top: 0.5em;
padding-left: 1.2em;
width: 9em;
}
#pageshare {
position:fixed;
top:34%;
margin-left:935px;
background-color: #E2E2E2;
border-bottom: 2px solid #CCCCCC;
border-bottom-right-radius: 10px;
-moz-border-radius-bottomright: 10px;
-webkit-border-bottom-right-radius: 10px;
border-left: 0 solid #CCCCCC;
border-top: 2px solid #CCCCCC;
border-top-right-radius: 10px;
-moz-border-radius-topright: 10px;
-webkit-border-top-right-radius: 10px;
}
#pageshare .sbutton {
float:left;
clear:both;
margin:10px;
}