Manual talk:FAQ

Jump to: navigation, search

About this board

Please do not post support questions here.


Further options for contacting appropriate people can be found at Communication.

Language: English  Deutsch español français 日本語 한국어 Nederlands polski português русский ไทย 中文

Archive of Meta, Archive 2006, Archive 2007, Archive 2008, Archive 2009, Archive 2010.

Create Composite Diagram Using the Automation Interface

Emmablisa (talkcontribs)

I need to use the EA Automation Interface from Java to create some diagrams in EA - something for which there are examples. However I also want to make some of the diagrams composite diagrams linked to an element in the model.

In EA itself it's just a question of right clicking on the element, selecting Add and then Select Composite Diagram but I can't see anywhere in the Automation Interface where I can create this relationship.

Does anyone know how to do this?

Ciencia Al Poder (talkcontribs)

What relation has EA with MediaWiki (and this FAQ page)?

Reply to "Create Composite Diagram Using the Automation Interface"

translation: MediaWiki:Common.js is deleted

Omotecho (talkcontribs)

I am translating the page, and on <code>Translations:Manual:FAQ/197/ja</code> per , <code>MediaWiki:Common.js</code> is deleted. Do you update the document?

Ciencia Al Poder (talkcontribs)

The document is correct. Although the page is deleted on, it may be created to add that code. In fact, on every new wiki the page doesn't exist but can be created.

Omotecho (talkcontribs)

Thank you for reply, and more question has popped up in that case. By any chance, is there any better sentence(s) to describe the situation, that you are supposed to guess while the page has been deleted but it is there since it’s still useful ? Or, should someone de-delete the link? My reasoning: As this is a FAQ page, the frequently given “answer” should be direct and give, ideally, one-stop solution. If any guess work is required to turn to its Talk page, why we need FAQ page for?

Ciencia Al Poder (talkcontribs)

I don't see why a deleted MediaWiki:Common.css page can cause confusion. On this wiki, the functionality of hiding the sidebar when pressing F11 (which is the subject of the FAQ entry) is not present. This means the code provided on the page isn't in MediaWiki:Common.js. MediaWiki:Common.js is not just a random page: if you look at it (even after being deleted) it has content: /* Any JavaScript here will be loaded for all users on every page load. */. This means it invites any user (which can edit it) to add whatever script they want to be executed for all users. If you need more information, look at Manual:Interface/JavaScript for other places where scripts can be added.

Omotecho (talkcontribs)

Your advice is very helpful for me, and now I see deleted page on MediaWiki is meaningful, isn’t it? My misunderstanding as I read with my novice background, or quite defferent from deleting page in WP. I will take time and comprehend that part in the FAQ page before coming back to translate it into ja. Cheers

Ciencia Al Poder (talkcontribs)

Pages in the MediaWiki: namespace are special, they are used by the software. You can see more information in Help:System message

Omotecho (talkcontribs)

Yes, I will try translate the page you pointed me to.

Reply to "translation: MediaWiki:Common.js is deleted"

How do I create a Wiki powered by Media Wiki?

Qubosucks (talkcontribs)

I am getting tired of Fandom, how do I make wikis on this?

Ciencia Al Poder (talkcontribs)

See Hosting services if you do not want to set up your own server

Reply to "How do I create a Wiki powered by Media Wiki?"
Sumanchand (talkcontribs)

Hello Sir,

I am Suman Majumder.

I am novice in Mwdiawiki. Currently I am using mediawiki v1.29.2.

I want to implement OTP secure login here. After username and password authentication user will get an OTP in mobile. I have gone through the backend coding but it is too difficult to find out login process where I need to implement the same.

Kindly help me..............

Reply to "How to implement OTP login" (talkcontribs)


I've downloaded and install MediaWiki on my localhost. Works fine, but I've got some troubles making everything work.

Here's the thing: MediaWiki's simple. But when it comes to adding (for example) an infobox, I'm stuck. I've read many how-to tutorials on how to add infobox templates and create infoboxes, and none of them has worked. I've add CSS and JS, installed extensions such as Scribunto, added the corresponding line in LoclSettings.php, but every website gives a different version of what to do...

Anyway. Can someone give me the download link of a MediaWiki bundle/package that already contains all the required files, extensions and templates (Wikipedia has all the templates, so they exist, right? I've followed many tutorials and tried so many things I don't know what's wrong (and a ready-to-use MediaWiki version would really be awesome, avoiding headaches during the setup process).

As you can read, I'm a beginner, so I don't know much about MediaWiki. Please let me know what are my options.

Thanks a lot,


Seb35 (talkcontribs)

There are different types of things: extensions (installed on the server by the server administrator) and templates (can be written by any editor on the wiki). For the extensions, there is no "standard" installation: MediaWiki comes with 10-15 basic extensions, but it is up to you to activate them depending on your needs, and there are many other extensions (with varying quality).

For the templates, you can export some pages including all templates contained in the page with en:Special:Export (for English Wikipedia), but to the extend of my knowledge there is no "bundle" of templates. There are projects to create a central repository containing useful templates (see here) but it’s only a project for now.

Reply to "MediaWiki for beginners"
ElectricRay (talkcontribs)

Hi - The code suggested in the current version of this page:

body.mainpage.action-view h1.firstHeading, body.mainpage.action-submit h1.firstHeading { display: none; }

didn't work for me, even though I have the latest version of MediaWiki and haven't futzed around with the pages.

Now I was googling around and I found a post from a 2007 edit of this page which provides the following code to be pasted into the Mediawiki:Common.css: h1.firstHeading { display: none; }

This has worked for me. I'm no computer whiz so I haven't updated the article, but I thought I'd mention it.

This post was hidden by Ciencia Al Poder (history)
Ciencia Al Poder (talkcontribs)

The current CSS rule requires that MediaWiki:Mainpage is set correctly, and it should work that way. The current rule ensures it will work for wikis in other languages than English and where the main page has been changed to be at another title.

ElectricRay (talkcontribs)

Ok; thanks: It didn't work for me. What must I do to set MediaWiki:Mainpage correctly?

Ciencia Al Poder (talkcontribs)

Be sure MediaWiki:Mainpage contains the title of your main page. That's the page it will redirect you whenever you access your wiki without specifying a page (accessing index.php directly)

Ciencia Al Poder (talkcontribs)

I was wrong and the body.mainpage class never existed on MediaWiki core, that only works here because of a gadget. The FAQ entry has been updated.

This post was hidden by Ciencia Al Poder (history) (talkcontribs)

When I click on log in/create account from a normal page I only get a log in option. I notice on this page that log in & create account are separate links, so I'll see if this works.

This post was hidden by Ciencia Al Poder (history)
This post was hidden by Ciencia Al Poder (history)
This post was hidden by Ciencia Al Poder (history)
This post was hidden by Ciencia Al Poder (history)
This post was hidden by Eloy (history)
Reply to "How do I create an account?"

Section 'How do I add/remove tabs throughout my wiki?' is outdated

Cycloneblaze (talkcontribs)

The given code doesn't work with an error saying the function wfMsgForContent() is unknown. Per here, the function seems to have been removed - the recommended is simply to remove the function. I would edit the page myself to add a corrected code snippet, but I'm no great shake at PHP so I wouldn't like to provide something else that's wrong :b

Ciencia Al Poder (talkcontribs)

The function that's mentioned in that thead is wfLoadExtensionMessages, not wfMsgForContent!

   wfMsgForContent( 'key' );

must be replaced by

   wfMessage( 'key' )->inContentLanguage()->text();
Ciencia Al Poder (talkcontribs)

I've changed the code to reflect that. But I haven't tested if it works

Cycloneblaze (talkcontribs)

The extension gives no errors and now adds the link to the main page, like it should. It doesn't remove the 'Discussion' tab but that's a different issue I think.

Reply to "Section 'How do I add/remove tabs throughout my wiki?' is outdated"
Beginneruser (talkcontribs)

I install mediawiki in my server but see incorrect character in mediawiki. how solve this problems?

Kghbln (talkcontribs)

Please elaborate. I am not familiar with the language in question. If it is a translation mistake you may want to have a look at Cheers

This post was hidden by Kghbln (history)
Beginneruser (talkcontribs)

Problem solved.

This post was hidden by Kghbln (history)

LDAP authentication failed , using Ryan D Lyne extension

Nazish.rizvi (talkcontribs)

The environment is windows 7 and trying to integrate it with the LDAP using Ryan D Lyne extension. Tried by best but I'm getting the following error:

PHP Warning:  ldap_start_tls(): Unable to start TLS: Server is unavailable in C:\wamp\www\dcwiki\extensions\LdapAuthentication\LdapAuthentication.php on line 621

I can share the whole error stack if you need, your immediate response will be highly appreciated.

Ciencia Al Poder (talkcontribs)

Please ask those questions in Project:Support desk.

This seems like a common error message in google, one of the results bring: