Difference between revisions of "FAQ"

From Cetbix Documentation
Jump to navigation Jump to search
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages />
+
 
{{FAQ header}}
 
<br clear="{{dir|{{pagelang}}|left|right}}" />
 
{{shortcut|FAQ}}
 
<translate>
 
 
==The basics== <!--T:1-->
 
==The basics== <!--T:1-->
  
Line 155: Line 151:
 
===How do I change the interface language for all user?=== <!--T:256-->
 
===How do I change the interface language for all user?=== <!--T:256-->
 
This can not be changed globally. Each user has to do the changes when they login.
 
This can not be changed globally. Each user has to do the changes when they login.
 
===How do I add/remove tabs throughout my wiki?=== <!--T:287-->
 
 
<!--T:288-->
 
See <tvar|1>{{ll|Manual:User group CSS and JavaScript}}</> or write your own extension (See: <tvar|2>{{ll|Manual:Hooks/SkinTemplateNavigation}}</>):
 
 
<!--T:289-->
 
For example, to remove the talk tab and then add a tab that always goes to the main page you would save this code in</translate> <code>extensions/AR-Tabs.php</code>:
 
 
{{MW 1.21|and after}}
 
<syntaxhighlight lang="php">
 
<?php
 
if( !defined( 'MEDIAWIKI' ) ){
 
die( "This is not a valid access point.\n" );
 
}
 
 
$wgHooks['SkinTemplateNavigation'][] = 'replaceTabs';
 
function replaceTabs( &$skin, &$links) { 
 
// Remove the talk action
 
unset( $links['namespaces']['talk'] );
 
$maintitle = Title::newFromText( wfMessage( 'mainpage' )->inContentLanguage()->text() );
 
// Add an additional link
 
$links['namespaces']['main'] = array(
 
'class' => false, // false or 'selected', defines whether the tab should be highlighted
 
'text' => wfMessage( 'sitetitle' )->text(), // what the tab says
 
'href' => $maintitle->getFullURL(), // where it links to
 
'context' => 'main',
 
);
 
return true;
 
}
 
</syntaxhighlight>
 
<translate>
 
<!--T:292-->
 
and then add
 
</translate>
 
 
<syntaxhighlight lang="php">require_once("extensions/AR-Tabs.php");</syntaxhighlight>
 
<translate>
 
<!--T:293-->
 
to the bottom of LocalSettings.php
 
 
====How do I remove a tab on only one page?==== <!--T:294-->
 
</translate>
 
{{MW 1.9|and after}}
 
<translate>
 
<!--T:296-->
 
For example, to remove the Discussion (talk) page tab from the Main Page, on the [[MediaWiki:Common.css]] page add:</translate>
 
<syntaxhighlight lang="css">
 
body.page-Main_Page li#ca-talk { display: none !important; }
 
</syntaxhighlight>
 
 
<translate>
 
<!--T:297-->
 
To modify <tvar|1>[[MediaWiki:Common.css]]</> you must be an <tvar|2>{{ll|Manual:interface administrator|nsp=0}}</>.
 
</translate>
 
 
:''<translate><!--T:672--> See also:</translate> {{ll|Manual:Hide page tabs}}''
 
 
<translate>
 
====How do I remove a tab on all pages==== <!--T:299-->
 
</translate>
 
 
{{MW 1.9|and after}}
 
<translate>
 
<!--T:301-->
 
For example, to remove the Discussion (talk) page tab on all wikipages, on the [[MediaWiki:Common.css]] page add:
 
</translate>
 
 
<syntaxhighlight lang="css">
 
#ca-talk { display:none!important; }
 
</syntaxhighlight>
 
 
<translate>
 
<!--T:302-->
 
Other tabs to remove are '''#ca-history''',  '''#ca-viewsource''', '''#ca-view''' (Read tab), '''#ca-nstab-main''' (Page tab).</translate>
 
 
<translate>
 
<!--T:303-->
 
Other drop down menu items you can remove are '''#ca-watch''', '''#ca-move''', '''#ca-delete'''.</translate>
 
 
<translate>
 
<!--T:304-->
 
To modify <tvar|1>[[MediaWiki:Common.css]]</> you must be an <tvar|2>{{ll|Manual:interface administrator|nsp=0}}</>.
 
 
===How do I remove the "Talk for this IP" link at the top right (e.g. when <tvar|1>{{ll|Manual:$wgDisableAnonTalk|$wgDisableAnonTalk}}</> is true)?=== <!--T:309-->
 
 
<!--T:679-->
 
One option is to hide the link using the following CSS in the wiki page ''MediaWiki:Common.css'' in your wiki:
 
</translate>
 
 
<syntaxhighlight lang="css">
 
#p-personal #pt-anonuserpage {
 
    display: none;
 
}
 
</syntaxhighlight>
 
 
<translate>
 
<!--T:680-->
 
Another option is, inside your LocalSettings.php file, to use the PersonalUrls hook to remove the link to the talk page of anonymous users:</translate>
 
 
<syntaxhighlight lang=php>
 
$wgHooks['PersonalUrls'][] = 'lfRemoveAnonUserpageLink';
 
function lfRemoveAnonUserpageLink( &$personal_urls, $title ) {
 
unset( $personal_urls['anonuserpage'] );
 
return true;
 
}
 
</syntaxhighlight>
 
 
<translate>
 
===How do I remove the "Create an Account or Login" link at the top right of the screen?=== <!--T:311-->
 
 
<!--T:312-->
 
To remove the login / create account links from the personal_urls you can use this code in your {{manual|LocalSettings.php}} to hook in and remove them:
 
</translate>
 
 
<syntaxhighlight lang=php>
 
$wgHooks['PersonalUrls'][] = 'lfRemoveLoginLink';
 
function lfRemoveLoginLink( &$personal_urls, $title ) {
 
unset( $personal_urls['login'] );
 
unset( $personal_urls['anonlogin'] );
 
unset( $personal_urls['createaccount'] );
 
return true;
 
}
 
</syntaxhighlight>
 
 
<translate>
 
=== How do I edit error messages? === <!--T:326-->
 
 
<!--T:327-->
 
[[Special:Allmessages]] contains a complete list of messages (error or otherwise), that can be edited.</translate>
 
 
<translate>
 
===How do I change the footer?=== <!--T:328-->
 
</translate>
 
 
:''<translate><!--T:691--> See:</translate> {{ll|Manual:Footer}}, {{ll|Manual:Configuration settings#Copyright|<translate><!--T:692--> Manual:Configuration settings#Copyright</translate>}}''
 
 
{{Anchor|powered-by-mw-image}}
 
<translate>
 
===How can I edit / remove the Powered by MediaWiki image (and possible other images) from the footer?=== <!--T:330-->
 
 
<!--T:331-->
 
You can hide the Powered by MediaWiki image by adding the following to your wiki's [[MediaWiki:Common.css]]:
 
</translate>
 
 
<syntaxhighlight lang="css">
 
#footer-poweredbyico { display: none; }
 
</syntaxhighlight>
 
 
<translate>
 
<!--T:335-->
 
If you want to remove it completely, you can use {{wg|FooterIcons}} to remove it using this in your {{manual|LocalSettings.php}}:
 
</translate>
 
<syntaxhighlight lang=php>unset( $wgFooterIcons['poweredby'] );</syntaxhighlight>
 
 
 
Note that this will also remove ''other'' powered-by icons, e.g. also the one coming from BlueSpice.
 
 
<translate>
 
<!--T:337-->
 
If you wish to change the icon images, urls, alt text, or add new icons please see {{wg|FooterIcons}}' documentation.
 
 
===How do I add a reply link to default signature tildes (<tvar|1><nowiki>~~~~</nowiki></>) template?=== <!--T:338-->
 
 
<!--T:339-->
 
You can customize signatures in [[MediaWiki:Signature]] / [[MediaWiki:Signature-anon]].
 
 
<!--T:340-->
 
For example, changing the entries to <code><nowiki>[[{{ns:user}}:$1|$2]] ([[{{ns:user_talk}}:$1|talk]])</nowiki></code> will put a link to users' talk pages and <code><nowiki>[[{{ns:user}}:$1|$2]] ([{{fullurl:{{ns:user_talk}}:$1|action=edit&section=new}} Reply])</nowiki></code> would give a more direct link.
 
 
<!--T:341-->
 
Users can change their signature in their preferences.
 
 
===How can I change what the <title> of each page is? Where do I make changes?=== <!--T:342-->
 
 
<!--T:343-->
 
Most of the text that you want to change can be found in the namespace of MediaWiki.
 
 
<!--T:344-->
 
In order to change titles, texts, announcements, etc., go to [[Special:AllMessages]], where you will see the text associated with the pages you wish to change.</translate>
 
<translate>
 
<!--T:345-->
 
You need to log in as an administrator to edit the protected entries in the MediaWiki namespace.
 
 
<!--T:346-->
 
If you want to change the title in your browser, you need to edit [[MediaWiki:Pagetitle]].</translate>
 
<translate>
 
<!--T:347-->
 
Go there and edit it just like you would any other page in your wiki.
 
 
<!--T:348-->
 
In recent versions of MediaWiki, [[MediaWiki:Pagetitle]] is <tvar|1><nowiki>$1 - {{SITENAME}}</nowiki></> by default. If <tvar|2><nowiki>{{SITENAME}}</nowiki></> is producing the wrong text for you, you need to set <tvar|3>{{ll|Manual:$wgSitename|$wgSitename}}</> in your <tvar|4>LocalSettings.php</>.</translate>
 
 
<translate>
 
<!--T:352-->
 
Don't forget to clear your browser cache after you change your settings.
 
 
===Does MediaWiki automatically capitalize the first letter of $wgSitename?=== <!--T:353-->
 
 
<!--T:354-->
 
Yes.</translate>
 
<translate>
 
<!--T:355-->
 
This can be changed using the <tvar|CapitalLinks>{{ll|Manual:$wgCapitalLinks|$wgCapitalLinks}}</> configuration setting.
 
 
===How do I make external links open in a new window?=== <!--T:356-->
 
</translate>
 
 
:''<translate><!--T:357--> See <tvar|1>{{ll|Manual:$wgExternalLinkTarget}}</></translate>''
 
 
<translate>
 
===How can I suppress MediaWiki from formatting URLs, tags, etc?=== <!--T:358-->
 
 
<!--T:359-->
 
Put "<tvar|nowiki>{{tag|nowiki|pair|content=}}</>" tags around the URL or tag.
 
 
<!--T:360-->
 
''Example:''</translate>
 
<nowiki>svn co <nowiki>http://svn.example.com/myproject/</nowiki></nowiki>
 
 
<translate>
 
<!--T:361-->
 
''Produces:''</translate><br/>
 
svn co <nowiki>http://svn.example.com/myproject/</nowiki>
 
 
<translate>
 
===How can I force users to preview before they save?=== <!--T:362-->
 
</translate>
 
 
: ''<translate><!--T:706--> See:</translate> {{ll|Manual:Force preview}}, {{ll|Extension:ForcePreview}}''
 
 
<translate>
 
===How do I add more buttons on the edit page?=== <!--T:364-->
 
</translate>
 
 
:''<translate><!--T:707--> See:</translate> {{ll|Manual:Custom edit buttons}}''
 
 
<translate>
 
===How can I get more special characters or tags clickable on the edit page?=== <!--T:366-->
 
 
<!--T:367-->
 
For adding more selectable special characters, etc., below the edit field, see <tvar|1>{{ll|Extension:CharInsert}}</>.
 
 
=== How can I use a different skin (e.g. Wikipedia's old Monobook skin) on my wiki? === <!--T:368-->
 
</translate>
 
{{MW 1.16|and after}}
 
<translate>
 
<!--T:681-->
 
While the Vector skin is the default skin for all installations made with MediaWiki 1.17 and newer, the Monobook skin has been the default before.</translate>
 
<translate>
 
<!--T:371-->
 
See <tvar|1>{{ll|Manual:$wgDefaultSkin}}</> for more information on configuring your default skin.
 
 
=== How do I disable external links from showing in the printable version of a page? === <!--T:373-->
 
 
<!--T:374-->
 
Edit the page [[MediaWiki:Print.css]] on your wiki and add the following code there:</translate>
 
 
<syntaxhighlight lang="css">
 
#content a.external.text:after,
 
#content a.external.autonumber:after {
 
content: none;
 
}
 
</syntaxhighlight>
 
 
<translate>
 
<!--T:375-->
 
This will override the styles defined in the CSS files coming with the MediaWiki source code.</translate>
 
<translate>
 
<!--T:376-->
 
For more information, see <tvar|1>{{ll|Manual:CSS}}</>.</translate>
 
 
<translate>
 
<!--T:377-->
 
If instead you want to have the external links ''underlined'' in the printable version, then also add the following code:</translate>
 
 
<syntaxhighlight lang="css">
 
#content a.external {
 
    text-decoration: underline !important;
 
}
 
</syntaxhighlight>
 
 
<translate>
 
==Basic usage== <!--T:383-->
 
 
===How do I edit a page?=== <!--T:384-->
 
 
<!--T:385-->
 
To edit a page, simply click the '''edit''' link that appears on each page.</translate>
 
<translate>
 
<!--T:386-->
 
Using the default Vector skin, this is in the form of a tab at the top of the page.</translate>
 
<translate>
 
<!--T:387-->
 
A form will appear, containing the existing markup.</translate>
 
<translate>
 
<!--T:388-->
 
When you have finished making modifications, click the '''Save''' button to commit your changes.
 
</translate>
 
 
:''<translate><!--T:673--> See also:</translate> {{ll|Help:Editing pages}}''
 
 
<translate>
 
===How do I delete an old version of a page?=== <!--T:396-->
 
 
<!--T:397-->
 
Old versions of page data are retained in the database and can be accessed via the page history features.</translate>
 
<translate>
 
<!--T:398-->
 
This is useful for reviewing changes and correcting or reverting undesirable ones, but in some cases, administrators might want to make this information unavailable, for legal reasons, or to reduce the size of the database.
 
 
<!--T:399-->
 
*Administrators can delete an old revision of a page by deleting the page, and then selectively undeleting revisions to be kept</translate>
 
<translate>
 
<!--T:401-->
 
*For newer MediaWikis (1.14+), you can enable the core [[RevisionDelete]] feature that allows privileged users to remove single revisions from page histories.</translate>
 
<translate>
 
<!--T:402-->
 
*The <tvar|1><code>maintenance/{{ll|Manual:deleteOldRevisions.php|deleteOldRevisions.php}}</code></> [[<tvar|2>Special:MyLanguage/Manual:Maintenance scripts</>|maintenance script]] can mass-delete all old revisions of pages and their associated text records.
 
</translate>
 
 
:''<translate><!--T:675--> See also:</translate> {{ll|Manual:Removing embarrassment}}''
 
 
<translate>
 
===How do I use oversight/delete revisions in the page history?=== <!--T:404-->
 
</translate>
 
 
:''<translate><!--T:676--> See:</translate> {{ll|RevisionDelete}}''
 
 
<translate>
 
<!--T:406-->
 
You can also delete a page, and then restore only the revisions you want.
 
 
===Are there any editing tutorials available?=== <!--T:407-->
 
 
<!--T:408-->
 
There are several editing tutorials available, mostly on Wikimedia sister projects, such as Wikipedia.</translate>
 
<translate>
 
<!--T:409-->
 
There are also markup references, etc. available on ''Meta''.
 
 
<!--T:410-->
 
*The page [[Help:Editing pages]] on this site</translate>
 
<translate>
 
<!--T:411-->
 
*[[m:Help:Editing|Editing]] help content on ''Meta''</translate>
 
<translate>
 
<!--T:412-->
 
*The ''[[:en:Wikipedia:How to edit a page|How to edit a page]]'' guide on the English Wikipedia
 
 
===How do I view the printable form of a page?=== <!--T:413-->
 
 
<!--T:414-->
 
MediaWiki includes stylesheets which automatically style a page appropriately when it is printed; using the print or print preview function within your browser ought to render the page in a printable form.
 
 
<!--T:415-->
 
You can also view this printable form using the ''printable version'' link in the sidebar under ''Toolbox'' or ''Print/export'' if using the <tvar|1>{{ll|Extension:Collection|nsp=0}}</> extension.
 
 
=== How do I use templates? === <!--T:416-->
 
</translate>
 
 
:''<translate><!--T:417--> See <tvar|1>{{ll|Help:Templates}}</></translate>''
 
 
<translate>
 
===Can I use media (images, video, audio, etc.) from [[<tvar|1>m:Special:MyLanguage/Wikimedia Commons</>|Wikimedia Commons]] in my installed version of MediaWiki?=== <!--T:418-->
 
 
<!--T:419-->
 
Yes, this is encouraged through the use of <tvar|1>{{ll|Manual:$wgUseInstantCommons}}</>.
 
</translate>
 
 
:''<translate><!--T:677--> See also:</translate> {{ll|InstantCommons}}''
 
 
<translate>
 
===How do I use a template as a signature?=== <!--T:421-->
 
 
<!--T:422-->
 
When you look at your preferences, you see a check box for "raw signature."</translate> 
 
<translate>
 
<!--T:423-->
 
But the field will only take a certain number of characters.</translate> 
 
<translate>
 
<!--T:424-->
 
What if you want more?
 
 
<!--T:425-->
 
You will need to create two pages, possibly in your userspace.</translate>
 
 
#<translate><!--T:426--> Create the first page (FIRST PAGE)</translate>
 
# <translate><!--T:427--> Go to your preferences, check "raw signature" and put <tvar|1><nowiki>{{FIRST PAGE}}</nowiki></> in the signature.</translate> {{int|saveprefs}}
 
#<translate><!--T:429--> Create a second page (SECOND PAGE) (possibly a sub-page of the first)</translate>
 
#<translate><!--T:430--> Go back to the first page (FIRST PAGE) and do <tvar|1><nowiki>{{SECOND PAGE}}</nowiki></></translate>
 
#<translate><!--T:431--> Go to the second page (SECOND PAGE) and place the code you wish to have for your signature.</translate>
 
 
<translate>
 
<!--T:432-->
 
If you don't have this structure, you will still be inserting all your signature code into the raw code wherever your signature is used, because the software will insert "SUBST" in your preferences.</translate> 
 
<translate>
 
<!--T:433-->
 
You may not mind this, in which case you only need one page.</translate> 
 
<translate>
 
<!--T:434-->
 
If you want the raw code to only display <tvar|1><nowiki>{{FIRST PAGE}}</nowiki></>, which looks a lot cleaner, then you need to use the two-page structure.
 
 
=== How do I add the sandbox functionality to my installation of the wiki? === <!--T:435-->
 
 
<!--T:436-->
 
In wiki terms, a ''sandbox'' is simply a "play pen"; a page which users can mess about in.</translate>
 
<translate>
 
<!--T:437-->
 
This is an ordinary page created in the normal manner, and can be located wherever you like.</translate>
 
<translate>
 
<!--T:438-->
 
There is no special sandbox functionality built into MediaWiki.
 
 
<!--T:439-->
 
Users often inquire about the Wikipedia sandboxes, which seem to be self-emptying.</translate>
 
<translate>
 
<!--T:440-->
 
This is not quite correct; there are a number of volunteers who run [[Manual:Bots|bots]] to clean these up and return them to a certain state at regular time intervals.
 
 
=== How do I add a "Sandbox" link to personal tools (top right)? === <!--T:441-->
 
 
<!--T:714-->
 
You need to install the <tvar|1>{{ll|Extension:SandboxLink|nsp=0}}</> extension.</translate> 
 
<translate>
 
=== How do I make my wiki serve all languages? === <!--T:444-->
 
 
<!--T:445-->
 
To make your wiki multilingual and a tool for translation, allowing translation of pages and of the custom interface (like the sidebar), use the <tvar|1>{{ll|Extension:Translate|Translate}}</> extension; there's [[Help:Extension:Translate|extensive documentation]].
 
</translate>
 
 
{{anchor|Wiki importing}}
 
<translate>
 
==Wiki importing== <!--T:446-->
 
 
===Importing from other types of wiki software=== <!--T:449-->
 
</translate>
 
 
{{outdated}}
 
 
<translate>
 
<!--T:452-->
 
There is some documentation about importing in the UPGRADE file distributed with MediaWiki.
 
 
<!--T:453-->
 
To follow on from those, this is how at least one individual imported pages from usemod to MediaWiki:
 
 
<!--T:454-->
 
Because MediaWiki does not automatically link to [[w:CamelCase|CamelCase]] style links, you will need to add brackets <nowiki> [[ ]] </nowiki> to all your links.</translate>
 
<translate>
 
<!--T:455-->
 
You can do this with the following:
 
 
<!--T:456-->
 
First, obtain ImportStage1.txt (or whatever you want to call it) from the importUseModWiki.php script ( use > to pipe the output to a file )
 
 
<!--T:457-->
 
Second, do</translate>
 
 
<pre>
 
sed '/Importing/!s/\ [A-Z]\w*[a-z]\w*[A-Z]\w*[a-zA-Z]/\ \[\[&\]\] /g'
 
    ImportStage1.txt > ImportStage2.txt
 
</pre>
 
 
<translate>
 
<!--T:458-->
 
This should create proper links in place of your CamelCase links.
 
 
<!--T:459-->
 
'''This doesn't''' work so well for SubPage links - someone care to fix?
 
 
<!--T:460-->
 
Then,</translate>
 
 
<pre>
 
sed 's/upload\:\w*\.\w*/http\:\/\/aberwiki\.org\/uploads\/& /g'
 
    ImportStage2.txt > ImportStage3.txt
 
</pre>
 
 
<translate>
 
<!--T:461-->
 
This fixes your upload links.</translate>
 
<translate>
 
<!--T:462-->
 
Change the replace text so it fills in your url such as <nowiki>http://www.yourwiki.org/uploads/filename</nowiki>
 
 
<!--T:463-->
 
You are now ready to import ImportStage3.txt into your database with a command such as</translate>
 
 
<pre>
 
mysql -u<mysqluser> -p<yourpass> <db name> < ImportStage3.txt
 
</pre>
 
 
{{note|1=<translate><!--T:464--> If your <code>importUseModWiki.php</code> outputs an XML file instead of SQL statements, this probably means you have a rather new version of MediaWiki.</translate> <translate><!--T:465--> In such a case, you can import the XML file -- see [[Importing a Wikipedia database dump into MediaWiki]], towards the bottom of the page ('Import XML').</translate> <translate><!--T:466--> Don't forget to rebuild all the tables -- that page also explains how to do that.</translate>}}
 
 
<translate>
 
===Importing from other types of files=== <!--T:467-->
 
 
<!--T:468-->
 
There are a variety of tools available to help convert content from HTML (and other formats) to MediaWiki markup.</translate>
 
 
; <translate><!--T:469--> Developer and SysAdmin tools</translate>
 
<translate>
 
<!--T:470-->
 
* [http://search.cpan.org/dist/HTML-WikiConverter-MediaWiki HTML::WikiConverter::MediaWiki] - a Perl module for converting from HTML to MediaWiki markup.</translate>
 
<translate>
 
<!--T:471-->
 
* [[meta:Wikificator|Wikificator]] - a JavaScript MediaWiki extension that converts XHTML to MediaWiki markup.</translate>
 
<translate>
 
<!--T:472-->
 
* The <tvar|1>{{ll|Manual:Edit.php|Edit.php}}</> and <tvar|2>{{ll|Manual:importImages.php|importImages.php}}</> [[<tvar|3>Special:MyLanguage/Manual:Maintenance scripts</>|maintenance scripts]] can be used to import text and images into MediaWiki.</translate>
 
 
; <translate><!--T:473--> End-user tools</translate>
 
<translate>
 
<!--T:475-->
 
* [[w:User:Cacycle/wikEd|wikEd]] - a text editor for MediaWiki that can import HTML (including Microsoft Word-generated HTML.)</translate>
 
 
;<translate><!--T:476--> Instructions</translate>
 
<translate>
 
<!--T:477-->
 
*[http://xpt.sourceforge.net/techdocs/language/wiki/wikimedia/wkm07-MediaWikiImport/ar01s04.html Brief notes on converting from Microsoft .chm help files to MediaWiki]</translate>
 
<translate>
 
<!--T:478-->
 
*[http://openwetware.org/wiki/Converting_documents_to_mediawiki_markup#Word_Documents Notes on converting from Microsoft Office formats to MediaWiki]
 
 
=== Templates imported from other wikis (such as Wikipedia) don't work for me === <!--T:508-->
 
 
<!--T:509-->
 
You probably need to install some extensions used on the source wiki, such as <tvar|3>{{ll|Extension:Scribunto|Scribunto}}</>, <tvar|4>{{ll|Extension:TemplateStyles|TemplateStyles}}</>, <tvar|1>{{ll|Extension:ParserFunctions|ParserFunctions}}</> or sometimes <tvar|2>{{ll|Extension:Cite|Cite}}</>.</translate>
 
<translate>
 
<!--T:510-->
 
Also, make sure that you copied all [[Manual:Interface/Stylesheets|site CSS]] and [[Manual:Interface/JavaScript|JavaScript]] required by the template.
 
 
==Customising further== <!--T:511-->
 
 
===How can I allow use of HTML tags?=== <!--T:519-->
 
 
<!--T:520-->
 
See <tvar|1>{{ll|Manual:$wgRawHtml}}</> as well as <tvar|2>{{ll|Manual:$wgGroupPermissions}}{{int|and}}{{int|word-separator}}{{ll|Manual:Preventing access}}</>.
 
</translate>
 
 
{{caution|1=<translate><!--T:522--> This can be easily abused to attack users</translate>}}
 
 
<translate>
 
<!--T:523-->
 
See <tvar|1>{{ll|Extension:Secure HTML}}</> and <tvar|2>{{ll|Extension:HTMLets}}</> for ways to make this safer.
 
 
=== How do I run a bot? === <!--T:533-->
 
</translate>
 
 
:''<translate><!--T:709--> See:</translate> {{ll|Manual:Bots}}''
 
<translate>
 
<!--T:535-->
 
You might want to use the <tvar|1>{{ll|Manual:Pywikibot|Pywikibot}}</> framework.
 
 
=== How do I change noindex nofollow === <!--T:536-->
 
 
<!--T:537-->
 
Set <tvar|code><code>{{ll|Manual:$wgNoFollowLinks|$wgNoFollowLinks}} = false;</code></> in <tvar|1>{{ll|Manual:LocalSettings.php|LocalSettings.php}}</>
 
 
=== How do I create a small [[w:en:Wiki_farm|wiki farm]]? === <!--T:538-->
 
</translate>
 
 
:''<translate><!--T:710--> See:</translate> {{ll|Manual:Wiki family}}''
 
 
<translate>
 
=== How do I add [[w:Meta element|meta tags]]? === <!--T:540-->
 
 
<!--T:541-->
 
The OutputPage class includes an addMeta method which can be used to add meta tags.</translate>
 
<translate>
 
<!--T:542-->
 
The [[RequestContext]] can be used to get the relevant OutputPage object.
 
 
<!--T:543-->
 
To add further Meta tags just add further lines as last lines of the function addMetaTags() like:</translate>
 
 
$out->addMeta ( 'description', 'This is a meta description.' );
 
 
<translate>
 
==Why...?== <!--T:544-->
 
 
===…is the Help namespace empty?=== <!--T:545-->
 
 
<!--T:546-->
 
The Help namespace currently ships in a blank state.</translate>
 
<translate>
 
<!--T:547-->
 
It's up to you how much or how little help you give to your site visitors and whether this relates to other aspects of your site.</translate>
 
<translate>
 
<!--T:548-->
 
Obviously you can easily link your visitors to help resources elsewhere.</translate>
 
 
<translate>
 
<!--T:549-->
 
We don't currently have a clean, internationalised set of help pages under a free license.</translate>
 
<translate>
 
<!--T:550-->
 
However, if you want to copy in some help information onto your site, about how to use a wiki (a MediaWiki powered wiki) you are free to copy the <tvar|1>{{ll|Help:Contents}}</> from this wiki.</translate>
 
<translate>
 
<!--T:551-->
 
This set of pages have been deliberately created for this purpose, with wiki-neutral information, and no license restrictions.</translate>
 
<translate>
 
<!--T:552-->
 
See [[Project:PD help]]. More help is available at the Meta-Wiki [[m:Help:Contents|MediaWiki Handbook]].
 
 
===…are some of my images not showing up after an upgrade?=== <!--T:553-->
 
 
<!--T:554-->
 
Several users have reported that, following an upgrade or a moving of their wiki, several images fail to be shown inline.</translate>
 
<translate>
 
<!--T:555-->
 
The files exist, and the image description pages show a MIME type of <tvar|1><code>unknowncode>/unknown</code></> and, in some cases, a warning about potentially dangerous files.
 
 
<!--T:556-->
 
To fix this, run the <tvar|1><code>maintenance/rebuildImages.php</code></> script from the command line.</translate>
 
<translate>
 
<!--T:557-->
 
This will set MIME information for each file in the database.
 
 
<!--T:683-->
 
Recent versions of MediaWiki implement [[<tvar|ResponsiveImages>Special:MyLanguage/Manual:$wgResponsiveImages</>|responsive images]].</translate>
 
<translate>
 
<!--T:684-->
 
Due to [[<tvar|bug>phab:T181987</>|a bug]], if the server locale is set to one that uses commas instead of dots for representing a decimal point, images may not render on some browsers/devices.</translate>
 
<translate>
 
<!--T:685-->
 
This can be confirmed by inspecting a thumbnail of a medium or big image on a page with the browser tools, looking at the HTML code, and see if the <tvar|1><code>srcset</code></> attribute contains commas instead of dots when representing the <tvar|2><code>1.5x</code></> value.
 
 
===…are all PNG files not being turned into thumbnails?=== <!--T:558-->
 
 
<!--T:559-->
 
After upgrading to a more recent version of PHP, it is possible a different MimeMagic.php function is being used to detect file MIME types, particularly the built-in PHP function mime_content_type, which fails to detect PNG files.</translate>
 
<translate>
 
<!--T:560-->
 
Search the web for <tvar|1>''mime_content_type png''</> for information on fixing this bug at the PHP level, possibly by editing your magic.mime file.
 
 
<!--T:561-->
 
See [[<tvar|1>#"File is corrupt or has an invalid extension"</>|here]] for more info.
 
 
===…can't I download MediaWiki {{padright:{{#expr:{{MW stable branch number}}+.01}}|4}}?=== <!--T:567-->
 
 
<!--T:568-->
 
MediaWiki {{padright:{{#expr:{{MW stable branch number}}+.01}}|4}} is in a development state at present, and has not been packaged into a general release.</translate>
 
<translate>
 
<!--T:569-->
 
The code can be [[<tvar|1>Special:MyLanguage/Download from Git</>|downloaded from Git]] if desired.</translate>
 
<translate>
 
<!--T:570-->
 
Or, if you want the latest development version packaged as an archive, get it at {{MW alpha branch link}} (GitHub).
 
 
===…doesn't this work? It works on Wikipedia!=== <!--T:571-->
 
 
<!--T:572-->
 
Wikipedia and other Wikimedia web sites use the current version of the code in development; at present, this is MediaWiki {{CURRENTVERSION}}, pulled from the current development branch.</translate>
 
<translate>
 
<!--T:573-->
 
Coupled with the use of several extensions, this means that functionality between these wikis and your particular setup may differ.
 
 
<!--T:574-->
 
*To obtain the current development code, read [[<tvar|1>Special:MyLanguage/Download from Git</>|Download from Git]]</translate>
 
<translate>
 
<!--T:575-->
 
*To check what version a Wikimedia wiki is running, as well as what extensions are installed, visit the [[Special:Version]] page for that wiki</translate>
 
<translate>
 
<!--T:715-->
 
* You may also be missing several <tvar|1>{{ll|Manual:Extensions|nsp=0}}</> that are installed on Wikipedia, see [[<tvar|2>#Templates imported from other wikis (such as Wikipedia) don't work for me</>|#Templates imported from other wikis (such as Wikipedia) don't work for me]]
 
 
===…do I get a '''403 Forbidden''' error after setting permissions on my Fedora system?=== <!--T:576-->
 
 
<!--T:577-->
 
Fedora Core enables <tvar|1>{{ll|SELinux}}</> by default.</translate>
 
<translate>
 
<!--T:578-->
 
Instructions for setting SELinux permissions for MediaWiki [[<tvar|1>Special:MyLanguage/SELinux</>|are available]].
 
 
===…do I get ''Installing some external dependencies (e.g. via composer) is required''?=== <!--T:686-->
 
 
<!--T:687-->
 
Many web hotels only handle zip archives, and we only provide gz compressed tar archives, thus the archives has to be recompressed before uploading.</translate>
 
<translate>
 
<!--T:688-->
 
This should not be much of a hurdle, but it seems like some archive tools occasionally fails to include all files in large archives.</translate>
 
<translate>
 
<!--T:689-->
 
When this happen the vendor folder is left out, leaving the user with the rather non-explanatory error message.
 
 
<!--T:690-->
 
Use a command line tool when recompressing the tar archive into a zip archive.
 
 
===…do I get logged out constantly?=== <!--T:579-->
 
 
<!--T:580-->
 
This is probably related to cookies or session data. See [[m:Help:Logging in#Log in problems|Log in problems]] for information.
 
 
<!--T:682-->
 
If this is happening constantly to all users, it probably means that caching is misconfigured. Setting <tvar|1><code>$wgSessionCacheType = CACHE_DB;</code></> can be used to determine if caching is the cause of the problem. If that solves the problem, you should still investigate what is wrong with your caching configuration.
 
</translate>
 
<translate>
 
===…is it a good idea to keep user accounts?=== <!--T:583-->
 
</translate>
 
{{outdated|1=<translate><!--T:716--> Manual edits to rev_user fields in the database; MediaWiki uses the <tvar|1>{{ll|Manual:actor table|actor}}</> table now</translate>}}
 
<translate>
 
<!--T:584-->
 
At many times you just want to remove a user account out of the wiki either because it belonged to a spammer account or you just feel like it.</translate>
 
<translate>
 
<!--T:585-->
 
The appropriate choice is to block the account or rename it if needed.</translate>
 
<translate>
 
<!--T:586-->
 
Here is why:
 
 
<!--T:587-->
 
''Do I just remove this row from the [[User table]]?''
 
 
<!--T:588-->
 
[[mailarchive:wikitech-l/2007-June/031566.html|Rob Church posted the following]] regarding this issue on the wikitech-l mailing list:
 
</translate>
 
 
{{quote|text=
 
<translate>
 
<!--T:589-->
 
If the user has made edits, then removing rows from the user table
 
cause theoretical loss of referential integrity.</translate> <translate><!--T:590-->
 
Now, to be honest
 
with you, I can't think of any conditions where this would cause an
 
actual problem; "undefined behaviour" is the phrase we use.
 
 
<!--T:591-->
 
What I'd suggest doing, to be on the safe side, is running a couple of
 
quick updates against the database:
 
</translate>
 
 
:<syntaxhighlight lang="sql">UPDATE revision SET rev_user = 0 WHERE rev_user = <current_user_id></syntaxhighlight>
 
:<syntaxhighlight lang="sql">UPDATE archive SET ar_user = 0 WHERE ar_user = <current_user_id></syntaxhighlight>
 
 
<translate>
 
<!--T:592-->
 
What this will do is cause MediaWiki to treat the revisions as having
 
been made anonymously when generating things like page histories,
 
which should eliminate any problems caused by these routines
 
attempting to check user details from other tables.
 
 
<!--T:593-->
 
If the user has caused log entries, i.e. rows in the logging table, or
 
uploaded images, then the situation becomes trickier, as you'll have
 
to start mopping up all the rows everywhere and it could become a bit
 
of a mess, so if the user's done anything other than edit, I would
 
strongly recommend just blocking them indefinitely.
 
 
<!--T:594-->
 
If the username is offensive or undesirable, then you could consider
 
renaming it using the <tvar|1>{{ll|Extension:Renameuser|RenameUser}}</> extension.
 
</translate>
 
}}
 
 
<translate>
 
<!--T:595-->
 
Another option is to give Admins the [[Manual:User_rights|'hideuser']] right, and indefinitely block the user with the ''Hide username from edits and lists'' option selected.
 
 
<!--T:596-->
 
<tvar|1>{{ll|Extension:UserMerge}}</> is also useful.
 
 
===…is the number of pages so low on Special:Statistics?=== <!--T:699-->
 
 
<!--T:700-->
 
[[<tvar|1>phab:source/mediawiki/browse/master/includes/DefaultSettings.php</>|By default]], <tvar|2>{{ll|Manual:$wgArticleCountMethod|<code>$wgArticleCountMethod</code>}}</> is set to <tvar|3><code>link</code></>.</translate>
 
<translate>
 
<!--T:701-->
 
This means the number of "Content pages" on the <tvar|1>[[Special:Statistics]]</> page only counts pages which include at least one internal link.</translate>
 
<translate>
 
<!--T:702-->
 
This can be changed by setting <tvar|1><code>$wgArticleCountMethod</code></> to <tvar|2><code>any</code></>.</translate>
 
<translate>
 
<!--T:703-->
 
Afterwards, run <tvar|1>{{ll|Manual:UpdateArticleCount.php|<code>updateArticleCount.php</code>}}</> and/or <tvar|2>{{ll|Manual:InitSiteStats.php|<code>initSiteStats.php</code>}}</>.</translate>
 
<translate>
 
<!--T:704-->
 
(On Wikimedia websites, <tvar|1><code>initSiteStats.php</code></> is run on the 1st and 15th of each month.)</translate>
 
<translate>
 
<!--T:705-->
 
There might still be wrong behavior, see for example <tvar|1>[[phab:T212706]]</>.
 
 
==Anti-spam== <!--T:597-->
 
 
===Where do I get the spam blacklist from and how do I install it?=== <!--T:598-->
 
 
<!--T:599-->
 
The [[<tvar|1>m:Spam blacklist</>|spam blacklist]] extension can be found in [[<tvar|2>Special:MyLanguage/Download from Git</>|Git]], just like all other officially supported extensions.</translate>
 
<translate>
 
<!--T:600-->
 
For installation and configuration instructions, consult the <tvar|1>{{git file|project=mediawiki/extensions/SpamBlacklist|file=README|branch=HEAD|text=README}}</> file and <tvar|2>{{ll|Extension:SpamBlacklist}}</> over here.
 
 
===How do I use $wgSpamRegex to block more than one string?=== <!--T:601-->
 
 
<!--T:602-->
 
<tvar|1>{{ll|Manual:$wgSpamRegex|$wgSpamRegex}}</> is a powerful filter for page content.</translate>
 
<translate>
 
<!--T:603-->
 
Adding multiple items to the regex, however, can be awkward.</translate>
 
<translate>
 
<!--T:604-->
 
Consider this snippet:
 
</translate>
 
 
<syntaxhighlight lang="php">
 
$wgSpamRegexLines[] = 'display\s*:\s*none';
 
$wgSpamRegexLines[] = 'overflow\s*:\s*auto';
 
[...]
 
$wgSpamRegex = '/(' . implode( '|', $wgSpamRegexLines ) . ')/i';
 
</syntaxhighlight>
 
 
<translate>
 
<!--T:605-->
 
This example code allows convenient addition of additional items to the regex without fiddling about each time.</translate>
 
<translate>
 
<!--T:606-->
 
It also demonstrates two popular filters, which block some of the most common spam attacks.
 
</translate>
 
 
:''<translate><!--T:711--> See also:</translate>'' {{ll|Extension:SpamRegex}}
 
 
<translate>
 
===Are there additional ways to fight spam?=== <!--T:608-->
 
 
<!--T:609-->
 
See '''[[Manual:Combating spam]]''' for an overview of anti-spam measures such as Captcha, content filtering and restricting edition.
 
  
 
==Where now?== <!--T:612-->
 
==Where now?== <!--T:612-->

Latest revision as of 08:32, 8 December 2021

The basics

What are the differences between Cetbix ISMS, Cetbix ISMS-R, Cetbix ISMS-F and Cetbix ISMS-ICS?

all the listed products are built on the Cetbix ISMS. This means, one has to use the Cetbix ISMS to be able to activate those other modules.

Installation and configuration

Where do I download Cetbix ISMS?

Cetbix ISMS is a Software as a Service, therefore, no software is downloaded. Just register, login and start using.


How to install Cetbix ISMS?

No installation is required. All you need to do is to register. Registration takes 30 to 40 seconds..</translate> <translate> Minimum requirement is a computer and an internet access.

How do I install Cetbix on Premises?

Cetbix is a SaaS solution, although, if you insist having this on premise, contact our sales department and they will assist you further. The Cetbix development team has several strategies to meet your needs. We will take care of the hosting, backups and updates for you.

How do I edit my profile?

On your profile, click on your name, click on edit and scroll down to "Company Logo" and upload your logo.


<translate> On your profile, click on your name, click on edit and edit your name.

On your profile, click on your name, click on edit and scroll down to "Company Logo" and upload your logo.

Edit Name

On your profile, click on your name, click on edit and edit your name.

On your profile, click on your name, click on edit and scroll down to "Company Logo" and upload your logo.

How do I Purchase a Product?

Log into your profile and click on Product-> More Products

How do I manage my license?

Log into your profile and click on License Management->License

Users

By assigning a user to a group, you can then enable which questionnaires the person should answer as shown under the "heading".

You can select multiple questions for a user.

How do I add a new user?

Log into your profile and click on Users->Add Users

How do I see all the users I have added?

Log into your profile and click on Users-> All Users

How do I add assign a user?

Log into your profile and click on Users-> All Users

Now click on the green icon in front of the user you want to assign to a particular task, asset or location.

A user can be assigned to an asset (or more assets), a location or locations.


How do I assign a user to a group?

Group 1

......

Group 2

......

Group 3

......

Group 4

Location

The location radio box is checked if you prefer to assign a user to a particular location.

Location

How do I activate the multi-location function?

Under your profile, click on location -> Add New Plan


How do I add new location?

Under your profile, click on location ->Add New Location


How do I see all the locations I have added?

Under your profile, click on location ->All Location List

Questionnaires

How do I set our entity questionnaires, if we do not want to use the default situation-awareness questionnaires?

Step 1 - Add a heading:

  • Under your profile, click on Self assessment ->Add Heading and add a new heading.
  • Select a "construct"
  • Add your a new title to the "Title" field
  • Enter a number in the order field if you want to order the appearance of the questionnaire.
  • Check the "Active" box.

Step 2 - Add a question

Click on "Questing Listing -> This will show you all your questions.

Now click on "Add" to add a new question.

Step 3 - Adding a question

  • Select the "heading"
  • Select the "impact"
  • Add the question title "Title"
  • Select how user should answer the question "drop down, check box or radio buttons.
  • Add the correct and wrong answers to the "answers option".
  • The % Def Score must be 0-4. 0 is good, 4 is worse.
  • You can order the answer position using the field "order".
  • You can select the likelihood of the impact
  • Now add the background of the question and a recommendation.
  • You can add more answers by clicking on the "Add more" button.
  • You can order the question by entering a value in the "order". This will move the question to any position you want
  • Check the "Active" box to make the question visible to users.

Language

How do I change the interface language?

Currently, we support only English, German, French and Spanish.

  • On your profile, click on the right top corner and select your language from the drop down.

Take notice that this change of language is only changes on your profile page.

How do I change the interface language for all user?

This can not be changed globally. Each user has to do the changes when they login.

Where now?

I have a question not answered here. Where do I go next?

If you've exhausted the FAQ above, please contact support@cetbix.com: