Hi, the Malay language is still evolving with changes in spelling or terminology. How do I do a global word replacement? PM Poon 10:51, 22 September 2007 (UTC)
Hello - I'm the owner of ZeldaWiki.org, and we're having some pretty troubling issues at the moment. They are twofold:
My previous URL schema was /pagename. I have changed it to /index.php?title=pagename in order to fix this URL issue - clicking on any of the tabs at the top of the page brings you to an odd index.php page when the URL schema is the former. It is, however, crucial that the short URL's are working. --Jason 11:30, 22 September 2007 (UTC)
Hi
Im trying to add links into the footer section and just wondering how to do this through MonoBook.php.
Ive found the section:
// Generate additional footer links ?> <ul id="f-list"> <?php $footerlinks = array( 'lastmod', 'viewcount', 'numberofwatchingusers', 'credits', 'copyright', 'privacy', 'about', 'disclaimer', 'tagline', ); foreach( $footerlinks as $aLink ) { if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) { ?> <li id="<?php echo$aLink?>"><?php $this->html($aLink) ?></li> <?php }
And wish to add page links in here. For example, Id like to have a link in here called:
Change Log
That goes to page
http://<server>/mediawiki/index.php/Change_Log
I cant hard code the full url path, because my server is accessed via 2 different urls, so I need to somehow put the new entry in without hardcoding the server name. Thank you. —58.175.32.115 23:51, 22 September 2007 (UTC)
$url = Title::newFromText('ArticleTitle')->getLocalURL(); # not using any query string items $url = Title::newFromText('ArticleTitle')->getLocalURL('action=foo'); # using query string items
Hi Nad! Thank you heaps! You really do know your stuff!!! :>) Thank you.
When i go to my wiki, it comes up with a message saying
"In order to configure the wiki you have to make the config subdirectory writable by the web server. Once configuration is done you'll move the created LocalSettings.php to the parent directory, and for added safety you can then remove the config subdirectory entirely."
I do not have access to the server, what should i do? —75.17.17.185 15:41, 23 September 2007 (UTC)
Thanks for your help =)
Is it possible to call the command-line tool (dumpBackup.php
for example), located in the maintenance directory, without having access to the command line? I mean - php code should be able to call other php code...
Thanks for help, -PMay 16:54, 23 September 2007 (UTC)
I'm aware that this probably sounds noobish, but I would like some basic information on how to add the rel="nofollow"
attribute to the <a href>
tags for a specific interwiki link prefix. The wiki that I aid in administrating is trying to avoid boosting this one site's rankings as much as possible, which is difficult, seeing as we frequently link to them. I'm very inexperienced at PHP coding, and any assistance would be much appreciated. —Linus M. 17:44, 23 September 2007 (UTC)
Hi guys!
Id like to include the NEWSECTIONLINK on every page/and every newly-created page, by default in the Main Namespace. Appreciate if someone could give me some pointers. Thanks —58.175.32.115 02:44, 24 September 2007 (UTC)
$wgHooks['ParserBeforeStrip'][] = 'wfAddNewSectionLink'; function wfAddNewSectionLink(&$parser) { if ($parser->mTitle->getNamespace() == NS_MAIN) $parser->mOutput->setNewSection(true); }
Thanks Nad champion. I will give it a try :>)
Nad gave it a try and it didnt add. Wondering if there is any way to add this to a template, and the template is called for every page in the Main Namespace.
OK, my English is not so good but I hope you'll understand me anyway.
I want to protect my articles of viewing by anyone except a special group. If anyone else is trying to watch these articel, protected by me, he will be shown an older version that was released earlier. It's a kind of quality management. As long the newer informations are not checked by anybody in that special group, the older version of this articel should be shown. Is there any extension or a possibility of MediaWiki to do that? —213.214.18.64 06:52, 24 September 2007 (UTC)
Hi!
Just wondering if there is an extension that will allow you to upload files directly into a page instead of using the "Upload File" option, which you then have to reference what file you have uploaded into the page. —58.175.32.115 08:41, 24 September 2007 (UTC)
I want to display one message at top of any any article that will be decided by administrator. Please have one look at w:en:Honesty and tell me how to implement it in mediawiki
Thanks in advance
—Bpishere 11:00, 24 September 2007 (UTC)
Whenever I try to enter my wiki, this error pops up:
Warning: posix_uname() has been disabled for security reasons in /home/diez2/public_html/wiki/includes/Setup.php on line 80
Also, the function in setup.php on line 80 is:
if ( function_exists( 'posix_uname' ) ) { $wguname = posix_uname(); $wgNodeName = $wguname['nodename']; } else { $wgNodeName = ''; }
What is going on here? 72.149.111.10 12:38, 24 September 2007 (UTC)
This is a Simple Forms issue so I've moved it to Extension talk:Simple Forms --Nad 21:09, 24 September 2007 (UTC)
I am trying to generate a SQL Query so I can do some custom search's on the database trying to find some information. Can someone please help me with this query? I don't think I have it 100% correct to only pull CURRENT articles that match certain items i will insert into the query string.
SELECT page_id, page_title, old_text FROM wikidb.page, wikidb.revision, wikidb.text WHERE page_title like '%A Title%' AND old_text not like '%#REDIRECT%' AND page_id=rev_page AND page_latest=rev_id AND rev_text_id=old_id ORDER BY page_title
—143.166.226.40 22:27, 24 September 2007 (UTC)
Hi, I'm sorry I can't help you with finding the current version because I have only downloaded the dump without the old versions. But one hint: replace "AND old_text not like '%#REDIRECT%'" with "AND page_is_redirect=0". This should improve the performance significantly.
Hi
I'd like to optimize my wiki specially for mobile phones. So I have to limit the size of pages and images. How can I manage this, I couldn't find any informations about this topic. THX
—Hfritschi 07:16, 25 September 2007 (UTC)
Thanks for your advice I changed the skin to chick but it's not exactly what I want because the skin is changed when I open the page on my mobile. I'd like to limit the count of characters so the pages won't be to big for downloading on the mobile. --Hfritschi 13:52, 25 September 2007 (UTC)
Hi i am new to mediawiki and have always wanted to install a wiki on my site but for the past few days i've been having quite a bit of errors with different versions of your installs i first downloaded 1.6 and it gave me an error saying the string was to long(1024) when inserting into mysql db then i downloaded 1.11(current version) it gave me the same error so finally i downloaded 1.9.3 then i received error saying incorrect php version(my hosting has 5) so i fixed that now i have the page successfully installed but when i click the link it provides after the install i get a blank white page http://wiki.clanska.net/index.php?title=Main_Page i know the php script is working because if you try just typing wiki.clanska.net it automatically puts in http://wiki.clanska.net/index.php?title=Main_Page has anyone else had this problem with there installing of the wiki on there godaddy hosting? —Idiot nation2000 14:57, 25 September 2007 (UTC)
Installed several version of MediaWiki, as well as used both PHP4 and PHP5 but continued to receive blank pages. Solution was to change $wgDisableOutputCompression to true in LocalSettings.php --75.66.50.139 04:40, 13 November 2007 (UTC)
Is it possible to delete old Image-Versions permanently?
I've seen that they are stored in the folder "deleted" and were renamed, so I don't know which pic I could delete. Is there any better way to do this?
Thanks for help! —84.60.19.172 21:35, 25 September 2007 (UTC)
Just did a fresh install. I have $wgLogo configured correctly, but it does not show on my pages when viewing them normally. It does however show when I go to edit a page. I am assuming this is an issue with some script path. Any suggestions? Thanks. --97.100.47.148 21:36, 25 September 2007 (UTC)
Got the same problem. My problem was that I set the path to the logo relatively ( ./images/mylogo.png ). That won't work 'caus the URL changes between edit and view-mode. Just gave a explicit address ( http://myurl:port/images/mylogo.png ) and it worked. Hope that it's helpful for you. Mfg, Chris
The uploading to my site is working great except when its a rather large image. Instead of creating a thumbnail for it, it's taking me to a blank page. I have other images that are smaller that are working fine.
Here is an example of one not working: [[1]] The direct link here [[2]] where it uploaded is fine..
As you can see from my [Imagelist] it's working fine for the other images.
What am I doing wrong? —Eroc 21:53, 25 September 2007 (UTC)
Hi there,
I'm a newbie with wikimedia. I installed it described in the manual and it works fine. Now I have one problem. We want to use wikimedia in our intranet. For the usage, it is necessary, that we can place links to files on our fileserver. But the only links i can set, are http, ftp, media and picture. I read some faq's, but i didn't found an answer. how can I link e. g. *.doc - files on a intranet - fileserver?
thank you
donhuan78p
—Donhuan78p 08:35, 26 September 2007 (UTC)
hello,
i am using mediawiki version 1.11 and now i want to use the geshi extension. i installed it how the manual tells but it doesn't work. please help me.
thx gorac
—194.94.72.252 11:35, 26 September 2007 (UTC) There are many different GeSHi extensions, which one did you use? and what are the details of the problem that's happening?
--82.230.53.160 18:08, 13 October 2007 (UTC) I have the same problem, using "SyntaxHighlight GeSHi" (it works fine before upgrade). Any tips or fix ?
Can I add an html. link into the Main page?
$wgRawHTML
set to true
in your LocalSettings.php, see Manual:$wgRawHtml, to be able to use HTML --Dr DBW | talk 22:42, 26 September 2007 (UTC)
$wgRawHTML
is very dangerous. Use Extension:HTMLets -- Duesentrieb ⇌ 23:30, 26 September 2007 (UTC)
Hi all,
I'm a user at the galician wikipedia. We have some images there in .jpg format that exist in commons in .svg format, and a template that uses the images in .jpg. I tried to use the expression {{#ifexist:}} to choose the svg image if it exists in commons and the local jpg if not, but i realized that this can't be done, it just can check wether a local page exists or not. Does anyone know if there is some way to do this check? I hope I have explained myself, if not just let me know. Thanks in advance. —Banjo 20:19, 26 September 2007 (UTC)
If you click on Special:Random you go to a page in the main namespace. If you click on Special:Random/Help you go to a page in the help namespace. Is is possible to specify which namespaces will be included if you click on Special:Random? Or does there exist another way for doing this? SPQRobin 21:23, 26 September 2007 (UTC)
Hi,
I'm running MediaWiki 1.11.0, and I am experiencing problems with the {{BASEPAGENAME}} variable which does not seem to work correctly for sub-pages. For a Page named Something:Foo/Bar, instead of returning 'Foo', it returns 'Foo/Bar'. Any ideas? —194.112.191.2 23:47, 26 September 2007 (UTC)
With $wgHashedUploadDirectory set to true, MediaWiki 1.11.0 is creating image subdirectories with permissions=644. That's not good; they need to be 755. Is this a known issue? Is there some configuration option I need to set?
MediaWiki: 1.11.0, PHP: 5.2.4/phpsuexec, MySQL: 4.1.22-standard, Linux 2.6.19.2-grsec — 71.232.147.135 01:02, 27 September 2007 (UTC)
I have the same issues here - has this progressed any further? 138.251.148.101 12:17, 8 February 2008 (UTC)
I just edited includes/GlobalFunctions.php and changed wfMkdirParents. In my 1.11.1 install it claimed to have "777" for a default but it doesn't actually work. You need to do a little trick with 'umask' around the actual mkdir call. Here's what I did. I replaced the 'return mkdir ...' line in that function with:
$old_mask = umask(0); $val = mkdir( str_replace( '/', DIRECTORY_SEPARATOR, $fullDir ), $mode, true ); umask($old_mask); return $val;
This seems to have fixed it for me. Sk4p 15:12, 21 February 2008 (UTC)
I'm trying to create Belarusian Tarashkevitsa Cyrillic <-> Latin converter based on Crimean-Tatar converter written by AlefZet.
I tested it on XAMPP 1.6.3a (Apache HTTPD 2.2.4, MySQL 5.0.45, PHP 5.2.3) for WinXP with MediaWiki 1.11.0, but it's works incorrectly in cases where regular expressions with Cyrillic characters (UTF-8) are involved.
What is correct configuration of PHP (php.ini) must be for work of regular expressions with UTF-8 characters?
Thank you for help.
EugeneZelenko 03:18, 27 September 2007 (UTC)
The OSC practice has the following WIKI http://hpedia.fc.hp.com/index.php/Outsourcing_Solutioning_Methodology. We wanted to know more about he visitor count for this page. The count is provided at the bottom of the page. Is the count set to "0" (Zero) begining of every month or its a cummulative count that is depicted in the page. —15.219.201.69 04:00, 27 September 2007 (UTC)
Hi guys. This is most likely by design, but I thought Id mention it.
I want to use the Extension ArticletoCategory, so when I go to a Category page, I can enter the name of a new page in a text box, and it threads in automatically, the Category name.
This works fine on its own.
However, I also use the Extension Preloader, and i have a 1 liner in the file Template:Boilerplate , which I attach to all pages created in the Main Namespace by default. It is __NEWSECTIONLINK__ . It looks like you cant use the Preloader and Template Boilerplate WITH the Extension ArticleToCategory. What happens is that if you try and create a new page FROM a Category page, and input the name of the new page, the Extension ArticleToCategory ceases to work, and the Category name is not automatically inserted into the new page's contents. Only the Preloader text is there. If someone else could verify this, or could tell me that you cant use Preloader with Extension ArticleToCategory, that would be great. I would also be great if you could use both together. Thank you.
—58.175.32.115 07:14, 27 September 2007 (UTC)
I wonder if it is possible to allow user registration only after confirmation/approvement by SYSOP. Couldn't find it anywhere. --82.113.113.81 09:32, 27 September 2007 (UTC)
Is it possible to create own Categories, so I can add pages to this "category"?
Example: I'm planning a wiki about books and want to allocate this book to an author, so I get a complete listing of all books from this author automatically. If I do this with a Category, the page has the name "Category:Name of the Author". My wish is, to get the name "Author:Name of the Author". Is there any way to do this?
Thanks for help -80.141.61.210 10:58, 27 September 2007 (UTC)
{{DISPLAYTITLE:Author:{{PAGENAME}}}}
in the author category to change its displayed title, then create corresponding article called "Author:xxxx" which redirect to the appropriate category.{{#dpl:category={{PAGENAME}}|mode=category}}
which would then behave just like the category page would do.Both methods should have the "Author" namespace added. --Nad 11:16, 27 September 2007 (UTC)
I Cannot upload anything on my wiki. If i do that it gives this error.
Internal error
Could not create directory "public/e/ea".
I made the directory public in my wiki dir and chmod 777 on it. But still no succes. Please help me !
Thank you, Bombaci —83.80.25.69 12:22, 27 September 2007 (UTC)
Hi, i moved with my wiki from keyweb to 1blu.de -> watch-wiki.de redirects now to the new site: http://57495.webhosting22.1blu.de There i got 2 problems with the Internet Explorer 7 (6 not tested). In Firefox i can enter a searchstring in the search-portlet and can press enter to search for. Works fine. But when i enter a string in IE there i got an error from the IE which says: 'wgServer' is undefined....Line 43 but dont know which file.... but i can press the "artikel" button to do the search, that works but the second problem is that the enter button does not work in IE to perform a search!
can anybody help me please? —85.179.216.181 12:23, 27 September 2007 (UTC)
hi,
we want to build a little troubleshooting database and wanted to realize this with mediawiki and oracle. i saw that in version 1.6 mediawiki had a point oracle (experimental) included. but now i cannot find anything about mediawiki and oracle. can someone tell me if there is a possibility to run mediawiki with an oracle database? or might that feature be implemented in later releases?
thanx for ur ansers so far thomas
—213.61.105.90 14:00, 27 September 2007 (UTC)
Guys! Id like to add the below code to EVERY page of my wiki into the <head> section, which auto refreshes the current page every 60 seconds. Im not sure which php file to add this to, whether its skin.php, index.php etc. Thank you.
<meta http-equiv="refresh" content="60" />
—58.175.32.115 22:43, 27 September 2007 (UTC)
$wgExtensionFunctions[] = 'wfAddRefresh'; function wfAddRefresh() { global $wgOut; $wgOut->addScript('<meta http-equiv="refresh" content="60" />'); }
Hi Nad :>) As always a huge thankyou.
Hi, I am a Computer Science Student in BC Canada. I am currently studying your MediaWiki source code and seeing how I can integrate it into my Practicum Project. I am wondering if you have a UML Class Diagram or Flow Charts that you can provide to help me get an overview of the interaction between the modules/classes? You can contact me via my E-Mail address at recyclerx@yahoo.com. —24.82.215.253 01:06, 28 September 2007 (UTC)
Noticed that Wikipedia on the Main Page does not have the page title heading at the top. How do you do that? --Dr DBW | talk 02:19, 28 September 2007 (UTC)
body.page-Main_Page h1.firstHeading { display: none; }
to MediaWiki:common.css, cleared cache of the page, and the page title is still there. The correct classes are present in the source, so it should work, but it doesn't ;-( Any suggestions on why / what I have done wrong? --Dr DBW | talk 03:47, 28 September 2007 (UTC)
I have a basic MediaWiki installation. With very few extensions and no URL rewriting stuff. But when I insert a table into an article it doesnt have a border. Wiki URL ist http://wiki.eniak.info
Can anybody maybe give me a hint? Maybe some CSS error? —PMay 11:28, 28 September 2007 (UTC)
Hi guys. Im just wondering if mediawiki supports the use of iframes. Im trying to do the following from MonoBook.php....
<iframe id="gumax-site-logo" src="skins/refreshing.php"></iframe>
Just not sure if this is possible or not. Thank you. —58.175.32.115 12:38, 28 September 2007 (UTC)
I have this two problems:
Warning: Unknown: open(tcp://172.17.1.38:11211/sess_8f8949d6b957a4dba574215a37b5e656, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (tcp://172.17.1.38:11211) in Unknown on line 0
And I cannot login in.
which is the problem?
Thanks ^^
(Media Wiki 1.11.0)
--89.128.5.80 16:03, 28 September 2007 (UTC)
Editing of sections of multisection articles is impossible in my wiki. why? how to change?
When I try to alter a section of a multisection article in my wiki I only get an empty edit window but not with the text of the selected section. Please see the test entry on the link above.
What can I do to correct this?
Thanks a lot for your help!
—JB82 16:17, 28 September 2007 (UTC)
Is anyone working on porting Wikimedia to the Oracle database. The last entry I can find is from 2005.
Thanks in advance. —Phogan 21:36, 28 September 2007 (UTC)
When submitting a edit page that contains umlauts (äöü), my browser just receives an empty page and the page is not saved to the database. Submitting a page without umlaut characters works. I am grateful for any help, contact me at mw@teuto.net
phpinfo() gives:
PHP Version 5.0.3 System Linux h1306581 2.6.9-023stab043.1-smp #1 SMP Mon Mar 5 16:38:22 MSK 2007 i686 Build Date Apr 23 2005 06:58:32 Configure Command '../configure' '--prefix=/usr' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/lib' '--includedir=/usr/include' '--with-_lib=lib' '--sysconfdir=/etc/php5/apache2' '--with-config-file-path=/etc/php5/apache2' '--with-config-file-scan-dir=/etc/php5/conf.d' '--with-exec-dir=/usr/lib/php5/bin' '--enable-magic-quotes' '--enable-libxml' '--enable-session' '--with-pcre-regex' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-safe-mode' '--enable-sigchild' '--disable-debug' '--enable-memory-limit' '--enable-inline-optimization' '--with-apxs2=/usr/sbin/apxs2' '--disable-all' Server API Apache 2.0 Handler Virtual Directory Support disabled Configuration File (php.ini) Path /etc/php5/apache2/php.ini Scan this dir for additional .ini files /etc/php5/conf.d additional .ini files parsed /etc/php5/conf.d/bcmath.ini, /etc/php5/conf.d/bz2.ini, /etc/php5/conf.d/calendar.ini, /etc/php5/conf.d/ctype.ini, /etc/php5/conf.d/curl.ini, /etc/php5/conf.d/dba.ini, /etc/php5/conf.d/dbase.ini, /etc/php5/conf.d/dbx.ini, /etc/php5/conf.d/dio.ini, /etc/php5/conf.d/dom.ini, /etc/php5/conf.d/exif.ini, /etc/php5/conf.d/fam.ini, /etc/php5/conf.d/filepro.ini, /etc/php5/conf.d/ftp.ini, /etc/php5/conf.d/gd.ini, /etc/php5/conf.d/gettext.ini, /etc/php5/conf.d/gmp.ini, /etc/php5/conf.d/iconv.ini, /etc/php5/conf.d/imap.ini, /etc/php5/conf.d/ldap.ini, /etc/php5/conf.d/mbstring.ini, /etc/php5/conf.d/mcrypt.ini, /etc/php5/conf.d/mhash.ini, /etc/php5/conf.d/mysql.ini, /etc/php5/conf.d/mysqli.ini, /etc/php5/conf.d/ncurses.ini, /etc/php5/conf.d/odbc.ini, /etc/php5/conf.d/openssl.ini, /etc/php5/conf.d/pcntl.ini, /etc/php5/conf.d/pgsql.ini, /etc/php5/conf.d/posix.ini, /etc/php5/conf.d/readline.ini, /etc/php5/conf.d/shmop.ini, /etc/php5/conf.d/snmp.ini, /etc/php5/conf.d/soap.ini, /etc/php5/conf.d/sockets.ini, /etc/php5/conf.d/sqlite.ini, /etc/php5/conf.d/sysvmsg.ini, /etc/php5/conf.d/sysvsem.ini, /etc/php5/conf.d/sysvshm.ini, /etc/php5/conf.d/tokenizer.ini, /etc/php5/conf.d/wddx.ini, /etc/php5/conf.d/xmlrpc.ini, /etc/php5/conf.d/xsl.ini, /etc/php5/conf.d/yp.ini, /etc/php5/conf.d/zlib.ini PHP API 20031224 PHP Extension 20041030 Zend Extension 220040412 Debug Build no Thread Safety disabled IPv6 Support enabled Registered PHP Streams php, file, http, ftp, compress.bzip2, https, ftps, compress.zlib Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls Configuration PHP Core Directive Local Value Master Value allow_call_time_pass_reference Off Off allow_url_fopen On On always_populate_raw_post_data Off Off arg_separator.input & & arg_separator.output & & asp_tags Off Off auto_append_file no value no value auto_globals_jit On On auto_prepend_file no value no value browscap no value no value default_charset no value no value default_mimetype text/html text/html define_syslog_variables Off Off disable_classes no value no value disable_functions no value no value display_errors Off Off display_startup_errors Off Off doc_root no value no value docref_ext no value no value docref_root no value no value enable_dl On On error_append_string no value no value error_log no value no value error_prepend_string no value no value error_reporting 2047 2047 expose_php On On extension_dir /usr/lib/php5/extensions /usr/lib/php5/extensions file_uploads On On highlight.bg #FFFFFF #FFFFFF highlight.comment #FF8000 #FF8000 highlight.default #0000BB #0000BB highlight.html #000000 #000000 highlight.keyword #007700 #007700 highlight.string #DD0000 #DD0000 html_errors On On ignore_repeated_errors Off Off ignore_repeated_source Off Off ignore_user_abort Off Off implicit_flush Off Off include_path .: .: log_errors On On log_errors_max_len 1024 1024 magic_quotes_gpc Off Off magic_quotes_runtime Off Off magic_quotes_sybase Off Off mail.force_extra_parameters no value no value max_execution_time 30 30 max_input_time 60 60 memory_limit 8M 8M output_buffering 4096 4096 output_handler no value no value post_max_size 8M 8M precision 14 14 register_argc_argv Off Off register_globals Off Off register_long_arrays Off Off report_memleaks On On report_zend_debug On On safe_mode Off Off safe_mode_exec_dir no value no value safe_mode_gid Off Off safe_mode_include_dir no value no value sendmail_from no value no value sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i serialize_precision 100 100 short_open_tag On On SMTP localhost localhost smtp_port 25 25 sql.safe_mode Off Off track_errors Off Off unserialize_callback_func no value no value upload_max_filesize 2M 2M upload_tmp_dir no value no value user_dir no value no value variables_order GPCS GPCS xmlrpc_error_number 0 0 xmlrpc_errors Off Off y2k_compliance On On zend.ze1_compatibility_mode Off Off Directive Local Value Master Value engine 1 1 last_modified 0 0 xbithack 0 0 bcmath BCMath support enabled bz2 BZip2 Support Enabled BZip2 Version 1.0.2, 30-Dec-2001 calendar Calendar support enabled ctype ctype functions enabled curl CURL support enabled CURL Information libcurl/7.13.0 OpenSSL/0.9.7e zlib/1.2.2 dba DBA support enabled Supported handlers gdbm cdb cdb_make db4 inifile flatfile dbx dbx support enabled dbx version 1.1.0 supported databases MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT SQLite Directive Local Value Master Value dbx.colnames_case lowercase lowercase dio dio support enabled dom DOM/XML enabled DOM/XML API Version 20031129 libxml Version 2.6.17 HTML Support enabled XPath Support enabled XPointer Support enabled Schema Support enabled RelaxNG Support enabled exif EXIF Support enabled EXIF Version 1.4 $Id: exif.c,v 1.162.2.2 2004/11/10 01:44:28 iliaa Exp $ Supported EXIF Version 0220 Supported filetypes JPEG,TIFF fam fam support enabled ftp FTP support enabled gd GD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.1.9 GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XPM Support enabled XBM Support enabled gettext GetText Support enabled gmp gmp support enabled iconv iconv support enabled iconv implementation glibc iconv library version 2.3.4 Directive Local Value Master Value iconv.input_encoding ISO-8859-1 ISO-8859-1 iconv.internal_encoding ISO-8859-1 ISO-8859-1 iconv.output_encoding ISO-8859-1 ISO-8859-1 imap IMAP c-Client Version 2000 SSL Support enabled Kerberos Support enabled ldap LDAP Support enabled RCS Version $Id: ldap.c,v 1.154 2004/06/28 22:31:28 iliaa Exp $ Total Links 0/unlimited API Version 3001 Vendor Name OpenLDAP Vendor Version 20223 libxml libXML support active libXML Version 2.6.17 libXML streams enabled mbstring Multibyte Support enabled Multibyte string engine libmbfl Multibyte (japanese) regex support enabled Multibyte regex (oniguruma) version 2.2.4 mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive Local Value Master Value mbstring.detect_order no value no value mbstring.encoding_translation Off Off mbstring.func_overload 0 0 mbstring.http_input pass pass mbstring.http_output pass pass mbstring.internal_encoding no value no value mbstring.language neutral neutral mbstring.substitute_character no value no value mcrypt mcrypt support enabled Version 2.5.7 Api No 20021217 Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes Supported modes cbc cfb ctr ecb ncfb nofb ofb stream Directive Local Value Master Value mcrypt.algorithms_dir no value no value mcrypt.modes_dir no value no value mhash MHASH support Enabled MHASH API Version 20020524 mysql MySQL Support enabled Active Persistent Links 0 Active Links 1 Client API version 4.1.10a MYSQL_MODULE_TYPE external MYSQL_SOCKET /var/lib/mysql/mysql.sock MYSQL_INCLUDE -I/usr/include/mysql MYSQL_LIBS -L/usr/lib -lmysqlclient Directive Local Value Master Value mysql.allow_persistent Off Off mysql.connect_timeout 60 60 mysql.default_host no value no value mysql.default_password no value no value mysql.default_port no value no value mysql.default_socket no value no value mysql.default_user no value no value mysql.max_links Unlimited Unlimited mysql.max_persistent Unlimited Unlimited mysql.trace_mode Off Off mysqli MysqlI Support enabled Client API version 4.1.10a MYSQLI_SOCKET /var/lib/mysql/mysql.sock Directive Local Value Master Value mysqli.default_host no value no value mysqli.default_port 3306 3306 mysqli.default_pw no value no value mysqli.default_socket no value no value mysqli.default_user no value no value mysqli.max_links Unlimited Unlimited mysqli.reconnect Off Off ncurses ncurses support enabled ncurses library version 5.4 color support yes odbc ODBC Support enabled Active Persistent Links 0 Active Links 0 ODBC library unixODBC ODBC_INCLUDE -I/usr/local/include ODBC_LFLAGS -L/usr/local/lib ODBC_LIBS -lodbc Directive Local Value Master Value odbc.allow_persistent Off Off odbc.check_persistent On On odbc.default_db no value no value odbc.default_pw no value no value odbc.default_user no value no value odbc.defaultbinmode return as is return as is odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes odbc.max_links Unlimited Unlimited odbc.max_persistent Unlimited Unlimited openssl OpenSSL support enabled OpenSSL Version OpenSSL 0.9.7e 25 Oct 2004 pcntl pcntl support enabled pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 4.5 01-December-2003 pgsql PostgreSQL Support enabled PostgreSQL(libpq) Version 8.0.1 Multibyte character support enabled SSL support enabled Active Persistent Links 0 Active Links 0 Directive Local Value Master Value pgsql.allow_persistent Off Off pgsql.auto_reset_persistent Off Off pgsql.ignore_notice Off Off pgsql.log_notice Off Off pgsql.max_links Unlimited Unlimited pgsql.max_persistent Unlimited Unlimited posix Revision $Revision: 1.60 $ session Session Support enabled Registered save handlers files user sqlite Registered serializer handlers php php_binary wddx Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 Off Off session.bug_compat_warn On On session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_divisor 1000 1000 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.hash_bits_per_character 5 5 session.hash_function 0 0 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path /var/lib/php5 /var/lib/php5 session.serialize_handler php php session.use_cookies On On session.use_only_cookies Off Off session.use_trans_sid 0 0 shmop shmop support enabled SimpleXML Simplexml support enabled Revision $Revision: 1.139.2.4 $ Schema support enabled snmp NET-SNMP Support enabled NET-SNMP Version 5.2.1 soap Soap Client enabled Soap Server enabled Directive Local Value Master Value soap.wsdl_cache_dir /tmp /tmp soap.wsdl_cache_enabled 1 1 soap.wsdl_cache_ttl 86400 86400 sockets Sockets Support enabled SPL SPL support enabled Interfaces RecursiveIterator, SeekableIterator Classes ArrayObject, ArrayIterator, CachingIterator, CachingRecursiveIterator, DirectoryIterator, FilterIterator, LimitIterator, ParentIterator, RecursiveDirectoryIterator, RecursiveIteratorIterator, SimpleXMLIterator SQLite SQLite support enabled PECL Module version 2.0-dev $Id: sqlite.c,v 1.146.2.3 2004/09/26 01:41:40 wez Exp $ SQLite Library 2.8.16 SQLite Encoding UTF-8 Directive Local Value Master Value sqlite.assoc_case 0 0 standard Regex Library Bundled library enabled Dynamic Library Support enabled Path to sendmail /usr/sbin/sendmail -t -i Directive Local Value Master Value assert.active 1 1 assert.bail 0 0 assert.callback no value no value assert.quiet_eval 0 0 assert.warning 1 1 auto_detect_line_endings 0 0 date.default_latitude 31.7667 31.7667 date.default_longitude 35.2333 35.2333 date.sunrise_zenith 90.83 90.83 date.sunset_zenith 90.83 90.83 default_socket_timeout 60 60 safe_mode_allowed_env_vars PHP_ PHP_ safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry user_agent no value no value sysvmsg sysvmsg support enabled Revision $Revision: 1.16 $ tokenizer Tokenizer Support enabled wddx WDDX Support enabled WDDX Session Serializer enabled xml XML Support active XML Namespace Support active libxml2 Version 2.6.17 xmlrpc core library version xmlrpc-epi v. 0.51 php extension version 0.51 author Dan Libby homepage http://xmlrpc-epi.sourceforge.net open sourced by Epinions.com xsl XSL enabled libxslt Version 1.1.12 libxslt compiled against libxml Version 2.6.17 EXSLT enabled libexslt Version 1.1.12 yp YP Support enabled zlib ZLib Support enabled Compiled Version 1.2.2 Linked Version 1.2.2 Directive Local Value Master Value zlib.output_compression Off Off zlib.output_compression_level -1 -1 zlib.output_handler no value no value Additional Modules Module Name dbase filepro readline sysvsem sysvshm
—85.180.238.114 10:15, 29 September 2007 (UTC)
I created an Upload page in Vietnamese Wikipedia using another language, for example, uselang=vi-ownwork, I've changed MediaWiki:Licenses/vi-ownwork to show appropriate Licenses to choose, but as you can see here and here, it doesn't show exactly. Can you help? —Vinhtantran 11:55, 29 September 2007 (UTC)
Hi, I wrote two articles entitled "C" and "C++", being articles relating to the two programming languages. When I tried to access "C++", the website returns "C". How can I access the article, "C++"? — PM Poon 18:44, 29 September 2007 (UTC)
Hello, I'm an administrator of an Italian wiki, part of Wikia project. I posted once a few weeks ago. I have a problem with the inputbox tag, but I think it's a kind of compatibility problem, rather that a bug in the extension. Let me explain:
I use inputbox for searching issues, I have to create a tool that searches words inside the Namespace "Forum:". I've read on the "Parameters" chapter of the help-page of Inputbox extension how to do this. On the example included on the page, I put a string ("foo" for example) and checked the "Help" namespace. I clicked, it produced the URL:
http://www.mediawiki.org/wiki/Special:Search?search=foo&ns12=1&fulltext=Ricerca+nel+testo
And it showed me the occurrences in the namespace "Help:". Everything's ok.
So I put this code on my wiki:
<inputbox> type=search searchbuttonlabel=Cerca nel forum break=no namespaces=Forum width=40 </inputbox>
I put the string "prova", I checked "Forum" namespace, I clicked, it produced the correct URL:
http://nonciclopedia.wikia.com/wiki/Speciale:Ricerca?search=prova&ns110=1&fulltext=Cerca+nel+forum
BUT... it showed me the occurrences in the global namespace. Why in this wiki the same URL does work fine and in Wikia wikis does not? They have different versions? Some kind of compatibility and/or localization problem?
I found that this URL works fine:
http://nonciclopedia.wikia.com/wiki/Speciale:Ricerca?search=prova&ns110=1&searchx=Ricerca
But I cannot tell this to inputbox... Is there a workaround or I simply have to renounce to my poor searching-tool? —Heavymachinegun 22:35, 29 September 2007 (UTC)
Hi! I recently installed a MediaWiki 1.11.0 on an Apache 1.3(cgi), PHP 5.2.2 and MySQL 4.1.22 server. I used the Subdomain with no Subdirectory in Article URL method to shorten my URLs. But now, when a page contains a slash, it gives me a 404 error message. What should I do? —85.73.207.115 06:16, 30 September 2007 (UTC)
Our server got hit by some hackers yesterday. They managed to replace every file with "index" in it's filename. I managed to restore all the index pages (dragged and dropped entire directories from a month-old backup), but now I'm having a problem with file uploading and the upload log:
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:(SQL query hidden)
from within function "LogReader::getRows". MySQL returned error "1146: Table '<wiki_DB_name>.logging' doesn't exist (localhost)".
At first glance, it looks like an entire table got wiped out from the SQL database, yet I was assured these hackers never got to the SQL database server. Is this a glitch in the PHP code somewhere that I created by just dragging and dropping entire directories, or do I need to manually recreate this table and consider our entire upload log lost?
If I need to recreate it, I'll need a walkthrough on what tables/attributes I need to create.
Mediawiki Version: 1.6.9
PHP Version: 4.4.7
SQL Version: 4.1.22-standard
—67.40.151.244 14:18, 30 September 2007 (UTC)
I found the mediawiki page that described the logging table, and managed to stumble my way through recreating it. Looks like we just lost our entire logging table. Oh well, not like anything was under investigation at that time.
--67.40.151.244 14:40, 30 September 2007 (UTC)
Just tried to upload another picture, and apparently it wasn't enough to recreate the table.
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:(SQL query hidden)
from within function "LogPage::saveContent". MySQL returned error "1062: Duplicate entry 'upload-1-6' for key 1 (localhost)".
How do I get out of this problem now?
--67.40.151.244 15:28, 30 September 2007 (UTC)
Mistook the key type from the page I got the table info from (Logging table) and had the field wrong. The SQL command DESCRIBE `logging` was telling me that my keys were PRI when they were supposed to be MUL. Got the change made and the upload worked like a charm. The lesson: Let the wiki's installation scripts do all the table creation for you. :)
--67.40.151.244 15:55, 30 September 2007 (UTC)
ImageMagick don't make thumbnails, but the directory is created with good rights. I have ImageMagick 6.3.2 and Fedora 7 with SELinux disabled. My localsettings.php are OK
$wgEnableUploads = true;
$wgUseImageMagick = true; $wgUseImageResize = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
I have this error on my http log : ulimit4.sh: /bin/bash^M: bad interpreter: No such file or directory
I have the shell /bin/bash on my machine
I have remove end of line from this file and now I have bin/ulimit4.sh: line 4: 1 : ambiguous redirect
I have done this file conversion for all files in bin directory of the wiki (from CRLF to LF) Now it works. It would be nice to add this to the Troubleshoot guide about thumbnail creation.
Now, I have restarted SELinux and it works good.
—Pppswing 15:25, 30 September 2007 (UTC)
I would like to track my MediaWiki stats using Google Analytics.
Can someone point me to resources to help me identify how to do this?
—nkaiser 08:47, 30 September 2007 (UTC)
$wgExtensionFunctions[] = 'wfGoogleAnalytics'; function wfGoogleAnalytics() { global $wgOut; $wgOut->addScript('<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"/> <script type="text/javascript">_uacct = "UA-xxxx-x";urchinTracker();</script>'); }
Change the xxxx-x to your own Google Analytics account number. --Nad 20:31, 30 September 2007 (UTC)
I just upgraded my MediaWiki installation to that latest version. The installation went just fine. However, when I browse to the wiki's root page, nothing renders, I just get a blank page.
For example: www.mydomain.com/wiki/ doesn't render anything But on the other hand: www.mydomain.com/wiki/index.php5?title=Main_Page works as it did before.
What gives?
—198.103.162.158 18:20, 1 October 2007 (UTC)
Nope. That didn't fix it. Does anyone have any other ideas? I'm not using short urls.
Hello All,
I am from Malayalam Wikipedia. We are having a problem with Special page in Malayalam Wikipedia. I approached English wikipedia and had a discussion regarding this in my talk page. See w:en:User_talk:Shijualex#Special_Pages_in_local_wikis for details.
We are trying to create the special upload pages as in the English Wikipedia (w:en:Wikipedia:Upload). As an experiment we started with the upload page http://en.wikipedia.org/w/index.php?title=Special:Upload&uselang=en-ownwork. We have done all possible options to get the page as in English Wikipedia. Everything worked out fine but we have some problem with the License drop down list.
We are able to create the special page for uploading in Malayalam Wikipedia. As an experiment we have created/mofified the special upload page that is avaiable at http://en.wikipedia.org/w/index.php?title=Special:Upload&uselang=en-ownwork in English Wikipedia. See the corresponding page in Malayalam Wikipedia at http://ml.wikipedia.org/w/index.php?title=Special:Upload&uselang=en-ownwork.
But the license part is still creating problem. The license that is used in English wiki is available at w:en:MediaWiki:Licenses/en-ownwork. We have created the same license in Malayalam Wiki. See that at w:ml:MediaWiki:Licenses/en-ownwork. But still the license drop down list in this special page is showing the licenses that are defined at w:ml:MediaWiki:Licenses. We want this special page to show the same licenses as in English Wikipedia. How can we achieve this? Thanks in advance.
—Shijualex 18:45, 1 October 2007 (UTC)
...here's a couple of good links to youtube firebug tutorials at OrganicDesign:Firefox --Nad 09:12, 2 October 2007 (UTC)
Thanks so much for your help Nad...will get cracking on it now...:>)
Nad, on inspecting it through firebug, the first image isnt part of the galleryarray. It seems like the glob loads all images from the panorama folder in the following format:
var galleryarray = new Array(); galleryarray[0]='panorama/Panoramic.jpg'; galleryarray[1]='panorama/namibie_desert.jpg'; galleryarray[2]='panorama/qnljis_weimaraner.jpg'; galleryarray[3]='panorama/roadofnoreturn2.jpg'; galleryarray[4]='panorama/vervet_monkey.jpg';
Excellent progress :-) it must be that same old function that's the problem then because that's where galleryarray gets its values, does the FAKEPATH experiment show up in the galleryarray?
<?php global $IP; $images = glob(dirname(__FILE__).'/panorama/*.jpg'); # or $IP/skins/.....panaroma/*.jpg foreach ($images AS $k=>$v) $images[$k] = ereg_replace("^$IP","/",$v); # note another fix, this needs to be / not empty (I think) $indx = 0; $init_pic = $images[array_rand($images)]; foreach($images AS $pic) { echo "galleryarray[$indx]='$pic'; "; $indx++; } ?>
The dirname must be correct because it's getting the correct list of images, but the conversion from the internal path to the external one isn't quite working. --Nad 10:24, 2 October 2007 (UTC)
Hi Nad :>) Okay....would like to give you a summary: :>)
Correct GuMax.php location /var/www/html/mediawiki/skins
Correct Panorama location /var/www/html/mediawiki/skins With:
$images = glob('$IP/skins/panorama/*.jpg');
No Image displayed --> right click on div ----> http://fire/mediawiki/skins/gumax/ (This is what its pointing to for some reason)
With:
$images = glob('/panorama/*.jpg');
First load---> image is displayed --> path still wrong though --> http://fire/mediawiki/skins/gumax/panorama/vervet_monkey.jpg
Subsequent images point to http://fire/mediawiki/index.php/panorama/test.jpg
First image loaded ---> http://fire/mediawiki/skins/gumax/panorama/vervet_monkey.jpg
with
$images = glob('panorama/*.jpg');
Subsequent images fail ----> http://fire/mediawiki/index.php/panorama/vervet_monkey.jpg
with
still set at
$images = glob('panorama/*.jpg');
Dummy entry for
$images = glob('FAKE/*.jpg');
On page load ----> nothing displayed ---> pointing to: http://fire/mediawiki/skins/gumax/
Subsequent images after first one
---> http://fire/mediawiki/index.php/undefined
If I try:
$images = glob('skins/gumax/panorama/*.jpg');
On page load ----->http://fire/mediawiki/skins/gumax/skins/gumax/panorama/mono_lake_936x267.jpg
Subsequent images ---> http://fire/mediawiki/index.php/skins/gumax/panorama/roadofnoreturn2.jpg
If I try:
$images = glob(dirname(__FILE__).'panorama/*.jpg'); # or $IP/skins/.....panaroma/*.jpg
On page load: http://fire/mediawiki/skins/gumax/ ----> No picture
Subsequent images: http://fire/mediawiki/index.php/undefined
Nad!
In FireFox, if I put a dummy entry in for
$images = glob('FAKE/*.jpg'); The array returned is still
ar galleryarray = new Array(); galleryarray[0]='panorama/Panoramic.jpg'; galleryarray[1]='panorama/namibie_desert.jpg'; galleryarray[2]='panorama/qnljis_weimaraner.jpg'; galleryarray[3]='panorama/roadofnoreturn2.jpg'; galleryarray[4]='panorama/vervet_monkey.jpg';
The image loads on first load, then the status quo.
If I now load up IE, if I keep this same fake entry, no pic and path points to http://fire/mediawiki/skins/gumax/.
If I change back the path to $images = glob('panorama/*.jpg');, the image returns on first load.
I feel defeated on this...but ill keep trying.
Nad I tried your updated code...
Path I get now is ---> http://skins/panorama/death_valley_flowers_panorama.jpg
When the code is:
<?php global $IP; $images = glob(dirname(__FILE__).'/panorama/*.jpg'); # or $IP/skins/.....panaroma/*.jpg foreach ($images AS $k=>$v) $images[$k] = ereg_replace("^$IP","/",$v); # note another fix, this needs to be / not empty (I think) $indx = 0; $init_pic = $images[array_rand($images)]; foreach($images AS $pic) { echo "galleryarray[$indx]='$pic'; "; $indx++; } ?>
Nad I did a test.
I wanted to see why skins/gumax was being placed in the path. So I went to my other machine, and copied the code directly into Monobook.php, and loaded this skin. I created a folder called Panorama in skins/panorama. When I loaded the page, I saw the following:
http://localhost/mediawiki/skins/monobook/C:/wamp/www/mediawiki/skins/panorama/death_valley_flowers
It looks like whatever skin you use, it will automatically put in /skins/<skin_folder> ???? It looks like something is calling the skin folder whatever skin you use.
So, on first load:
http://fire/mediawiki/skins/gumax/panorama/namibie_desert.jpg ---> picture displayed. where the skins/gumax is loaded, but this isnt part of the array. Then on subsequent loads, the /skins/gumax is not loaded, thus:
http://fire/mediawiki/index.php/panorama/vervet_monkey.jpg and no picture.
Nad, I cant thank you enough for all your help. Im still working on this :>)
What I did find is that if, in the div section for the panorama, where I want to echo out the random image files, if I hardcode the path to the panorama folder, then hardcode an image name, this works. It looks like it is just the variable now that I have to sort. I can hardcode the full path to the panorama folder, so I just need a way to return JUST the random image name variable to append to the full path, and then it will work 100%. I dont know how to do this part though.
So, I have the following........
<?php echo '<img src="http://fire/mediawiki/skins/panorama/' . imagename.jpg. '" />'; ?> -->
The above works fine
What I need to be able to do is to just have the imagename.jpg returned as a variable, instead of hard coding this. I can keep the first part (http://fire/mediawiki/skins/panorama/), but just need to somehow return the imagename as a variable.
Is anyone doing any work on the addition of microformat [3] support to MediaWiki, either to facilitate their use by editors, in articles, or as part of MediaWiki itself, such as for user-profiles? I'd be quite happy to advise, having added microformats to many templates on Wikipedia. Pigsonthewing 10:17, 2 October 2007 (UTC)
Hi! How can I past special intermediate page, while my extension module is working? —81.169.227.104 10:59, 2 October 2007 (UTC)
After looking under MediaWiki I think there is a way to change names add new names in Navigation under special pages "system message" but since I try to edit it say "This page provides interface text for the software, and is locked to prevent abuse" How can I make an admin account? The one I made during setup, I have login that and no luck. Dean
Hi. Like Wikipedia my wiki uses a software which rasterizes SVG graphics into bitmaps but the results of it are different than the ones you can see on wikipedia. For example, I copied the following file to my wiki: de.wikipedia.org/.../Bild:Nuvola_apps_important.svg which on this wiki looks like on wikipedia:
On my wiki the gradient looks weird.
I use ImageMagick to rasterize the SVG.
Does anybody know what to use to achieve the same results like on wikipedia or this wiki ?
Thanks in advance. —Sternenfaenger 15:24, 2 October 2007 (UTC)
I have MediaWiki on multiple servers. I make a lot of links from one server to another. I've noticed that when I link encode a page name with a single quote, it turns the quote into ".27" instead of "%27". Why? What do I have to do to fix this? Kainaw 23:04, 2 October 2007 (UTC)
I try to post a template when I edit a page and it just links for a place to create a new wiki about whatever the template was titled... —72.198.33.97 23:06, 2 October 2007 (UTC)
Make a template Template:Foo, and embed it with {{Foo}}, or embed a page from the main namespace Foo with {{:Foo}} (note the colon before the article name) --Zven 01:48, 3 October 2007 (UTC)
Would someone please advise in simple terms: How do you rename the wiki itself? If it can't renamed, how do I fake it, so that users see the new/correct name? (MW 1.11.0 phpMyAdmin 2.9.1.1 MySQL 5.0 GoDaddy) I apologize if I'm missing the obvious & thank you immensely for your assistance. —67.77.145.181 12:11, 3 October 2007 (UTC)
Thank you. My original confusion was that Manual:LocalSettings.php says to never edit DefaultSettings.php, but rather copy the line & modify it in LocalSettings.php. But Manual:$wgSitename says it "should always be changed from the DefaultSettings.php". Now I'm even more confused about the MetaNamespace. So would someone please clarify a) where it should be changed (Default or Local), and now b) whether I'm changing the SiteName or the MetaNamespace? I'm not concerned with changing the databasename (we'll only have one wiki), and the install is brand new (no data yet). But I don't want the darned typo in the Wiki Name to be repeated/perpetuated all over the site. Next purchase - a keyboard that can spell ;-) Assistance please. Thank you!
How do you stop spoofing software from trying to signup on a wiki? Basically, I'm looking to stop the influx of confirmation emails for fake accounts that are bouncing and getting returned to my inbox.
Thanks! —67.34.15.107 19:20, 3 October 2007 (UTC)
hi. if i add the line
$wgGroupPermissions['*']['createaccount'] = false;
to local settings then for some reason i get error on the main page and can no longer get to the login page. (commenting it out removes the problem)
the only other settings i have added are:
$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['user']['edit'] = true; $wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['user']['read'] = true;
i am running v1.7.1 on debian etch php 5.2.0 mysql 5.0.32
thanks —90.34.212.65 22:56, 3 October 2007 (UTC)
I follow the installation directions, set the config file permissions to 777 and uploaded the media wiki folder to my server root. But when I type in the URL to configure meidawiki it says there is a misconfiguration error. I also have joomla installed in the root. I am not sure if this is the issue. I am using version 1.6.10.
Can you send some advise?
Thank you for your help, Chris —76.90.134.188 01:38, 4 October 2007 (UTC)
I have been running my wiki at http://wiki.npost.com and for some reason links are automatically redirecting to http://www.wiki.npost.com which is an incorrect URL... Any suggestions for why this might be happening?
—nkaiser 20:00, 03 October 2007 (UTC)
Hello Community,
I am the administrator of a wiki (soon to be family of wikis) - the first node can be found at eq.knowledgepit.org - it's intended to be an encyclopedic wiki for everything EverQuest. My intention is to do this with all the MMOs out there (eventually, one thing at a time ;)), WoW being the next in my sights. I've already done quite a bit of extension code (and, admittedly, even a couple small hacks modifying MediaWiki core code), and I've been through and through the code just unable to find an answer to my question without bothering you guys ;)
Because of the ever-changing item and spell (and other) databases associated with games like this, I picked up dumps of the community's open-source databases for EQ's items and spells. I wrote up extensions for these (exhibited at Special:ItemSearch and Special:SpellSearch, for reference), and I set up maintenance scripts to update the two databases with dumps of LUCY's spell database and 13th-floor's item database. Both are open-source, naturally.
These maintenance scripts spit out summaries of their changes, for my knowledge (and, admittedly, for debugging ;)); I'd like to be able to create articles containing these summaries rather than just displaying them to my browser. Is there any way to do this using MediaWiki's internal code? If not, exactly what process should I go achieve it? I'd imagine it would be something along the lines of "insert row into `page` table; insert row into `revision` table; insert row into `text` table; insert row into `recentchanges` table; insert rows into `pagelinks`/`imagelinks`/`categorylinks`/`templatelinks` tables, as needed". Is this somewhat close to the due process?
Thank you for your assistance,
68.80.149.10 05:12, 4 October 2007 (UTC)
Any reason why the job queue length on a wiki would be stuck at 1? When changes are made to templates, it jumps up as it should, until all the changes are made to the pages that include that (and so on). But, the stats page eventually stops at 1 and does not fall to zero anymore. It use to, though not sure if that has happened since it was upgraded to 1.10.1 or at some point after that. --Dr DBW | talk 05:49, 4 October 2007 (UTC)
Hi - I have a MediaWiki Wiki where as sysop I am trying to load in hundreds of jpg images, and then create the pages via importing an xml containing the descriptions etc. Images are manually placed in images directory and thumbnails made, but I can't then synchronise the imported xml - the new pages don't display the images. To build the database links, I've tried: php maintenance\rebuildImages.php >& images.log & and php maintenance\rebuildImages.php --missing >& images.log & This doesn't seem to work. The manual pages don't really cover image files. Any comments or advice welcome! MediaWiki: 1.10.0, PHP: 5.1.6 (apache2handler), MySQL: 5.0.22 — Gaudete 13:19, 4 October 2007 (UTC)=
I have installed the program successfully, but when I try to create an account or submit an article, I only get blank pages. I have enough php memory (24 mb). What's wrong? 90.227.8.200 17:19, 4 October 2007 (UTC)
Are possible to add waterark autoamtic on uploading photos? Where I can get this mediawiki hack? I very need it. Thanks. --88.222.212.231 17:33, 4 October 2007 (UTC)
Hi
I need to add a signature with timestamp automatically (without click on "signature" icon tool ) after a discussion post just like that in mediawiki support desk after post an question the signature is appended.
Whenever i click on " + " to add new discussion post then " Subject/headline: " text field is not displayed . What wrong with us to customize media wiki , please send me a proper suggestion . Thanks in advance. —122.161.134.46 17:48, 4 October 2007 (UTC)
I'm having difficulties hacking the MW skin layer to integrate a common header and footer using mod_include / server side include directives. I am integrating MW with a Drupal site and the SSI work properly for Drupal, but are simply printed to the browser in Mediawiki. For various reasons we would like to use mod_include for this instead of just php includes if possible. I've been searching for a few days for any reason why this might be but have no idea so far. it seems like MW emits the page to the browser in a way that causes Apache to just ignore the ssi directives:
<!--#include virtual="/_tmpl/header/test" -->
—Jeffg 18:46, 4 October 2007 (UTC)
I was doing some maintenance on the MySQL database that houses my mediawiki. I wanted to install a newer version of MySQL due to problems I was having with the one that comes with Solaris 10. Long story short, I can't get any of my articles. Is there a way to recover the database from backups? If so does anyone here know where I can get some pointers on doing that?
Mediawiki 1.8.2 PHP 5.2.4 MySQL 12.22 Distrib 4.0.24
TIA —161.225.1.12 21:13, 4 October 2007 (UTC)
Nad!
Can I just extend my gratitude for all your time and effort in helping me on this :>)
Because of that, I wanted to share the solution with you :>)
If it takes up too much space, pls feel free to remove afterwards.
<script type="text/javascript"> function opacity(id, opacStart, opacEnd, millisec) { //speed for each frame var speed = Math.round(millisec / 100); var timer = 0; //determine the direction for the blending, if start and end are the same nothing happens if(opacStart > opacEnd) { for(i = opacStart; i >= opacEnd; i--) { setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); timer++; } } else if(opacStart < opacEnd) { for(i = opacStart; i <= opacEnd; i++) { setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); timer++; } } } //change the opacity for different browsers function changeOpac(opacity, id) { var object = document.getElementById(id).style; object.opacity = (opacity / 100); object.MozOpacity = (opacity / 100); object.KhtmlOpacity = (opacity / 100); object.filter = "alpha(opacity=" + opacity + ")"; } function shiftOpacity(id, millisec) { //if an element is invisible, make it visible, else make it ivisible if(document.getElementById(id).style.opacity == 0) { opacity(id, 0, 100, millisec); } else { opacity(id, 100, 0, millisec); } } function blendimage(divid, imageid, imagefile, millisec) { var speed = Math.round(millisec / 100); var timer = 0; //set the current image as background document.getElementById(divid).style.backgroundImage = "url(" + document.getElementById(imageid).src + ")"; //make image transparent changeOpac(0, imageid); //make new image document.getElementById(imageid).src = imagefile; //fade in image for(i = 0; i <= 100; i++) { setTimeout("changeOpac(" + i + ",'" + imageid + "')",(timer * speed)); timer++; } } function currentOpac(id, opacEnd, millisec) { //standard opacity is 100 var currentOpac = 100; //if the element has an opacity set, get it if(document.getElementById(id).style.opacity < 100) { currentOpac = document.getElementById(id).style.opacity * 100; } //call for the function that changes the opacity opacity(id, currentOpac, opacEnd, millisec) } </script> <script type="text/javascript"> var galleryarray = new Array(); <?php $images = glob('skins/panorama/*.jpg'); $indx = 0; $init_pic = $images[array_rand($images)]; foreach( $images AS $pic) { echo "galleryarray[$indx]='/mediawiki/$pic';\n"; $indx++; } ?> var tm1=1,tm2=5,tm3=1; function step1() { setTimeout("step2()",tm1*1000); } function step2() { shiftOpacity('blendimage', tm3*1000); setTimeout("step3()",(tm2+tm3)*1000); } function step3() { var rand=Math.floor(Math.random()*galleryarray.length); shiftOpacity('blendimage', tm3*1000); setTimeout("step2()",(tm1+tm3)*1000); setTimeout("document.getElementById('blendimage').src = '"+galleryarray[rand]+"'", tm3*1000); } window.onload=step1; </script> <div id="gumax-site-logo"> <img src="http://fire/mediawiki/<?php echo $init_pic ?>" style="width: 928px; height: 147px; border: 1 none; filter: alpha(opacity=20); -moz-opacity: 20; opacity: 0;" id="blendimage""/> </div> </div>
See below:
Here's what's happening: When you call index.php with directory structure links the browser treats it like you're actually in a folder with that name. Javascript is interpreted client-side, so if the browser is tricked, then the script is going to point the wrong place. Solution: It works on index.php?key=var then you just need to make a your image links absolute, so it won't matter if the browser thinks it's looking at the inside a subfolder. foreach( $images AS $pic) { echo "galleryarray[$indx]='/fire/mediawiki/$pic';\n"; $indx++; }
—58.175.32.115 00:16, 5 October 2007 (UTC)
Hi,
I am experiencing some difficulty with the extension ParserFunction and HTML. Specifically, I created a template for a table which checks if an image parameter is specified (and then produces a new row with the image, if it exists):
{{#if: {{{image|}}} | <tr><td align="center" style="background:#efefef;"> [[Image:{{{image}}}|250px|{{{caption}}}]]<br> ''{{{caption}}}'' </td></tr> }}
However, when I load the calling page with the appropriate parameters, I seem to be getting hard-coded parsed tags instead:
<tr><td align="center" style="background:#efefef;"> <a href="image-location" class="image" title="img-title"><img alt="image-alt" src="image-location" width="250" height="332" border="0" /></a><br /> <i>caption</i> </td></tr>
Any clue on what might be wrong? I am using MediaWiki 1.11.0, PHP 5.2.4, and MySQL 5.0.24a.
Thanks! —David 02:47, 5 October 2007 (UTC)
|- | align="center" style="background:#efefef;" | [[Image:{{{image}}}|250px|{{{caption}}}]]<br> ''{{{caption}}}''
Then you can make a table from it like this example:
{| border cellspacing=5 {{Row|image=first.svg|caption=foo}} {{Row|image=second.svg|caption=bar}} |}
#if
parser function: see Qif_conditionals#Incorrect_usage.
<table>
tag and contains no wikitext tables). This is what Wikipedia does for several of their templates, but for some reason, it doesn't work on my end.
Hi I need to add a signature with timestamp automatically (without click on "signature" icon tool ) after a discussion post just like that in mediawiki support desk after post an question the signature is appended.
Whenever i click on " + " to add new discussion post then " Subject/headline: " text field is not displayed . What wrong with us to customize media wiki , please send me a proper suggestion . Thanks . please give response as soon as possible. —122.161.134.46 08:42, 5 October 2007 (UTC)
I am trying to install MediaWiki 1.11.0. along with moodle LMS. Moodle LMS along with PHP, MySQL S/w etc. are installed in drive C but the data directory is its path set to D drive, in order to keep the data safe. In the same way as drive D in my system has large disk space, I want the community data is also stored in it. How is it possible? thanks Dr.K.James Mathai —Kjmathai 12:13, 5 October 2007 (UTC)
I want the community data/image files created runtime to be stored in drive D: —Kjmathai 1:13, 9 October 2007 (UTC)
Can you please advise on how to show real names instead of usernames in History, Recent changes and User contributions lists —86.143.219.158 11:55, 5 October 2007 (UTC)
I need to add a signature with timestamp automatically (without click on "signature" icon tool in tool bar) after a discussion post just like that in mediawiki support desk after post an question the signature is appended.
Whenever i click on " + " to add new discussion post then " Subject/headline: " text field is not displayed . What wrong with us to customize media wiki , please send me a proper suggestion . Thanks . please give response as soon as possible. —122.161.134.46 13:02, 5 October 2007 (UTC)
I want to use MediaWiki as a monitoring tool. On a head page I'll make a table and in sub pages, generated with a template, there are (sub)tables. When these (sub)tables are filled with data they must automatically copied to the specified (related) table on the head page. Is this possible and how can I install this? —Jaap Smit 15:04, 5 October 2007 (UTC)
Is there any way to include other mediawiki articles or article sections within an article? For example, in my mediwiki installation, I may have an Ants article with sub-sections like Ants#Food and Ants#Habitat. I may wish to reference the Ants#Habitat section in another article titled Insects.
I currently use the standard double staples to enclose a link, but is there any way to output the Ants#Habitat section in my Insects article?
Thanks for any ideas,
David
—209.248.148.58 17:26, 5 October 2007 (UTC)
{{#dpl:title=ARTICLE|include=#SECTION}}
Hi, I was trying to change the tab label of the discussion page that accompanies the article page by changing MediaWiki:Talk. However, when I do so, all discussion pages, including User talk etc etc are changed in toto. Is there anyway where I can limit the change only to article pages? Also I would like to remove the + tab only for article talk pages. — PM Poon 01:46, 6 October 2007 (UTC)
I want to learn this? May i change users right like this; anyone can upload picture, anyone can't, which one is appointed by me..Can i do that and if i can, how?--85.97.24.166 04:18, 6 October 2007 (UTC)
$wgGroupPermissions['*']['upload'] = false; $wgGroupPermissions['friends']['upload'] = true;
Also look at this page for a list of all thr different user rights: Help:User_rights. --Rob 05:58, 7 October 2007 (UTC)
from Talk:MediaWiki/fr
Bonjour,
Je souhaiterais avoir des conseils, renseignements pour mon wiki. s'il vous plait
notamment s'il existe un moteur de recherche qui permet de sélectionné plusieurs critères de recherches... merci beaucoup de votre aide
By 193.51.8.31 on september 20th, 2007 at 13:19 (CEST)
Alright, I'm the only sysop of a site excluding the creator, though he doesn't every visit the site any more, so I have a few questions -
"Please note that all contributions to Nintendopedia may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!"
I just wanted to know if there was a way to change what it said, and if so what page is it at?
Thanks!
—Bentendo 19:34, 6 October 2007 (UTC)
I'm using Mediawiki 1.11.0, php 5, mysql 5. The searchindex table is ok (and with MyISAM storage engine as i read somewhere on google), the content is indexed correctly, i can see the few pages i created on my wiki, but whenever i search for something it doesn't even say "no results found", it displays a page like this: Search results
For more information about searching Wiki, see Help.
Search in namespaces: (a lists of namespaces follows.)
I am searching for long words that certainly exist (page titles, for example), the 3-chars problem is not my case. Everything else works correctly, how do I solve that? Thanks
—213.140.6.109 21:16, 6 October 2007 (UTC)
Well, yes, I tried searching in the main namespace (the one where "real content", articles, exist, right?) I also tried to select them all, still no results
-213.140.6.109 12:57, 8 October 2007 (UTC)
Maybe you think that it is easy to understand your manuals and FAQs but I don't get it at all - I just want to upload my site that has been easy to make through FrontPage but I don't know IT language, I just want to save the world by offering the concept of my site and I've spent years trying very unsuccessfully to find people who can help me understand how this works or just to do it for me. I've also asked for help at certain sites but I just get replies I don't understand. I hate to admit that I am of lesser intelligence in this field and I know that it probably just takes more time and consisten effort to comprehend all of this but I really have tried and people are dying and I have a solution and I don't understand why I can't make anyone help me when it is apparently so easy for you people who knows this wiki language. —62.243.117.112 07:03, 7 October 2007 (UTC)
My wiki is up and running however, uploading a PNG file results in an error "File is corrupt or has a wrong extension. Please check the file and try again", but I can try again as much as I'd like to, it just won't upload them. Any idea what's going on? —84.25.237.211 20:45, 7 October 2007 (UTC)
im getting the folling error
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 1536 bytes) in /usr/local/www/apache22/data/wiki/includes/media/Bitmap.php on line 165
it seems to be this one here Manual:Errors_and_Symptoms#Fatal error: Allowed memory size of xxxxxxx bytes exhausted (tried to allocate xxxx bytes)
phpinfo() says my memory_limit is 128M. Should i try higher? or is there anything else you can think of.
Thankyou —DarkAxi0m 06:49, 8 October 2007 (UTC)
Hi there! My problem: I tried to upgrade an old version (1.4.5) to the current version 1.11.0. I used the command line update script. First, I used "php5 upgrade1_5.php", and after that "php5 update". Both steps went flawlessly, but when I try to open any page now, the content is missing. It is even not included in the HTML output. However, the content is actuelly there, since it can be found in the database and if I click the "edit" link of any missing article, all text content is available in the edit-textbox. Still, it does not appear in the "View article" mode. Editing an old version and saving it won't help either. However, NEW articles which are created after the update, can be seen. Does anybody know how to selve this problem, please? — Fuxboml 09:32, 8 October 2007 (UTC)
I am using MySQL 5.0 and when I run update.php I get error:
IP: /var/www/html/mediawiki-1.11.0 MediaWiki 1.11.0 Updater Going to run database updates for wikidb Depending on the size of your database this may take a while! Abort with control-c in the next five seconds...0 Creating hitcounter table...ok Creating querycache table...ok Creating objectcache table...Query "CREATE TABLE `objectcache` ( keyname varbinary(255) binary not null default '', value mediumblob, exptime datetime, unique key (keyname), key (exptime) ) TYPE=InnoDB " failed with error code "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary not null default '', value mediumblob, exptime datetime, unique key (k' at line 2 (localhost)".
What is the solution here?
—164.44.67.4 12:53, 8 October 2007 (UTC)
-- Close this -- My environment was not setup correctly.
ERROR 300
I am using a 1and1 hosting server and tried to install MediaWiki 1.11.0.
I copied the files to the host, and when i try to run the installer, it says:
Multiple Choices The document name you requested (/config/index.php) could not be found on this server. However, we found documents with names similar to the one you requested. Available documents: * /config/index.html (common basename) Please consider informing the owner of the referring page about the broken link.
Can you help? —193.144.89.8 15:01, 8 October 2007 (UTC)
-- Anon
When i'm trying to login using the pywikipediabot module login.py in a intranet wikipedia, the response is Login Failed. Wrong Password??. Why does is happens considering that my username and password are correct? Thank You. —Mapelo 15:04, 8 October 2007 (UTC)
I want to change the link Deepesh instead of Deepesh in user's signature, Please guide me where to be changed to implement this functionality.
Thanks in advance
—Deepesh 15:46, 8 October 2007 (UTC)
[[User_talk:Deepesh|Deepesh]]
in the "Nickname" textbox and click "Raw signatures (without automatic link)". iAlex 17:50, 8 October 2007 (UTC)
I'm looking for someone who could adapt an existing skin to a mediawiki. I've tried asking on IRC and on the mailing-list, without any success. Is there any other way of getting in touch with someone who could do it? —82.242.73.180 17:30, 8 October 2007 (UTC)
What do the following symbols mean in the Recent changes page:
! (red, bolded exclamation point)
m (bolded, lower-case m)
N (bolded, upper-case N)
sometimes these symbols appear together, such as N ! or m ! -- does it have a special meaning then?
From Help:Recent changes by 216.253.230.133, 18:49 8 October 2007 (UTC).
1.11.0, PHP5, MySQL5. I have full admin perms on the DB and the wiki, if that helps.
Is there a way to gracefully get the contents of a category (be that with or without recursively chasing subcategories) as the printable version? For example, given the category 'DR Documents', can I either through some command or script dump that category's contents to a printable version (either one big file or many small files bundled), that I can then print out as a hard backup?
—66.26.57.245 23:18, 8 October 2007 (UTC)
I am trying to install mediawiki for the first time on my host. After everything has been uploaded, i go to the url/config/index.php and recieve this error.
MediaWiki 1.11.0 Installation
Warning: require_once(C:\hosting\member\XXXXXXX\xxxx\developers/maintenance/updaters.inc) [function.require-once]: failed to open stream: No such file or directory in D:\hosting\member\XXXXXXX\xxxx\developers\config\index.php on line 232
Fatal error: require_once() [function.require]: Failed opening required 'D:\hosting\member\XXXXXXX\xxxx\developers/maintenance/updaters.inc' (include_path='.;C:\php5\pear') in D:\hosting\member\XXXXXXX\xxxx\developers\config\index.php on line 232
the XX and xx's are just to hide the website until it is up and running. However, you can see that is is using the windows path instead of a url or unc path - and this included two seperate slashes ( / and \). how do I fix this? I have looked through the installation manual, the help desk and everything else I could find, but noone else seems to have this problem.
thank you,
—67.66.233.96 00:10, 9 October 2007 (UTC)
Hi I need to add a signature with timestamp automatically (without click on "signature" icon tool ) after a discussion post just like that in mediawiki support desk after post an question the signature is appended.
Whenever i click on " + " to add new discussion post then " Subject/headline: " text field is not displayed . What wrong with us to customize media wiki , please send me a proper suggestion . Thanks in advance. --Deepesh 06:29, 9 October 2007 (UTC)
Hi, it seems I cannot write an article entitled C++ although I use C%2B%2B. Any idea, how I can circumvent the problem? — PM Poon 10:41, 9 October 2007 (UTC)
Thanks, Nad. I misread your answer and typed C%2B%2B in the search box. Now I get what you mean! — PM Poon 15:54, 10 October 2007 (UTC)
Hi, I want to get the value of nick name in the User_Options column of the User table at when user Account is Created.Generally, this nick name is get in the User_Options column when special:preferences has some change in the nick name field.Please guide me .Thanks! —Deepesh 11:28, 9 October 2007 (UTC)
Hi, if I want to make all external links in my portal plain, which file should I modify and how do I go about doing it? Presently, I am using class="plainlinks" on an ad hoc basis. — PM Poon 14:27, 9 October 2007 (UTC)
Hi
I have implemented TinyMCE_MW editor but unluckily this editor is not supporting Extension:Cite, Extension:Simple_Calendar & Extension:ArticleComments properly . What should i do to support these extension properly. Please give me an appropriate solution .
Thanks in advance --Bpishere 15:45, 9 October 2007 (UTC)
I've managed to install a wiki using my Windows XP computer, but I don't see any directions on how to copy all the files needed for extensions other than the instructions that assume a Unix shell. I could manually copy them file-by-file, but that seems pretty painful. Is this information available anywhere? Can someone point me to the right place?
It is frustrating to be hung up by something that seems fairly basic. As someone who has very little of the specific knowledge that is assumed by the authors of these pages, I'd hope to add text to this site that assists uses like myself. Setting up a wiki, customizing it, and maintaining it does not require mastery of Unix, PHP, or MySQL. If adding extensions does, that is unfortunate.
It also seems that many of the commonly used extensions could be added to the basic package used for the initial installation. The installation script could ask if you want to use these extensions. It seems like the extensions commonly found in WikiMedia sites would be good candidates for inclusion. As a novice, I was surprised to find that that an extension like "category tree" needs to be installed separately. --SamuelWantman 19:06, 9 October 2007 (UTC)
extensions/
folder and add the appropriate require_once
(or include_once
) to LocalSettings.php - that's it. Needless to say, I'm using Windows Vista currently and I really have no experience with Unix systems and how they work. Nevertheless, I have a test wiki on a USB memory stick and installing extensions - still - is as simple as I described. To install extensions such as CheckUser that require creation of new tables or SSHing up to the host, just open phpMyAdmin (assuming you have one, that is), select "SQL" and copy the appropriate info from the appropriate .sql file into the textbox and execute the SQL query and add require/include_once call to LocalSettings.php. --Sayuri 19:27, 9 October 2007 (UTC)
I am trying to figure out the best way to have an individual external link open in a new window. I have been studying the documentation at here and here but have not come up with the proper solution for a single link opening in a new window. If anyone has any ideas to be able to add a target=_blank individually, please let me know. Oh, also the link in question is found in the sidebar. —207.203.254.110 02:06, 10 October 2007 (UTC)
I have tried uploading media wiki to a php 4 server, but I cannot get it to work. Does it work on php4? --86.132.71.57 08:03, 10 October 2007 (UTC)
I tried to use my own mediawiki for giving PDF file to another software. I simply tried to use PDFExport for it. The external software give the appropriate URL to PdfExport.php and the PDF is ready.
If user rights is default there is no problem. After I changed the user rights (see below), there is not any content in the generated PDF file, except the navigation menu on the left-hand side of the wiki's page.
I set the user rights: $wgGroupPermissions['*' ]['read'] = false; $wgGroupPermissions['user' ]['read'] = true; $wgWhitelistRead = array("Main Page", 'Special:PdfPrint', 'Special:Userlogin',);
How can I get the whole content of the page? Can I somehow change the USER ID in the PdfExport.php? Any other solution?
—reizerg
How do I move the Wiki from one server to another? I have no experience with Media Wiki whatsoever; however, I do have some unix experience. I've been tasked with moving the Wiki from a workstation onto a server and I am not sure exactly which files need to be copied over or if I have to do a clean install on the server. Any help is greatly appreciated. Thanks.
Hi, I want to add functionality of "Google web master tool" in my project . Please can you guide me, Thanks in advance
Search doesn't workI'm using Mediawiki 1.11.0, php 5, mysql 5. The searchindex table is ok (and with MyISAM storage engine as i read somewhere on google), the content is indexed correctly, i can see the few pages i created on my wiki, but whenever i search for something it doesn't even say "no results found", it displays a page like this: Search results
For more information about searching Wiki, see Help.
Search in namespaces: (a lists of namespaces follows.)
I am searching for long words that certainly exist (page titles, for example) and the 3-chars problem is not my case. I also tried to select every namespace. Everything else works correctly, how do I solve that? Thanks
Hi Nad, thank you for your answer here. I went through the MediaWiki:Common.css and see the portion that includes:
/* Removes underlines from links */ nounderlines a { text-decoration: none; }
Can't figure out how to do it. Where do I add class="plainlinks"? — PM Poon 16:06, 10 October 2007 (UTC)
Hi Nad, seems like you are the only one left to keep this support desk alive. I guess without you, there will be no further questions, LOL.
I added:
*/ .plainlinks a.external { background: none ! important; padding: 0 ! important; }
to Commons.css but it didn't work. Just trying my luck since I do not know the correct codes. — PM Poon 06:50, 11 October 2007 (UTC)
Is it possible to have a user group of privileged users, ad then flag some pages in Mediawiki to only be viewable by that group? I have a business need to do that, to keep some pages within managers. If that's not possible, I'm going to have to put a second wiki up and control it using htaccess to make it private, and then interwiki between the two wikis. But I think that's horrible, I'd love to be able to flag some pages as private and specify a group of people that are allowed to see private pages.
Timotab 01:42, 11 October 2007 (UTC)
Hi, i want to user Google webmaster tool.please guide me. thanks. —Deepesh 06:51, 11 October 2007 (UTC)
Hi, how can I make the Main Page more lively by adding automatically the titles of the latest five or ten NEW articles without doing it manually? As it is, I have managed to automate "Featured Article" so that it changes by itself every first day of the week (an idea copied from Wikipedia). — PM Poon 10:22, 11 October 2007 (UTC)
{{Special:Newpages/limit=5}}
, e.g.
Thank you very much, Nad. I think I will spend some time to chew DPL because what I need are only the title of the newest 5-10 articles to be displayed in the Main Page. — PM Poon 17:53, 12 October 2007 (UTC)
However DPL seems to be too sophisticated and requires a lot of management. Isn't there a page that allow us to show a truncated article from a simple list? [[User:nzlittlesheep|nzlittlesheep] 00:25, 31 October 2007
How can I edit interwikilinks in the database-table (MySQL 4.1.15)? In Version 1.11 the interwikilink-table is in the "binary-blob"-format —Antropositiv 10:27, 11 October 2007 (UTC)
—Str8flier 03:11, 12 October 2007 (UTC)
When watching the posted videos, they start and stop repeatedly. Sometimes they will start up again, sometimes they don't. What can I do.
Thank you
In MediaWiki the file history is provided as a table like here. The MediaWiki installation which I've to administrate (MediaWiki: 1.10.1, PHP: 5.1.2) provides a formatted list instead. I tried to manipulate the file ImagePage.php using the documentation for ImageHistoryList but failed, probably because I don't know PHP very well. I also searched for hooks but couldn't find one. Is there a way to get the table-like presentation of the file history? Thanks in advance fpor any help. —ThT 09:31, 12 October 2007 (UTC)
{{#ifexpr:{{#request:printable}}|{{{{{1}}}}}|[[{{{1}}}]]}}
I've installed mediawiki successfull. But when I follow the the link to my wiki, all I get is a blank page. Mediawiki says in the status-bar that it has directed to the main page. Mediawiki directs to the file index.php5 an this files includes the following script (in php) Before installation I had a problem with the .php extension (it had to be transformed to php5). Has this any connection with this problem of the blank page that occurs? I will be greatfull for some help. —Wyfa 15:12, 12 October 2007 (UTC)
I've switched error reporting on. When I execute the mediawiki with /indexphp5 the following error is reported: Fatal error: Only variables can be passed by reference in ----/Wiki/includes/LinkBatch.php on line 163
When I execute the mediwaiki with /index.php the following error is reported: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in ……../Wiki/includes/Exception.php on line 160
Dous this make any sense to you"(it doesn't to me). Is it possible that it has anything to do with the version of PHP I use?
New Install - I've just installed media wiki on my webspace. It used a MySQL database and I let the install scripts set the DB up.
Once installed clicking on the edit button in each section allows correct operation, i.e. I can edit, preview changes etc and they will get saved. However, if I click on the edit page tab at the top and make edits there, when submitting or previewing it takes me back to the top level landing page on the website and the edits aren't saved. Any thought on why this might be?
—86.130.11.27 05:19, 13 October 2007 (UTC)
I installed MediaWiki 1.9 earlier this year and all worked well. I hadn't used it in a while until yesterday, and all I got on the link was a blank page. I thought perhaps it needed an upgrade, so I upgraded to 1.11. The upgrade went well, but still blank on the home page. I then installed a whole new copy into a separate folder, with new table prefixes, the install went well, but still blank on the home page.
I'm sure it's probably something on my end somewhere, but I've exhausted my limited knowledge of what it could possibly be. Does anyone have any idea as to what I could try?
PHP 5.2.1 installed Found database drivers for: MySQL PostgreSQL PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (/tmp) appears to be valid. PHP's memory_limit is 20M. —76.27.104.157 17:12, 13 October 2007 (UTC)
http://www.bendeboy.nl/wiki/index.php/Hoofdpagina there is the error, dont know what is the cause and dont know how to fix it hope you guys do know it is a fresh install, latest version
Hi, as a community website, it would be nice if welcome message can be automated so that it can be given promptly. Is there anyway I can do that with Mediawiki? — PM Poon 12:56, 14 October 2007 (UTC)
After executing mediawiki I got a blank page. I've switched error reporting on. When I execute the mediawiki with the command /indexphp5 the following error is reported: Fatal error: Only variables can be passed by reference in ----/Wiki/includes/LinkBatch.php on line 163
When I execute the mediwaiki with the command /index.php the following error is reported: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in ……../Wiki/includes/Exception.php on line 160
Does this make any sense to you"(it doesn't to me). Is it possible that it has anything to do with the version of PHP I use?
—Wyfa 19:34, 14 October 2007 (UTC) —Wyfa 19:37, 14 October 2007 (UTC)
This appears to be an issue with PHP 5.0.5 - I fixed this by modifying line 163 to:
$db->addQuotes(current($foo=array_keys($dbkeys))).
How can I disable anyone from creating a new user? —72.228.5.117 02:40, 15 October 2007 (UTC)
$wgGroupPermissions['*']['createaccount'] = false;
Anyone got an idea why this extension stopped working after updating to MW 1.11? --Flominator 06:29, 15 October 2007 (UTC)
# 1.10 UploadFile properties var $mUploadFile, $mUploadDescription, $mLicense ,$mIgnoreWarning, $mUploadError; var $mUploadSaveName, $mUploadTempName, $mUploadSize, $mUploadOldVersion; var $mUploadCopyStatus, $mUploadSource, $mReUpload, $mAction, $mUpload; var $mOname, $mSessionKey, $mStashed, $mDestFile, $mRemoveTempFile, $mSourceType; var $mUploadTempFileSize = 0; # 1.11 UploadFile properties var $mComment, $mLicense, $mIgnoreWarning, $mCurlError; var $mDestName, $mTempPath, $mFileSize, $mFileProps; var $mCopyrightStatus, $mCopyrightSource, $mReUpload, $mAction, $mUploadClicked; var $mSrcName, $mSessionKey, $mStashed, $mDesiredDestName, $mRemoveTempFile, $mSourceType; var $mDestWarningAck, $mCurlDestHandle; var $mLocalFile;
To get the extension running you have to change these variables:
Currently there is no variable for the description field. I used an extra table for that to have the ability to use the description field for real descriptions and not for nasty index.
Lately my wiki has been receiving a lot of spam with the character "Ã" so I wish to block it since there is no legitimate reason to use it. However when I add $wgSpamRegex = "/Ã/";
it blocks all special characters, not just that one. How can I get the software to block only the à 60.50.167.251 09:49, 15 October 2007 (UTC)
After succesfull installation I start mediawiki. When it wants to dispaly the main page, the follwoing error occurs: Fatal error: Only variables can be passed by reference in ../Wiki/includes/LinkBatch.php on line 163 - I've moved the localsettings file - I've checked my php-version: it is 5.05 - I've checked the memory limit in php.ini: 20M Still it doesn't wordk. What can be the problem? —Wyfa 11:32, 15 October 2007 (UTC)
Is it possible to integrate MediaWiki into another Webpage? Most of the website in question is working with a proprietary CMS. The task is to build a glossary on a wiki base, that should integrate with the rest of the webpage. I recon it would be easy using a frame or Iframe, but that is not really an option. It should integrate into the page layout without frames (I recon that is because the website is commercial, and all the ads have to be in the right place). Has it been tried before? What kind of changes / installation measures would be necessary? I don't even know yet whether the CMS is running on a Unix or Windows server :( Mrdslave 12:05, 15 October 2007 (UTC)
I upgraded my postgres database from 8.1 to 8.2 this weekend. The upgrade seemed to go perfectly. I was able to view and navigate through my wiki pages. However, as soon as I attempted tomodify a page, I got the following error
Warning: pg_query() [function.pg-query]: Query failed: ERROR: record "new" has no field "textvector" CONTEXT: PL/pgSQL function "ts2_page_text" line 3 at assignment in /var/www/htdocs/www/mediawiki-1.11.0/includes/DatabasePostgres.php on line 506
It appears to be related to the tsearch2 package.
I've tried uninstalling and re-installing the tsearch2 page. No good. I've upgraded my MediaWiki from 1.9.3 to the recent 1.11.0. No good.
Any help on how to fix this would be great. Shane
—12.193.187.130 15:05, 15 October 2007 (UTC)
ALTER TABLE pagecontent ADD textvector tsvector;
You might need to redo it on the page table as well:
ALTER TABLE page ADD titlevector tsvector;
71.175.80.30 11:20, 1 November 2007 (UTC)
Hi.
Just wondering if there is any intention to enable functionality to upload documents directly into a page (as attachments), instead of having to go through the slow process of uploading then pasting into a page the file path? This really would make life so much easier!!!
Thank you. :>) —58.175.32.115 15:24, 15 October 2007 (UTC)
Why doesn't MediaWiki contain a profanity filter than can be turned on/off in the LocalSettings.php? I think this would be very useful. So far I haven't even been able to find an extension for it. Is it just not important to other people? —65.44.168.226 15:47, 15 October 2007 (UTC)
Hello,
I'm wanting to have data from a Excel spreadsheet displayed on my MediaWiki page. When that spreadsheet is updated, it would be most useful to have the wiki page updated automatically, but I would be fine with a procedure for me to push the updated info to the wiki server.
So, I need to be able to:
1. Read and extract info from the Excel spreadsheet.
2. Display it as part of a wiki page
3. Have some mechanism for relatively painlessly sending updates from the spreadsheet to the wiki page.
Thank you,
-Adrian
—204.174.12.18 23:11, 15 October 2007 (UTC)
Mediawiki-1.11_0. I couldn't find 'renameuserlogentry' in the MessagesXX.php files, but it does appear in the Wikipedia Allmessages page. Any idea? —Thanks, 79.180.14.234 02:30, 16 October 2007 (UTC)
Can anybody help me? Our ISP installed a new MSQL-server. But now my wiki (version 1.6.2) is in a loop and I don't know how to get out of it. All links to the wiki are directed to the mainpage which fails to open with the message that there are too many references to the page. Only the login page and the talk pages work. Some type of abuse seems to have caused this. Please check: http://www.theorderoftime.com/game/wiki/ and advise...-213.84.172.15 17:26, 7 October 2007 (UTC)
Nobody responded, so I took action and upgraded to 1.11. Now the wiki is up and fine, but it does not connect to the old database. The new wiki does not recognize any of the old files in the database. Still the base name and user and pass are the same. Old local settings do not work. Following upgrade instructions didn't work with setting and restoring the permissions for the config-folder. I shouldn't touch the permissions of the folder, then everything installs. Entire wiki gone now. Nevertheless does MYSQL offer all the old files. How can I make the new wiki recognize the old files? What to do? Anybody a suggestion?-213.84.172.15 15:22, 8 October 2007 (UTC)
The problem is that i can't manage the shell management with a CLI as advised. The Shell-program suggested at Manual:Upgrading MediaWiki is too critical to be useful. It doesn't connect to the upgrade.php. For the reinstallation-option turns the message: "When the installation process starts, the script will detect existing MediaWiki tables, and upgrade their schema." out to be false: my new installation doesn't connect to the old database at all. Not with the same names used. How can I address the upgrade.php. now in order to restore the wiki to the database I installed 1.11? What is the correct procedure now having upgraded from 1.62? I'm stuck here...-213.84.172.15 17:16, 8 October 2007 (UTC)
We managed to engage PHP.2.1 The result was as follows:
$ ../game/wiki/maintenance/update.php ../game/wiki/maintenance/update.php: line 1: ?php: No such file or directory ../game/wiki/maintenance/update.php: line 2: require_once: command not found ../game/wiki/maintenance/update.php: line 3: /MP: is a directory ../game/wiki/maintenance/update.php: line 4: AUTHORS: command not found ../game/wiki/maintenance/update.php: line 5: AUTHORS: command not found ../game/wiki/maintenance/update.php: line 6: AUTHORS: command not found ../game/wiki/maintenance/update.php: line 7: AUTHORS: command not found ../game/wiki/maintenance/update.php: line 8: */: No such file or directory ../game/wiki/maintenance/update.php: line 10: /MP: is a directory ../game/wiki/maintenance/update.php: line 11: =: command not found ../game/wiki/maintenance/update.php: line 12: syntax error near unexpected token `(' ../game/wiki/maintenance/update.php: line 12: `$options = array( 'quick', 'nopurge' );'
so this doesn;t work either.. I give up. The ball is at your side. -213.84.172.15 18.64:16, 8 October 2007 (UTC
We consulted the ISP about this problem of the new installation not connecting to the database, but they referred me back to you with the message that they couldn't find any fault at their side. Can somebody respond to this? -213.84.172.15 10:38, 9 October 2007 (UTC)
We answered this question already, we have php 5 at our MSQLserver, but somehow this post disappeared. So here it is again: still ( a month later) we do not connect to the database and have an empty Wiki. Reinstalling the old version, or the new one, does not result in reconnecting to the present database. Nor does reloading the base from the backup we neatly made before hand. We simply cannot address the upgrade php. We tried two shell consoles. 1 - the msql shell gives an error message. The directions given at the upgrade page do not apply to the msql query console. 2. the PHPShell program 2.1 advised to use at the upgrade page does not address the Upgrade.php either. More shell management we do not know of. All efforts failed as yet. A standard procedure within mediawiki would be more effective I guess. Is there any option left before we finally have to abandon this wiki completely? (by the way for the new Wiki the [edit] links show left in stead of right, and the installation of the Java toolbar edit buttons is unclear and doesn't work)-213.84.172.15 10:16, 30 October 2007 (UTC)
We are very sorry nobody can help us with this. We have given up and are now working with PmWiki with a monobook interface. A terrible lot of work to convert all the old pages from the database to the new ones for this wiki that works from the server. But we're up again. Looks almost like the media wiki install before! See GameWiki213.84.172.15 14:16, 17 November 2007 (UTC)
Hi There,
WE have noticed that local file directory links that work in our mediawiki page in Internet Explorer are not working in Firefox, have you come across this before? and is there a solution for it?
An example of the link is [file://uk-store\Software\MPEG2_DVD_Decoder\mpeg2_dvd_decoder.exe codec], We are running MediaWiki 1.6.6 and PHP 5.1.0
Any help would be much appreciated, I would expect that this is a security issue in firefox but just wondered if you had come across this before?
Thanks
Joe Boyce
CNET NETWORKS —62.108.137.10 15:24, 16 October 2007 (UTC)
I'm interested in switching from the hashed directory/URL structure for uploaded files to the flat one, on an existing wiki. Obviously one of the steps is to set $wgHashedUploadDirectory
to false
, but that's the easy part.
Manual:$wgHashedUploadDirectory states "This parameter can not be changed after the first image or file has been uploaded (or you need to move all previous uploaded pictures)", but it doesn't say how you would go about moving the pictures/files.
Is it sufficient (assuming favorable conditions: small wiki with complete control, possibility to ensure there are no edits and uploads during maintenance, etc.) to go to the file system and move all images/*/*/foo.png
files to images/foo.png
, all images/thumb/*/*/foo.png
files to images/thumb/foo.png
, all images/archive/*/*/foo.png
files to images/archive/foo.png
and all images/temp/*/*/foo.png
files to images/temp/foo.png
?
Thanks in advance.
—Thibgc 16:36, 16 October 2007 (UTC)
How can I write Articles that do not start with a capital letter? For example log4j starts an article named "Log4j". But I want to have one that is called "log4j". Do I need a MediaWiki Plugin or something? —PMay 17:23, 16 October 2007 (UTC)
Problem: on pages (in our company's internal MediaWiki-based site) where I'm adding links to an external book service, I'm getting a lot of questions from other users on how to sign up for the subscription service. Unfortunately when they click through the URLs directly to the book service, it doesn't give them any indication of how to subscribe if they aren't already subscribed.
On all pages where URLs for the book service appear, I'd like to automatically include a "sidebar", References link or some other recognizable callout. This way, the page will automatically include instructions like "Having trouble accessing the subscription content at the external links? Please go [here] to sign up."
I've experimented with Templates and they're helpful , but only when I explicitly edit each page and manually insert the Template tag. However, I'd like to avoid having to track down all such pages as they're added by colleagues, strangers, etc. - I'd prefer that the Wiki server add this "sidebar" text + link as soon as someone adds one of these URLs to any page.
I.E. I'd like to enable some sort of "automation" that would recognize when the page contains a URL with one or more specific FQDNs (such as the book service's FQDN), and to automatically append this "sidebar" text to the page's content. [I'd even be happy to generate the Template that would contain the inserted text, but I'd rather not have to manually insert that Template every time it's used.]
Request: can anyone tell me whether there's an extensibility capability already in the MediaWiki software that would allow me to do this -- without having administrative privileges on the server? I'm hoping there's something feature similar to Templates, that the end user can generate themselves, that would allow this kind of "auto-append" to work. [If there's a commonly-used add-on for MediaWiki that uses this I'd be interested in that too, since it's possible we're using some of the more common add-ons here.]
Thanks for any tips or hints you might have.—134.134.136.4 20:38, 16 October 2007 (UTC)
$wgHooks['OutputPageBeforeHTML'][] = 'wfCheckURL'; function wfCheckURL(&$out,&$text) { global $wgSiteNotice; if (ereg('http://www.foo.bar',$text)) $wgSiteNotice .= "{{MyMessage}}"; return true; }
I have followed the instructions and installed MediaWiki in /wiki directory of Web root. I have enabled short URLs. Everything works fine except for one thing: when I type the start URL of the Wiki, i.e.
http://example.com/wiki/
it always loads the URL
http://example.com/wiki/Main_page
regardless of what I enter in MediaWiki:mainpage
How can I make the start page point at anything but Main_page?
first i set up the sidebar and everything is running fine, after that i add $wgCapitalLinks = false; to the LocalSettings.php.
then mediawiki dont cares about the MediaWiki:Sidebar. (Sidebar)
delete and recreate takes no effect. the same with remove $wgCapitalLinks = false; delete and recreate.
another problem is that it seems to show just a few minutes after installation the main site if i enter the diretory in the browser.
after i get a site containing:
l<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> <BODY></BODY></HTML>
and just if i type index.php5 the main site was loaded. i check it serval times and at the last wone i dont change anything after installation.
hmm i dosent know the code of mediawiki,
so i often try to solve it with a reinstallation,
if i can't locate the error.
and this taks much effort uff,
so i hope you may give my some answer.
thanks in advance —84.159.167.142 03:25, 17 October 2007 (UTC)
Hi folks,
I hope someone can give me a hand with, what is probably, a schoolboy error.
I'm installing 1.11.0 onto Redhat, PHP5 (5.2.4) and MySQL5 (5.0.45). I have copied the files across, created the db, changed permissions as advised, open browser to index and clicked on the link to setup. However, I get the following error from the file : /wiki/config/index.php5 :
A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.
As advised on the install manual [use 755 (Use 777 on Linux except for RedHat Linux)] I've made sure the permissions are correct. I've tried this on 2 different service providers and keep getting the same error, so I must be missing something simple. I can and have installed other PHP apps with these providers before.
Any advice would be appreciated.
Cheers! —Manawydan 09:25, 26 October 2007 (UTC)
I installed the mediawiki 1.5.8. But there isn't upload file button in the tool box, in my wiki. How will add it. (Please detail). --WhiteDark 10:13, 26 October 2007 (UTC)
Hi,
Can someone tell me the status of MediaWiki's support for Oracle?
How stable is it, could it do with testing before use in a production environment etc.
It took me a long time to work out that there is 'some' support for Oracle built in to MediaWiki.
Put your question here—BEFORE the signature! And, again, DELETE THIS COMMENT! --> —89.243.79.61 13:18, 26 October 2007 (UTC)
Is there a way to automatically flag or trigger an email for articles that are a specific age? —165.236.235.19 14:23, 26 October 2007 (UTC)
I am making some modifications to the Monobook skin and I need a slightly wider left hand navigation column. I have been able to widen this column by changing the .portlet width in the main.css file, but the wider column is now overlapped slightly by the main content area. Is there an easy way to move the position of the content area slightly to the right to accommodate my wider navigation column?
I am using MediaWiki version 1.9.3 with PHP 5 and MySQL 5.0
Any help would be much appreciated.
Thanks —68.209.206.234 15:56, 26 October 2007 (UTC)
Ok - Just figured out how to do it by changing the #content margin: setting in main.css.
It just does not work with IE. --80.152.197.188 12:54, 1 August 2008 (UTC)
I am new to wiki, and recently installed the software. I have been trying to find out about the uploads; i have them enabled, but what is to stop someone from uplaoding a virus or malicious script to my server? Thank you. —69.244.234.89 17:45, 26 October 2007 (UTC)
Is MediaWiki ever going to support SQL Server? I want to run MediaWiki, but my company will not allow MySQL to be installed. —168.39.180.95 21:23, 26 October 2007 (UTC)
On my wiki I am trying to do a sortable table with numbers, but it does not sort correctly when the ref tag is included. See here and try and sort the first column "Bahá'í Source". Any help would be greatly appreciated. 60.50.161.179 01:55, 27 October 2007 (UTC)
I installed the mediawiki 1.5.8. But there isn't upload file button in the tool box, in my wiki. How will add it.--88.224.2.67 08:40, 27 October 2007 (UTC)
Any help for the problem identified at Manual talk:FAQ#Mediawiki-logo would be great. —Svanslyck 12:04, 27 October 2007 (UTC)
$wgUseImageResize = true;
And in special Upload file page there is this sentence;Sorry, uploading is disabled.
What will I do?--WhiteDark 16:59, 28 October 2007 (UTC)
Hi, im running my own mediawiki (Version 1.4.7) and I'm trying to update one of my articles regularly using wget. The Command i'm trying is:
#> wget d -O - --user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" \ --post-data 'wpTextbox1=balabala&wpSave=Artikel speichern&wpSummary=bla&wpSection=&wpEdittime=1193495350'\ http://example.com/index.php?title=MyArticle&action=submit
but it does not work. Any hints? —84.158.236.46 15:25, 27 October 2007 (UTC)
On the sitenotice, is there a way to make it to where whatever is said up there is random. For example, let's say I want to have a random quote appear up there, how do I do that? --Bentendo 19:29, 27 October 2007 (UTC)
I need help. I keep getting this message when I run the installation:
Warning: main() [function.main]: open_basedir restriction in effect. File(/convertLinks.inc) is not within the allowed path(s): (/var/www/vhosts/chylene.com/httpdocs:/tmp) in /var/www/vhosts/chylene.com/httpdocs/wiki/maintenance/updaters.inc on line 13
Warning: main(convertLinks.inc) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/chylene.com/httpdocs/wiki/maintenance/updaters.inc on line 13
Fatal error: main() [function.require]: Failed opening required 'convertLinks.inc' (include_path='.:') in /var/www/vhosts/chylene.com/httpdocs/wiki/maintenance/updaters.inc on line 13
Can someone help?
—David McCurrach
Nad - I'm seeing the same error with 1.11 on FreeBSD with or without the Suhosin active. 1.10 set up w/o a problem.
Warning: require_once(convertLinks.inc) [function.require-once]: failed to open stream: No such file or directory in /data/web/www/wiki/maintenance/updaters.inc on line 13
Fatal error: require_once() [function.require]: Failed opening required 'convertLinks.inc' (include_path='.:/usr/local/share/pear') in /data/web/www/wiki/maintenance/updaters.inc on line 13
Hello! Since the update to MW-Version 1.11.0 is complete we have some problems we cannot solve.
.editsection { float:right }
in your main.css --Nad 20:39, 28 October 2007 (UTC)
Please help us solve the problems. Thanks. —217.236.230.237 11:42, 28 October 2007 (UTC)
Today I will renew my request: Can anybody help please? 217.236.248.94 17:51, 30 October 2007 (UTC)
One frequently asked question is "how to make pretty portals with boxes and stuff". So, maybe we could have a little howto at Help:Portals about that? Starting with simple layouts using tables and/or divs, then going to templates, and eventually covering techniques for complex multilingual portals, like the mainpage on this wiki?
I'm posting this here, because I don't feel like i can give a very good explanation of this, besides "read your favorite HTML manual"... maybe someone else can? Where are the wizards who built the main page? -- Duesentrieb ⇌ 16:01, 28 October 2007 (UTC)
Hi, i have installed MWBB ( Bulletin Board). It works fine but when i start a new Topic or when i reply on a Topic, The statusbar goes down. Can anybody tell me, what can i do? I have installed MW 1.7.3 and tried it with BB 0.1 and also the newest 0.2. —87.154.171.61 21:47, 28 October 2007 (UTC)
Can someone tell me what I need to edit to change how the printed output looks? The default "Printable View" is almost perfect; I just want to remove the name of my Wiki and the extra footer information that is inserted. I want just the article, with headings, table of contents, etc., without meta information about my wiki. If I can get this working, I can simply print the articles to a PDF printer. I need to remove the 4 bits I don't want, namely the title, the URL, the date, and the page number.
I'm planning a change of my webhoster. It was no problem to export the mysql data, but after downloading all ftp-files und upload it on the new server, it doesn't function.
What did i forget? —84.227.171.54 14:20, 29 October 2007 (UTC)
I need to know how to setup like www.milliondollarwiki.com. Only user can edit their own page but can not edit other users page.
my question is how do I setup and assign users to their page onle.
$wgExtensionFunctions[] = 'wfProtectUserPages'; function wfProtectUserPages() { global $wgUser,$wgGroupPermissions; $title = Title::newFromText($_REQUEST['title']); if (is_object($title) && $title->getNamespace() == NS_USER && $wgUser->getName() != $title->getText()) $wgGroupPermissions['user']['edit'] = false; }
Hi, I would like to remove Google Adsense Tower Panel from my Main Page and replace it with a Google search box at the top right. I would also like to remove the words, Halaman utama (ie. Main Page at the top). How do I go about doing it? — PM Poon 20:53, 29 October 2007 (UTC)
body.page-Halaman_utama h1.firstHeading { display: none; }
Thank you Nad, your magic line works wonder. — PM Poon 11:58, 31 October 2007 (UTC)
Hi. last thursday (I think, on the 25th of October), i created a question on this page. It was titled Project:Support_desk#Uploading_files_to_a_specific_namespace. I see in my history i visited both that page and in addition i replied to Project:Support_desk#2nd_Question_is_about_Namespace, which appears to be gone as well. Are they being sent to the dungeon? If this question is in the wrong place please let me know...just don't move it. I don't know where to look! —204.154.43.244 21:52, 29 October 2007 (UTC)
How can mediawiki installed on my PC accessed by other computers in my network. -Ram —72.163.216.217 08:21, 30 October 2007 (UTC)
Hey.
I've tried finding the answer to this question both through searching on Google and looking through your help sources, but I cannot find the answer.
I am using MediaWiki as the backend for my web site. As such, I've disallowed edits except for a special user group which I am the only member of. However, I would like users who have registered to be able to freely edit the talk pages, since I would like discussion around my material to be allowed. I tried the following configuration:
# Permissions $wgGroupPermissions['*' ]['createaccount'] = true; $wgGroupPermissions['*' ]['read'] = true; $wgGroupPermissions['*' ]['edit'] = false; $wgGroupPermissions['*' ]['createpage'] = false; $wgGroupPermissions['*' ]['createtalk'] = false; $wgGroupPermissions['user' ]['move'] = false; $wgGroupPermissions['user' ]['edit'] = false; $wgGroupPermissions['user' ]['createpage'] = false; $wgGroupPermissions['user' ]['createtalk'] = true; $wgGroupPermissions['user' ]['upload'] = false; $wgGroupPermissions['user' ]['reupload'] = false; $wgGroupPermissions['user' ]['reupload-shared'] = false; $wgGroupPermissions['user' ]['minoredit'] = true; $wgGroupPermissions['editor']['edit'] = true; $wgGroupPermissions['editor']['createpage'] = true; $wgGroupPermissions['editor']['createtalk'] = true; $wgGroupPermissions['editor']['upload'] = true; $wgGroupPermissions['editor']['reupload'] = true; $wgGroupPermissions['editor']['reupload-shared'] = true;
It says that "createtalk" is allowed for 'user', but if I try to go to an unstarted talk page, it says "The action you have requested is limited to users in the group Sysops.". Even if the talk page is already started, I only get to view the source.
How can I make it so users cannot edit articles, but can freely edit talk pages? Thanks.
—84.48.64.2 10:26, 30 October 2007 (UTC)
- Even simpler follow the suggestions given at http://www.mwusers.com/forums/showthread.php?t=4537 and it works like a charm for me
I'm making a template that I can use in my news articles that go like this:
Leave a [{{fullurl:{{<includeonly>subst:</includeonly>TALKPAGENAME}}}}?action=edit§ion=new comment] on this news article or [[{{<includeonly>subst:</includeonly>TALKPAGENAME}}|read others' comments]]
turns into this:
comment on this news article or read others' comments
However, it's a clumsy solution, because a) It uses an external link to link internally, just to get the "§ion=new" part, and b) It has to be subst-ed, as it uses a variable that changes when the news article itself is included on other pages.
Is there a less hacky and more convenient way to tie this together to a non-subst-ed non-external-linked solution that would allow the use of variables, even when included as a template on other pages?
—84.48.64.2 12:36, 30 October 2007 (UTC)
[{{fullurl:{{TALKPAGENAME}}|action=edit§ion=new}} comment]
I am getting an error message when trying to validate an email address however the email does get sent. Is there a way to remove the error message? —NGLib 14:50, 30 October 2007 (UTC)
When trying to send a confirmation code the page returns : Could not send confirmation mail. Check address for invalid characters. - even though the email does get sent. —NGLib 14:20, 31 October 2007 (UTC)
This localsettings.php text
I changed language tr, (half and half english) and $wgEnableUploads= true;
İn Sysytem messages;
MedyaViki:Upload directory read only:The upload directory ($1) is not writable by the webserver.
MedyaViki:Uploaddisabled:Sorry, uploading is disabled.
Version:MediaWiki 1.5.8,
Server ; PHP:4.4, Linuks Centos 3 and 4 platform, IBM Xseries rack server, Intel Xeon, Ultra 320 Scsi Hard Diskler , 4 GB Ecc Registered Ram standart
And these are docs in httpdocs ; Need I a new doc or dırectory? Yes...., No...
İn images doc there are 2 docs. It is true? Yes...., No...
<?php # This file was automatically generated by the MediaWiki installer. # If you make manual changes, please keep track in case you need to # recreate them later. $IP = "/var/www/vhosts/firmalog.com/httpdocs"; ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages" ); require_once( "includes/DefaultSettings.php" ); # If PHP's memory limit is very low, some operations may fail. # ini_set( 'memory_limit', '20M' ); if ( $wgCommandLineMode ) { if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { die( "This script must be run from the command line\n" ); } } elseif ( empty( $wgNoOutputBuffer ) ) { ## Compress output if the browser supports it if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' ); } $wgSitename = " xxxx"; $wgScriptPath = ""; $wgScript = "$wgScriptPath/index.php"; $wgRedirectScript = "$wgScriptPath/redirect.php"; ## If using PHP as a CGI module, use the ugly URLs $wgArticlePath = "$wgScript/$1"; # $wgArticlePath = "$wgScript?title=$1"; $wgStylePath = "$wgScriptPath/skins"; $wgStyleDirectory = "$IP/skins"; $wgLogo = "$wgStylePath/common/images/wiki.png"; $wgUploadPath = "$wgScriptPath/images"; $wgUploadDirectory = "$IP/images"; $wgEnableEmail = true; $wgEnableUserEmail = true; $wgEmergencyContact = "xxxxxxxxxxxxx"; $wgPasswordSender = "xxxxxxxxxxxxxx"; ## For a detailed description of the following switches see ## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent ## There are many more options for fine tuning available see ## /includes/DefaultSettings.php ## UPO means: this is also a user preference option $wgEnotifUserTalk = true; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = true; $wgDBserver = "localhost"; $wgDBname = "mediawiki"; $wgDBuser = "mediawiki"; $wgDBpassword = "xxxxx"; $wgDBprefix = ""; # If you're on MySQL 3.x, this next line must be FALSE: $wgDBmysql4 = true; # Experimental charset support for MySQL 4.1/5.0. $wgDBmysql5 = false; ## Shared memory settings $wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array(); ## To enable image uploads, make sure the 'images' directory ## is writable, then uncomment this: # $wgEnableUploads = true; $wgUseImageResize = true; # $wgUseImageMagick = true; # $wgImageMagickConvertCommand = "/usr/bin/convert"; ## If you want to use image uploads under safe mode, ## create the directories images/archive, images/thumb and ## images/temp, and make them all writable. Then uncomment ## this, if it's not already uncommented: # $wgHashedUploadDirectory = false; ## If you have the appropriate support software installed ## you can enable inline LaTeX equations: # $wgUseTeX = true; $wgMathPath = "{$wgUploadPath}/math"; $wgMathDirectory = "{$wgUploadDirectory}/math"; $wgTmpDirectory = "{$wgUploadDirectory}/tmp"; $wgLocalInterwiki = $wgSitename; $wgLanguageCode = "tr"; $wgProxyKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook': # $wgDefaultSkin = 'monobook'; ## For attaching licensing metadata to pages, and displaying an ## appropriate copyright notice / icon. GNU Free Documentation ## License and Creative Commons licenses are supported so far. # $wgEnableCreativeCommonsRdf = true; $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = ""; $wgRightsText = ""; $wgRightsIcon = ""; # $wgRightsCode = ""; # Not yet used $wgDiff3 = ""; ?>
images
directory is used to upload them into. Yes, those two files are in the images
directory. Details on how to enable uploading of files can be found here: Manual:Configuring_file_uploads --Dr DBW | talk 00:27, 31 October 2007 (UTC)
A question relating to citing/referencing. When using wikipedia, clicking on the small number indicating a reference (eg [2]), the appropriate reference is highlighted in a light blue colour at the bottom of the page. How is this done? Thanks. —84.13.43.200 20:59, 30 October 2007 (UTC)
This is my second mediawiki install, the first one on an ISP using MySQL went flawlessly. This one is on CentOS:
# uname -a Linux teki.ucsf.edu 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux #
This one is on PostgreSQL, 'cause I have (sometimes) support for it here at work:
PostgreSQL 8.1.4 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.1.1 20061011 (Red Hat 4.1.1-30) (1 row)
PHP:
rpm -q php php-5.1.6-5.el5
First I tried using the superuser account, which I could not use in my previous ISP install:
Checking environment... Please include all of the lines below when reporting installation problems. * PHP 5.1.6 installed * Found database drivers for: PostgreSQL * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Session save path (/var/lib/php/session) appears to be valid. * PHP's memory_limit is 16M. Attempting to raise limit to 20M... ok. * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. * Found GNU diff3: /usr/bin/diff3. * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. * Installation directory: /var/www/html * Script URI path: * Installing MediaWiki with php file extensions * Environment checked. You can install MediaWiki. Generating configuration file... * Database type: PostgreSQL * Loading class: DatabasePostgres * Attempting to connect to database "postgres" as superuser "root"... error: No database connection
( I tried this both with "root" and another username that has superuser privleges; in both cases I get red messages below saying "check username" "and password".)
Then, as in my previous install,I created the schema first (albiet this time I used "createuser" and "createdb" at the command line instead of the ISP's control panel). This time the install script ends with:
Generating configuration file... * Database type: PostgreSQL * Loading class: DatabasePostgres * Attempting to connect to database "wikidb" as "wikiuser"... error: No database connection
This time I don't get the red messages next to the superuser username and password fields, but in both cases I get the red message next to the "database host" field saying "Could not connect to database" or "could not connect to database as superuser" when I'm trying it as superuser. In that field, I've left it as the default most of the time ("localhost") and also tried "127.0.0.1".
I know practically nothing about using db's, but the page said the user had to have SELECT, INSERT, UPDATE, and DELETE priveleges, so I tried this and tried the install button again:
wikidb=# GRANT select ON mediawiki TO wikiuser wikidb-# GRANT insert ON mediawiki TO wikiuser wikidb-# GRANT update ON mediawiki TO wikiuser wikidb-# GRANT delete ON mediawiki TO wikiuser wikidb-#
...but no luck.
Thanks in advance, —Tzf 21:25, 30 October 2007 (UTC)
Turnstep 11:28, 1 November 2007 (UTC)
-Tzf 02:20, 2 November 2007 (UTC)
What does one have to do to change the message that appears at the bottom of "action=edit" pages. E.g. the message that's there by default is something like:
"Please note that all contributions ... (stuff under control of some other settings) .... If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!"
How does one replace that with something else? —Aldaron 22:52, 30 October 2007 (UTC)
Just wondering if there is may be an error of some sort in the processing of templates. On a normal wiki page, if you have a single return at the end of a line, then a new line starts on the very next line, the text is processed and displayed as a continuous line. Such as this paragraph, which actually looks like this on the editing page:
Just wondering if there is may be an ''error'' of some sort in the processing of templates. On a normal wiki page, if you have a single return at the end of a line, then a new line starts on the very next line, the text is processed and displayed as a continuous line. Such as this paragraph, which actually looks like this on the editing page:
However, a similar thing does not happen with a template. I have some templates set up that look something like this:
Some text goes here, that is the text of the template that is inserted into the page. <noinclude> [[Category:Somename]] </noinclude>
I assume that when you include that template in a page, it should continue on the very next line. However, it doesn't, it actually gets inserted something like this ....
Here is some text, after which we are inserting the template. Some text goes here, that is the text of the template that is inserted into the page. Then this is the text after the template, which has a blank line between it and the template.
Should it actually be doing things like that? If so, makes life a bit difficult in terms of readability of the template if you have to have the noinclude
stuff all on the same line as the last line of the template --Dr DBW | talk 01:38, 31 October 2007 (UTC)
<noinclude>
tage is honoured, so that is why it happens. So have to have that tag right on the end of the last line of the text in the template. Makes it a bit less readable, but fixes the issue. --Dr DBW | talk 04:53, 1 November 2007 (UTC)
What is the best existing method or extension for summarizing a group of pages on a single page?
For instance, Categories pages which included a summary from between a set of tags.
Or, a rollover dialog box which shows a summary, author, etc. —Tideland 01:50, 31 October 2007 (UTC)
I am having a problem printing an invoice from GnuCash. The invoice shows up fine in the Print Preview section but when it prints out it is printing backwards and upside down. How do I fix this problem?
Chad
—75.53.101.0 03:36, 31 October 2007 (UTC)
It isn't clear to me how much of what Wikipedia provides is part of MediaWiki and how much has been added over time by Wikipedia contributors. I know that's an open ended question, and clearly a lot of functionality has been added to Wikipedia that's not present in MediaWiki, but I'm wondering, specifically, for example, about support for citations. Is there any in MediaWiki? There seem to be no citation templates built in. Is that correct? Is there a simple way to duplicate Wikipedia's rich citation functionality in a MediaWiki wiki? More generally, are there sources for "packages" that can be added to MediaWiki that duplicate Wikipedia functionality? I know about the "extensions". What I'm curious about is what the preferred mode for adding missing Wikipedia functions to bare MediaWiki. Is it really necessary, for example, to copy one template at a time, or are there packages that collect sets of related templates in one place? —Aldaron 03:48, 31 October 2007 (UTC)
Yes, I have created a custom namespace on a company wiki using
Everytime we try and place an article in the custom namespace the article is created (and in the custom namespace) but is created as a portal page. When trying to create page 'bar' in namespace 'foo' searching 'foo:bar' allows us to create the page, and after creation using tag {{FULLPAGENAME}} on the page shows it to be 'Foo:bar' yet the page IS a portal page and auto redirects to the disscusion side of the page. I have search and have not found an answer to this. Any help would be appreciated. —69.145.253.1 04:15, 31 October 2007 (UTC)
I am checking with my admin for the namespace names and NS_xxx constants --69.145.253.1
Hi,
I have migrated my mediawiki installation from Windows to Linux (SuSe10). After migration some pages with underscores are now missing.
Example:
http://localhost/index.php?title=TRB_032_05 --------- does not work on Linux
http://localhost/index.php?title=TRB_032 ------------ Works on Linux & windows
Both above pages work on the Windows Installation.
My two systems are as follows:
Windows2003 - PHP Version 5.2.4 - Latest MediaWiki
Linux Suse10 - PHP Version 5.1.2 - Latest MediaWiki
So to me looks like page names with two underscores and maybe long names are not working.
How can I trouble shoot this problem. I want to check if the page is in database and somehow display it with maybe an database ID.
any help is welcomed !!!
—193.203.81.18 12:07, 31 October 2007 (UTC)
I want an edit toolbar like this one http://en.wikipedia.org/w/index.php?title=PHP&action=edit How can I have, and add more buttons like link to wikipedia? —81.31.183.50 13:21, 31 October 2007 (UTC)
What's the best place to look for packages of functionality to extend the features of MediaWiki? I know about "extensions" but I'm especially interested in how people go about reproducing functionality that Wikipedia supports that's not built-in to MediaWiki. For example, Wikipedia has rich support for a variety of citation and reference functionality, especially in the form of Templates. Is the right way to transfer this to another MediaWiki wiki to simply copy all the relevant templates one-by-one? This is challenging when (an in this example) the templates are intricately related (and even appear to have some underlying code). —Aldaron 17:07, 31 October 2007 (UTC)
Is there a list of all the "MediaWiki:" pages somewhere? —Aldaron 17:09, 31 October 2007 (UTC)
I have got a strange problem. I added my own sidebar under the navigation-menue. Into this sidebar I put links to other articles. All this works fine but I get into trouble when the article I'm linking to has got an ampersand (&) in its name. The text in the sidebar looks as follows:
* Ähnliche Artikel\n ** http://localhost/dewiki/index.php/AT%26T?action=purge|AT&T\n ** http://localhost/dewiki/index.php/General_Motors?action=purge|General_Motors\n ** ...
I replace each "&" in the link by "%26" to get a working URL. The link works but the name of the article/link of the first entry ("AT&T") isn't displayed correctly. Instead of "AT/T" mediawiki changes the name to
"<AT&T>
"
Somehow mediawiki seems to have a problem with the "&" and therefore seems to add "<" at the beginning respectively ">" at the end of the text which links to the article.
Has anybody got an idea how to solve this?
Mazi (—82.83.211.25 18:19, 31 October 2007 (UTC))
<?php foreach ($this->data['sidebar'] as $bar => $cont) { ?> <div class='portlet' id='p-<?php echo Sanitizer::escapeId($bar) ?>'<?php echo $skin->tooltip('p-'.$bar) ?>> <h5><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?></h5> <div class='pBody'> <ul> <?php foreach($cont as $key => $val) { ?> <li id="<?php echo Sanitizer::escapeId($val['id']) ?>"<?php if ( $val['active'] ) { ?> class="active" <?php } ?>><a href="<?php echo htmlspecialchars($val['href']) ?>"<?php echo ... </li> <?php } ?> </ul> </div> </div> <?php } ?>
with this...
<?php global $wgUser,$wgTitle,$wgParser; $side = new Article(Title::newFromText('Sidebar',NS_MEDIAWIKI)); if (is_object($wgParser)) { $psr = $wgParser; $opt = $wgParser->mOptions; } else { $psr = new Parser; $opt = NULL; } if (!is_object($opt)) $opt = ParserOptions::newFromUser($wgUser); $html = $psr->parse($side->fetchContent(),$wgTitle,$opt,true,true)->getText(); echo preg_replace("/<li>\\s*<\\/li>/",'',$html); ?>
That will allow the MediaWiki:Sidebar article to be proper wikitext. You will have to turn off TOC and section-editing and add the proper CSS styles to the content to make it look like a normal portlet, so your MediaWiki:Sidebar article will have to look something like the following example after the change:
__NOEDITSECTION____NOTOC__ <div class="portlet"> <h5>Navigation</h5> <div class='pBody'> *[[Main Page]] *[[Community portal]] *[{{fullurl:Special:Recentchanges}} Recent changes] *[[Sandbox]] *[[Help]] </div></div>
Is it true that no Templates come with MediaWiki? I see that the Template namespace is empty, but the MediaWiki namespace is empty too, despite the fact that the are default pages (e.g., system messages) there? Is the same thing going on with templates? Are there "hidden", built-in templates that are there but don't show up in the namespace until you edit them? —Aldaron 20:09, 31 October 2007 (UTC)
Alright, I am really very very confused right now. I installed MediaWiki version 1.11.0, and now I want to stop anonymous users from editing my files. I have seen various pages on how to do it, but they keep talking about version 1.6 and 1.5, and I thought I had the latest version. I got very confused on that. Then I read about this variable:
$wgGroupPermissions
Wich I can't find anywhere, it said version 1.6 and up, so I searched for the veriable for 1.5 and below, wich is:
$wgWhitelistAccount
But I can't find that one anywhere either.
So please, help me on preventing anonymous users editing my wiki pages. —Boebi 21:37, 31 October 2007 (UTC)
$wgGroupPermissions['*']['edit'] = false;
And will it make a difference that I'm using MediaWiki 1.6.8 —71.206.148.179 23:42, 31 October 2007 (UTC)
Regarding caching, I was wondering how to go about using MediaWiki's object cache code. I assume MediaWiki abstracts the underlying cache systems (memcahed, APC, DB cache, etc), and was just wondering what class I would need to call to do some basic object caching. I can figure it out from there with the help of the code documentation, just need to be pointed at the right class ;)
Thanks,
68.80.149.10 04:04, 1 November 2007 (UTC)
The default seach/display option is 20 per page, and 50 per page So displaid are only 50 assets and navigation next 50 and so on is available You can change this in your prerences. e.g. to 10000 Than you just can scroll to the results, much more user friendly.
Mine suggestion is: make 1000 the default value.
ING/DI/BPI Michael van Santvoord the Netherlands —145.221.52.69 11:50, 1 November 2007 (UTC)
Hi,
The dutch wikipedia MainPage uses several Templates for creating their MainPage. One of the key features that won't work on my local mediawiki installation is the following situation:
<div>This is the left part
this is the right part</div>
On wikpedia it renders a correct div element, but on my local installation it renders:
<div>This is the left part this is the right part</div>
How come?
—Kaspera 13:18, 1 November 2007 (UTC)
Szenario: A wiki-user can upload a .avi video-file. On the server ffmpeg encodes it as a flv. Now I want to send this flv (via post-request / powered by zend framework) into the wiki-upload-form. Is it possible? After my script is finished nothing has happend (see code).
I have the following php-Script (including ZEND-Framework):
<?php require_once 'Zend/Http/Client.php'; $client = new Zend_Http_Client(); $client->setUri('http://wiki/index.php/Special:Upload'); $client->setConfig(array( 'maxredirects' => 0, 'timeout' => 30)); $client->setFileUpload('tmp/test.jpg', 'wpUploadFile'); $client->setParameterPost(array( 'wpSourceType' => 'file', 'wpDestFile' => 'myjpegfile.jpg', 'wpUploadDescription' => 'a little description', 'wpWatchthis' => 'false' )); $response = $client->request('POST'); ?>
Sorry for my real bad english! —217.7.129.66 17:38, 1 November 2007 (UTC)
Hi there.
I'm trying to set up wikifarm, but I have a small problem. When clicking on submit after editting a page, I'm redirected to a strange page.
Please try it yourself at http://test.mijnwiki.be/index.php?title=Main_Page&action=edit
I hope I was clear enough.
Thanks in forward!
—87.66.97.132 17:57, 1 November 2007 (UTC)
Is there a way to create pages that are responsive to arguments provided. E.g. something like "Example text {foo} and more text" that can be invoked as .../index.php...&foo=BAR to render a page "Example text BAR and more text"? —Aldaron 22:37, 1 November 2007 (UTC)
Hi, I can't find texvc in my math folder although all 19 other files are present. Where can I get a copy of the said file and can I just upload a compiled file, or I have to upload first and then compile? — PM Poon 14:54, 2 November 2007 (UTC)
Thank you Nad, as always. You are the only person in this whole wide world that I can really count on. My webhost simply push the problem back to me, saying "other subscribers on the same server do not face the same issue as you facing currently." The problem is now resolved.
I've just finished an installation of MediaWiki 1.11 on Windows Server 2003, IIS 6, MySQL 5.0.45, PHP 5.2.4. After getting "CGI misbehaving..." errors, I found instructions on mediawiki.org for changing to phpisapi.dll, which worked. Now when I enter the wikiname in my browser I get taken to a page titled "MediaWiki 1.11.0 Installation", at the address http://wiki/config/index.php. This contains the background skin image, but no MW flower logo, sidebar menu, etc. All there is the text: "MediaWiki 1.11.0 Installation Setup has completed, your wiki is configured.
Please delete the /config directory for extra security." (The wiki is a wikilink to wiki/index.php)
Temporarily renaming the config dir and clicking on that link brings me to a 404 page not found error (even though there is an index.php page under wwwroot/mediawiki).
Restoring the config directory again, and clicking on the link brings me to http://wiki/config/index.php/index.php?title=Main_Page
This has exactly the same text as above, including the link - but this time there isn't even background skin image, its an otherwise completely blank page.
So - what am I missing? And how do I get to a 'standard' main page complete with proper skin and sidebar that I can begin editng? Any help hugely appreciated
Bastun 16:28, 2 November 2007 (UTC)
<?php phpinfo();?>
and see if you can go to it in the browser when it's in the wiki dir. Also you said above that your main index.php file is in wwwroot/mediawiki, but it's trying to execute http://wiki/... (ie not "mediawiki"), so maybe there's an inconsistent path setting in $IP or something. --Nad 00:04, 3 November 2007 (UTC)
Hello. I use a HTML editor and when I write ==Tá== ALL the page become white because the category name do not support entities. But if I put ==Ta== it work! There is someway to allow the entities?
Is it possible, to make a link of each picture in my "Smoothgallery"? (See extension:smoothgallery) I have make an Diashow but i want also to use each picture as a link to another website and not to the picture... Can someone explain me how to make links of the pictures?
—87.154.175.165 17:39, 2 November 2007 (UTC)
Hi,
i wanted to ask how/if it is possible to creat hide/show boxes in an normal wiki article. I would like to add commands to articles this way. With hide/show boxes i mean boxes like the conetens box on a normal wiki article.
thx for any answers!
—62.178.169.122 17:51, 2 November 2007 (UTC)
Hi, __NOTOC__ will remove your table of content box. That much I know! You can put it anywhere in your page, but I like to put in on my first line. — PM Poon 18:22, 2 November 2007 (UTC)
Aha, eh, but i dont want to remove it. I want to add simelar boxes with my own contant in the article.
I get errors when I try to scripts that look at this file (rebuildtextindex.php), saying I'm the wrong user. What should the value set for this file be. Specifically, what user name should be provided for $wgDBadminuser? —Aldaron 19:16, 2 November 2007 (UTC)
Is there a way to remove the option to create a "nickname" and to require (it's "optional" by default) a "real name" in user preferences? --Aldaron 19:41, 2 November 2007 (UTC)
I have started getting this error on index.php?title=Main_Page Fatal error: Call to a member function getText() on a non-object in /home/.hay/my.web.site/includes/SkinTemplate.php on line 529
line 529 is $title = Title::newFromText( $wgRequest->getText( 'title' ) );
I am running Mediawiki 1.11, using PHP Version 5.2.3, and MySQL version 5.0.16 I previously made some changes to SkinTemplate.php but after the error started I restored the original file to no avail.
—Mamaloca 21:03, 2 November 2007 (UTC)
Is there a way to insert the current (editing) user name into a page? Are there ways to do the same with the date? E.g. in a template, is there a way to get the user name automatically w/o the user having to do anything? —Aldaron 23:21, 2 November 2007 (UTC)
How do I hide the sidebar when the wiki read permission is disabled for non registered users? I do not want the sidebar to be visible in any way to anonymous visitors. TIA
Special System Messages ProblemI used Mediawiki 1.11 on server with this configuration : PHP Version 5.2.0-8+etch1+mysql all special pages are work except of System Messages and it leads me to a blank page.there is no apache or php error in log. How can I solve this problem?
SecurityHi, i have an Idea about Mediawiki and security. We have 3 groups which should get access to our wiki but each group should get their own rights.
I mean group 1 should only get access to some pages group 2 should get access to the sites of group 1 and some pages more and also the edit rights should be the same. (same for group 3) Group 1 should not be able to read sites which are done by group2.
Means:
My Idea is to install 3 databases. Is it possible to make 3 Mediawikis, but say in the Page(localsettings.php or what else) of Wiki2 that it can have read and edit acces in Database 1 and write read and edit access in Database 2?
Hi, i have an Idea about Mediawiki and security. We have 3 groups which should get access to our wiki but each group should get their own rights.
I mean group 1 should only get access to some pages group 2 should get access to the sites of group 1 and some pages more and also the edit rights should be the same. (same for group 3)
Means:
My Idea is to install 3 databases. Is it possible to make 3 Mediawikis, but say in the Page of Wiki2 that it can have read and edit acces in Database 1 and write read and edit access in Database 2?
Redirect loop detected!I updates mediawiki from 1.6.8 to 1.11
Now I've got the following error:
Internal error Redirect loop detected! This means the wiki got confused about what page was requested; this sometimes happens when moving a wiki to a new server or changing the server configuration. Your web server was detected as possibly not supporting URL path components (PATH_INFO) correctly; check your LocalSettings.php for a customized $wgArticlePath setting and/or toggle $wgUsePathInfo to true.
The Results of the installation routine:
PHP 5.1.6 installed Found database drivers for: MySQL PostgreSQL Warning: PHP's register_globals option is enabled. Disable it if you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. PHP server API is apache2filter; using ugly URLs (index.php?title=Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (/tmp) appears to be valid. PHP's memory_limit is 32M. Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/gdiff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/diff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/diff3.exe) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/gdiff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/diff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/diff3.exe) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/opt/csw/bin/gdiff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/opt/csw/bin/diff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/opt/csw/bin/diff3.exe) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/gnu/bin/gdiff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/gnu/bin/diff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/gnu/bin/diff3.exe) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/sfw/bin/gdiff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/sfw/bin/diff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/sfw/bin/diff3.exe) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/sbin/gdiff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/sbin/diff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/sbin/diff3.exe) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/sbin/gdiff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/sbin/diff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/sbin/diff3.exe) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/bin/gdiff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/bin/diff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/bin/diff3.exe) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/gdiff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/diff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/diff3.exe) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/X11R6/bin/gdiff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/X11R6/bin/diff3) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/X11R6/bin/diff3.exe) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 1793 GNU diff3 not found. Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/convert) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 517 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/opt/csw/bin/convert) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 517 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/bin/convert) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 517 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/sw/bin/convert) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 517 Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/opt/local/bin/convert) is not within the allowed path(s): (/home/httpd/vhosts/symptome.ch/httpdocs:/tmp:/usr/share/pear) in /home/httpd/vhosts/symptome.ch/httpdocs/wiki/config/index.php on line 517 Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: /home/httpd/vhosts/symptome.ch/httpdocs/wiki Script URI path: /wiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider changing it manually. Generating configuration file... Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as wiki...success. Connected to 4.1.21 Database wiki exists There are already MediaWiki tables in this database. Checking if updates are needed... ...hitcounter table already exists. ...querycache table already exists. ...objectcache table already exists. ...categorylinks table already exists. ...logging table already exists. ...user_newtalk table already exists. ...transcache table already exists. ...trackbacks table already exists. ...externallinks table already exists. ...job table already exists. Creating langlinks table...ok Creating querycache_info table...ok Creating filearchive table...ok Creating querycachetwo table...ok Creating redirect table...ok ...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...have rc_type field in recentchanges table. ...have rc_ip field in recentchanges table. ...have rc_id field in recentchanges table. ...have rc_patrolled field in recentchanges table. Adding rc_old_len field to table recentchanges...ok ...have user_real_name field in user table. ...have user_token field in user table. ...have user_email_token field in user table. ...have user_registration field in user table. ...have log_params field in logging table. ...have ar_rev_id field in archive table. ...have ar_text_id field in archive table. ...have page_len field in page table. ...have rev_deleted field in revision table. ...have img_width field in image table. ...have img_metadata field in image table. ...have img_media_type field in image table. ...have ss_total_pages field in site_stats table. ...have iw_trans field in interwiki table. ...have ipb_range_start field in ipblocks table. ...have ss_images field in site_stats table. Adding ipb_anon_only field to table ipblocks...ok Adding ipb_enable_autoblock field to table ipblocks...ok Adding user_newpass_time field to table user...ok Adding user_editcount field to table user...ok Adding rc_deleted field to table recentchanges...ok Adding log_id field to table logging...ok Adding log_deleted field to table logging...ok Adding ar_deleted field to table archive...ok Adding ipb_deleted field to table ipblocks...ok Adding fa_deleted field to table filearchive...ok Adding rev_len field to table revision...ok Adding ar_len field to table archive...ok Adding rev_parent_id field to table revision...ok ...page_restrictions table does not exist, skipping new field patch Adding ipb_block_email field to table ipblocks...ok Adding oi_metadata field to table oldimage...ok Adding ar_page_id field to table archive...ok Adding img_sha1 field to table image...ok ...already have interwiki table ...indexes seem up to 20031107 standards Already have pagelinks; skipping old links table updates. ...image primary key already set. The watchlist table is already set up for email notification. ...watchlist talk page rows already present ...user table does not contain old email authentication field. Logging table has correct title encoding. ...page table already exists. revision timestamp indexes already up to 2005-03-13 ...rev_text_id already in place. ...page_namespace is already a full int (int(11)). ...ar_namespace is already a full int (int(11)). ...rc_namespace is already a full int (int(11)). ...wl_namespace is already a full int (int(11)). ...qc_namespace is already a full int (int(11)). ...log_namespace is already a full int (int(11)). ...already have pagelinks table. ...templatelinks table already exists No img_type field in image table; Good. Already have unique user_name index. ...user_groups table already exists. ...user_groups is in current format. ...wl_notificationtimestamp is already nullable. ...timestamp key on logging already exists. Setting page_random to a random value on rows where it equals 0...changed 0 rows Checking for additional recent changes indices... ...index `rc_ns_usertext` not found; adding...done. ...index `rc_user_text` not found; adding...done. Checking for backlinking indices... Checking if pagelinks index pl_namespace includes field pl_from... ...index pl_namespace on table pagelinks has no field pl_from; adding Checking for categorylinks indices... Checking if categorylinks index cl_sortkey includes field cl_from... ...index cl_sortkey on table categorylinks has no field cl_from; adding Creating page_restrictions table...ok Migrating old restrictions to new table...ok Adding usertext,timestamp key on archive table... ok Adding usertext,timestamp key on image table... ok Adding usertext,timestamp key on oldimage table... ok Deleting old default messages (this may take a long time!)...Done Checking site_stats row...ok. Purging caches...done. Finished update checks. Creating LocalSettings.php... ---------------------------------------------------------------------------- ---- Installation successful! Move the config/LocalSettings.php file to the parent directory, then follow this link to your wiki. You should change file permissions for LocalSettings.php as required to prevent other users on the server reading passwords and altering configuration data.
Any help? Thanks a lot!
HTTP Edit Call via POSTHello,
I've been here a couple times before ;) one of those times was #Creating_a_New_Article_via_Extension_Code. The Perl script, unfortunately, did not get the job done as I had expected. It required entirely too much modification, to the point that it just wasn't worth doing. I abandoned the idea for a while, simply because I was too busy; well, now I'm back again ;)
I'm trying to do the job in PHP. I would use the pecl_http library, but I just can't get it to build in the server's shell - so I'm doing it with raw fsockopen()-based calls; doesn't make it that much more complicated. Anyway, I had it to the point that it was submitting - but the server was returning an error page, stating that the edit failed due to a loss of session data. Makes sense, since I wasn't sending it the session cookies. So I added the cookies - and now it seems to just hang; it even locks up the httpd master process, and I have to restart the daemon. Here's the code:
// $this->wpStarttime is set to date('YmdHis') at the beginning of the script. // $imported, $updated, $updatedNum, and $unchanged are all set as parameters to the method call. $n = "\r\n"; $data = 'wpSection=&wpStarttime=' . $this->wpStarttime . '&wpEdittime=' . date('YmdHis') . '&wpScrolltop=&wpSummary=' . urlencode($imported . ' new spells; ' . $updated . ' updated spells (' . $updatedNum . ' total changes); ' . $unchanged . ' unchanged spells') . '&wpSave=Save+page&wpTextbox1=' . urlencode($this->changes_str); $r = '<pre>'; if(!$s = fsockopen('localhost', '80', $errno, $errstr, 15)) { $r .= 'ERROR: ' . $errno . ' - ' . $errstr; } else { stream_set_timeout($s, 10); fwrite($s, 'POST /wiki/index.php?title=Patch:SpellChangesByDate/' . substr($this->wpStarttime, 0, 8) . '&action=submit HTTP/1.1' . $n . 'Host: eq.knowledgepit.org' . $n . 'Cookie: kp_eq__session=' . urlencode($_COOKIE['kp_eq__session']) . '; kp_eq_Token=' . urlencode($_COOKIE['kp_eq_Token']) . '; kp_eq_UserName=' . urlencode($_COOKIE['kp_eq_UserName']) . '; kp_eq_UserID=' . urlencode($_COOKIE['kp_eq_UserID']). $n . 'Connection: Close' . $n . 'Content-Type: application/x-www-form-urlencoded' . $n . 'Content-Length: ' . strlen($data) . $n . $n . $data ); while(!feof($s)) { $r .= fread($s, 256); } } fclose($s); return $r . '</pre>';
Like I said, it works like a charm (well, sort of, it of course does not actually save the data) when I remove the cookies. Do I need to remove one of the cookies? Or add another?
Thanks for your time,
Greeting. Is it possible to add TABS in MediaWiki. Much like there's a Project Page, Discussion, Edit, and History.
I'd like to add custom tabs related to the Project Page.
Thanks. —162.119.232.109 03:54, 4 November 2007 (UTC)
What are the license implications of there various licenses under which the MediaWiki code is made available. For example, if I build a site using MediaWiki, do I still own the contents of the site, or have I released it into the PD, or under the GNU Free Documentation License? What happens if I borrow a template from Wikipedia?
Say for example, I find a template here or on Wikipedia that I like and copy it to my project. I see that the actual page defining this template is subject to whatever copyleft license applied to the original version from which it was derived, so that if someone comes across my version of the template and says they want to use it, I have to let them. Big deal, no one will be editing these templates (I can lock them) and no one would have any reason to put any valuable project-related proprietary stuff there anyway.
Here's the question though: what about all the pages that use this template? Are they "poisoned" by the license that applies to the template itself? I can't imagine that they are. That would be insane. But I want to be sure. —IsusBog 04:16, 4 November 2007 (UTC)
MySQL error 1267?Hello! I succefully install MediaWiki 1.11.0 And when I go to index.php I see that error mysql:
«Article::pageData». MySQL error «1267: Illegal mix of collations (cp1251_bin,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation '=' (localhost)».
I occasionally use MediaWiki for maintaining todo-lists. Users can mark tasks as "done" (or add new tasks to the list). I am looking for an easier (automated) way to change the status of a task. Instead of editing the page to mark a task as "done" for example, I'd like to have an image acting as a status indicator (e.g. green checkmark for "done", red "x" for "not done"), which acts as a toggle when clicked. It should edit the status inside the article (e.g. change "status: 0" to "status: 1") whenever an user with editing rights clicks on it. Basically I'm looking for a way to automatically edit a specific part of an article by clicking an image. Is there some kind of extension for this? Or is there another way to do this?
Hi!
I needed this wiki gem for my site. I was glad to see that it supported Hungarian language. The language file seemed to be too old (many lines untranslated), so I synchronized it to the latest version 1.11.0 and completed the translation. I looked around on your site but haven't found the way to submit it. Would you give me some information?
Cheers,
Every time I click the edit button on an entry, it prompts to download a .php file at heavenswiki.adamsweb.us. What's going on? —71.221.168.219 01:39, 5 November 2007 (UTC)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4