Difference between revisions of "FAQ"

From Cetbix Documentation
Jump to navigation Jump to search
Line 1,282: Line 1,282:
 
<!--T:642-->
 
<!--T:642-->
 
If you've exhausted the FAQ above, please contact support@cetbix.com:
 
If you've exhausted the FAQ above, please contact support@cetbix.com:
 
<translate>
 

Revision as of 08:04, 8 December 2021

<languages /> Template:FAQ header
Template:Shortcut <translate>

Contents

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.

I want to use a MediaWiki instance to (blank). Am I allowed to?

MediaWiki is free software: this means that you may use it for any purpose without legal hindrance.</translate> <translate> Furthermore, its licensing conditions apply solely to the software itself.</translate> <translate> This means that although many wikis license their content under a permissive license, you are not obliged to license the content submitted to your wiki in any particular way.</translate> <translate> Of course, as a project founded to support sites like Wikipedia, we encourage you to license the texts you write under a free license, but, in short, you are not required to.

If you wish to alter or amend the software itself, in general, you are permitted to, but there are some restrictions and you should consult the full text of the GNU GPL version 2 for details.</translate> <translate> Because MediaWiki is provided free of charge, there is no warranty, to the extent permitted by applicable law. </translate> Template:Anchor Template:Anchor <translate>

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.

How do I add/remove tabs throughout my wiki?

See <tvar|1>Template:Ll</> or write your own extension (See: <tvar|2>Template:Ll</>):

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> extensions/AR-Tabs.php:

Template:MW 1.21 <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> and then add </translate>

<syntaxhighlight lang="php">require_once("extensions/AR-Tabs.php");</syntaxhighlight> <translate> to the bottom of LocalSettings.php

How do I remove a tab on only one page?

</translate> Template:MW 1.9 <translate> 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> To modify <tvar|1>MediaWiki:Common.css</> you must be an <tvar|2>Template:Ll</>. </translate>

<translate> See also:</translate> Template:Ll

<translate>

How do I remove a tab on all pages

</translate>

Template:MW 1.9 <translate> For example, to remove the Discussion (talk) page tab on all wikipages, on the MediaWiki:Common.css page add: </translate>

<syntaxhighlight lang="css">

  1. ca-talk { display:none!important; }

</syntaxhighlight>

<translate> Other tabs to remove are #ca-history, #ca-viewsource, #ca-view (Read tab), #ca-nstab-main (Page tab).</translate>

<translate> Other drop down menu items you can remove are #ca-watch, #ca-move, #ca-delete.</translate>

<translate> To modify <tvar|1>MediaWiki:Common.css</> you must be an <tvar|2>Template:Ll</>.

How do I remove the "Talk for this IP" link at the top right (e.g. when <tvar|1>Template:Ll</> is true)?

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">

  1. p-personal #pt-anonuserpage {
   display: none;

} </syntaxhighlight>

<translate> 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?

To remove the login / create account links from the personal_urls you can use this code in your Template:Manual 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 can I suppress actions and special pages?

</translate>

Template:Note

<translate> Suppressing actions and special pages can be useful when you want to create the illusion of a static website via a particular URL or VirtualHost, but also have an 'internal' view that is a true wiki.</translate> <translate> i.e. if you have an inward facing 'view' of your wiki that users can edit, and an outward facing 'view' that should appear like a static website (no history, no discussion, etc., etc.).

After hiding all the appropriate links (see above), if you are using the Apache web server, you can disable actions and special pages using the following rewrite rules:</translate>

# Lock down the site (disable MediaWiki commands)

RewriteEngine On

#RewriteLog /tmp/rewrite.log

#RewriteLogLevel 9

## See https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Parameters_to_index.php#Actions

RewriteCond %{QUERY_STRING} (.*action=.*)
RewriteRule .* http://www.my.domain.com?

RewriteCond %{REQUEST_URI} !^/index.php/Special:Search
RewriteCond %{REQUEST_URI}  ^(.*Special:.*)
RewriteRule .* http://www.my.domain.com?

## Catch a trick...
RewriteCond %{QUERY_STRING} ^(.*Special:.*)
RewriteRule .* http://www.my.domain.com?

<translate> Above, a request for <tvar|1>'http://www.my.domain.com/wiki/Page_name?action=edit'</>, for example, will be simply rewritten to <tvar|2>'http://www.my.domain.com'</>.</translate> <translate> Similarly any page in the Special namespace (with the exception of Special:Search) will be rewritten to <tvar|1>'http://www.my.domain.com'</>.</translate> <translate> Remember, this is only a hack, and isn't intended as a solution for a secure CMS.

Note that you will need to adjust the above rules to match your specific URL naming schema.

Other issues to consider when trying to lock down a site like this is the API and POST requests for the wiki content (rather than GET).

How do I edit error messages?

Special:Allmessages contains a complete list of messages (error or otherwise), that can be edited.</translate>

<translate>

How do I change the footer?

</translate>

<translate> See:</translate> Template:Ll, Template:Ll

Template:Anchor <translate>

How can I edit / remove the Powered by MediaWiki image (and possible other images) from the footer?

You can hide the Powered by MediaWiki image by adding the following to your wiki's MediaWiki:Common.css: </translate>

<syntaxhighlight lang="css">

  1. footer-poweredbyico { display: none; }

</syntaxhighlight>

<translate> If you want to remove it completely, you can use Template:Wg to remove it using this in your Template:Manual: </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> If you wish to change the icon images, urls, alt text, or add new icons please see Template:Wg' documentation.

How do I add a reply link to default signature tildes (<tvar|1>~~~~</>) template?

You can customize signatures in MediaWiki:Signature / MediaWiki:Signature-anon.

For example, changing the entries to [[{{ns:user}}:$1|$2]] ([[{{ns:user_talk}}:$1|talk]]) will put a link to users' talk pages and [[{{ns:user}}:$1|$2]] ([{{fullurl:{{ns:user_talk}}:$1|action=edit&section=new}} Reply]) would give a more direct link.

Users can change their signature in their preferences.

How can I change what the <title> of each page is? Where do I make changes?

Most of the text that you want to change can be found in the namespace of MediaWiki.

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> You need to log in as an administrator to edit the protected entries in the MediaWiki namespace.

If you want to change the title in your browser, you need to edit MediaWiki:Pagetitle.</translate> <translate> Go there and edit it just like you would any other page in your wiki.

In recent versions of MediaWiki, MediaWiki:Pagetitle is <tvar|1>$1 - {{SITENAME}}</> by default. If <tvar|2>{{SITENAME}}</> is producing the wrong text for you, you need to set <tvar|3>Template:Ll</> in your <tvar|4>LocalSettings.php</>.</translate>

<translate> Don't forget to clear your browser cache after you change your settings.

Does MediaWiki automatically capitalize the first letter of $wgSitename?

Yes.</translate> <translate> This can be changed using the <tvar|CapitalLinks>Template:Ll</> configuration setting.

How do I make external links open in a new window?

</translate>

<translate> See <tvar|1>Template:Ll</></translate>

<translate>

How can I suppress MediaWiki from formatting URLs, tags, etc?

Put "<tvar|nowiki>Template:Tag</>" tags around the URL or tag.

Example:</translate>

svn co <nowiki>http://svn.example.com/myproject/</nowiki>

<translate> Produces:</translate>
svn co http://svn.example.com/myproject/

<translate>

How can I force users to preview before they save?

</translate>

<translate> See:</translate> Template:Ll, Template:Ll

<translate>

How do I add more buttons on the edit page?

</translate>

<translate> See:</translate> Template:Ll

<translate>

How can I get more special characters or tags clickable on the edit page?

For adding more selectable special characters, etc., below the edit field, see <tvar|1>Template:Ll</>.

How can I use a different skin (e.g. Wikipedia's old Monobook skin) on my wiki?

</translate> Template:MW 1.16 <translate> 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> See <tvar|1>Template:Ll</> for more information on configuring your default skin.

How do I disable external links from showing in the printable version of a page?

Edit the page MediaWiki:Print.css on your wiki and add the following code there:</translate>

<syntaxhighlight lang="css">

  1. content a.external.text:after,
  2. content a.external.autonumber:after {

content: none; } </syntaxhighlight>

<translate> This will override the styles defined in the CSS files coming with the MediaWiki source code.</translate> <translate> For more information, see <tvar|1>Template:Ll</>.</translate>

<translate> If instead you want to have the external links underlined in the printable version, then also add the following code:</translate>

<syntaxhighlight lang="css">

  1. content a.external {
   text-decoration: underline !important;

} </syntaxhighlight>

<translate>

How do I change the text of the article (page name) tab of my wiki's main page?

</translate>

Template:Anchor <translate> To change the text of the tab, as one example used in Wikipedia, you first open the page "<tvar|1>MediaWiki:Mainpage-nstab</>".

After you've done that, click Edit and type in the edit box the text you want to be seen later on the main page - that's it.</translate> <translate> Don't forget to save the page as well.

Basic usage

How do I edit a page?

To edit a page, simply click the edit link that appears on each page.</translate> <translate> Using the default Vector skin, this is in the form of a tab at the top of the page.</translate> <translate> A form will appear, containing the existing markup.</translate> <translate> When you have finished making modifications, click the Save button to commit your changes. </translate>

<translate> See also:</translate> Template:Ll

<translate>

How do I create a new page?

There are several ways to create a new page:

  • Create a link to the page on another page, then click on the red link which appears</translate>

<translate>

  • Browse to the intended location of the page, e.g. http://www.example.com/index.php?title=New_page and click on the "Edit", "Create" or "Create source" link.</translate>

<translate> On some wikis, a failed search for a page will contain a link which allows you to edit that page. </translate>

<translate> See also:</translate> Template:Ll

<translate>

How do I delete an old version of a page?

Old versions of page data are retained in the database and can be accessed via the page history features.</translate> <translate> 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.

  • Administrators can delete an old revision of a page by deleting the page, and then selectively undeleting revisions to be kept</translate>

<translate>

  • 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>

  • The <tvar|1>maintenance/Template:Ll</> [[<tvar|2>Special:MyLanguage/Manual:Maintenance scripts</>|maintenance script]] can mass-delete all old revisions of pages and their associated text records.

</translate>

<translate> See also:</translate> Template:Ll

<translate>

How do I use oversight/delete revisions in the page history?

</translate>

<translate> See:</translate> Template:Ll

<translate> You can also delete a page, and then restore only the revisions you want.

Are there any editing tutorials available?

There are several editing tutorials available, mostly on Wikimedia sister projects, such as Wikipedia.</translate> <translate> There are also markup references, etc. available on Meta.

<translate>

  • Editing help content on Meta</translate>

<translate>

How do I view the printable form of a page?

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.

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>Template:Ll</> extension.

How do I use templates?

</translate>

<translate> See <tvar|1>Template:Ll</></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?

Yes, this is encouraged through the use of <tvar|1>Template:Ll</>. </translate>

<translate> See also:</translate> Template:Ll

<translate>

How do I use a template as a signature?

When you look at your preferences, you see a check box for "raw signature."</translate> <translate> But the field will only take a certain number of characters.</translate> <translate> What if you want more?

You will need to create two pages, possibly in your userspace.</translate>

  1. <translate> Create the first page (FIRST PAGE)</translate>
  2. <translate> Go to your preferences, check "raw signature" and put <tvar|1>{{FIRST PAGE}}</> in the signature.</translate> Template:Int
  3. <translate> Create a second page (SECOND PAGE) (possibly a sub-page of the first)</translate>
  4. <translate> Go back to the first page (FIRST PAGE) and do <tvar|1>{{SECOND PAGE}}</></translate>
  5. <translate> Go to the second page (SECOND PAGE) and place the code you wish to have for your signature.</translate>

<translate> 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> You may not mind this, in which case you only need one page.</translate> <translate> If you want the raw code to only display <tvar|1>{{FIRST PAGE}}</>, 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?

In wiki terms, a sandbox is simply a "play pen"; a page which users can mess about in.</translate> <translate> This is an ordinary page created in the normal manner, and can be located wherever you like.</translate> <translate> There is no special sandbox functionality built into MediaWiki.

Users often inquire about the Wikipedia sandboxes, which seem to be self-emptying.</translate> <translate> This is not quite correct; there are a number of volunteers who run 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)?

