Project:Support desk/Flow/2011/02
| This page is an archive. |
| Please ask questions on the current support desk. |
| This page used the LiquidThreads extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
column width in tables
I can't find any mention of how to increase the width of a column so that the words I have in a table do not wrap to the next line.
Would someone please tell me, and better yet...add it to the help section for tables on what the syntax is for either not word wrapping within a cell or increasing the width of the column?
Thank you! 98.189.165.213 (talk) 01:21, 1 February 2011 (UTC)
- Use HTML coding. I use tables all the time. Example from one of my tables:
| חבשׁ |
|
By using the width="##%" option or even if you want a set a spesific size, width="##px". |
- Hope it helps! Daniel Rossouw 13:15, 4 February 2011 (UTC)
Moving a Database
I do not have shell access to my host, so the help info on http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki does not seem to help me at all.
Using phpMyAdmin, I exported by Database, and on the new host I used phpMyAdmin to import the database. It seems to have imported most, if not all, of the pages. But none of the data is there. When looking at the table size, they are pretty dang close to identical.
Unfortunately, I can't get the site to even pull up on the old host to see what should be there. Issues like that are one reason I am moving to a new host. But the new hosts has pages, just no content. Am I missing something? I've tried every way I can imagine to export and import, and nothing seems to work. 71.158.167.88 (talk) 04:59, 1 February 2011 (UTC)
- HI,
- Were you able to resolve your issue?
- I just migrated my Wikis to a new server, and the page is there but I can not see any of the content.
- When I login with the wiki username and edit the page, I can see the content there, but it tells me that the page is locked for editing....
- When I exit the edit window, the wiki page is blank and no content is diplayed.
- Can anyone please help me out with this?
- Thanks,
- Mike 204.153.88.3 18:37, 29 June 2012 (UTC)
Some CSS not working?
MediaWiki 1.16.0 PHP 5.2.15 (cgi-fcgi) MySQL 5.1.53-log
I'm currently in the process of moving my wikia content over to an install of mediawiki that I just got set up. First thing I did was upload all of my templates and I'm having a bit of trouble getting the formatting of the infoboxes properly.
This is the code in the template:
{| class="infobox" style="font-size:89%; width:300px;"
|-
! class="color1" colspan="2" style="font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
|- style="text-align:center;"
| colspan="2" style="padding:0.5em;" | [[{{{image|Image:Placeholder person.png}}}|{{{imagewidth|200}}}px]]<br/>''{{{caption| }}}''
|-
! colspan="2" class="color1" | Organization
|-
| style="width:30%;" | '''Membership'''
| style="width:70%;" | {{{Marked, Half-Breed, Daemos, Mixed, etc.?|}}}
|-
| '''Leader'''
| {{{leader|}}}
|-
| '''Alignment'''
| {{{good, evil, neutral?|}}}
|-
| '''Resources'''
| {{{poor, moderate, wealthy?|}}}
|-
| '''Regional Influence'''
| {{{regional influence|}}}
|}
<noinclude>[[Category:Templates for Marked Wiki Articles]]</noinclude>
And this is the code that I added to MediaWiki:Common.css
/* CSS placed here will be applied to all skins */
.infobox {
background-color: #DFDFDF;
border: 1px solid #D9D9D9;
clear: right;
color: #3A3A3A;
float: right;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
}
.color1 {
background-color: #1B5775;
color: white;
}
.color1 renders just fine. However, .infobox doesn't seem to be working and I'm not sure what I'm doing wrong. I'm using the default Monobook skin with no edits. Ranimara (talk) 19:00, 1 February 2011 (UTC)
Short URLs for other namespaces
ok i have a wiki i use to write and store all of my stories, poems and other texts what i want if possible is
the ability to have all the namespaces have there own short url for example
http://www.example.com/index.php/Poem:MyPoem --> http://www.example.com/poems/MyPoem
http://www.example.com/index.php/MyStory --> http://www.example.com/stories/MyStory
http://www.example.com/index.php/Author:AuthorName --> http://www.example.com/author/AuthorName
anyway you get the idea the special pages don't need to have this ability. i don't know if this would require the complete rewrite of mediaWiki to implement or not. My Technical Info
- MediaWiki - 1.15.4
- PHP - 5.2.10-2ubuntu6.5 (apache2handler)
- MySQL - 5.1.37-1ubuntu5.5 65.100.204.74 (talk) 09:35, 2 February 2011 (UTC)
- I suppose the "rewrite" or "alias" features in Apache are able to convert any "incoming" URL into whatever the application expects. The short or pretty URL feature works this way too.
- Step two is concerning the way that Mediawiki renders internal links like [[Author:Hemingway]] into HTML hyperlinks -->
http://www.server.com/wiki/index.php?title=Author:Hemingway. Or, in your case, -->http://www.example.com/Author/Hemingway. - Mediawiki has hooks that are called in that part of the rendering process for you to plug an extension into, so you can munge the URLs as needed.
- Does that help? BRFR 09:13, 8 February 2011 (UTC)
- Yes that makes sense; but where would this hooks be is there a manual for them? i can write php, i am just not familiar with mediawiki's APIs 65.100.204.74 00:10, 12 February 2011 (UTC)
- docs/hooks.txt -- Bryan (talk|commons) 20:12, 12 February 2011 (UTC)
- Yes that makes sense; but where would this hooks be is there a manual for them? i can write php, i am just not familiar with mediawiki's APIs 65.100.204.74 00:10, 12 February 2011 (UTC)
Versioning of groups of articles
Versioning of groups of articles
We are starting to use MediaWiki for our user guide of our software. Our software is release twice a year but our documentation which was based on MS Word was most times out of sync.
By using MediaWiki we hope to get our documentation in sync by release our new version.
In this case our MediaWiki always shows the latest version. But most of our customers are using older software. The information is still available in the Wiki. Using the historian and clicking on a older article give the needed information.
Is it possible to do this automatically (by implementing a extension). What I have in mind is that I (as admin) can define that for example version 1.2.3 is released on 12-11-2010. And that a customer can parameterise that he wants the information belonging to that version. The media wiki only shows the newest article before the release date.
Any other solution to connect article versions to a software release will help.
Is there something which can help me? 194.229.234.2 (talk) 15:07, 3 February 2011 (UTC)
categoria
estoy creando una wiki en base a mediawiki 1.15.2 con php 5.3.2 mi pregunta es la siguente:
Al crear una categoria atraves de SIDEBAR.¿ puedo asignar un administrador unico a esta categoria?.existe otra forma de crear una pagina para que pueda ser administrada por una usuario unico.-
porfavor necesito ayuda respecto a esto. 200.72.40.99 (talk) 15:48, 3 February 2011 (UTC)
- You can use 'Namespace Protection' to restrict creation & editing of pages on a per-namespace basis. Applies to category pages too, but probably you cannot prevent people from writing [[category:foobar]] into the pages they edit (assuming they have the right to edit). BRFR 21:31, 3 February 2011 (UTC)
How to disable wikisyntax-based parsing of CSS/JS pages?
Hi! I'm using MediaWiki 1.16.1, PHP Version 5.2.14, MySQL 5.1.49-community server. My question is about why are CSS and especially JS pages (usually stored at MediaWiki namespace) by default previewed and rendered as common wikitext? Currently if I want to properly write down some code containing double square brackets or four tildes (for example) I have to escape the whole page with some like // <nоwiki>. Maybe somebody knows how to edit certain pages in a raw mode or so. Please give me advice. Bandar Lego (talk) 17:49, 3 February 2011 (UTC)
- You don't really have to worry about [[. Well its displayed as a link, it should not be a link when used as JS (unless you're using pipe trick). ~~~~ is the only really annoying one. You can do things like '~~' + '~~' if you don't want to use nowiki.
- If you install the Extension:SyntaxHighlight GeSHi extension, such pages will display as code instead of wikitext when viewing them (for example like mediawiki:Common.js). However this doesn't stop issues with ~~~~. Bawolff 19:56, 3 February 2011 (UTC)
- If you install the Extension:SyntaxHighlight GeSHi extension... — already done, but I want to see geshi-highlighted syntax not only on saved page, but on preview as well. Strange, but preview of userJS subpages works more smartly than preview of critical system messages in MW namespace. And also it's strange to see some things like Category:$1 in Special:WantedCategories and User:Cool Javascripter (whose name is credited in JS pages) in Special:MostLinkedPages. That why I'm here. But thank you for your response anyway. Bandar Lego 21:19, 3 February 2011 (UTC)
- Yeah, that is the downside of using mediawiki pages to store js. There's really no way around that that i am aware of. Bawolff 17:37, 4 February 2011 (UTC)
- If you install the Extension:SyntaxHighlight GeSHi extension... — already done, but I want to see geshi-highlighted syntax not only on saved page, but on preview as well. Strange, but preview of userJS subpages works more smartly than preview of critical system messages in MW namespace. And also it's strange to see some things like Category:$1 in Special:WantedCategories and User:Cool Javascripter (whose name is credited in JS pages) in Special:MostLinkedPages. That why I'm here. But thank you for your response anyway. Bandar Lego 21:19, 3 February 2011 (UTC)
(RESOLVED) LiquidThreads takes hold of all talk pages but shouldn't
I have installed LiquidThreads 1.2 into MW 1.15.3. I have applied the patches that are explained on the LQT talk page, plus one more fix so Special:Recentchanges doesn't crash, and it works ... too good, kind of.
Symptom: Liquid Threads is active on each and every talk page in my wiki, and the magic word #useliquidthreads is not registered on Special:Version, and it does not work anyway (it's just displayed as is).
What's wrong? BRFR (talk) 21:27, 3 February 2011 (UTC)
- AS this page is based on LiquidThreads I had hoped somebody would have an answer. BRFR 17:37, 11 February 2011 (UTC)
- I'm fairly certain that this is only possible on the 1.17 LQT on an at least 1.16 wiki. -- Bryan (talk|commons) 20:12, 12 February 2011 (UTC)
- pity but thanks anyway BRFR 09:13, 13 February 2011 (UTC)
- I'm fairly certain that this is only possible on the 1.17 LQT on an at least 1.16 wiki. -- Bryan (talk|commons) 20:12, 12 February 2011 (UTC)
Confirmation Email and Special:Emailuser not working
URL: http://tolkiengateway.net
MediaWiki version: 1.15.4
PHP version: 5.3.2-1ubuntu4 (apache2handler)
MySQL version: 5.1.41-3ubuntu12
Both Special:Emailuser and user registration confirmation emails are not working; the error "Mail object returned error: mailer error" is always returned. We've looked all over to try to figure out what's causing the problem but can't figure it out - does anyone have any bright ideas?
Thanks, 81.159.87.234 (talk) 02:49, 4 February 2011 (UTC)
- Apologies for replying once again (although it has been six weeks). As no one here seems to know the answers, does anyone know where I can get help on this? 86.177.220.171 15:03, 17 March 2011 (UTC)
Parser Functions
I just installed MediaWiki at my site, and apparently I need Parser Functions installed. Here's an example page.
http://immortal-thor.com/wiki/index.php/Journey_Into_Mystery_Vol_1_84
And this doesn't appear to exist
http://immortal-thor.com/wiki/Special:Version
I'm not very technical minded so I could really use some help on getting my Wiki up and running so I can use templates and such. I've read through the FAQ but I'm not really understanding what I'm supposed to do. Exaclty HOW do I install Parser Functions (and anything else I appear to be missing)?
Thanks! 76.186.48.102 (talk) 10:44, 4 February 2011 (UTC)
- Have you tried reading the documentation? Max Semenik 10:47, 4 February 2011 (UTC)
- Yes I have, that's what I was saying, I'm not understanding it. I HAVE not Special Version page, and I can't find an extensions folder. 76.186.48.102 00:12, 5 February 2011 (UTC)
- You would have a Special:Version page, if your wiki was currently capable of displaying any pages. It's not though, likely due to some PHP error. It's not clear what the error is though, so please follow the instructions at Manual:Errors_and_symptoms#You_see_a_Blank_Page.
- You'll need to add some code to LocalSettings.php. Do you know where LocalSettings.php is?
- Once error reporting is enabled, you can copy and paste the error message here so we can look at it. Reach Out to the Truth 00:35, 5 February 2011 (UTC)
- Thanks. Here's what it's saying.
- Warning: require_once(/services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki/extensions/ParserFunctions/ParserFunctions.php) [function.require-once]: failed to open stream: No such file or directory in /services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki/LocalSettings.php on line 133
- Warning: require_once(/services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki/extensions/ParserFunctions/ParserFunctions.php) [function.require-once]: failed to open stream: No such file or directory in /services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki/LocalSettings.php on line 133
- Fatal error: require_once() [function.require]: Failed opening required '/services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki/extensions/ParserFunctions/ParserFunctions.php' (include_path='/services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki:/services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki/includes:/services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki/languages:.') in /services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki/LocalSettings.php on line 133 76.186.48.102 01:51, 5 February 2011 (UTC)
- Okay, did you download ParserFunctions? If not, make sure you do so, because you can't install it until you have it.
- {{WikimediaDownload|ParserFunctions}}
- Either download and extract the tarball into your extensions directory, or checkout the Subversion repo into the extensions directory. Your extensions directory is /services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki/extensions. Reach Out to the Truth 03:35, 5 February 2011 (UTC)
- Okay, I think I've got all that done, but now it's giving me this error.
- Magic word 'if' not found
- Backtrace:
- 0 /services/websiteos/mediawiki/includes/MagicWord.php(239): Language->getMagic(Object(MagicWord))
- 1 /services/websiteos/mediawiki/includes/MagicWord.php(192): MagicWord->load('if')
- 2 /services/websiteos/mediawiki/includes/parser/Parser.php(4098): MagicWord::get('if')
- 3 /services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki/extensions/ParserFunctions/ParserFunctions.php(73): Parser->setFunctionHook('if', Array, 2)
- 4 [internal function]: ParserFunctions_HookStub->registerParser(Object(Parser))
- 5 /services/websiteos/mediawiki/includes/Hooks.php(117): call_user_func_array(Array, Array)
- 6 /services/websiteos/mediawiki/includes/parser/Parser.php(178): wfRunHooks('ParserFirstCall...', Array)
- 7 [internal function]: Parser->firstCallInit()
- 8 /services/websiteos/mediawiki/includes/StubObject.php(58): call_user_func_array(Array, Array)
- 9 /services/websiteos/mediawiki/includes/StubObject.php(76): StubObject->_call('firstCallInit', Array)
- 10 [internal function]: StubObject->__call('firstCallInit', Array)
- 11 /services/websiteos/mediawiki/includes/MessageCache.php(659): StubObject->firstCallInit()
- 12 /services/websiteos/mediawiki/includes/GlobalFunctions.php(585): MessageCache->transform('$1 - {{SITENAME...')
- 13 /services/websiteos/mediawiki/includes/GlobalFunctions.php(548): wfMsgGetKey('pagetitle', true, false, true)
- 14 /services/websiteos/mediawiki/includes/GlobalFunctions.php(454): wfMsgReal('pagetitle', Array, true)
- 15 /services/websiteos/mediawiki/includes/OutputPage.php(324): wfMsg('pagetitle', 'Editing Journey...')
- 16 /services/websiteos/mediawiki/includes/EditPage.php(1094): OutputPage->setPageTitle('Editing Journey...')
- 17 /services/websiteos/mediawiki/includes/EditPage.php(1130): EditPage->setHeaders()
- 18 /services/websiteos/mediawiki/includes/EditPage.php(473): EditPage->showEditForm()
- 19 /services/websiteos/mediawiki/includes/EditPage.php(346): EditPage->edit()
- 20 /services/websiteos/mediawiki/includes/Wiki.php(505): EditPage->submit()
- 21 /services/websiteos/mediawiki/includes/Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
- 22 /services/websiteos/mediawiki/index.php(114): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
- 23 {main}
- Any idea? 76.186.48.102 17:36, 5 February 2011 (UTC)
- Now, it's giving me this error.
- Magic word 'if' not found
- Backtrace:
- 0 /services/websiteos/mediawiki/includes/MagicWord.php(239): Language->getMagic(Object(MagicWord))
- 1 /services/websiteos/mediawiki/includes/MagicWord.php(192): MagicWord->load('if')
- 2 /services/websiteos/mediawiki/includes/parser/Parser.php(4098): MagicWord::get('if')
- 3 /services/webpages/util/3/h/3h2niea8u.myutilitydomain.com/immortal-thor.com/public/wiki/extensions/ParserFunctions/ParserFunctions.php(73): Parser->setFunctionHook('if', Array, 2)
- 4 [internal function]: ParserFunctions_HookStub->registerParser(Object(Parser))
- 5 /services/websiteos/mediawiki/includes/Hooks.php(117): call_user_func_array(Array, Array)
- 6 /services/websiteos/mediawiki/includes/parser/Parser.php(178): wfRunHooks('ParserFirstCall...', Array)
- 7 [internal function]: Parser->firstCallInit()
- 8 /services/websiteos/mediawiki/includes/StubObject.php(58): call_user_func_array(Array, Array)
- 9 /services/websiteos/mediawiki/includes/StubObject.php(76): StubObject->_call('firstCallInit', Array)
- 10 [internal function]: StubObject->__call('firstCallInit', Array)
- 11 /services/websiteos/mediawiki/includes/MessageCache.php(659): StubObject->firstCallInit()
- 12 /services/websiteos/mediawiki/includes/GlobalFunctions.php(585): MessageCache->transform('$1 - {{SITENAME...')
- 13 /services/websiteos/mediawiki/includes/GlobalFunctions.php(548): wfMsgGetKey('pagetitle', true, false, true)
- 14 /services/websiteos/mediawiki/includes/GlobalFunctions.php(454): wfMsgReal('pagetitle', Array, true)
- 15 /services/websiteos/mediawiki/includes/OutputPage.php(324): wfMsg('pagetitle', 'Editing Journey...')
- 16 /services/websiteos/mediawiki/includes/EditPage.php(1094): OutputPage->setPageTitle('Editing Journey...')
- 17 /services/websiteos/mediawiki/includes/EditPage.php(1130): EditPage->setHeaders()
- 18 /services/websiteos/mediawiki/includes/EditPage.php(473): EditPage->showEditForm()
- 19 /services/websiteos/mediawiki/includes/EditPage.php(346): EditPage->edit()
- 20 /services/websiteos/mediawiki/includes/Wiki.php(505): EditPage->submit()
- 21 /services/websiteos/mediawiki/includes/Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
- 22 /services/websiteos/mediawiki/index.php(114): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
- 23 {main} 76.186.48.102 17:37, 5 February 2011 (UTC)
- You're using the wrong version. —Emufarmers(T|C) 05:51, 6 February 2011 (UTC)
- Wrong version? Which version do I need? 76.186.48.102 06:07, 6 February 2011 (UTC)
- The version that goes with the version of MediaWiki you're running (in this case, 1.14). [1] —Emufarmers(T|C) 11:02, 6 February 2011 (UTC)
- Awesome! That did it! Thank you so much for your help! 76.186.48.102 14:45, 6 February 2011 (UTC)
- The version that goes with the version of MediaWiki you're running (in this case, 1.14). [1] —Emufarmers(T|C) 11:02, 6 February 2011 (UTC)
- Wrong version? Which version do I need? 76.186.48.102 06:07, 6 February 2011 (UTC)
- Yes I have, that's what I was saying, I'm not understanding it. I HAVE not Special Version page, and I can't find an extensions folder. 76.186.48.102 00:12, 5 February 2011 (UTC)
Sidebar links on a new window.
Hi guys. I have a section on my wiki sidebar which is favorite links. But when someone clicks on the hyperlink it takes them to it therefore closing my wiki. I want to mantain the wiki active while they navigate through other pages so how can I set the "target" on the Sidebar?
I already used the $wg external links variable, it works with regular hyperlinks on articles not on the Sidebar.
Thanks! 187.112.152.158 (talk) 11:10, 4 February 2011 (UTC)
- As far as I know there is no built-in feature for this ... the developers' motto seems to be "let the user decide" ( --> use the right-click context menu ) BRFR 09:16, 8 February 2011 (UTC)
input box
I have been working with mediawiki now for over two years. It's an amazing piece of software.
Yet, something that irritates the Santa Clause out of the chimney is the size of the input box. When creating a page, or editing one, it's a massive hassle to input/edit text due to the size of the box. And it seems to be something that can't be changed. I work with a 22" LCD and still it's not the breadth of the box, but the height that bothers me. There is ample space of the on screen available yet, the box only occupies a small percentage of it.
I need it bigger. Is that possible, and if is please, please let me know how?
Regards Daniel 196.28.28.83 (talk) 13:08, 4 February 2011 (UTC)
- --> preferences --> editing BRFR 14:32, 4 February 2011 (UTC)
List all pages of a namespace on a page
I'm looking for an extension or a template to list all pages within a give namespace on a page?
I used kwSiteMap, but it does not work with newer versions of MediaWiki due to changes in the database structure.
Does anybody have any hints how to solve my requirement? 84.59.223.175 (talk) 23:29, 4 February 2011 (UTC)
- Both Special:AllPages and Special:PrefixIndex can be transcluded like a template.
- Here's {{Special:AllPages/Manual:}}
- It's only the first page though. I'm not sure how you'd list the rest of the pages. Reach Out to the Truth 00:48, 5 February 2011 (UTC)
Changed website name, wiki converted back
Our website recently changed from .com to .org. Now it looks like the wiki converted back to it's original state. I have all the mysql data. So how can I get this info transferred over? 96.227.1.184 (talk) 04:18, 6 February 2011 (UTC)
Control over Extension:CategoryTree displayed sort order
As I detailed here, the items listed in the categorytree at Category:WikiProject Geographical coordinates are displayed in a mysterious order. I would like them to be displayed alphabetically. James3mg notes "I use {{DEFAULTCATEGORYSORT:Name}} on the subcategories to specify what name it should use to order by."Extension talk:CategoryTree#Manually Sort Order "Category:Articles with unknown geocoordinates" now displays on the bottom of the noted categorytree below . I tried using variations of {{DEFAULTCATEGORYSORT:Name}} at Category:Articles with unknown geocoordinates and Category:WikiProject Geographical coordinates participants to get at least the two of them to display alphabetically in the order, but DEFAULTCATEGORYSORT had no effect. There is some discussion about sort at Help:Category, but that seems to be about something else. How can I get the items listed in the categorytree at Category:WikiProject Geographical coordinates to be displayed alphabetically? -- Uzma Gamal 06:52, 6 February 2011 (UTC)
- Never mind. It appears that several of the categories used the pipe space [[Category:WikiProject Geographical coordinates| ]] that messed up the sort order. Mysterious order resolved.-- Uzma Gamal 07:19, 6 February 2011 (UTC)
- I have noticed a problem too with sorting in french:
- By exemple
- SomeCategory
ESomeCategoryTSomeCategoryÉSomeCategory- ÉSomeCategory should be sorted with E.
- I'll check if this can be fixed (how sorting is implemented and if locale awayre/collated sorting is supported somewhere in wikimedia)
- Eric Gagnon 207.162.28.200 14:35, 28 September 2012 (UTC)
Flagged Revisions updateStats.php time parameter?
Hi.
I solved all my other issues and have a number of extensions installed already.
Having problem with the time updateStats.php parameter step in Flagged Revisions installation.
I have Linux Fedora 6 operating system. Think the problem is with command line syntax, the way it's written in the installation instructions. Maybe this is supposed to be -time? because running it as default it tries to read time as part of the filename and it doesn't work.
Again I have: MediaWiki 1.16.1 PHP 5.2.17 (cgi-fcgi) MySQL 5.1.54 Dlen345 (talk) 19:25, 6 February 2011 (UTC)
- Ignore.
- I solved this. Dlen345 20:33, 6 February 2011 (UTC)
Page destriction to certain users or groups
Dabo~mediawikiwiki (talk) 10:04, 8 February 2011 (UTC)
MediaWiki with one template for all pages
Hi, guys.
I search wiki-like engine for our internal corporative site. We need to have a lot of pages with possibility to edit and history view like a MediaWiki. But each page should describe different goods by one set of parameters. Employees may forgot some of mandatory parameters. Is it possible in in MediaWiki to create template of all pages with validation of mandating of sections?
For example: each page need to have following sections: Name of good [text] Description [text] Properties [list of defined values] 195.189.135.194 (talk) 11:08, 8 February 2011 (UTC)
- I would also be curious to hear about this. Does anyone know? Thanks 24.180.6.82 17:19, 4 March 2011 (UTC)
- I would do the following:
- Install Extension:InputBox
- Create something like Template:Product or Template:Item, or whatever the kind of content you store is.
- Inside there create a template with whatever layout you prefer, for example:
Template:Item
{| ! Name of good | {{{Name|<span class="error">Name is required!</span>}}} |- ! Description | {{{Description|<span class="error">Description is required!</span>}}} |- ! Properties | {{{Properties|<span class="error">A list of properties is required!</span>}}} |}- Then create
Template:NewItem
{{Item | Name = | Description = Description here | Properties = * List * Them * Here }}- And then to use all this on your Main Page or other central page for employees:
<inputbox> break=no align=right type=create default=Type item name here preload=Template:NewItem </inputbox>
- And Save page.
- ---
- Now employees can enter the name of the item they want to document on the wiki in the input box, and click Create. And have the template preloaded for each new page. If they would remove the value or whatever and save the page anyway it would show an error. Krinkle 17:22, 5 March 2011 (UTC)
- I would do the following:
(RESOLVED) Permissions and Extensions
I recently installed the "Configure" extension for MediaWiki but I'm not sure what the permissions are supposed to be. Currently most of the files are rw-r--r-- (0644); as a general rule am I supposed to change the default permissions for Extensions I install or accept the defaults? (assuming there's nothing specific in the Extension's manual) 98.234.199.85 (talk) 07:27, 9 February 2011 (UTC)
- The defaults are generally fine. If you can get things working without global read permissions, then that's a Good Thing, but if not, that's okay. —Emufarmers(T|C) 09:26, 9 February 2011 (UTC)
- Got it, thanks! 98.234.199.85 11:42, 9 February 2011 (UTC)
Remove information about images
Each image that is posted on the wiki, clicking it will open a page of links to historical archives and files. I would remove the image link to the page with the picture information. If you click on an image nothing happens. How do I do that?
Thanks. Caraffini (talk) 14:05, 9 February 2011 (UTC)
- MediaWiki 1.15.1
- PHP 5.2.17 (apache2handler)
- MySQL 5.1.53 Caraffini 14:07, 9 February 2011 (UTC)
- Use the link= parameter. —Emufarmers(T|C) 20:29, 9 February 2011 (UTC)
Customize RSS Feed?
MediaWiki 1.16.0 PHP 5.2.15 (cgi-fcgi) MySQL 5.1.53-log
I'm interested in getting a feed of recent changes from mediawiki and displaying it on my related forum. However, currently the feed shows the full text of the articles plus the differences. I'm more interested in just displaying the title of the article along with when it was last edited. Perhaps also the name of the person who edited. Is there any way for me to do this? Ranimara (talk) 17:50, 9 February 2011 (UTC)
- Setting $wgFeedDiffCutoff to a low value should work, I believe. -- Bryan (talk|commons) 20:18, 12 February 2011 (UTC)
- ←← 83.166.21.118 17:21, 16 February 2011 (UTC)
- You may get an idea from (I am not much use with wikimedia)
- http://www.mediawiki.org/wiki/Extension:Dynamic_Article_List
- http://www.mediawiki.org/wiki/Extension:RSS_feed_for_recent_changes
- http://www.mediawiki.org/wiki/Extension:Unmerged_Recent_Changes
- http://stackoverflow.com/questions/2419917/embedding-recent-changes-on-main-page-on-mediawiki
- {{Special:RecentChanges/10}} (This does work. I have used 'nowiki'
- http://www.mediawiki.org/wiki/Extension:Recent_changes Ron Barker 09:27, 18 February 2011 (UTC)
- ←← 83.166.21.118 17:21, 16 February 2011 (UTC)
- Check out
/api.php?action=query&list=recentchanges&rcprop=user|title|timestamp&rclimit=3. That seems to be exactly what you want. Just play with the feeds for a bit. They're extremely flexible and take all kinds of parameters to give you exactly what you want or need. Unifiedrepublic 07:50, 1 March 2011 (UTC)- I had looked at the DynamicArticleList, but I haven't been able to get it to install correctly for me.
- The api looks very promising, but I'm also quite unfamiliar with it and am having trouble figuring out how I would use those results outside of the wiki. Is there some way I can get that output to display as a feed? Gossamer 18:10, 2 March 2011 (UTC)
- Set it up on your localhost. Put two fake domains in the hosts file and give it a shot. Unifiedrepublic 06:31, 3 March 2011 (UTC)
- Sorry. Stupid threads. Thought I was responding to a different post. But check the output formats and see if one is to your liking. Unifiedrepublic 06:35, 3 March 2011 (UTC)
Problem mith the NUMBEROFARTICLES magicword
Problem with a function
Looks odd when I try this :
Number of articles = {{NUMBEROFARTICLES}}
Number + 4 = {{#expr: {{NUMBEROFARTICLES}} + 4 }}
Number of articles = 64,527 (ok this one is working)
Number + 4 = Expression error: Unrecognized punctuation character ",". this one isn't !!!
An idea about it ? Thanks, Meta K Pote 92.142.141.161 (talk) 19:27, 9 February 2011 (UTC)
- #expr won't accept punctuation, so you need to get rid of the comma. Try:
- —Emufarmers(T|C) 21:21, 9 February 2011 (UTC)
Number + 4 = {{#expr: {{formatnum:{{NUMBEROFARTICLES}}|R}} + 4 }}
Controlling the size of text in the edit box
I do a lot of editing that includes adding very small diacritical symbols to letters.
Is there any way of greatly enlarging the size of text as it appears in the edit box (specifically), without affecting how any other text is viewed in one's browser? I couldn't find this in preferences. If anyone knows how that would be great! Dovi 13:42, 11 February 2011 (UTC)
- I think you can use CSS to set the font properties of the edit box. The relevant id is #wpTextbox1. -- Bryan (talk|commons) 20:14, 12 February 2011 (UTC)
Site with Wikitable stored in the german side of our Mediawiki should be shown in other languages too
Good day to you all. i have a problem, using my MediaWiki 1.12.0 PHP 5.2.16 (cgi-fcgi) MySQL 5.0.51a-24+lenny4
i have stored a Wikitable with some Products on our german Wiki-site ( http://wiki.example.org/de/OS-Kompatibilitaet ) and i want to show this page even on other languages ( http://wiki.example.org/en/OS-compability ). The problem: I can not garantee, that other authors ( for Spain/Polland, RUS,...) make the same changes in the table, if somethings changes ( new product, change of OS-comp with newer driver and so on)... So i think about using a kind of "common" Table, where i only have to take care in one table and all language take this as reference. We are actually using tamplates for some general Problems, that appear in different Products so we do not have to write it donw several times, but only in one template... Wikipedia uses this called "Wiki-common" for Pictures but i can find no extention, that helps in this thing.... ChristianRiske (talk) 14:08, 11 February 2011 (UTC)
- There is a feature called $wgEnableScaryTranscluding, which enables creation of a "template-commons" -- Bryan (talk|commons) 14:47, 13 February 2011 (UTC)
Disenabling edit/contribution functions
I have acquired a great amount of encyclopaedic material, in text form (Word files of various sizes), which I want to put on the web to create an arts resource that would be of interest to collectors, historians, students of architecture, theatre-goers, people interested in the arts in general... It would be something like the Wikipedia format, where you can click on one word and it takes you to another page (running into their 100s).
I think for my structure a form of MediaWiki is best, and I can envisage it more by comparing it to existing Wiki sites. Having said that, I will be the only contributor (or at least everything will go through me), so it will not actually be a Wiki! Is it viable/possible to disenable the edit/contribution functions on an existing MediaWiki template? [I know this defeats the purpose of a Wiki, but I have looked at other CMS and, for a mini-encyclopaedia, the Wiki structure just seems best for me.] Sumarokov-Elston (talk) 10:24, 13 February 2011 (UTC)
- Manual:Restricting access. Max Semenik 10:41, 13 February 2011 (UTC)
- The instructions are given as follows (and so on regarding editing):
- To restrict account creation, you need to edit LocalSettings.php in the root path of your MediaWiki installation.
- Prevent new user registrations except by sysops
- $wgGroupPermissions['*']['createaccount'] = false;
- Fine and good. But how on earth do I find the LocalSettings.php? I use cPanelX (Windows) - is it somewhere there? Sumarokov-Elston 19:26, 17 March 2011 (UTC)
- LocalSettings.php is located at the root of your MediaWiki installation, in the same directory as index.php, api.php, etc. Reach Out to the Truth 20:34, 17 March 2011 (UTC)
- Hi
- I have difficulty with the jargon; people expect you know what they mean because it is second nature to them but that is not always the case.
- My wiki is on my computer so you may use a different route but this should give you some idea.
- Computer> C Drive> Wamp> www> mediawiki> LocalSettings.php Right click and open edit using notepad ++ (or similar) http://notepad-plus-plus.org/
- Regards Ron Barker 21:52, 17 March 2011 (UTC)
- LocalSettings.php is located at the root of your MediaWiki installation, in the same directory as index.php, api.php, etc.
- I uploaded MediaWiki onto my website from Installatron, so I did not download the software from the web. Should I have done in order to find this directory?
- Where is this directory where localSettings.php, index.php, api.php, etc. are to be found? Physically, what page is it on? It seems to be on neither the Media Wiki home page or the Control Panel.
- If it is in the "root" of the Media Wiki installation, does that mean I should have changed it when I was first uploading Media Wiki (latest 1.16 version) onto my website? I have to apologise for my obtuseness, because I am just starting out and I know how difficult it is to explain things to a beginner (telling me that a file is in the same directory as another file is like telling a blind man the elephant in the room is standing next to the rhinosceros!). Sumarokov-Elston 07:26, 18 March 2011 (UTC)
- OK, I have found "Configuration File 1" in my Installatron control panel.
- file: LocalSettings.php • chmod: 644
- But I cannot see where I should add the needed line:
- $wgGroupPermissions['*']['createaccount'] = false; Sumarokov-Elston 08:07, 18 March 2011 (UTC)
- I do not think it matters where you put it so long as it is between the the top and bottom markers:
- <?php
- $wgGroupPermissions['*']['createaccount'] = false
- ?>
- Try it you can always change it if it does not work. Ron Barker 10:28, 18 March 2011 (UTC)
- Thanks - I have tried this. I think it is working, though it is hard to say, as this is my first day, and I have not even made WikiMedia the front page of my website. It certainly does not let anyone register now, though it lets the only previously registered person (me) log in. How it will look to an outside, I cannot say right now. But thanks again for your help. Sumarokov-Elston 10:50, 18 March 2011 (UTC)
- Unfortunately I can't ever say for sure where the root of one's MediaWiki installation is, because there isn't a "correct" location for it. It could be anywhere, and often it is. Reach Out to the Truth 13:16, 18 March 2011 (UTC)
- LocalSettings.php is located at the root of your MediaWiki installation, in the same directory as index.php, api.php, etc. Reach Out to the Truth 20:34, 17 March 2011 (UTC)
Apache error log re host
MediaWiki 1.15.4 PHP 5.3.0 (apache2handler) MySQL 5.1.36-community-log
Hello Could anyone help with the error below? Thank you.
[Tue Feb 15 11:53:31 2011] [notice] Child 7596: Starting thread to listen on port 80.
[Tue Feb 15 11:53:37 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Tue Feb 15 11:53:47 2011] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Special:SpecialPages HTTP/1.1 to file, referer: http://localhost/mediawiki/index.php/Main_Page
[Tue Feb 15 11:53:47 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Tue Feb 15 11:53:49 2011] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Special:BrokenRedirects HTTP/1.1 to file, referer: http://localhost/mediawiki/index.php/Special:SpecialPages
[Tue Feb 15 11:54:34 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Tue Feb 15 11:54:42 2011] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Special:Categories HTTP/1.1 to file, referer: http://localhost/mediawiki/index.php/Main_Page
[Tue Feb 15 11:54:43 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Tue Feb 15 11:54:44 2011] [error] [client 127.0.0.1] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Category:Acts HTTP/1.1 to file, referer: http://localhost/mediawiki/index.php/Special:Categories
[Tue Feb 15 12:01:10 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Feb 15 12:01:10 2011] [notice] Child 7596: Exit event signaled. Child process is ending.
[Tue Feb 15 12:01:11 2011] [notice] Child 7596: Released the start mutex
[Tue Feb 15 12:01:12 2011] [notice] Child 7596: All worker threads have exited.
[Tue Feb 15 12:01:12 2011] [notice] Child 7596: Child process is exiting
[Tue Feb 15 12:01:12 2011] [notice] Parent: Child process exited successfully.
[Tue Feb 15 12:01:33 2011] [notice] Apache/2.2.11 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Tue Feb 15 12:01:33 2011] [notice] Server built: Dec 10 2008 00:10:06
[Tue Feb 15 12:01:33 2011] [notice] Parent: Created child process 6076
[Tue Feb 15 12:01:33 2011] [notice] Child 6076: Child process is running
[Tue Feb 15 12:01:33 2011] [notice] Child 6076: Acquired the start mutex.
[Tue Feb 15 12:01:33 2011] [notice] Child 6076: Starting 64 worker threads.
[Tue Feb 15 12:01:33 2011] [notice] Child 6076: Starting thread to listen on port 80.
[Tue Feb 15 12:01:48 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Tue Feb 15 12:04:48 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Tue Feb 15 12:04:54 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico Ron Barker (talk) 07:18, 15 February 2011 (UTC)
- First of all, only include valid info. Comments from the windows host file aren't needed. Only the entry for localhost. In this case, it's not a problem.
- Secondly, what is the error you're concerned about? The favicon? It doesn't exist on the server. Drop it into the root directory of your webserver and that will go away.
- The special characters message: if it's displaying the page, ignore it. It doesn't mean anything. If not, explain in more detail what the problem is. Unifiedrepublic 07:59, 1 March 2011 (UTC)
- Thank you for your help. I have as advised removed superfluous information. Trouble is I do not know where the 'favicon' is or where to move it. Thank you anyway. PS: sorry for not responding earlier, I had given up. Ron Barker 16:40, 16 March 2011 (UTC)
- MediaWiki doesn't include a default favicon. Reach Out to the Truth 17:03, 16 March 2011 (UTC)
- Hi Reach Out to the Truth
- I don't know what you mean. I don't have a 'favicon'. I don't want a 'favicon', at least not at the moment. I would just like to clear up the fault that keeps repeating in 'apache'. Sorry for any confusion. I don't think that this forum is really any place for people like me with very little knowledge of mediawiki. Thank you for taking the time to respond. Ron Barker 09:32, 17 March 2011 (UTC)
- Setting
$wgFaviconto an empty string should work, I think. Reach Out to the Truth 12:02, 17 March 2011 (UTC)- Reach Out to the Truth I am sorry I still do not understand. I cannot find $wgFavicon in local settings or anywhere else. I have tried inserting it in local settings and I get an error and the wiki will not open. I do not know how to set $wgFavicon to an empty string in any event. Thank you for your help, I will just leave it, I was brought up listening to a wireless with knobs and dials! Ron Barker 14:03, 17 March 2011 (UTC)
$wgFavicon = '';
- Adding that to LocalSettings.php will set it to an empty string. Clients may still try to look look for favicon.ico in your web root though, I'm not sure. If they do that, you'll continue to see that error in the log. Reach Out to the Truth 14:24, 17 March 2011 (UTC)
- Reach Out to the Truth: Thank you for your perseverance. I have now got rid of the reference to 'favicon' and back to the "...given path is misformatted...".
- [Thu Mar 17 14:41:00 2011] [notice] Child 6492: Starting thread to listen on port 80.
- [Thu Mar 17 14:41:13 2011] [error] [client] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/CriminaLaw:Current_events HTTP/1.1 to file, referer: [Thu Mar 17 14:41:15 2011] [error] [client] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Special:SpecialPages HTTP/1.1 to file, referer: [Thu Mar 17 14:41:19 2011] [error] [client] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Special:Categories HTTP/1.1 to file, referer: [Thu Mar 17 14:41:21 2011] [error] [client] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Category:Bail HTTP/1.1 to file, referer: [Thu Mar 17 14:41:24 2011] [error] [client] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Bail:_surety_forfeiture_of_recognizance HTTP/1.1 to file, referer: [Thu Mar 17 14:43:43 2011] [error] [client] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Special:Categories HTTP/1.1 to file, referer: [Thu Mar 17 14:43:46 2011] [error] [client] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Category:Appeals HTTP/1.1 to file, referer: [Thu Mar 17 14:43:58 2011] [error] [client] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Special:SpecialPages HTTP/1.1 to file, referer: [Thu Mar 17 14:44:03 2011] [error] [client] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Special:Categories HTTP/1.1 to file, referer: [Thu Mar 17 14:44:07 2011] [error] [client] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Category:Offences HTTP/1.1 to file, referer: [Thu Mar 17 14:44:27 2011] [error] [client] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /mediawiki/index.php/Category:Offences HTTP/1.1 to file, referer: Ron Barker 14:53, 17 March 2011 (UTC)
- As for the "(20024)The given path is misformatted ..." error, I have it too. Please see this link: https://issues.apache.org/bugzilla/show_bug.cgi?id=41441
- In a nutshell, it will not be fixed anytime soon and it should not have negative impact on your wiki. 198.103.161.50 12:37, 23 March 2011 (UTC)
- Thank you. Ron Barker 23:02, 23 March 2011 (UTC)
- Reach Out to the Truth I am sorry I still do not understand. I cannot find $wgFavicon in local settings or anywhere else. I have tried inserting it in local settings and I get an error and the wiki will not open. I do not know how to set $wgFavicon to an empty string in any event. Thank you for your help, I will just leave it, I was brought up listening to a wireless with knobs and dials! Ron Barker 14:03, 17 March 2011 (UTC)
- Setting
- MediaWiki doesn't include a default favicon. Reach Out to the Truth 17:03, 16 March 2011 (UTC)
- Thank you for your help. I have as advised removed superfluous information. Trouble is I do not know where the 'favicon' is or where to move it. Thank you anyway. PS: sorry for not responding earlier, I had given up. Ron Barker 16:40, 16 March 2011 (UTC)
I created page by mistake. Can I delete it ? Or rename? Or : what must I do ?
MediaWiki - I only try create first page, URLs - see below, please.
Help me, please.
I created page "m:Wt/nog/Main Page" by mistake. Later for correct this mistake I created page "incubator:Wt/nog/Main Page". However now I think that I must create "incubator:Wt/ngy/Main Page" :-( Can I delete wrong pages ? Or rename? Or : what must I do ? I can't clear pages, because I am new user. Can I do nothing (i.e. create 3-rd page Wt/ngy/Main_Page) ? 212.192.138.81 (talk) 13:52, 15 February 2011 (UTC)
- You need to be logged in as administrator to delete or rename (move) a page. Leave a message on the page explaining your mistake and the administrator will understand and delete the pages. Ron Barker 14:23, 15 February 2011 (UTC)
- Thank you very match. 217.118.81.193 04:52, 16 February 2011 (UTC)
Picture is not shown, if not logged in...
Hello together,
i asked some german editors but we didn´t found a solution. i put a picture to an article: w:de:Fjord Cat The picture was ok and one of the editors released it.
Every time you take a look to the article you can see the photo, IF you are LOGGED IN! If you take a look to the article WITHOUT being logged in, you can´t see the picture!
Does anybody have an idea?
Thanks! seifertb 84.44.173.113 (talk) 18:33, 15 February 2011 (UTC)
- German Wikipedia have Flagged Revs enabled. As a logged in user you are viewing by default the latest version, while as logged out you see the latest stable one. Test these links: Latest Stable Platonides 19:01, 15 February 2011 (UTC)
Searching on Company Wiki Using Chrome Gives Language String Failed to Load: Instantiate error
I'm maintaining an internal wiki at my company using MediaWiki software and when I try to use the search functionality using the Chrome browser, where it would normally tell me the things that I recently searched that began with the same few characters, instead it says Language String Failed to Load: Instantiate. Does anyone know what might be causing this or how to fix it? I also ran into the same issue when using one of the extensions for sending e-mails of pages, but I don't remember whether that was specifically with Chrome because I finally gave up. I would give a URL, but it's only accessible internally, sorry.
Thanks for the help, Loren
MediaWiki 1.16.0 PHP 5.3.0 (apache2handler) MySQL 5.1.36-community-log 24.180.6.82 (talk) 23:41, 15 February 2011 (UTC)
- Has anyone else run into this or does anyone know how to resolve it?
- If anyone has any ideas I would really appreciate it.
- Thanks,
- Loren 24.180.6.82 17:05, 2 March 2011 (UTC)
Background color of content [Vector Skin]
I have looked through inconceivable amounts of skinning related pages from Wikipedia, Wikia, MediaWiki, MetaWiki, etc. and found the information on skinning excruciatingly uninformative.
I am using the Vector skin with MediaWiki 1.18alpha, and managed to change a lot of the interface and color schemes by combining elements from customized Vector skin Wiki's. There is still a lot of the screen.css I don't understand however I've been able to re-skin the entire wiki bar two areas.
[2] -> The area where Maintenance Reports is.
[3] -> The content box where the css is.
I have gone through everything inside screen.css to find these two areas, and I can't find anything relating to these two. AshleyJames (talk) 03:44, 16 February 2011 (UTC)
Sidebar links
At MediaWiki:Sidebar, I can set it up so that people with a French interface see an item on the sidebar as the contents of MediaWiki:Foo-text/fr and people with an English interface see it as the contents of MediaWiki:Foo-text. However, everyone gets linked to to the contents of MediaWiki:Foo-url, even if they have a French interface and MediaWiki:Foo-url/fr exists. How to I make French people link to the right place? Thank you. 142.244.236.9 (talk) 04:01, 16 February 2011 (UTC)
Navigation; Sidebar Multilevel
Hello I try to make a multilevel navigation în the sidebar like on this side. As example: Drink
Softdrinks Bier Wein
Can someone give an example or help Selectron~mediawikiwiki (talk) 08:26, 16 February 2011 (UTC)
wikipedia-ish version, restricting new registration
wiki version 1.16.2 php 6 mysql 5
hi,
how do i find a wikipedia-like version of a wiki? see this page for example: w:en:Egg_(food) how do i create a table of contents? how do i link references not directly to the reference site, but to the bottom of the page?
how can i restrict the registration of new users? how can i disable creating/editing of not registrated users?
thanks for your help! marc 77.176.81.87 (talk) 15:59, 16 February 2011 (UTC)
- A table of contents is created automatically once there are a few headings, placed before the first heading. Or you can add __TOC__ in the spot where you want a table contents and it will be put there.
- Footnote references are created with the Cite extension. Syntax is explained on that page.
- To prevent account creation by unregistered users use: Adminstrators will still be able to create accounts for users. ConfirmAccount might also be useful if you want people to be able to request accounts.
$wgGroupPermissions['*']['createaccount'] = false;
- To disable page creation for unregistered users use:
$wgGroupPermissions['*']['createpage'] = false;
- To disable editing for unregistered users use: Reach Out to the Truth 16:37, 16 February 2011 (UTC)
$wgGroupPermissions['*']['edit'] = false;
- thanks a lot! 77.176.81.87 17:29, 16 February 2011 (UTC)
[RESOLVED] Add Custom Tab or Tabs to Vector Skin
I would like to add custom tabs (NOT REMOVE) to a few specific pages. I would like to be able to have these tabs only on certain pages, which i think i could live without if there is no way to filter which page they show on, but I cant seem to find an answer as to how to actually add a custom tab.
I want the tab to be next to the "Discussion", "Read", or "Edit" tabs/buttons...just in that area, not some new set of tabs internal to the page as that looks horrible and is not the functionality i am looking for. Please assist me if you could...using 1.6.
Oh yes, also, I attempted asking in IRC with no luck...will try again in a day or two...hopefully this thread will provide some answers before then... Oryulin (talk) 19:56, 16 February 2011 (UTC)
Oryulin 20:45, 16 February 2011 (UTC)
- MediaWiki 1.6 is no longer supported. Please upgrade to 1.16.
- Several methods (both server side / PHP and client side JavaScript) are available to add tabs.
- In JavaScript the code would be (eg. in MediaWiki:Common.js):
var conf = mw.config.get([ 'wgCanonicalNamespace', 'wgTitle', 'wgPageName' ]); // Only do the following on the Project:Sandbox page. if ( conf.wgCanonicalNamespace === 'Project' && conf.wgTitle == 'Sandbox' ) { // Add a link to the actions menu to Special:Log for this page. mw.loader.using( 'mediawiki.util', function () { mw.util.addPortletLink( 'p-cactions', mw.util.getUrl( 'Special:Log', { page : conf.wgPageName } ), 'Logs' ); } ); }
- If you save that to MediaWiki:Common.js and visit Project:Sandbox on your wiki (don't forget to clear cache), there will be a "Logs" link in the actions menu now.
addPortletLinkworks likeaddPortletLink( add where, link to, click text );- 'p-cactions' is the actions menu (Move etc.)
- 'p-tb' is the toolbox in the sidebar (What links here, Permanent link, etc.) Krinkle 11:17, 17 February 2011 (UTC)
- Done, but still facing issues:
- Version of MediaWiki is 1.16
- MediaWiki:Common.js - contains the code you have above (if statements with addPortletLink code)
- Cleared cache and used other browser to ensure, visited Project:Sandbox and there was not any Logs link/action menu...
- Also was this code supposed to add a Tab or a Drop Down option? I don't see either one but i am trying to ensure i know where i am looking.
- If i can get this code working i can tailor the rest, just need an idea of the original working code. Oryulin 16:42, 17 February 2011 (UTC)
- Check for example:
- I did it in "Modern" to avoid sending it to everybody on mw.org
- Up there is 'Logs' Krinkle 17:38, 17 February 2011 (UTC)
- Yes I have the exact same thing in my MediaWiki:Common.js
- I also added it to the same exact page you did for modern and switch to modern and still nothing, what could be conflicting causing it to not work? Oryulin 18:16, 17 February 2011 (UTC)
- Also tried taking out the "if" statement to see if it would add to all pages, and nothing as well. Oryulin 18:23, 17 February 2011 (UTC)
- Well, as you can see it works here so the problem isn't in the code.
- Unless you link to the site or present an actual error message there isn't much we can do. Krinkle 20:15, 17 February 2011 (UTC)
- I thought there were several methods? Not to sound rude, but I would really appreciate getting one of them to work, there is no error messages/anything. I know the Mediawiki:Common.js works as I have it loading collapsible tables and it works fine for me there...so I haven't any idea since it doesn't throw any errors, just doesn't show a Logs tab. Oryulin 20:57, 17 February 2011 (UTC)
- Until we know what's causing it to not work, we can't be sure that any other method can work either. There should be some sort of error. Are you using Firebug or a similar tool? That might be useful. Reach Out to the Truth 21:04, 17 February 2011 (UTC)
- Well I guess its a lost cause, I installed firebug, enabled all, dove through what i could looking around, doesnt report any errors...clueless. Oryulin 22:32, 17 February 2011 (UTC)
- Alright i used a Ubuntu VM and installed fresh apache/php/mysql/mediawiki. Attempted this code for vector on the MediaWiki:Common.js and/or MediaWiki:Vector.js, took away the if statements to allow it on all pages and kept the if statement to attemp Project:Sandbox page only...nothing is working. The only changes to the default Localsettings.php that i have made on the fresh installation was authority to add myself as other groups like administrator/ect. Still not seeing the tab anywhere. Also tested on MediaWiki:Modern.js and MediaWiki:Monobook.js and switched to those themes, once with no if statement and only the addportlet line and the other with the if statement and checking the Project:Sandbox page...I am definately at a loss, is there an extension that i need to have this work?
- So if a fresh installation doesn't work and an older installation doesn't work, what is missing to make this work? Firebug reports 0 errors, i can see where it loads the Modern.js/Vector.js/Common.js/ect, but it points to a line in the code that looks to be the addportlet portion and its just not working/accepting it properly. Ideas? Other routes? Oryulin 18:58, 18 February 2011 (UTC)
- Well I guess its a lost cause, I installed firebug, enabled all, dove through what i could looking around, doesnt report any errors...clueless. Oryulin 22:32, 17 February 2011 (UTC)
- Until we know what's causing it to not work, we can't be sure that any other method can work either. There should be some sort of error. Are you using Firebug or a similar tool? That might be useful. Reach Out to the Truth 21:04, 17 February 2011 (UTC)
- I thought there were several methods? Not to sound rude, but I would really appreciate getting one of them to work, there is no error messages/anything. I know the Mediawiki:Common.js works as I have it loading collapsible tables and it works fine for me there...so I haven't any idea since it doesn't throw any errors, just doesn't show a Logs tab. Oryulin 20:57, 17 February 2011 (UTC)
- Also tried taking out the "if" statement to see if it would add to all pages, and nothing as well. Oryulin 18:23, 17 February 2011 (UTC)
Oryulin 14:25, 21 February 2011 (UTC)
- Alright, i dont know why the code above didnt work, but i messed around a bit and managed to make it work a slightly different way:
- Content of my MediaWiki:Common.js file:
- Oryulin 18:02, 23 February 2011 (UTC)
function createTab() { addPortletLink( 'p-cactions', wgArticlePath.replace( '$1', 'Special:Log' ), 'Logs'); } addOnloadHook( createTab );
site only visible to admins
hi, how do i create a site, that is only visible for admins (e.g. guidelines, tips)?
is it possible to choose specific users who are permitted to see the content of a specific site (e.g. admins and a few users)?
thanks for your help! 77.176.69.205 (talk) 09:01, 17 February 2011 (UTC)
italic after
is it possible to continue writing italic () after
automatically? (without again) 77.176.69.205 (talk) 10:16, 17 February 2011 (UTC)
- that didn´t work as expected.
- is it possible to continue writing italic (' ') after <.br>
- automatically? (without ' ' again) 77.176.69.205 10:17, 17 February 2011 (UTC)
- wiki version 1.16.2 php 6 mysql 5 77.176.69.205 10:28, 17 February 2011 (UTC)
- Yes there is. Inline styling only goes inline and is forced to end when the next block starts (such as
<br />). - To give styling to multiple lines use Block styling.
- Code:
<div style="font-style:italic"> Hi this text is italic,<br />and this too. This also. </div>
- Output:
- Hi this text is italic,
and this too. - This also.
- Krinkle 11:04, 17 February 2011 (UTC)
- Yes there is. Inline styling only goes inline and is forced to end when the next block starts (such as
table creation
how do i create and customize tables?
is there a help page i overlooked?
thanks! 77.176.69.205 (talk) 10:26, 17 February 2011 (UTC)
- Check out Help:Tables. Krinkle 11:18, 17 February 2011 (UTC)
- d'oh... thx! 77.176.69.205 14:33, 17 February 2011 (UTC)
Migrating files from mediawiki to mediawiki
Hi,
both of our wikis:
MediaWiki 1.13.3 | PHP 5.2.9 (apache2handler) | MySQL 5.1.33
We can't update due to the extension EzMwLucene, which apparently needs 1.13 to work. (According to our admin)
Our problem:
We have wiki#1 with hundreds of pages and files/images and want to merge it with wiki#2, which also has hundreds of pages and files/images.
Migrating the pages won't be a problem, exporting/importing the pages should do the trick, but how can i migrate the files? I don't want to download/upload all of them manually. I might be able to download the files found in the /images/(sub)folders, but where to place them in the /images/ subfolders in wiki#2?
Thanks in advance! 148.188.17.56 (talk) 10:54, 17 February 2011 (UTC)
is there a way around
?
why doesn´t [enter] create a new line? (is it possible to do that?)
is there a way around
ing all the time? 77.176.69.205 (talk) 11:16, 17 February 2011 (UTC)
- is there a way around <.br>ing all the time? 77.176.69.205 11:17, 17 February 2011 (UTC)
- When you press the space bar once, it does not create a new line. However, pressing it twice will. Hazard-SJ ± 23:54, 17 February 2011 (UTC)
- Space bar?
- It's Enter/Return. That will create a new paragraph. It's not the same as a line break, but you should only be using line breaks rarely anyway. Reach Out to the Truth 00:00, 18 February 2011 (UTC)
- Oops! Thanks for fixing that error. Enter. Hazard-SJ ± 00:04, 18 February 2011 (UTC)
- When you press the space bar once, it does not create a new line. However, pressing it twice will. Hazard-SJ ± 23:54, 17 February 2011 (UTC)
Apache bus error on mediawiki sign in
Apologies if this is not a mediawiki problem, but it is only on mediawiki sign in thaty I am getting this.
Platform: Solaris 10 Generic_141414-01
Web Server: Apache httpd v 2.2.17 (prefork)
PHP: v5.3.5
PHP Configure command line:'./configure' '--with-apxs2=/usr/local/httpd-2.2.17/bin/apxs' '--with-openssl' '--with-zlib' '--with-jpeg-dir=/usr/local' '--with-gdbm' '--with-db4' '--with-png-dir=/usr/local' '--with-xpm-dir=/usr/local' '--with-freetype-dir=/usr/local' '--with-t1lib' '--with-gettext' '--with-iconv' '--with-gd' '--enable-ftp' '--with-mysql=/usr/local/mysql' '--with-readline' '--enable-soap'
Mediawiki: v1.16.2
MySQL: v5.1.46
When a user of our internal media wiki forgets their password and clocks on the 'email me my password' button, the username/passwor dcombo becomes unusuable. New registrations seem fine.
When a user tries to use the email password, then goto the login form, fill in the the form and clicks login they just get a blank page. This is because, under the hood, the apache child process has bus errored.
Example line from apache error log: [Thu Feb 17 11:56:46 2011] [notice] child pid 4084 exit signal Bus error (10)
I am assuming this is a php problem, possibly because of any underlying library., but it is strange that it only happens on mediawiki sign in. Stimmins (talk) 12:48, 17 February 2011 (UTC)
Back Monobook-based skin for MediaWiki
Hello all,
I like the standard Monobook skin, but I just would like it to fit into my site's color scheme.
So, is a Black Monobook skin somewhere to be found, or are there guidelines somewhere to follow for making one ?
Thanks a lot in advance !
@+
Benoît 'Mutos' ROBIN Hoshikaze 2250 Project 193.57.67.241 (talk) 13:03, 17 February 2011 (UTC)
I can not install mediawiki on a linux server
Dear all, MediaWiki version that I'm trying to install: 1.13.0 PHP 5.3.2 MySQL 5.1.41 URL: NO, the server is in a restricted LAN
I'm trying to install the mediawiki version compatible with the UCSC genome browser: 1.13.0. After installing successfully mediaWiki suite, I received the announce "Installation successful!", I moved the config/LocalSettings.php file to the parent directory ( .. ) and deleted the config directory and changed LocalSettings.php permission to 600. Then, I clicked on "the follow this link to your wiki." and the result is nothing: a blanck web page (http://localhost/wiki/index.php/Main_Page) in the browser. I found this error on apache log error files in /var/log/apache2:
[Thu Feb 17 15:23:26 2011] [error] [client 10.201.97.165] PHP Warning: Parameter 2 to Parser::parse() expected to be a reference, value given in /var/www/mediawiki/includes/StubObject.php on line 58, referer: http://bioinfold/wiki/config/index.php [Thu Feb 17 15:23:26 2011] [error] [client 10.201.97.165] PHP Fatal error: Call to a member function getCacheTime() on a non-object in /var/www/mediawiki/includes/Article.php on line 3387, referer: http://bioinfold/wiki/config/index.php
I'm quite puzzled! Anyone has any idea? Any help will be very welcome!
Best regards,
Núria 84.88.67.122 (talk) 14:26, 17 February 2011 (UTC)
- Is there a reason that you're using MediaWiki 1.13? That version is old and no longer supported. Reach Out to the Truth 15:47, 17 February 2011 (UTC)
- Yes, We need to have this version operating to be compatible with the our UCSC genome browser mirror. 84.88.67.122 16:21, 17 February 2011 (UTC)
Making a global announcement banner...
Hi all,
I must not know the correct terms to use when doing a search for what I want, because I am sure that this topic has come up before. I apologise.
I would like to have, from time to time, site-wide announcement banners running across the top of all pages in my wiki...much like the way Wikipedia does it when it is soliciting donations. I don't need my banner to be as involved, simply some text and a link to other sites of interest that crop up from time to time.
How do I do this? Thanks in advance for any help. 96.32.128.84 (talk) 14:54, 17 February 2011 (UTC)
- You can use the sitenotice to do that. See Manual:Interface/Sitenotice. Reach Out to the Truth 15:45, 17 February 2011 (UTC)
writing vertical/upright possible?
i´d like to write vertical/upright in a row of a table. (lots of colums, long words, so not much space to write horizontal)
is that possible? 77.176.69.205 (talk) 15:08, 17 February 2011 (UTC)
- ...already tried openoffice calc -> formatted one cell upright -> used Calc2WikiTable conversion makro, but no luck.
- is there any way of writing upright in a wiki table? 77.176.69.205 15:55, 17 February 2011 (UTC)
how to make MediaWiki load the MySQL my.cnf file so that SSL can be used to the MySQL database
MediaWiki 1.15.1
PHP 5.3.2-1ubuntu4.7 (apache2handler)
Database 5.1.41-3ubuntu12.9
On 64-bit Ubuntu 10.04 Linux.
I would like MediaWiki to use SSL between itself and the MySQL database.
I can get the regular `mysql` binary client to use SSL.
But when I add this GRANT to the wikiuser credentials:
GRANT USAGE on *.* TO 'wikiuser'@'localhost' REQUIRE SSL;
Browsing to any page will display this on the browser:
(Can't contact the database server: Access denied for user 'wikiuser'@'localhost' (using password: YES) (localhost))
I surmise that MediaWiki is not loading up the MySQL my.cnf configuration file located under /etc/mysql/my.cnf.
This configuration file effectively has the settings to tell the MySQL server and client, to use SSL and where the certificates and keys are.
So how does one tell MediaWiki, or the PHP running on its behalf, to load up /etc/mysql/my.cnf and use SSL? 198.80.144.187 (talk) 16:04, 17 February 2011 (UTC)
- MediaWiki doesn't support SSL MySQL connections out of the box. If you need them desperately, you can hack includes/db/DatabaseMysql.php to add MYSQL_CLIENT_SSL as another parameter to mysql_connect() call (there's exactly one use of this function). I haven't checked it myself though. Max Semenik 17:09, 17 February 2011 (UTC)
- Wow! It works.
- Thank you Max for that information.
- On my installation, the file was:
/usr/share/mediawiki/includes/db/Database.php- I changed this line from:
$this->mConn = mysql_connect( $realServer, $user, $password, true );- To:
$this->mConn = mysql_connect( $realServer, $user, $password, true, MYSQL_CLIENT_SSL );- and it works.
- Evidently, that MYSQL_CLIENT_SSL constant is enough to tell the mysql.so
- that gets loaded to go load the /etc/mysql.my.cnf and do your thing.
- If I put the old line back in, I get the same error.
- I can't tell you how long I Googled for this solution.
- Some links that refer to the above function calls:
- http://php.net/manual/en/function.mysql-connect.php
- http://www.php.net/manual/en/mysql.constants.php#mysql.client-flags
Gmoore777 17:40, 17 February 2011 (UTC)
- Wow! It works.
I think it would be very helpful to hear from some of you
Regarding the issues raised here:w:en:Wikipedia_talk:Pending_changes/Request_for_Comment_February_2011. Thanks. Beeblebrox 22:30, 17 February 2011 (UTC)
- Hmm. I am not logged in oh well. My opinion? PC is good, but we can't apply it to too many pages otherwise we might have 1000 reviewers trying to review 10000 revisions. --173.49.140.141 23:41, 17 February 2011 (UTC)
Logo? Problem
Greetings,
I have Media WIki 1.12.0, PHP 5.2.9, MySQL 5.0.83 loaded at www.bullshitcentral.org. I cannot change the Logo!! Have followed all instructions, and even replaced favicon.ico, but no luck. Any ideas? 123.200.164.130 (talk) 02:37, 18 February 2011 (UTC)
- So what do you really want to change, logo or favicon?
- What instructions did you follow? These? Even default post-installation logo says what exactly you should do.
- MediaWiki 1.12 is obsolete and does not include latest security patches. UPGRADE. Max Semenik 04:59, 18 February 2011 (UTC)
- Thanks Max. Yes, the instructions you have listed is what I looked at. The reason I have used this version of Media Wiki, is that it was what was offered by my Host. I have checked many times, and there is no "Local Settings.php" in my installation. Is it possible to creat & upload this, or copy from another source? Additonally, how can the $wg Logog still appear when I have removed it? 123.200.164.130 05:28, 18 February 2011 (UTC)
- Your host's version of MediaWiki might be patched. Ask their support where LocalSettings is located if you have problems finding it. As a side note, you would not have had this problem if you used MediaWiki from official tarball instead of hosted solution. Max Semenik 05:42, 18 February 2011 (UTC)
DeleteBatch doesn't find pages with quote or with accents
Mediawiki 1.15.2 PHP 5.3.2 Mysql 5.0.7
I'm using the DeleteBatch script maintenance to delete a lot of pages. I created some text files with some titles to delete. for example :
Today's_featured_article/fr/March_26,_2010
Today's_featured_article/fr/March_29,_2010
Bac_à_sable
When I run the maintenance script, I have a 'skipping nonexistent page' error message. I tried to change character encoding and put everything in UTF-8 but it doesn't change anything.
Any reason or it is a bug ? 158.169.9.14 (talk) 08:21, 18 February 2011 (UTC)
- Just tried on 1.15 branch - works for me. Are you sure that you used UTF-8 and had no byte order marks? Max Semenik 15:27, 18 February 2011 (UTC)
Converted to namespaces, now Wanted Pages showing pages that exist.
We use a wiki to keep track of information for our pen-and-paper-ish games, and today we converted a bunch of our older pages to namespaces so we could make room for the new stuff on some very similar names.
Some of those old pages, we had already been thinking ahead when we named them. In particular, we had one named "Red_Eyes:Emi", which just happened to conflict with one of the namespaces. So I moved it before creating the namespace, then moved it back afterwards.
The problem is, all of those pages that were conflicting at one point now show up in the "Wanted Pages" list. And I'm not sure why. It only seems to be counting some of the links to that page, as well. It will show "1 link" on the Wanted Pages list, but when you click on it, it will show two.
I'm thinking this is some caching thing since we already had some pages linking to the namespace-ish page, and then not touching those pages after converting it to a real namespace. Can anybody confirm/debunk this thought, and do you know of any solutions to the problem? I'm thinking editing those pages that didn't get edited should fix it, but I have no real way of telling which ones those are now.
Running Mediawiki 1.16.0, PHP 5.2.6-3ubuntu4.6 (apache2handler), and MySQL 5.0.75-0ubuntu10.5.
I'd link to the wiki in question, but there is some somewhat insecure things linked from it that I'd rather not have spread about too much. 50.35.228.110 (talk) 10:53, 18 February 2011 (UTC)
- This should fix itself in time as the pagelinks table is updated, but if you run refreshLinks.php you should be able to fix it immediately. Reach Out to the Truth 14:02, 18 February 2011 (UTC)
Admin (myself) user rights/FlaggedRevs screw up
Hi.
I unchecked the reviewer and bureaucrat boxes for myself under user permissions and now I can't get them back. It only lists me as an Editor in addition to the Admin.
I wanted to remove initially the automatic review of all my posts to test if only reviewed pages were showing up on the main screen. I rolled it back, but still can't get these basic rights as an admin owner of the sight.
BTW, I thought #$wgGroupPermissions['sysop']['autoreview'] = false; would fix the autmotic 'basic' 'sighted' review tag for all my posts but it didnt. Any ideas? Dlen345 (talk) 19:38, 18 February 2011 (UTC)
- Never mind on group permissions. Figured it out.
- Still having problem with my entries being treated automatically as reviewed the moment they are entered. Dlen345 19:47, 18 February 2011 (UTC)
- That line will have more effect if you remove the pound sign from the front of it. :) —Emufarmers(T|C) 21:28, 18 February 2011 (UTC)
Unable to get past http 500.0 error - no details provided (even on server)
Win2k8 - IIS7
NTLM Auth extension with Honza's SpecialUserLogin.php fix - Extension_talk:Windows_NTLM_LDAP_Auto_Auth
MediaWiki 1.16.2
PHP 5.2.17 (isapi)
MySQL 5.5.9
I am getting a 500 response, and have run out of ideas for troubleshooting. The problem only shows up when I enable my config for LDAP authentication, but my ldap_debug.log file show authentication completing successfully
$wgShowExceptionDetails = true; is set in LocalSettings.php Mread5 (talk) 20:16, 18 February 2011 (UTC)
- I created a new account with DOMAINNAME\username (while my ldap stuff was disabled), and then recreated it, and now it just continuously redirects me to the login page (which is not used / does nothing while my ldap extension is on)
- Again, if I authenticate (windows auth - NTLM) as any account which I have not explicity defined, I get http 500 response.
- So it appears that there are 2 problems:
- Account auto creation with the NTLM extension is not working
- Something isn't being recognized during login, and it keeps redirecting me to the login page Mread5 20:56, 18 February 2011 (UTC)
- Solved:
- finally found where I can turn on PHP errors in the php.ini file, and was able to quickly find a small typo, that was causing the 500 error. Mread5 22:16, 18 February 2011 (UTC)
- it would be nice to give info of exactly what you did to solve the issue. thanks. 212.219.94.142 11:44, 13 February 2015 (UTC)
subst: and safesubst: ?
I'm trying to copy infobox templates from Wikipedia to a personal mediawiki, but I've hit a snag with the subst: and safesubst: functions that i simply cannot wrap my head around.
The page I am looking at is Wikipedia:Template:Br separated entries. I need this for formatting infobox tables, but when I copy it over to my mediawiki, all of the safesubst: tags get transcluded as Template:safesubst:. It is not a template, obviously. There's some reason for mediawiki reading it like this listed on Wikipedia's help page for subst and safesubst, but I just don't understand how it is supposed to work. I know that it's for transclusion-type scenarios where you want the transcluded info to be permanent instead of changing when the original transcluded material is edited, but when I look at the source code for Br separated entries, it looks as if the values following |safesubst: is blank? I just want to be able to tell what it was that was being substituted on this template so I can try to fix it on my mediawiki installment.
Can someone who understands substitution spell this out for me? The help page said something about having to replace safesubst: with just subst:, but none of the listed methods for doing so were working. I'm having a really hard time with this. Thanks in advance. 66.169.138.79 (talk) 02:17, 19 February 2011 (UTC)
- I ran into this problem as well. It seems that you need to change any occurrence of the text {{{|safesubst:}}} with just "subst:" (without the quotes). 76.105.243.119 04:34, 24 February 2011 (UTC)
- What version of mediawiki are you using. I'm not sure when safesubst: got supported, but its recent. You need at least 1.16. Bawolff 06:27, 26 February 2011 (UTC)
Common.css ~ Where is it?
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I guess I am dumber than a rock...I can't find the file common.css so I can do changes to it even though I have basically searched for a day and a half. Can someone please tell me where the file is located. I am using the current version 1.16.2 – 2011-02-01 and the Vector skin.
please email me with the info codi727@gmail.com
I appreciate any help you can give me.
Thanks
Codi Codi727 (talk) 06:13, 19 February 2011 (UTC)
- Edit the page MediaWiki:Common.css on your wiki. If you want to change only the CSS for the Vector skin, edit the page MediaWiki:Vector.css. Reach Out to the Truth 06:19, 19 February 2011 (UTC)
- There again I have found no file by the name of Vector.css in addition to common.css. I'm very new at setting up a Wiki so maybe I'm missing something. You say "Edit the page MediaWiki:Common.css on your wiki" NOW I'M ASSUMING I DO THAT WITH A PHP EDITOR NOT THROUGH THE "URL" Codi727 06:26, 19 February 2011 (UTC)
- No, I specifically chose the words "on your wiki" to tell you that you should be editing pages on your wiki. Do not edit any external files. Type MediaWiki:Common.css in your wiki's search box. It will bring you to that page. Click the edit button and add whatever you need to. Reach Out to the Truth 14:40, 19 February 2011 (UTC)
- Thanks for you clearer comeback....it really helped me greatly. Your assistance will always be appreciated by me.
- Codi727 75.95.141.2 03:21, 21 February 2011 (UTC)
- Thanks so much for this! 92.20.202.82 11:34, 9 September 2012 (UTC)
- thanks too! --Metathom (talk) 22:28, 26 March 2015 (UTC)
- It's good that you notice "in search box". Because when I tried to type this in address bar, it show me error — there is no such file. This address contain "/w/", but would "/wiki/". Атомный трамвай (talk) 19:39, 10 January 2016 (UTC)
- No, I specifically chose the words "on your wiki" to tell you that you should be editing pages on your wiki. Do not edit any external files. Type MediaWiki:Common.css in your wiki's search box. It will bring you to that page. Click the edit button and add whatever you need to. Reach Out to the Truth 14:40, 19 February 2011 (UTC)
- There again I have found no file by the name of Vector.css in addition to common.css. I'm very new at setting up a Wiki so maybe I'm missing something. You say "Edit the page MediaWiki:Common.css on your wiki" NOW I'M ASSUMING I DO THAT WITH A PHP EDITOR NOT THROUGH THE "URL" Codi727 06:26, 19 February 2011 (UTC)
- I do not know where is Common.css. 84.144.208.131 14:13, 17 May 2011 (UTC)
- MediaWiki:Common.css
- It's a page on your wiki, not a file. Reach Out to the Truth 21:33, 21 May 2011 (UTC)
- Be also sure to be logged with sysop permission otherwise the page is locked for changes. 80.201.121.202 20:26, 12 February 2012 (UTC)
- I made a change to my Common.css at WOIsite.com and I no longer can see my pages (I'm sure it was a dimension change that shows 'none'). I don't know how to change it back since I can't see the pages (see pic below).
- Running current everything: http://i.imgur.com/12ccy.png Woiow (talk) 15:26, 16 January 2013 (UTC)
- You linked your site, but not your wiki. Could you start a new thread with a link directly to your wiki so that I can see your Common.css? ☠MarkAHershberger☢(talk)☣ 16:58, 16 January 2013 (UTC)
- Be also sure to be logged with sysop permission otherwise the page is locked for changes. 80.201.121.202 20:26, 12 February 2012 (UTC)
help
When i go to login page, this error appears:
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /home/ftp/***/***/includes/GlobalFunctions.php on line 2860
What should i do? 88.112.215.155 (talk) 09:31, 19 February 2011 (UTC)
- php: 5.3.5
- database: 5.0.51a-24+lenny5 06:50, 22 February 2011 (UTC)
- Help, please.... 11:56, 25 February 2011 (UTC)
- (standard message from mw-bot) make sure session.save_path is set correctly in your php.ini. Verify that it exists, is readable and writable to PHP, and check that session data is actually being written there. On a server farm, make sure it's a shared directory, accessible from all servers. Bawolff 06:24, 26 February 2011 (UTC)
- Help, please.... 11:56, 25 February 2011 (UTC)
Hilfe bei Installation auf Strato Server
Hallo, ich schreibe einfach mal in meiner Landessprache, hoffe das stellt kein allzugroßes Problem dar.
Ich versuche verzweifelt MediaWiki auf meinem Webspace (Link: http://fleischer-wiki.herr-fuchs.de ) von Strato zu installieren. http://fleischer-wiki.herr-fuchs.de Datenbank ist eingerichtet. Installation läuft auch, allerdings mit folgender Meldung:
...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...already have interwiki table
Notice: Trying to get property of non-object in /mnt/web4/23/64/51609864/htdocs/herr-fuchs/fleischerwiki/includes/db/DatabaseMysql.php on line 264
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /mnt/web4/23/64/51609864/htdocs/herr-fuchs/fleischerwiki/includes/db/DatabaseMysql.php on line 264
Fatal error: Call to a member function isMultipleKey() on a non-object in /mnt/web4/23/64/51609864/htdocs/herr-fuchs/fleischerwiki/maintenance/updaters.inc on line 329
Ich wäre euch für eine schnelle Hilfe dankbar.
Gruß Dave 88.65.253.215 (talk) 12:20, 19 February 2011 (UTC)
- You should really include system information if you want "schnelle Hilfe". From your link I conclude that you have MediaWiki 1.16 and PHP 5.2, but what else do you use, which version of MySQL? Next, are you installing into a new database, or existing one? Or you're trying to upgrade an existing installation using the install script? Max Semenik 13:10, 19 February 2011 (UTC)
- I have the same problem trying to install the following on http://www.mediadesign-group.de/c_helmstedt-wiki/:
- mediawiki 1.16.2
- PHP 5.2.17
- database: mysql 5.0.91
- I am trying to install into a new and fresh db. Maybe, somebody is here to help me? Djmirko 17:14, 26 February 2011 (UTC)
- I have the same problem trying to install the following on http://www.mediadesign-group.de/c_helmstedt-wiki/:
- I have the same problem. http://www.wikyleaks.wz.cz/
- I tried new clear instalation.
- MediaWiki 1.16.2
- PHP 5.2.13
- MySQL 5.0.67 78.102.109.108 18:04, 1 March 2011 (UTC)
Please set up the wiki first.
Hello.
When i press on the "Set up the wiki" then I come to my webhost's direct admin.
I tried to goto the /config/index.php but I still come to my webhost (domain.us:2222/
Any solutions ? 80.213.70.8 (talk) 18:06, 19 February 2011 (UTC)
- Rename config/ directory so some other title, e.g. mwconfig/. Max Semenik 19:11, 19 February 2011 (UTC)
- Thx. Works now 80.213.70.8 23:36, 19 February 2011 (UTC)
- I'm having the same issue, however, renaming the config directory doesn't work, it just redirects to a 404. Each subsequent time visiting server.com/wiki/index.php results in the 'Please setup the wiki first' message despite the fact that the LocalSettings.php file exists in the same directory and can be read by apache.
- Thanks for any info 216.250.224.12 16:54, 22 March 2011 (UTC)
- If you could't run the installer, where did your LocalSettings.php come from? Reach Out to the Truth 18:17, 22 March 2011 (UTC)
- From an upgrade, I already had the LocalSettings.php file configured.
- Thanks! 216.250.224.12 18:27, 22 March 2011 (UTC)
- I got this to work, so it's no longer an issue. Something must have gotten mucked up during my initial upgrade.
- I re-did this from scratch, simply pointed a fresh current version to the existing (previously upgraded) database.
- Thanks again, 216.250.224.12 18:44, 22 March 2011 (UTC)
- Not sure what your exact problem was, but you do not need to rerun the installer to upgrade. Copy the new files over the old, leaving LocalSettings.php in place, and run update.php to update your database. Reach Out to the Truth 19:02, 22 March 2011 (UTC)
- I've hit a similar problem. I upgraded an existing 1.16.1alpha mediawiki to 1.16.4 and now just keep getting the "Please set up the wiki first" page. I simply copied the files, then ran the DB update script. No errors seen. Any suggestions? I'm running IIS7 and PHP 5.3.6. 85.228.24.61 02:53, 5 May 2011 (UTC)
- There's clearly some problem with line 109 in webstart.php for me -
- if( !file_exists( "$IP/LocalSettings.php" ) ) {
- Simply disabling this if block allows the wiki to work fine.
- Ahhh .... I just managed to google a solution. written by me when doing a mediawiki upgrade 3 years ago! LOL
- problem is that IIS requires read access to the parent folder for realpath() to work properly 85.228.24.61 03:12, 5 May 2011 (UTC)
- I've hit a similar problem. I upgraded an existing 1.16.1alpha mediawiki to 1.16.4 and now just keep getting the "Please set up the wiki first" page. I simply copied the files, then ran the DB update script. No errors seen. Any suggestions? I'm running IIS7 and PHP 5.3.6. 85.228.24.61 02:53, 5 May 2011 (UTC)
- Not sure what your exact problem was, but you do not need to rerun the installer to upgrade. Copy the new files over the old, leaving LocalSettings.php in place, and run update.php to update your database. Reach Out to the Truth 19:02, 22 March 2011 (UTC)
- If you could't run the installer, where did your LocalSettings.php come from? Reach Out to the Truth 18:17, 22 March 2011 (UTC)
- Thx. Works now 80.213.70.8 23:36, 19 February 2011 (UTC)
error when uploading images
I have installed the wiki and yesterday night I uploaded about 10 pages just fine. Tonight when I wet to upload more images I get the following error
can not create directory "public/archive/5/58"
I am stumped as I though the images went into the folder called images. I did not make any changes to the software. The only thing I did do what to make a subdomain to use knowledgebase.pclinuxoshelp.com
Here is a list of the software that is loaded.
MediaWiki 1.16.2 PHP 5.3.3 (apache2handler) MySQL 5.1.42
Can anyone please point me in the right direction??
Thanks in advance. 66.112.77.218 (talk) 11:14, 20 February 2011 (UTC)
- I figured out the issue. Seems somehow the user and group of the directory was changed. 66.112.77.218 11:20, 20 February 2011 (UTC)
Infobox not working
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I'm trying to copy an infobox template from Wikipedia to a personal mediawiki, but when I preview it, all I see is the code I entered. So there has to be something that I have to enter elsewhere to actuate the infobox code. I'm not knowledgeable in Wiki, but I am highly trainable and I greatly appreciate any assistance you can give me to get this up and running properly.
Here is the code I entered on my page:
{{italic title}}{{Taxobox
| name = ''Enchytraeus buchholzi''
| regnum = [[Animal]]ia
| phylum = [[Annelida]]
| classis = [[Clitellata]]
| subclassis = [[Oligochaeta]]
| ordo = [[Haplotaxida]]
| familia = [[Megascolecidae]]
| genus = ''[[Enchytraeus]]''
| species = '''''E. buchholzi'''''
| binomial = ''Enchytraeus buchholzi''
| binomial_authority = Vejdovský, 1879 <ref>{{cite web |author=T. Timm, & C. Erséus |year=2009 |title=''Enchytraeus buchholzi'' Vejdovský, 1879 |publisher=[[World Register of Marine Species]] |url=http://www.marinespecies.eu/aphia.php?p=taxdetails&id=137403 |accessdate=April 22, 2010}}</ref>
}}
== box ==
{{Infobox website
| name = Open Directory Project
| screenshot = [[Image:lettuce.gif|250px]]
| screenshot = [[File:lettuce.gif|250px]]
| url = [http://www.dmoz.org/ dmoz.org]
| commercial = No
| type = [[Web directory]]
| registration = Optional
| owner = [[Netscape]] ([[AOL]])
| author = [[Netscape]]
| launch date = June 5, 1998
| content license = [[Open Directory License]]
}}
And here is what shows up when the page is saved:
Template:Infobox website
Thanks
Codi727 Codi727 (talk) 03:49, 21 February 2011 (UTC)
- Is it a redlink? If so, that means the template does not exist on your wiki. You have to create it manually or import it from a project that has it. Reach Out to the Truth 03:59, 21 February 2011 (UTC)
- OK, I appreciate your response even though I don't completely understand it, it does gives me a little more to investigate such as creating a template or importing one. Do you happen to know of a place to import one from?
- Codi727 Codi727 04:39, 21 February 2011 (UTC)
- Template en:Template:Infobox_website (as example) based on en:Template:Infobox and en:Template:Infobox/row. Copy these three pages to your wiki. If there are red links to pages like "Template:<name>", then find those pages in the "source wiki" (from copying content), and copy them to her with the same name. See more in Help:Templates and meta:Help:Template.--Kaganer 12:12, 21 February 2011 (UTC)
- Even better, use Special:Export to export this template with all its dependencies. Ensure that destination wiki has ParserFunctions or these templates will not function properly. Max Semenik 12:32, 21 February 2011 (UTC)
OK, I've been hard at it all day and this is what I have to date on my wiki:-
I created the following Template:DIY as per instructions and place the following in it:-
{{Infobox website
|name = DIY Aquaponics
|logo = [[File:diy_logo.png|48px|DIY logo]]
|logocaption = DIY logo
|collapsible = yes
|caption = Detail of DIY Aquaponics.
|url = [http://www.diyaquaponics.com/ www.diyaquaponics.com]
|slogan = ''Feed the World''
|commercial = No
|type = [[Internet Aquaponic project]]
|registration = Optional
|language = English language
|content license = [[GNU Free Documentation License]]
|owner = [[DIY Aquaponics, Inc.]]
|author = [[Chris O'Brian]]
|launch date = {{Start date|2005|07|27}}
|current status = Online
}}
Then I created "Test Page" on my wiki and edited it placing the following in it DIY with double { brackets in front and double } brackets after it, and when I go there to see the results, this is what I get:-
Test
Template:Infobox website (which shows up in red)
So what am I missing? Please take my hand and lead me through it...Please...I know I've missed something even though I have been reading the instructional pages all day. Codi727 21:53, 21 February 2011 (UTC)
- Please read Help:Templates. Of course Template:Infobox website shows up as red link since you haven't created this template. Max Semenik 05:07, 22 February 2011 (UTC)
- Hey Max Semenik,
- Sorry for being a dumb a** but as per instructions, I created the Template page as seen on the post above and also re-listed below.
- When I go to special pages on my wiki, and look under Templates I find DIY so it does exist. Also when I look at it, all it shows is
- Template:Infobox website
- (which shows up in red)
- I put ## in front of each entry here on this listing so you could see what I entered thus that is why the numbers are showing up.
- Was I suppose to input something else into the Template:DIY other than what is listed below? I uploaded the ParserFunctions to my server in the extensions dir.
- Copied from previous post:
- I created the following Template:DIY as per instructions and placed the following in it:-
1.1. {{Infobox website2. |name = DIY Aquaponics3. |logo = DIY logo4. |logocaption = DIY logo5. |collapsible = yes6. |caption = Detail of DIY Aquaponics.7. |url = www.diyaquaponics.com8. |slogan = Feed the World9. |commercial = No10. |type = Internet Aquaponic project11. |registration = Optional12. |language = English language13. |content license = GNU Free Documentation License14. |owner = DIY Aquaponics, Inc.15. |author = Chris O'Brian16. |launch date = Template:Start date17. |current status = Online18. }}- Then as I state in my post above, I created a page named "Test" on my wiki and edited it placing the following "DIY" in it surrounded front and back with {{ }} brackets, and when I go there to see the results, this is what I get:-
- Test
- Template:Infobox website
- (which still shows up in red)
- So where am I going wrong. I am using wiki 1.16 Codi727 16:40, 22 February 2011 (UTC)
- Also while I am thinking about it, here is the link to my site
- http://wikiaquaponics.com
- And the template page is http://wikiaquaponics.com/index.php/Template:DIY
- and the test page is http://wikiaquaponics/index.php/Test Codi727 16:54, 22 February 2011 (UTC)
- You need Template:Infobox website. The redlink means it doesn't exist. All you've done is moved the template call into another template; you still need the infobox templates that you're calling. Reach Out to the Truth 17:18, 22 February 2011 (UTC)
- Sorry, I don't know your name but I do realize you are doing this vountarily so I want you to know that I do appreciate all your assistance. I know you probably help hundreds upon hundreds of people each day here, however since I apparently (as you can see) am completely shooting in the dark and don't understand your directions, perhaps you could take a little more time and explain how to do this correctly, maybe step by step. If you could, it would beat anything that I have been able to find on MediaWiki.
- OK, so according to you, I'm missing something....
Quote:- All you've done is moved the template call into another template;you still need the infobox templates that you're calling.- I am assuming you mean "DIY" is the template call which was placed in the page "Test" which is actually a page listed under Special Pages / All pages and is located at http://wikiaquaponics.com/index.php/Test
- As for the Template, I did create it as stated above and it is located at http://wikiaquaponics.com/index.php/Template:DIY
- So what other pages do I need to construct and where? Codi727 19:31, 22 February 2011 (UTC)
- You have a call to Template:DIY, which exists. But Template:DIY has a call to Template:Infobox website, which doesn't exist. You still need that template.
- Unfortunately, documentation of the export and import processes is pretty bad. You could just directly copy the source of wikipedia:Template:Infobox website into your wiki, but that makes license compliance difficult. That's why I haven't suggested that method. It is possible to import into your wiki with full attribution, but it's not an easy process to explain.
- Oh, and you also need install Extension:ParserFunctions. You said you downloaded it, but I can see that it's not installed yet. Make sure to follow the installation instructions on the page. Reach Out to the Truth 21:21, 22 February 2011 (UTC)
- I'm going to be honest with you, I have been working on this for 2 days and it's begining to make my head hurt :)
You have a call to Template:DIY, which exists.But Template:DIY has a call to Template:Infobox website, which doesn't exist. You still need that template- Using the information I provided in my post above how do I create the :-Template:Infobox website, which you say doesn't exist. You still need that template?
- So right now I have a Template page called DIY and a page which I thought was to call it called Test and you say I need another page? Please tell me how to construct it.
- And yes I have been all through the Export/Import pages and they no help and I also tried copying the wikipedia:Template:Infobox website page using the edit just to see if it would work to no avail.
- And I do have the Extension:ParserFunctions (as seen below but it says on the page Requirements) installed.
The ParserFunctions extension requires* MediaWiki 1.7.0 or above* PHP compiled with 'ctype' functions (almost always is included by default)in my LocalSettings.php along with some others:-- I am using 1.16
- require_once("$IP/extensions/ParserFunctions/ParserFunctions.php" );
- $wgPFEnableStringFunctions = true;
- require_once("$IP/extensions/ParserFunctions/SprintfDateCompat.php" );
- require_once("$IP/extensions/ParserFunctions/ParserFunctions_body.php" );
- require_once("$IP/extensions/ParserFunctions/ParserFunctionsi18n.php" );
- require_once("$IP/extensions/ParserFunctions/ParserFunctionsi18n.magic.php" );
- require_once("$IP/extensions/ExtensionName/importPagesIntoEndpoint.php" );
- require_once("$IP/extensions/ExtensionName/JosekiStore.php" );
- require_once("$IP/extensions/ExtensionName/SparqlExtension.alias.php" );
- require_once("$IP/extensions/ExtensionName/SparqlExtension.i8n.php" );
- require_once("$IP/extensions/ExtensionName/SparqlExtension.php" );
- require_once("$IP/extensions/ExtensionName/SparqlExtension_body.php" );
- require_once("$IP/extensions/ExtensionName/SparqlLinker.php" );
- require_once("$IP/extensions/ExtensionName/SparqlOutputFactory.php" );
- require_once("$IP/extensions/ExtensionName/SparqlOutputFormat.php" );
- require_once("$IP/extensions/ExtensionName/SparqlUtil.php" );
- $wgUseAjax = true;
- require_once("$IP/extensions/CategoryTree/CategoryTree.php");
- require_once("$IP/extensions/OpenSearchXml/OpenSearchXml.php" );
- So what now? 75.95.141.2 23:17, 22 February 2011 (UTC)
- Unfortunately, importing that template and making it work isn't an easy thing for me to explain. :/ I'm going to look at the rest of what you've got here.
- Remove the four lines after the $wgPFEnableStringFunctions line. You shouldn't be including those directly; ParserFunctions.php will take care care of that. The rest of this looks a bit odd. You have at least four extensions installed according to this, but none of them are showing on Special:Version. There should also be a Special:CategoryTree page, but there isn't.
- So these extensions aren't installed. Since you're using require_once statements, a missing file would result in your wiki not loading at all. So it seems that those statements aren't even being read in the first place. You're doing this in LocalSettings.php, right? Reach Out to the Truth 23:57, 22 February 2011 (UTC)
- Yes that was my LocalSettings.php file but I have now edited it to the point that only the following extensions are there to hopefully get "Infobox" problem solved:-
## Extension dirrequire_once("$IP/extensions/ParserFunctions/ParserFunctions.php" );$wgPFEnableStringFunctions = true;- Should I remove the "require_once" for the above? Codi727 01:37, 23 February 2011 (UTC)
- So, Has everyone given up on me? I just installed Cite in the extension/Cite folder as per instructions and then ran Special:Version and it doesn't show up anywhere there as installed.? So, could there be a problem with require_once("$IP/extensions/ParserFunctions/ParserFunctions.php" not working either and that is what is causing the Infobox to not show up? What could be keeping the installed extensions from working? Below is a list of what I have on bottom of the page of LocalSettings.php at this time.
## Extension dirrequire_once("$IP/extensions/ParserFunctions/ParserFunctions.php" );$wgPFEnableStringFunctions = true;require_once("$IP/extensions/Cite/Cite.php");- Should the $IP be changed to my URL or is that OK? I know you guys are tired of me, but look at it as a challenge, besides I have two more Wiki sites to set up after I get this one perfected and actually know what I am doing. I promise I won't try to take your jobs, honest. Codi727 19:27, 23 February 2011 (UTC)
- OK, I have finally been able to call a Template page into a regular page but the Infobox still doesn't show up.
- So I have re-read all the post above again for the um-teenth time and this statement popped out at me.
You have a call to Template:DIY, which exists. But Template:DIY has a call to Template:Infobox website,which doesn't exist. You still need that template.- So is this statement insunuating that I need a total of two Templates and one regular page to get a Infobox to work? Or have I completely gone off in left field again? Codi727 22:46, 23 February 2011 (UTC)
- You don't need the DIY template at all. Its contents can be transferred to the page that's currently calling it. You do need Infobox website and several other meta-templates. That's the tricky part, which I'm afraid I'm not very good at explaining. Reach Out to the Truth 22:59, 23 February 2011 (UTC)
- OK, so if you can't tell me, where do I find the documentation that gives me very explicit instructions on how to do this that I need to study to get this thing done? 75.95.141.2 13:15, 24 February 2011 (UTC)
- There isn't one, really. That's the problem. The closest is probably Manual:$wgImportSources. Reach Out to the Truth 16:02, 24 February 2011 (UTC)
- OK, so there is no instructions or manual telling all the secrets of constructing and using Infoboxes even though Wikipedia is loaded with them?
- Sounds like a credible project for an enterprising person with the know how so newbies such as myself don't spend days bugging persons such as yourself and others trying to learn how to manage a particular aspect (Infobox) of Wiki when, in fact, nothing on the MediaWiki website actually tells how it's done!
- So, let me know when it's done or can you refer me to a person that knows how to do it and is willing to help me? <:-)
- Codi Codi727 18:13, 24 February 2011 (UTC)
- There isn't one, really. That's the problem. The closest is probably Manual:$wgImportSources. Reach Out to the Truth 16:02, 24 February 2011 (UTC)
- OK, so if you can't tell me, where do I find the documentation that gives me very explicit instructions on how to do this that I need to study to get this thing done? 75.95.141.2 13:15, 24 February 2011 (UTC)
- You don't need the DIY template at all. Its contents can be transferred to the page that's currently calling it. You do need Infobox website and several other meta-templates. That's the tricky part, which I'm afraid I'm not very good at explaining. Reach Out to the Truth 22:59, 23 February 2011 (UTC)
- OK, I did finally stick my finger in the right hole apparently. Now when I run Special:Versions, all my extensions show up, however Infobox still not working?????? Codi727 20:11, 23 February 2011 (UTC)
- Also mu URL is http://wikiaquaponics.com/index.php/Main_Page Codi727 17:33, 22 February 2011 (UTC)
- Some links that may help:
- If the infobox template you want to port contains HTML table code inside conditional magic words (one of the two ways to enable conditional rows in a table), then your destination wiki would have to be running HTML Tidy like Wikipedia does. Some of the infobox templates are not portable to many other wikis for this reason. Since HTML Tidy is often difficult to install, the only practical option is to rewrite the template to not use HTML table code, or find a portable version that someone else has already written. See the above links for more details. Teratornis 19:00, 24 February 2011 (UTC)
- Please read Help:Templates. Of course Template:Infobox website shows up as red link since you haven't created this template. Max Semenik 05:07, 22 February 2011 (UTC)
- You made some Good points there. I did a search on the topic and found most people will agree with trog.qgl.org Wonderful! 94.45.177.73 14:49, 8 November 2012 (UTC)
- <code> <div style="float: right"> <table border=1><tr><td> <b>{{{name}}}</b><br> <i>{{{title}}}</i><br> <i>{{{species}}}</i><br> <i>{{{origin}}}</i><br> {{{image}}}<br> {{{height}}}<br> {{{mass}}}<br> {{{resonance}}}<br> </td></tr></table> </div> </code> 69.121.192.224 21:08, 14 September 2013 (UTC)
- Disclaimer:
- I'm over a Year late, but this needs to be answered SOMEWHERE on the internet.
- This is what an Infobox Template Reference looks like Inside your Article Page:
{{Infobox person |name = Jane |title = Major |species = Human |origin = Earth |image = [[File:jane.png]] }}- This is what would be Inside the Infobox Template Page:
<div style="float: right"> <table border=1><tr><td> <b>{{{name}}}</b><br> {{{title}}}<br> <i>{{{species}}}</i><br> <i>{{{origin}}}</i><br> {{{image}}} </td></tr></table> </div>- Solution:
- Your looking for the tag
{{{name}}}to put into the Template. - Instructions:
- 1) Type a new Reference for an Infobox Template anywhere within your Article Page.
- 2) Click the 'Save Page' button
- 3) Click on the new Red Link
Template:Infobox person(or whatever) - 4) Type the correct reference tags:
{{{tag}}} - 5) Format your new Infobox Template the way you want it to display
- Making Infobox Shift to the Right Side:
- Inside the Infobox, wrap everything in a DIV Tag and give it a style to Float Right.
<nowiki><div style="float: right">
My Piece:
For shame that no one could Choose to answer this question with just, I donno, a Real Answer! In Spite of the FUBAR standardization of the Infobox Template, I Strongly recommend just making your own Infobox Templates. It will definitely work, especially if your making a Personal Wiki.
Final:
Sons of the WikiMedia Community, I am Very Disappoint.
Good Luck to those who this helps! 69.121.192.224 21:55, 14 September 2013 (UTC)
- for those that may find this thread, one important step before importing templates from other wiki's is to take make sure you're familiar with the steps in this tutorial. make sure you click on the pending changes tab to see the latest version of the page. https://www.mediawiki.org/wiki/Manual:Importing_Wikipedia_infoboxes_tutorial Dan-nl (talk) 03:07, 15 September 2013 (UTC)
- Now THESE are instructions! TY for providing this important and extremely useful link! Explains simply and clearly what needs to be done for export and import of Infoboxes. Strange that my earlier google searches didn't include this article.
- Congratulation, Dan-nl! You win internet! 63.142.161.16 14:38, 15 September 2013 (UTC)
"Website Deactivated"
We seem to be having a bit of bother over at [Paradoxian.org] . Any attempt to log in is met with
Website deactivated, please contact website administrator / Websider deaktivert, vennligst ta kontakt med websidenes administrator
I'm an admin over there, but I'm assuming the trouble has something to do with the actual Owner of the wiki, who I haven't been able to contact in a while. I can't even get past the annoying block on logging in, so I can't really get the version. Any advice? King Richard XI 10:19, 21 February 2011 (UTC)
- It is unrelated to MediaWiki, apparently the site is suspended by hosting provider. Max Semenik 10:20, 21 February 2011 (UTC)
- You wouldn't happen to know what I should do? Or is my best bet just to contact our SysAdmin? King Richard XI 10:22, 21 February 2011 (UTC)
Various install warnings, what effects will they have?
Below are the warnings I get when I start the installation script. However, I get the "Environment checked. You can install MediaWiki." message at the end. I know about safe mode to the extent that I can probably turn it off if needed. Can someone advise me on what issues these things might cause if not corrected, and how I might correct these things? Thank you.
- Have XML / Latin1-UTF-8 conversion support.
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s): (/var/www/vhosts/mergeemerge.org/httpdocs:/tmp) in /var/www/vhosts/mergeemerge.org/httpdocs/mewiki/config/Installer.php on line 474
- Warning: Your session.save_path value (/var/lib/php/session) appears to be invalid or is not writable. PHP needs to be able to save data to this location for correct session operation. 70.232.74.57 (talk) 15:45, 21 February 2011 (UTC)
- Sessions might not work. If they don't, it'll become evident pretty quickly, and you can just add /var/lib/php/session to open_basedir. —Emufarmers(T|C) 17:46, 21 February 2011 (UTC)
- I added open_basedir = "/var/lib/php/session" to /etc/php.ini , restarted Apache and phpinfo showa that directory as a master value for open_basedir along with /var/www/vhosts/mergeemerge.org/httpdocs :/tmp as local values. But when I reloaded the install script, I get the same warning message. Any suggestions? This is a 1and1 virtual cloud server running plesk 70.232.74.57 00:39, 22 February 2011 (UTC)
Code Font Size Small!
Hi there!
Firstly, I apologize in a advance as this is the first time I have started using MediaWiki and have only had 2 days to get to grips with it. This is probably a massively easy issue. Thank you for any help you can offer:
When I use:
<pre><code><pre></pre>
The font size comes up as pretty small unlike the code above which is a reasonable size.
This is how it appears on my site: http://medimonics.org/wiki/index.php?title=Main_Page
I tried using FireBug and various .css files but can't seem to get it.
Thanks in advance.
I am using the most recent version of Media Wiki (1.16.2) 188.222.10.20 (talk) 17:52, 21 February 2011 (UTC)
- Known issue, fixed in upcoming 1.17. Max Semenik 18:07, 21 February 2011 (UTC)
- Ahhh...Interesting. Sorry, I tried searching for it, but couldn't find it. Thanks for letting me know nonetheless. 188.222.10.20 18:18, 21 February 2011 (UTC)
I added the following to my Common.css to help with this problem.
/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */
tt, code, pre {
font-family: monospace, sans-serif;
} 67.137.99.123 15:45, 23 February 2011 (UTC)
Sorry to post so late ...
Since the problem is the size, something like this works just fine in /skins/common/shared.css:
/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */
tt, code, pre {
font-size: 1.25em;
}
This results in a computed size of ~12px and will additionally fix the problem if you're using Extension:SyntaxHighlight_GeSHi. 76.19.64.69 11:10, 19 June 2011 (UTC)
Could not connect to host
Could not connect to host, used the host IP that I use to FTP my data. Please help! 99.7.252.155 (talk) 19:27, 21 February 2011 (UTC)
mediawiki as the platform for a book translation site
Aloha,
I'm in the beginning phase of a non-profit project which aims to provide educational material (lit. books, texts) to an elementary school population throughout various pacific island regions (Marshall Islands, Tonga, Tuvalu so far).
We're using volunteer translators and need to create a site which allows one page of a text to be visible on one side of the screen and a blank space for the translated text to be entered on the other. A professor at my university suggested that media wiki might be appropriate for our purpose.
I'm trying to confirm that we could set up a system that allows users/translators to log in, see the english text, then translate it to the local language on the same screen. Unfortunately I know very little about mediawiki and coding in general so any answers/help anyone could give would be very much appreciated.
We already have people throughout the pacific islands excited about helping but need to provide a platform for them to do so.
Mahalo for your help. 99.188.240.149 (talk) 22:53, 21 February 2011 (UTC)
[RESOLVED] Unable to Determine IP (IPv6)
Ok so I have this setup for hosting this wiki at home and am having trouble with it. It seems to install just find but after i move the LocalSettings.php file to the root it starts giving me an error when i try to access the web site.
Object Moved
This document may be found hereMediaWiki internal error.
Original exception: exception 'MWException' with message 'Unable to determine IP' in C:\inetpub\wwwroot\wiki\includes\ProxyTools.php:115
Stack trace:
#0 C:\inetpub\wwwroot\wiki\includes\User.php(1531): wfGetIP()
#1 C:\inetpub\wwwroot\wiki\includes\db\Database.php(478): User->getName()
#2 C:\inetpub\wwwroot\wiki\includes\db\Database.php(874): DatabaseBase->query('SELECT * FROM...', 'Job::pop')
#3 C:\inetpub\wwwroot\wiki\includes\db\Database.php(954): DatabaseBase->select('job', '*', 'job_id >= 0', 'Job::pop', Array, Array)
#4 C:\inetpub\wwwroot\wiki\includes\JobQueue.php(107): DatabaseBase->selectRow('job', '*', 'job_id >= 0', 'Job::pop', Array)
#5 C:\inetpub\wwwroot\wiki\includes\Wiki.php(430): Job::pop()
#6 C:\inetpub\wwwroot\wiki\includes\Wiki.php(379): MediaWiki->doJobs()
#7 C:\inetpub\wwwroot\wiki\index.php(118): MediaWiki->finalCleanup(Array, Object(OutputPage))
#8 {main}
Exception caught inside exception handler: exception 'MWException' with message 'Unable to determine IP' in C:\inetpub\wwwroot\wiki\includes\ProxyTools.php:115
Stack trace:
#0 C:\inetpub\wwwroot\wiki\includes\User.php(1531): wfGetIP()
#1 C:\inetpub\wwwroot\wiki\includes\db\Database.php(478): User->getName()
#2 C:\inetpub\wwwroot\wiki\includes\db\Database.php(874): DatabaseBase->query('SELECT lc_valu...', 'LCStore_DB::get')
#3 C:\inetpub\wwwroot\wiki\includes\db\Database.php(954): DatabaseBase->select('l10n_cache', Array, Array, 'LCStore_DB::get', Array, Array)
#4 C:\inetpub\wwwroot\wiki\includes\LocalisationCache.php(763): DatabaseBase->selectRow('l10n_cache', Array, Array, 'LCStore_DB::get')
#5 C:\inetpub\wwwroot\wiki\includes\LocalisationCache.php(307): LCStore_DB->get('en', 'messages:intern...')
#6 C:\inetpub\wwwroot\wiki\includes\LocalisationCache.php(225): LocalisationCache->loadSubitem('en', 'messages', 'internalerror')
#7 C:\inetpub\wwwroot\wiki\languages\Language.php(1480): LocalisationCache->getSubitem('en', 'messages', 'internalerror')
#8 C:\inetpub\wwwroot\wiki\includes\MessageCache.php(532): Language->getMessage('internalerror')
#9 C:\inetpub\wwwroot\wiki\includes\GlobalFunctions.php(742): MessageCache->get('internalerror', true, false)
#10 C:\inetpub\wwwroot\wiki\includes\GlobalFunctions.php(707): wfMsgGetKey('internalerror', true, false, true)
#11 C:\inetpub\wwwroot\wiki\includes\GlobalFunctions.php(613): wfMsgReal('internalerror', Array, true)
#12 C:\inetpub\wwwroot\wiki\includes\Exception.php(119): wfMsg('internalerror')
#13 C:\inetpub\wwwroot\wiki\includes\Exception.php(209): MWException->getPageTitle()
#14 C:\inetpub\wwwroot\wiki\includes\Exception.php(172): MWException->htmlHeader()
#15 C:\inetpub\wwwroot\wiki\includes\Exception.php(191): MWException->reportHTML()
#16 C:\inetpub\wwwroot\wiki\includes\Exception.php(289): MWException->report()
#17 C:\inetpub\wwwroot\wiki\includes\Exception.php(348): wfReportException(Object(MWException))
#18 [internal function]: wfExceptionHandler(Object(MWException))
#19 {main}
When i click the link "here" it takes me to "/index.php?title=Main_Page" which then gives me this error:
PQEWiki error
Unable to determine IP
Backtrace:
#0 C:\inetpub\wwwroot\wiki\includes\User.php(1531): wfGetIP()
#1 C:\inetpub\wwwroot\wiki\includes\db\Database.php(478): User->getName()
#2 C:\inetpub\wwwroot\wiki\includes\db\Database.php(874): DatabaseBase->query('SELECT lc_valu...', 'LCStore_DB::get')
#3 C:\inetpub\wwwroot\wiki\includes\db\Database.php(954): DatabaseBase->select('l10n_cache', Array, Array, 'LCStore_DB::get', Array, Array)
#4 C:\inetpub\wwwroot\wiki\includes\LocalisationCache.php(763): DatabaseBase->selectRow('l10n_cache', Array, Array, 'LCStore_DB::get')
#5 C:\inetpub\wwwroot\wiki\includes\LocalisationCache.php(321): LCStore_DB->get('en', 'deps')
#6 C:\inetpub\wwwroot\wiki\includes\LocalisationCache.php(350): LocalisationCache->isExpired('en')
#7 C:\inetpub\wwwroot\wiki\includes\LocalisationCache.php(262): LocalisationCache->initLanguage('en')
#8 C:\inetpub\wwwroot\wiki\includes\LocalisationCache.php(205): LocalisationCache->loadItem('en', 'defaultUserOpti...')
#9 C:\inetpub\wwwroot\wiki\languages\Language.php(458): LocalisationCache->getItem('en', 'defaultUserOpti...')
#10 C:\inetpub\wwwroot\wiki\includes\User.php(1052): Language->getDefaultUserOptionOverrides()
#11 C:\inetpub\wwwroot\wiki\includes\User.php(1974): User::getDefaultOptions()
#12 [internal function]: User->getOption('numberheadings')
#13 C:\inetpub\wwwroot\wiki\includes\StubObject.php(58): call_user_func_array(Array, Array)
#14 C:\inetpub\wwwroot\wiki\includes\StubObject.php(182): StubObject->_call('getOption', Array)
#15 C:\inetpub\wwwroot\wiki\includes\parser\ParserOptions.php(150): StubUser->__call('getOption', Array)
#16 C:\inetpub\wwwroot\wiki\includes\parser\ParserOptions.php(150): StubUser->getOption('numberheadings')
#17 C:\inetpub\wwwroot\wiki\includes\parser\ParserOptions.php(109): ParserOptions->initialiseFromUser(Object(StubUser))
#18 C:\inetpub\wwwroot\wiki\includes\Article.php(4054): ParserOptions->__construct(Object(StubUser))
#19 C:\inetpub\wwwroot\wiki\includes\Article.php(745): Article->getParserOptions()
#20 C:\inetpub\wwwroot\wiki\includes\Wiki.php(493): Article->view()
#21 C:\inetpub\wwwroot\wiki\includes\Wiki.php(70): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#22 C:\inetpub\wwwroot\wiki\index.php(117): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#23 {main}
I tracked it down to "/includes/ProxyTools.php" line #114
if( !$ip ) {
throw new MWException( "Unable to determine IP" );
}
If i comment that out it seems to work, but then i get another error when i try to log in
MediaWiki internal error.
Original exception: exception 'MWException' with message 'SkinTemplate::makeTalkUrlDetails given invalid pagename User:' in C:\inetpub\wwwroot\wiki\includes\SkinTemplate.php:682
Stack trace:
#0 C:\inetpub\wwwroot\wiki\includes\SkinTemplate.php(623): SkinTemplate->makeTalkUrlDetails('User:')
#1 C:\inetpub\wwwroot\wiki\includes\SkinTemplate.php(489): SkinTemplate->buildPersonalUrls()
#2 C:\inetpub\wwwroot\wiki\includes\OutputPage.php(1615): SkinTemplate->outputPage(Object(OutputPage))
#3 C:\inetpub\wwwroot\wiki\includes\Wiki.php(376): OutputPage->output()
#4 C:\inetpub\wwwroot\wiki\index.php(118): MediaWiki->finalCleanup(Array, Object(OutputPage))
#5 {main}
Exception caught inside exception handler: exception 'MWException' with message 'SkinTemplate::makeTalkUrlDetails given invalid pagename User:' in C:\inetpub\wwwroot\wiki\includes\SkinTemplate.php:682
Stack trace:
#0 C:\inetpub\wwwroot\wiki\includes\SkinTemplate.php(623): SkinTemplate->makeTalkUrlDetails('User:')
#1 C:\inetpub\wwwroot\wiki\includes\SkinTemplate.php(489): SkinTemplate->buildPersonalUrls()
#2 C:\inetpub\wwwroot\wiki\includes\OutputPage.php(1615): SkinTemplate->outputPage(Object(OutputPage))
#3 C:\inetpub\wwwroot\wiki\includes\Exception.php(164): OutputPage->output()
#4 C:\inetpub\wwwroot\wiki\includes\Exception.php(191): MWException->reportHTML()
#5 C:\inetpub\wwwroot\wiki\includes\Exception.php(289): MWException->report()
#6 C:\inetpub\wwwroot\wiki\includes\Exception.php(348): wfReportException(Object(MWException))
#7 [internal function]: wfExceptionHandler(Object(MWException))
#8 {main}
I have tried searching for about an hour now for a solution to the first error with no luck, the second error seems to be related to a cookie it put on the client, which it uses to track login sessions, although I have found no actual solution to either problem thus far. Can someone here help? Megamandos (talk) 01:17, 22 February 2011 (UTC)
- Oh also, this might help. My network topology might be causing the proxy issue, although I cannot change it for technical and security reasons.
<Internet> ----- <Router with static IP> --(192.168.1.0/24)-- <Router to Private network> --(10.0.0.0/24)-- <Server>- You will have to trust me that the port forwarding is done correctly, because the rest of the site works fine, including a wordpress front page and phpBB forums. Megamandos 01:22, 22 February 2011 (UTC)
- What is your $_SERVER['REMOTE_ADDR'] and other IP-related stuff? Can you dump its contents from visiting a .php file containing <?php phpinfo(); in browser? Max Semenik 05:04, 22 February 2011 (UTC)
- Its an IPv6 private address.
fe80::e4d2:7ee6:6aa:ce9d%1172.81.131.11 11:41, 22 February 2011 (UTC)- _SERVER["REMOTE_ADDR"] fe80::e4d2:7ee6:6aa:ce9d%11
_SERVER["REMOTE_HOST"] fe80::e4d2:7ee6:6aa:ce9d%11_SERVER["REMOTE_PORT"] 52243_SERVER["REMOTE_USER"] no value72.81.131.11 11:44, 22 February 2011 (UTC)- if you aren't using ipv6 on that machine, you can just disable it and it works fine. That's all I did for my wiki running on win 2008. I doubt you are using ipv6, since that is just a link-local (non routable) address. Just remove it from the properties of the network connection.
- I think mediawiki is expecting the address in ipv4 format only Mread5 20:19, 22 February 2011 (UTC)
- Yes, pre-1.17 versions have problems with IPv6. Max Semenik 06:36, 23 February 2011 (UTC)
- I encountered a similar error in v1.18.2
- While support for IPv6 was added, support for the zone was not, I simply trimmed the zone information off as follows:
- line 659+ in /includes/IP.php:
- public static function canonicalize( $addr ) {
$addr = preg_replace('/\%.*/i',,$addr); #line I added to remove zone info- if ( self::isValid( $addr ) ) {
- return $addr;
- }
- Nick Kuznia 207.67.108.200 19:46, 5 April 2012 (UTC)
- Yeah, but I don't see why your webserver should even listen on link-local IPv6 addresses in the first place. Jasper Deng (talk) 21:48, 5 April 2012 (UTC)
- It's not your average setup, and no I'm not willing to go into more detail. But I thought I would provide the solution nonetheless as others may be experiencing the same issue. 207.67.108.200 15:13, 23 April 2012 (UTC)
- Nick,
- your patch saved my day! I just needed to add the missing single quotes
$addr = preg_replace('/\%.*/i','',$addr);
- It works fine with 1.19 as well.
- /Niklas 212.86.204.221 12:22, 23 August 2012 (UTC)
- Yeah, but I don't see why your webserver should even listen on link-local IPv6 addresses in the first place. Jasper Deng (talk) 21:48, 5 April 2012 (UTC)
- Yes, pre-1.17 versions have problems with IPv6. Max Semenik 06:36, 23 February 2011 (UTC)
- What is your $_SERVER['REMOTE_ADDR'] and other IP-related stuff? Can you dump its contents from visiting a .php file containing <?php phpinfo(); in browser? Max Semenik 05:04, 22 February 2011 (UTC)
Wallnas (talk) 12:30, 18 November 2012 (UTC)
- This was resolved on MediaWiki version 1.20.0 per Bug 35738. Ciencia Al Poder (talk) 19:50, 18 November 2012 (UTC)
Uploaded image didn't appear
Hi,
I authorized the upload for my wiki by adding $wgEnableUploads = true; in LocalSettings.php. The upload work perfectly, images are effectively uploaded but the chmod is set to 600. So when I want to add an image in a wiki page, the image didn't appear... For the moment I change manually the chmod of the image in order to make them appear, which is exhausting !
Could you please tell me how to have automatically the correct chmod for my uploaded images ?
Thank you,
Fabian 94.111.84.84 (talk) 12:25, 22 February 2011 (UTC)
- If the webserver is in the same group as you, it needs to read and write. On your
./imagesdirectory, trychmod -R 660 ./images. If that doesn't do the trick, because your webserver is in a different group,chmod -R 666 ./imageswill certainly get it done. Unifiedrepublic 07:40, 1 March 2011 (UTC)
Flagged Revisions automatic review problem
Hi.
Sorry for the post. My wiki is working pretty much flawlessly (after 300+ hours put into setting it up).
I know this is a dumbazz question probably (but I've been up for 72 hours and it seems to be eluding me).
Is there a way for all my posts/edits as the site owner/admin/editor/reviewer not to be automatically considered reviewed?
I'm trying to have only reviewed articles on the main page with Dynamic Page List (not the third party one, but the Wikimedia one).
Basically when I go to Special:ReviewedPages any entry I make is in the list and it states next to it something like "(automatic) reviewed". I just want to turn that off, at least until I submit a high rating on an article like "concise", etc. (the highest default one). Al32162 (talk) 17:29, 22 February 2011 (UTC)
- Remove the autoreview right from those groups. Reach Out to the Truth 17:31, 22 February 2011 (UTC)
missing special pages
Somehow, I am missing many special pages that I think were installed by default, but now I can't see.
In the footer, the "Privacy policy", "About XXXX", and "Disclaimers" pages all return a 404 page, as well as the Help:Editing page.
Is there some way I can get these back. I'm assuming that somehow, I blew these away during some of my troubleshooting of other problems earlier. At one point, I re-installed mySQL, because I had originally installed 64 bit, but needed 32bit, so that php would work correctly.
btw, my "special:XXX" pages appear to be working fine.
MediaWiki 1.16.2 (windows - IIS) PHP 5.2.17 (cgi-fcgi) MySQL 5.5.9 Mread5 (talk) 20:10, 22 February 2011 (UTC)
- None of those pages are included with MediaWiki. You have to create them yourself. The software doesn't know what your site is about, or what your privacy policy is, or anything like that; it just provides links to them.
- It also doesn't include help pages, but there's a collection of public domain help pages here on MediaWiki.org that you can import into your wiki. See Project:PD help. Reach Out to the Truth 21:08, 22 February 2011 (UTC)
Search Result Page
I have the following problem: The discription on the Search Result Page contains the Wiki Markup Language of the page. How can I disable or solve this like the MediaWike Search Result Page?
Thank you in advance! 79.219.180.33 (talk) 23:40, 23 February 2011 (UTC)
- We (Wikimedia wikis) use extension:MWSearch to have nicer search pages. Bawolff 06:28, 26 February 2011 (UTC)
- Thank you for your help! But I have a problem. The extension doesn't work. Which IP should I use for the host ($wgLuceneHost = '192.168.0.1';)? 79.219.217.113 22:44, 27 February 2011 (UTC)
- You have to install a lucene server as well. It would be on whatever server you put Extension:lucene-search on. (If its the same as where you have your wiki, try 127.0.0.1 ).
- As an aside, the lucene search stuff is one of the harder to install extensions. Bawolff 01:17, 28 February 2011 (UTC)
- Thank you for your help! But I have a problem. The extension doesn't work. Which IP should I use for the host ($wgLuceneHost = '192.168.0.1';)? 79.219.217.113 22:44, 27 February 2011 (UTC)
English Startpage German Wikipedia
Hi there,
I have installed on my NAS Mediawiki. With PHP 5 and Mediawiki 1.16.2. The database is Mysql 4.0 with unicode support.
After I converted the XML file into a SQL dump with mwdumper and all imported. Then I called on the Mediawiki directory in my web browser. The browser then redirects me to the page on en.wikipedia.org. I think that's stored somewhere en.wikipedia.org home page.
Now my question how I could change that, that I when I load the mediawiki directory to get the data stored in the page.
Please help me
Yours sincerely,
Alexander S. 217.228.16.100 (talk) 09:19, 24 February 2011 (UTC)
Problems with $wgGroupPermissions
Hey there Well,i'm having lots of problems to set user rights in my wiki.I'm trying to block everything except reading to all but administrators. I want to use my wiki for user reference,enabling creating and editing only to personnel of the I.T sector I've created the following on the LocalSettings.php
$wgGroupPermissions['readers']['createpage'] = false; $wgGroupPermissions['readers']['edit'] = false;
Well,despite adding those lines,created users continued to have the permission to create and edit pages
Then i added
$wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['*']['edit'] = false;
And all users,including administrators,lost the permission to create/edit
Any ideia on how to solve this problem? Thanks for the attention 189.42.237.130 (talk) 13:51, 24 February 2011 (UTC)
- $wgGroupPermissions['*']['edit'] = false;
- $wgGroupPermissions['user']['edit'] = false;
- $wgGroupPermissions['sysop']['edit'] = true;
—Emufarmers(T|C) 09:23, 25 February 2011 (UTC)
Exporting pages
I have tried to Export a page from Wikipedia but can't find where it is saved to. Codi727 (talk) 18:21, 24 February 2011 (UTC)
- The export page provides you with standard "Save as ..." dialog to save XML-dump of the acticles you chose.
- May be you're looking for the tool to import them in your own installation of mediawiki. If this is the case you can look there: Manual:Importing_XML_dumps. 188.120.245.248 12:07, 28 February 2011 (UTC)
Need help with an if statement in custom extension
I need assistance to add an "if" statement on this extension (Source AR-Tabs.php custom extension) to only add a tab such as this based on the namespace of the page.
Basically if the namespace is Custom1:Anypagename, i want to see the additional tab, but if the namespace is null or anything other than Custom1, then i do not want the tab visible...how would i create an if statement around this?
The times i attempted i was brutally shut down...
Source: Manual:FAQ#How_do_I_remove_the_article.2Fedit_etc_tabs.3F Oryulin (talk) 19:13, 24 February 2011 (UTC)
- This assumes you're using this within a template file but try:
if ($this->data['nsnumber'] == fooId) { ... } </nowiki>- Where "fooId" equals the namespace id of the namespace you want the if to catch. Assuming your skin prints the standard JavaScript variables, you can find this namespace id by viewing any page within the namespace and looking for the "wgNamespaceNumber" variable and the id associated to it.
- Alternatively, you can look for the JavaScript variable "wgCanonicalNamespace" and check like:
If ($this->data['nscanonical'] == "namespace") { ... } </nowiki>- Where "namespace" equals "Custom1". Unifiedrepublic 07:25, 1 March 2011 (UTC)
Google Maps extention
I've got Google Maps installed in MediaWiki en I get te next error:
Warning: Parameter 3 to Google Maps render16()expected to be a reference, value given in path/Parser.php on line 3333
Can't find what I did wrong or what's wrong.
Thanks! 91.146.185.245 (talk) 22:34, 24 February 2011 (UTC)
- Problem solved:
- Edit the file GoogleMaps.body.php
- Change this line:
function render16 ( $pContent, $pArgv, &$pParser ) {- to
function render16 ( $pContent, $pArgv, $pParser ) {- It seems to be a PHP5.3 side effect. The error you get after upgrading to the newest stuff is:
- Warning: Parameter 3 to GoogleMaps::render16() expected to be a reference, value given in ../includes/parser/Parser.php on line 3236 13:29, 29 September 2009 (UTC) - fixed by a random frustrated webmaster 91.146.185.245 11:59, 25 February 2011 (UTC)
Assigning dates automatically?
Hey all,
Here's what I'm trying to do:
- I defined a "release date", let's say it's on the 1st of April
- I define tasks which require to be finished before the "release date"
- -> I want to automatically assign these dates based on some super simple functions ... that I'm not finding
E.g. in Excel, I define the date and then I just put in other cells [ = ReleaseDate - X ]. So super simple ....
I've been trying to find out how I can do it with mediawiki or if some extensions could do it for me. But not luck :( Ccphuni (talk) 09:01, 25 February 2011 (UTC)
- You need extension:ParserFunctions to do that. Bawolff 06:25, 26 February 2011 (UTC)
- Hi Bawolff and thanks a lot for your reply.
- Like the extension a whole lot but I can't seem to be able to define a specific date that is used elsewhere unless I put in that given date all over the place.
- E.g.:
- I have a defined "release date", let's say it's on the 1st of April
- I define task 1, which should be done 7 days before the "release date"
- Using {{#time: d.m.Y | 01.04.2011 - 7 days}} gives me the right date. But the issue is that I have to define the "release date" for every single task.
- What I'm trying to do is to call for "release date" within the tasks, e.g. {{#time: d.m.Y | "release date" - 7 days}} Ccphuni 16:53, 2 March 2011 (UTC)
- You could make another template, template:release_date which contains just the release date. then you could do {{#time: d.m.Y | {{release date}} - 7 days}} Bawolff 17:58, 2 March 2011 (UTC)
incategory does not work?
Hi,
got a mediawiki installation (1.16). I have some categories with articles in it. Now I try to search with the parameter incategory like:
+incategory:"Glossar"
But it does not work. Even in a new (tested) installation it does not work. Can anyone help me please as this should work.
Thanks! 213.196.195.159 (talk) 19:19, 25 February 2011 (UTC)
- It is a lucene-search-specific featutre not present in default search engine. Max Semenik 19:25, 25 February 2011 (UTC)
- ah thanks a lot. Wondering why this is not mentioned on the help:searching site. 195.14.204.49 17:10, 28 February 2011 (UTC)
Declaring variables?
Transcluded from Help talk:Extension:ParserFunctions#Declaring variables.3F (--Theaitetos 21:11, 25 February 2011 (UTC)):
Is there a possibility to declare variables with the Parser Functions (or maybe an extension)? An example:
- if
{{{param}}}is "foo",{{{color}}}should be red and{{{width}}}50 - if
{{{param}}}is "bar",{{{color}}}should be green and{{{width}}}100 - at the end of the code, there is one code for all cases, like this:
<div style="color: {{{color}}}; width: {{{width}}}px">Text</div>
At the moment, I have to write a code like this:
{{#switch: {{{param}}}
|foo = <div style="color: red; width: 50px">Text</div>
|bar = <div style="color: green; width: 100px">Text</div>
}}
I hope you understand what I want to say.--Harmageddon 13:41, 20 February 2011 (UTC)
- #vardefine is way easier:
{{#ifeq: {{{param|}}} | foo | {{#vardefine:width|50}} {{#vardefine:color|green}} | (else) }}. Then use{{#var:width}}and{{#var:color}}. --Subfader 16:20, 21 February 2011 (UTC)- If you do not have access to the VariablesExtension, you can make use of the switch functions ability to have "fall through" values:
{{#switch: {{{param}}} | case1 = result1 | case2 | case3 | case4 = result2 | case5 = result3 | case6 | case7 = result4 | default result }}- Here cases 2, 3 and 4 all return
result2; cases 6 and 7 both returnresult4, e.g. set results like this:
- Here cases 2, 3 and 4 all return
{{#switch: {{{param}}} | case1 = <nowiki><div style="color: red; width: 50px">{{{Text}}}</div></nowiki> | case2 | case3 | case4 = <nowiki><div style="color: red; width: 75px">{{{Text}}}</div></nowiki> | case5 = <nowiki><div style="color: red; width: 150px">{{{Text}}}</div></nowiki> | case6 | case7 = <nowiki><div style="color: red; width: 200px">{{{Text}}}</div></nowiki> | <nowiki><div style="color: red; width: 100px">{{{Text}}}</div></nowiki> /* this is the default value }}- If you expect certain values for your parameters you have to write them all down anyway. This way you have to write down all combined parameters, which might be a lot. The other option is to use a second template inside the first one, and have your values as parameters in the implemented template call, e.g. if the second template is called {{Rainbow-2}}, then write {{Rainbow}} as follows:
{{#switch: {{{param}}} | case1 = <nowiki>{{Rainbow-2|Text={{{Text}}}|param={{{param}}}|color=purple}}</nowiki> | case2 | case3 | case4 = <nowiki>{{Rainbow-2|Text={{{Text}}}|param={{{param}}}|color=red}}</nowiki> | case5 = <nowiki>{{Rainbow-2|Text={{{Text}}}|param={{{param}}}|color=yellow}}</nowiki> | case6 | case7 = <nowiki>{{Rainbow-2|Text={{{Text}}}|param={{{param}}}|color=green}}</nowiki> | <nowiki>{{Rainbow-2|Text={{{Text}}}|param={{{param}}}|color=blue}}</nowiki> /* this is the default value</div> }}- Case 1 gives a purple text, case 2, 3 and 4 all red texts, and so forth. That way you can split the colors and width depending on the value of param. If, for example, you expect certain param patterns like "big red" or "little blue", then start the template with an
{{#ifexpr: {{#pos:{{param}}|red}}+1 > 1 | {{Rainbow-2|param={{{param}}}|color=red}} }}, and similar for the other colors. Then have the second template Rainbow-2 make that test on the expected size-values of the {{param}} parameter, like{{#ifexpr: {{#pos:{{param}}|little}}+1 > 1 | <div style="color: red; width: 75px">{{{Text}}}</div> }}. --Theaitetos 21:12, 25 February 2011 (UTC)
- Case 1 gives a purple text, case 2, 3 and 4 all red texts, and so forth. That way you can split the colors and width depending on the value of param. If, for example, you expect certain param patterns like "big red" or "little blue", then start the template with an
- #vardefine is way easier:
urldecode
Is there any urldecode function available somewhere in MediaWiki, i.e. doing the opposite of {{urlencode}}? Theaitetos (talk) 21:40, 25 February 2011 (UTC)
Table 'wikidb.knowledge_archive' doesn't exist
Am new to using Mediawiki. I set it up on a local machine and it has been running good. Today when I went to Webmin and clicked on the database to make a back up I got the following error
SQL show index from `knowledge_archive` failed : Table 'wikidb.knowledge_archive' doesn't exist
Great! My question since it seems to be missing, just how do I correct it so I can make a backup? I am afraid to restart the mysql service as the service is running currently here is some information about the mediawiki version and such.
Product Version
MediaWiki 1.16.2
PHP 5.3.3 (apache2handler)
MySQL 5.1.42
system URL: http://pclinuxoshelp.com
I am also running Webmin Youcantoo~mediawikiwiki (talk) 23:27, 25 February 2011 (UTC)
- Odd. I can't find any information about a "knowledge_archive" table existing in any MediaWiki installation, ever. It also doesn't seem to be part of Webmin. I don't know why it expects to find it or why it's not there, but you shouldn't need it for MediaWiki. Reach Out to the Truth 05:00, 26 February 2011 (UTC)
- Sounds like the archive table, using a db prefix of knowladge_ (or at least that's where that table name would come from). However it appears you're using a db prefix of pcloskb, not knowladge.
- This sounds like a webmin issue more than a MediaWiki issue. Perhaps try using a different tool to back up your wiki Bawolff 06:12, 26 February 2011 (UTC)
- I did use phpMyAdmin to export the information. Tomorrow I will import it into my test machine and will see just what happens. I am not sure why this would all of a sudden happen when it has been working just fine. It is just plain odd to what is going on with it. Youcantoo 08:26, 26 February 2011 (UTC)
"The upload directory (public) is not writable by the webserver."
I take it all back: SELinux was blocking uploads and it wasn't reporting the problem...
- Fedora 14 (x86)
- MediaWiki 1.15.4
- PHP 5.3.5
- MySQL 5.1.55
- Stock configuration
(Mea culpa: blinded by infuriation and frustration, this should've been posted over at Support Desk. If someone can shift the discussion there, I'd be much obliged.)
OK... I've done this a million ways, and I keep getting this damned "The upload directory (public) is not writable by the webserver" error. Apache is running fine. PHP is running fine. MySQL is running fine. MediaWiki does work, but uploads don't.
Or should that be "won't"? Whatever.... The following "usual suspects" have been ruled out:
chmod -R 755 …/imagesmakes no differencechmod -R 777 …/imagesmakes no differencechown apache:apache …/imagesmakes no difference/etc/php.inihasfile_uploads = On/etc/httpd/conf/httpd.confis as it should be (DocumentRootset to/var/www/html)- Aliases in
/etc/httpd/conf.d/mediawiki.confis as it should be (Alias /mediawikiset to/var/www/mediawiki) - Adding "
error_reporting( E_ALL ); ini_set( 'display_errors', 1 );" toLocalSettings.phprevealed nothing (except for a deprecation error involving Extension:Calendar (Cdamian)) - And even though "uploading" by maintenance/importImages.php works, it is not an acceptable substitute.
After figuring all that out, I cleared out everything and did a fresh installation - I even followed the installation manual to the letter. The only — repeat: only — change to LocalSettings.php was to set $wgEnableUploads to true. No extensions, no add-ons, no plug-ins, no require_once, no nothing, and no dice: the upload directory (public) is still not writable by the webserver.
So... what the hell is going on here? "The upload directory (public) is not writable by the webserver" is complete, total, and utter mother-@#$%ing bull*&^~ (let alone uninformative and borderline grammatical). A heavily-customized installation has this problem, and so does a brand-spanking new installation. What am I overlooking? What haven't I considered? And why, oh, why can't MediaWiki Just @#$%ing Work?!
Thanks for the help (or, at least, the opportunity to vent... >_< )
NeoAmsterdam (talk) 00:10, 26 February 2011 (UTC)
- Same problem here, apart from the fact that I didn't have SELinux installed... But I tried about everything else first, too. The only way I could finally solve the problem was with chmod -R a+w .../images. No clue why it wasn't enough to give the just user running apache w rights. If anyone has an idea what went wrong or how I can make this more secure (I'm a Linux noob but I think this is a security risk?) please let me know! 40%-Dummy 22:18, 5 December 2011 (UTC)
Error creating Thumbnail image
Problem Image 1
Problem Image 2
Problem Image 3
I'm having issues displaying the above images, and any other new image I upload, as thumbnails on a gallery or wiki pages. Is there a special code I need to use, are the files incompatible, or am I doing something wrong? 174.26.82.105 (talk) 03:52, 26 February 2011 (UTC)
- Could be caused by either something very wrong with your copy of imageMagick, or perhaps manual:$wgMaxShellMemory is set too low (or your host puts other memory limits on you). Try reading through Manual:Image_thumbnailing. If you have shell access, you can check if you can manually thumbnail an image using convert on the command line (to narrow down the problem). Bawolff 06:22, 26 February 2011 (UTC)
Use same database for two different domains
I have my own server and I host my own websites. I want to set up two Wikis with different domain names, however I want them to use the same database. Can this be done and if so, can you tell me here or where to find clear, concise information on how to set it up? Codi727 (talk) 14:48, 26 February 2011 (UTC)
- While installing Mediawiki you have to supply installation script with correct mySQL credentials.
- These are:
- Database name (which should be the same for both of your wikis)
- Username and password
- You should take care of database prefixes for your installations. See Manual:$wgDBprefix. 188.120.245.248 12:13, 28 February 2011 (UTC)
- I didn't explain it well enough...Sorry.
- I don't want to use different table extension such as a_table and b_table.
- I want both domains to pull from the existing tables in a single database as is and display the info and images on either domain.
- Say Domain 1 has a table "pages" and stored in that table are all the pages from that domain. I want domain 2 to be able store its pages (of different names) in the same database and both domains to be able to pull thoses pages from there in addition to being able to store pages from each domain and extracting them at will from either domain.
- If I store a page, say "horses" for example, in the database from domain 1, I want to be able to click a hyperlink on domain 2 and be able to pull the info and images stored in the database by domain 1 into a page on on domain 2 named "horses"
- I know, clear as mud right?
- MediaWiki: v1.16.0 | PHP: v5.2.14 (cgi-fcgi) | MySQL: v5.1.52 | Apache: v2.2.17 | All assistence is greatly appreciated. Codi727 18:04, 28 February 2011 (UTC)
- Assuming both domains are running on the same server in different virtual hosts, it should be as simple as specifying the same database information for them. Just ensure the following variables are the same across both installations: $wgDBserver, $wgDBname, $wgDBuser, $wgDBpassword, $wgDBprefix.
- If that's true, they should be effectively sharing all information. Unifiedrepublic 07:03, 1 March 2011 (UTC)
- I'm not sure what the consequences for caching would be. It should be possible, as Wikimedia uses a setup like that, where en.wikipedia.org is also accesible via secure.wikimedia.org -- Bryan (talk|commons) 13:20, 2 March 2011 (UTC)
- Try setting it up on your localhost using two different domains in your hosts file. If there's not a problem there, there shouldn't be a problem in a virtual host situation.
- Each installation of MediaWiki will cache independently of each other unless you're hoping to use the same installation with two different sites, in which case, that's a custom scenario and I don't think you should be posting here but at a different forum for people trying to do weird things with their installations. Not a forum for general help questions. Unifiedrepublic 06:40, 3 March 2011 (UTC)
- As far as I'm aware the cache keys are based on wfWikiId(), so they would use the same cache items.
- Note that it is not helpful to redirect users with support questions to non-existing forums, if you want to do weird things with MediaWiki this place is probably the place where the most knowledged users reside. -- Bryan (talk|commons) 10:58, 3 March 2011 (UTC)
- I am also in this situation. I am using the same Database for two wikis. The reason for this is that I had to move to a free host and the free host didn't have the level of Database software required to run the Wiki. I had another commercial site on another server that did have the level of Database required. So I decided to have the wiki on the free host use the database on the paid host. I can't have it all on the paid host because the paid host allows only one domain but multiple databases :-)
- The only problem I've had is that the free host is very slow when accessing the database on the paid host.
- Does anyone have any idea why this might be?
- Free: http://informationism.org/mediawiki/index.php?title=Main_Page
- Paid: http://www.glenorchy.net.nz/mediawiki/index.php?title=Main_Page Andrewrutherford 09:28, 25 November 2011 (UTC)
- I'm not sure what the consequences for caching would be. It should be possible, as Wikimedia uses a setup like that, where en.wikipedia.org is also accesible via secure.wikimedia.org -- Bryan (talk|commons) 13:20, 2 March 2011 (UTC)
Search Suggestions not working... [FIXED]
I'm using MediaWiki 1.16.2, and PHP Version 5.2.13. I am using the vector skin for my wiki.
In my LocalSettings.php, I have these settings:
$wgEnableAPI = true; $wgEnableMWSuggest = true; $wgOpenSearchTemplate = true; $wgUseAjax=true;
The wiki, if you need to see it, is here. The search suggestions just aren't working! Can anyone help? 108.28.115.114 (talk) 21:35, 26 February 2011 (UTC)
- Works for me. Reach Out to the Truth 22:15, 26 February 2011 (UTC)
- Any special adjustments or something? Should I take out all the other stuff besides $wgEnableMWSuggest? 108.28.115.114 22:21, 26 February 2011 (UTC)
- No, you shouldn't need to adjust anything. It works for me, so the server configuration seems to be fine. Perhaps you're running into a client-side problem? Have you tried clearing your browser cache and reloading? Reach Out to the Truth 23:18, 26 February 2011 (UTC)
- Nothing client side, Ctrl+F4 doesn't do anything with the search bar...
- I'm hosted on 000webhost, btw. 108.28.115.114 23:48, 26 February 2011 (UTC)
- Try using it with Firefox + Firebug. Do you see JS errors or files that failed to load? Max Semenik 10:51, 27 February 2011 (UTC)
- After checking the code, it says that "<input type="text" value="" accesskey="f" title="Search Sploderpedia [alt-shift-f]" name="search" id="searchInput" autocomplete="off">". Changing the autocomplete to "on" works, but I can't get it working without changing the value manually. 108.18.145.61 22:00, 27 February 2011 (UTC)
- Try using it with Firefox + Firebug. Do you see JS errors or files that failed to load? Max Semenik 10:51, 27 February 2011 (UTC)
- No, you shouldn't need to adjust anything. It works for me, so the server configuration seems to be fine. Perhaps you're running into a client-side problem? Have you tried clearing your browser cache and reloading? Reach Out to the Truth 23:18, 26 February 2011 (UTC)
- Any special adjustments or something? Should I take out all the other stuff besides $wgEnableMWSuggest? 108.28.115.114 22:21, 26 February 2011 (UTC)
- FIXED: I removed everything except for the $wgOpenSearchTemplate = true; and it started working :D! 108.18.145.61 22:19, 27 February 2011 (UTC)
- Mediawiki 1.19.2
- PHP 5.3.17
- The search suggestions just aren't working! Tree1891 (talk) 18:11, 17 September 2012 (UTC)
How do I determine the version of MediaWiki from the database?
So my hosting provider basically lost my entire website, but I have a backup of the database. I know that I have an install that is 1.5.x but I can't determine which version I had installe d (i installed it probably 3 years ago), and my attempts to just use 1.5.8 (and edit the database info) have failed unfortunately.
Anyone have any ideas on how I can determine which version of MediaWIki my database is for just based on the database?
This site was here: http://web.archive.org/web/*/http://wiki.wc3mods.net/
Thanks in advance! 76.31.26.135 (talk) 00:36, 27 February 2011 (UTC)
- You were running 1.5.8. Upgrade. —Emufarmers(T|C) 03:08, 27 February 2011 (UTC)
Error creating thumbnai
Version used:
Mediawiki 1.16.1 Apache/2.2.17 (Win32) DAV/2 mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1 Server at localhost Port 80
Error creating thumbnail: convert.exe: unable to open image `C:\www\mediawiki/images/f/fc/Testbild.jpg': No such file or directory @ error/blob.c/OpenBlob/2587.
convert.exe: missing an image filename `C:\www\mediawiki/images/thumb/f/fc/Testbild.jpg/800px-Testbild.jpg' @ error/convert.c/ConvertImageCommand/2960.
Error accurs when using the file upload wizard. Additional message comming up: File extension does not match MIME type.
any help would be appreciated 84.155.91.5 (talk) 14:07, 27 February 2011 (UTC)
Starter questions about MediaWiki
Hello,
Before I even consider using MediaWiki to create a project, I'd like to know a few things that I couldn't find easily and would love cleared up.
Firstly and most importantly: how are MediaWiki wikis edited? I've never been able to work this out. It doesn't say if it uses WYSIWYG, PHP, JavaScript, HTML/CSS, or what.
Also, I'd like to know if MediaWiki... -Has the option to create a favicon -Has the option to have a custom domain -Costs to use -Includes discussion forums for a project -Is ad-free, or if it charges to remove adverts
I hope someone can help :). 86.6.21.176 (talk) 19:34, 27 February 2011 (UTC)
- MediaWiki uses wikitext. See Help:Editing to learn how to use it.
- There's also limited support for HTML. You can add JavaScript and HTML as you please, although JS cannot be directly embedded in wikitext for security reasons.
- For the rest of your points:
- By default, MediaWiki will use favicon.ico in your website root as the favicon. If you'd like to use an image from another location, modify
$wgFaviconappropriately. (Manual:LocalSettings.php explains how to customize your settings.) - Custom domain support will depend on your hosting provider. We do have documentation on how to create a wiki family though.
- The MediaWiki software itself is free. If you're using a third-party hosting provider, they might charge. Be sure to ask them about the costs.
- Every page on the wiki has its own talk page where discussions can take place. Or you can hold discussions wherever you like. That's up to you to decide. There are also extensions available to enhance the forum capabilities. The threaded discussion happening right here is made possible by Extension:LiquidThreads; you may be interested in that.
- By default MediaWiki is completely ad-free. Advertisements can be added though, and if you're using a third-party hosting provider they might add advertisements. That's another thing you'd have to ask your provider about. Reach Out to the Truth 22:29, 27 February 2011 (UTC)
- By default, MediaWiki will use favicon.ico in your website root as the favicon. If you'd like to use an image from another location, modify
Install LuceneSearch
I have a problem to install the LucenceSearch 2.1 to use the MWSearch-Extension. I have donwloaded the files an put it on my Webserver (myDomain.de/wiki/extensions/Lucene/...) How can I install the LucenceSearch. I'm a normal user and not an IT Expert. I have tried the steps in the README, but without success. Could anybody help me?
Thank you in advance! 79.219.217.113 (talk) 23:56, 27 February 2011 (UTC)
Mysterious password prompt
Hi Guys,
We have set up a mediawiki site on our web server, and all of a sudden, some of our users report that they are prompted for a username / password by their browser (in a pop-up window), whenever they try to load a page from the Wiki. It doesn't matter if they press cancel or ok, on the prompt dialog, or if they enter any username / password or not. The Wiki page always shows the correct pages anyway - very mysterious.
We are running several other services on the same server, and we don't see this login prompt anywhere else.
Our versions:
MediaWiki 1.15.1 PHP 5.3.2-1ubuntu4.5 (apache2handler) MySQL 5.1.41-3ubuntu12.8-log
Kind regards Underminer~mediawikiwiki (talk) 11:50, 28 February 2011 (UTC)
- I've seen this when browser testing across Firefox, IE, Chrome, and Safari. Most often it tends to happen with WebKit browsers. Ensure that none of the extensions you're using have PHP errors in them that might effect the headers, especially custom written ones. This will then make that go away. Sorry, wish I could be more specific but without knowing what extensions you're running, it's impossible to tell. If it's no extensions at all, then there is a problem with your environment and, that, I do not know the answer to. Sorry. Unifiedrepublic 07:07, 1 March 2011 (UTC)
- Thanks for your response Unifiedrepublic. After your mail, I started to poke around in the source code and the html source on the browser, and I realized that I had read-protected the directory containing the logo image file. Rather embarrasing actually :-\ , but it is fixed now. The whole debugging process got slightly complicated by the fact that some users experienced the problem while others didn't. Those who didn't have this problem already had the image file in the browser cache, and thus didn't have to get it from the server after I read-protected it...
- Sorry for the inconvenience Underminer 09:27, 1 March 2011 (UTC)
Generate chat graph with a table
Hello
How I can generate graph with value which are in a table ?
Exemple of table:
| JANVIER | 322 |
| FEVRIER | 549 |
| MARS | 122 |
| AVRIL | 542 |
Sincerly. Hdt. 82.243.170.223 (talk) 21:18, 28 February 2011 (UTC)