You need to install the <tvar|1>Template:Ll</> extension.</translate> <translate>

How do I make my wiki serve all languages?

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>Template:Ll</> extension; there's extensive documentation. </translate>

Template:Anchor <translate>

Wiki importing

Importing from MediaWiki XML dumps

</translate>

<translate> See:</translate> Template:Ll

<translate>

Importing from other types of wiki software

</translate>

Template:Outdated

<translate> There is some documentation about importing in the UPGRADE file distributed with MediaWiki.

To follow on from those, this is how at least one individual imported pages from usemod to MediaWiki:

Because MediaWiki does not automatically link to CamelCase style links, you will need to add brackets [[ ]] to all your links.</translate> <translate> You can do this with the following:

First, obtain ImportStage1.txt (or whatever you want to call it) from the importUseModWiki.php script ( use > to pipe the output to a file )

Second, do</translate>

sed '/Importing/!s/\ [A-Z]\w*[a-z]\w*[A-Z]\w*[a-zA-Z]/\ \[\[&\]\] /g'
    ImportStage1.txt > ImportStage2.txt

<translate> This should create proper links in place of your CamelCase links.

This doesn't work so well for SubPage links - someone care to fix?

Then,</translate>

sed 's/upload\:\w*\.\w*/http\:\/\/aberwiki\.org\/uploads\/& /g'
    ImportStage2.txt > ImportStage3.txt

<translate> This fixes your upload links.</translate> <translate> Change the replace text so it fills in your url such as http://www.yourwiki.org/uploads/filename

You are now ready to import ImportStage3.txt into your database with a command such as</translate>

mysql -u<mysqluser> -p<yourpass> <db name> < ImportStage3.txt

Template:Note

<translate>

Importing from other types of files

There are a variety of tools available to help convert content from HTML (and other formats) to MediaWiki markup.</translate>

<translate> Developer and SysAdmin tools</translate>

<translate>

<translate>

  • Wikificator - a JavaScript MediaWiki extension that converts XHTML to MediaWiki markup.</translate>

<translate>

  • The <tvar|1>Template:Ll</> and <tvar|2>Template:Ll</> [[<tvar|3>Special:MyLanguage/Manual:Maintenance scripts</>|maintenance scripts]] can be used to import text and images into MediaWiki.</translate>
<translate> End-user tools</translate>

<translate>

  • wikEd - a text editor for MediaWiki that can import HTML (including Microsoft Word-generated HTML.)</translate>
<translate> Instructions</translate>

<translate>

<translate>

MediaWiki auto importing script

Taken from wiki_import - MediaWiki auto import script:

Description

The script is designed to import a whole folder of files into MediaWiki, with the folder directory tree mapped as wiki category hierarchy.

Features

  • economic, build wiki site from existing knowledge base collection without "double-entry"</translate>

<translate>

  • persistent, map folder directory tree as wiki category hierarchy</translate>

<translate>

  • sophisticated, import/handle all well-known file types automatically</translate>

<translate>

  • complete, cover every applicable scenario, even the case when you need to control access to individual wiki pages</translate>

<translate>

  • versatile, highly customizable

Quick Help

</translate>

wiki_import.sh $ $Revision: 1.1 $

<translate> mediawiki automatic file import script

Usage:</translate> wiki_import.sh [OPTIONS]...

<translate> The script is designed to import a whole folder of files into mediawiki, with the folder directory tree mapped as wiki category hierarchy.

The specification of the file-to-import is passed from standard input.

Options:</translate>

 -s, --sect=n     <translate> the root category section of the wiki of the imported article (mandatory)</translate>
 -1, --header     <translate> include standard header (category hierarchy path & notice)</translate>
 -l, --link       <translate> link to actual file on the web site</translate>
 -f, --footer     <translate> include standard footer (article category)</translate>
 -R, --res[=p]    <translate> add restricted tag in the footer as</translate>
                    '{{<Res Param|Root Category> Restricted}}' (default=`$_opt_sect')

<translate> Configuration Options:</translate>

 -p, --php=fn     <translate> mediawiki import php script specification</translate>
 -r, --root=n     <translate> the root category name for the whole wiki site</translate>
 -m, --max=n      <translate> max_allowed_packet for mysqld to import</translate>
 -u, --user=n     <translate> wiki user used for the import</translate>
 -a, --arch=p     <translate>

the root url that linked-to archive files based on

Examples:</translate>

 echo ./path/to/file.ext | wiki_import.sh -1 -l -f -s 'Customer Support' -R 

<translate> For the rest of details, check out wiki_import. </translate>

Template:Anchor <translate>

Templates imported from other wikis (such as Wikipedia) don't work for me

You probably need to install some extensions used on the source wiki, such as <tvar|3>Template:Ll</>, <tvar|4>Template:Ll</>, <tvar|1>Template:Ll</> or sometimes <tvar|2>Template:Ll</>.</translate> <translate> Also, make sure that you copied all site CSS and JavaScript required by the template.

Customising further

I want to have multiple wikis, but only require registration once

  • If you're starting from scratch or you're switching from one wiki to multiple, you can use <tvar|1>Template:Ll</> and <tvar|2>Template:Ll</> to have all wikis share the user table of the "main" wiki.</translate> <translate> You can share other tables as well, as long as they don't contain any data dependent on non-shared tables or data specific to one wiki.</translate> <translate> See Manual:Shared database for examples and more information.</translate>

<translate>

  • If your wikis are already established and you want to switch to a single sign-on, you can use the <tvar|1>Template:Ll</> extension.</translate> <translate> It has a few more features than a shared user table, but it's more difficult to configure and it's tailored toward a Wikimedia-style setup.</translate> <translate>

However, it is easier than attempting to completely merge multiple user tables into one.

How can I allow use of HTML tags?

See <tvar|1>Template:Ll</> as well as <tvar|2>Template:LlTemplate:IntTemplate:IntTemplate:Ll</>. </translate>

Template:Caution

<translate> See <tvar|1>Template:Ll</> and <tvar|2>Template:Ll</> for ways to make this safer.

How do I fix problems or add features to MediaWiki?

The basic steps to improving MediaWiki (that is, becoming a MediaWiki developer) are:

  • Install Git</translate>

<translate>

  • Download the Git "clone" of the MediaWiki source code</translate>

<translate>

  • Get a server, a database, and PHP running on your computer (this can be annoying, so please ask for help if something isn't working)</translate>

<translate>

  • Get MediaWiki running on your computer off that Git checkout (can be annoying as well, so, ditto)</translate>

<translate>

  • Fix the problem or add the feature you were thinking of</translate>

<translate>

  • Edit the source code of the relevant file(s) to fix the problem</translate>

<translate>

How do I run a bot?

</translate>

<translate> See:</translate> Template:Ll

<translate> You might want to use the <tvar|1>Template:Ll</> framework.

How do I change noindex nofollow

Set <tvar|code>Template:Ll = false;</> in <tvar|1>Template:Ll</>

How do I create a small wiki farm?

</translate>

<translate> See:</translate> Template:Ll

<translate>

How do I add meta tags?

The OutputPage class includes an addMeta method which can be used to add meta tags.</translate> <translate> The RequestContext can be used to get the relevant OutputPage object.

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...?

…is the Help namespace empty?

The Help namespace currently ships in a blank state.</translate> <translate> 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> Obviously you can easily link your visitors to help resources elsewhere.</translate>

<translate> We don't currently have a clean, internationalised set of help pages under a free license.</translate> <translate> 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>Template:Ll</> from this wiki.</translate> <translate> This set of pages have been deliberately created for this purpose, with wiki-neutral information, and no license restrictions.</translate> <translate> See Project:PD help. More help is available at the Meta-Wiki MediaWiki Handbook.

…are some of my images not showing up after an upgrade?

Several users have reported that, following an upgrade or a moving of their wiki, several images fail to be shown inline.</translate> <translate> The files exist, and the image description pages show a MIME type of <tvar|1>unknowncode>/unknown</> and, in some cases, a warning about potentially dangerous files.

To fix this, run the <tvar|1>maintenance/rebuildImages.php</> script from the command line.</translate> <translate> This will set MIME information for each file in the database.

Recent versions of MediaWiki implement [[<tvar|ResponsiveImages>Special:MyLanguage/Manual:$wgResponsiveImages</>|responsive images]].</translate> <translate> 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> 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>srcset</> attribute contains commas instead of dots when representing the <tvar|2>1.5x</> value.

…are all PNG files not being turned into thumbnails?

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> 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.

See [[<tvar|1>#"File is corrupt or has an invalid extension"</>|here]] for more info.

…can't I download MediaWiki {{#expr:Template:MW stable branch number+.01}}?

MediaWiki {{#expr:Template:MW stable branch number+.01}} is in a development state at present, and has not been packaged into a general release.</translate> <translate> The code can be [[<tvar|1>Special:MyLanguage/Download from Git</>|downloaded from Git]] if desired.</translate> <translate> Or, if you want the latest development version packaged as an archive, get it at Template:MW alpha branch link (GitHub).

…doesn't this work? It works on Wikipedia!

Wikipedia and other Wikimedia web sites use the current version of the code in development; at present, this is MediaWiki 1.34.2, pulled from the current development branch.</translate> <translate> Coupled with the use of several extensions, this means that functionality between these wikis and your particular setup may differ.

  • To obtain the current development code, read [[<tvar|1>Special:MyLanguage/Download from Git</>|Download from Git]]</translate>

<translate>

  • 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>

  • You may also be missing several <tvar|1>Template:Ll</> 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?

Fedora Core enables <tvar|1>Template:Ll</> by default.</translate> <translate> 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?

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> 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> When this happen the vendor folder is left out, leaving the user with the rather non-explanatory error message.

Use a command line tool when recompressing the tar archive into a zip archive.

…do I get logged out constantly?

This is probably related to cookies or session data. See Log in problems for information.

If this is happening constantly to all users, it probably means that caching is misconfigured. Setting <tvar|1>$wgSessionCacheType = CACHE_DB;</> 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?

</translate> Template:Outdated <translate> 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> The appropriate choice is to block the account or rename it if needed.</translate> <translate> Here is why:

Do I just remove this row from the User table?

Rob Church posted the following regarding this issue on the wikitech-l mailing list: </translate>

Template:Quote

<translate> Another option is to give Admins the 'hideuser' right, and indefinitely block the user with the Hide username from edits and lists option selected.

<tvar|1>Template:Ll</> is also useful.

…is the number of pages so low on Special:Statistics?

[[<tvar|1>phab:source/mediawiki/browse/master/includes/DefaultSettings.php</>|By default]], <tvar|2>Template:Ll</> is set to <tvar|3>link</>.</translate> <translate> 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> This can be changed by setting <tvar|1>$wgArticleCountMethod</> to <tvar|2>any</>.</translate> <translate> Afterwards, run <tvar|1>Template:Ll</> and/or <tvar|2>Template:Ll</>.</translate> <translate> (On Wikimedia websites, <tvar|1>initSiteStats.php</> is run on the 1st and 15th of each month.)</translate> <translate> There might still be wrong behavior, see for example <tvar|1>phab:T212706</>.

Anti-spam

Where do I get the spam blacklist from and how do I install it?

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> For installation and configuration instructions, consult the <tvar|1>Template:Git file</> file and <tvar|2>Template:Ll</> over here.

How do I use $wgSpamRegex to block more than one string?

<tvar|1>Template:Ll</> is a powerful filter for page content.</translate> <translate> Adding multiple items to the regex, however, can be awkward.</translate> <translate> Consider this snippet: </translate>

<syntaxhighlight lang="php"> $wgSpamRegexLines[] = 'display\s*:\s*none'; $wgSpamRegexLines[] = 'overflow\s*:\s*auto'; [...] $wgSpamRegex = '/(' . implode( '|', $wgSpamRegexLines ) . ')/i'; </syntaxhighlight>

<translate> This example code allows convenient addition of additional items to the regex without fiddling about each time.</translate> <translate> It also demonstrates two popular filters, which block some of the most common spam attacks. </translate>

<translate> See also:</translate> Template:Ll

<translate>

Are there additional ways to fight spam?

See Manual:Combating spam for an overview of anti-spam measures such as Captcha, content filtering and restricting edition.

Anti-vandalism

See Manual:Combating vandalism for hints and suggestions on how to deal with wiki vandalism.

Where now?

I've found a bug or have a feature request. Where do I post it?

Bugs and feature requests should be posted on <tvar|1>Template:Ll</>.</translate> <translate> See How to report a bug.

I'm getting a strange error. What now?

  • See if it is covered by <tvar|1>Template:Ll</></translate>

<translate>

  • Try to find out more about the problem, see <tvar|1>Template:Ll</></translate>

<translate>

  • See the [[<tvar|1>#Still no luck. Where can I ask for help?</>|section below]] for information on how to contact developers and other knowledgable users.

I tried that but it didn't work

</translate>

<translate> I had a problem, I came to this page and it told me how to fix it.</translate> <translate>

But it didn't work, the problem is still there!!!!

Nine times out of ten this is because you didn't [[<tvar|1>#How do I purge a cached page?</>|clear your cache]].</translate> <translate> The simple test for this is to request a page that hasn't been requested before.</translate> <translate> Select the part of the URL in the address bar that contains the page title (e.g. Main_Page).</translate> <translate> Twiddle your fingers on the keyboard for a while, hit enter.</translate> <translate> Check if the problem is on that page too.

MediaWiki uses both a server-side cache and a client-side cache, so clearing your browser cache is often not enough.</translate> <translate> See the [[<tvar|1>#How do I purge a cached page?</>|relevant entry above]] for more details.

Here are some other things to check:</translate> <translate>

  • Were you editing the right file? Try inserting some garbage into the file you edited, does it break anything?</translate>

<translate>

    • A great debugging tool in this case is to create a file called phpinfo.php, containing only <tvar|1><?php phpinfo() ?></>.</translate> <translate> Upload it into your web directory and invoke it with your browser.</translate> <translate> Check the document root and the path to php.ini.</translate>

<translate>

  • Were you editing the right part of the file?</translate> <translate> Did you create a duplicate entry in php.ini?</translate> <translate> Add new settings to the end of LocalSettings.php, not to the beginning.</translate>

<translate>

  • If you created a .htaccess, are you sure AllowOverrides is on?</translate> <translate>

Ask your hosting provider.

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

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