Project:Support desk/Archive 09

Problems with inserting WIKIPEDIA in frames or iframe
Dear friends in Wiki,

I have important task to make one html page with 2 frames (or 2 iframes). In first I must put PDF file, and in second I must have WIKI-page, because users of my site will compare to files and correct text in wiki-page. When I make the usual page with two frames and load it it immediatly refresh itself and only wiki-page appear. WHAT'S HAPPEN? PLEASE HELP!?!?

Razum

In your file /path/to/wiki/skins/common/wikibits.js, find the following:

// Un-trap us from framesets if (window.top != window)window.top.location = window.location;

And remove it. After that, clear your cache (ctrl+f5, shift+f5 or some other key combination), then things should work properly. —color probe — Talk — Contribs ¤ 15:05, 26 May 2007 (UTC) Oh yes, thank you very much! And have a nice day! :-D

Sign for text indent (":"): Having influence on its behaviour
Hello!

There's the colon sign ":" to indent a text if it is given at the beginning of a line. Where and how is it defined how much the indent is? Is it possible to overwrite this definition at localsettings.php to get more or less text indent?

Regards -- commons:User:JörgM 08:25, 27 July 2007 (UTC)


 * The actual tag is &lt;dd&gt; and it's defined in main.css for Chick, Monobook, and Simple skin (the usual def is margin-left: 2em;). To override site-wide, edit MediaWiki:Common.css and add the following: dd { margin-left: 3em; }
 * You could also just over-ride for particular skins (I.E. MediaWiki:Monobook.css)
 * --Tim Laqua 22:15, 27 July 2007 (UTC)


 * Thanks a lot! Best regards -- commons:User:JörgM 07:15, 28 July 2007 (UTC)

generic redirection error
Ever since I switched to a new host my wiki won't work. It starts loading but then gives a generic redirection error. The domain name has been switched properly and all databases imported. All files are in place.

link: http://zimwiki.com/index.php/Main_Page --70.67.167.157 04:11, 27 July 2007 (UTC)


 * It's your clean URLs. Re-config your clean URLs. In LocalSettings.php: $wgArticlePath = "$wgScript?title=$1"
 * http://zimwiki.com/index.php?title=Main_Page
 * --Tim Laqua 21:50, 27 July 2007 (UTC)

thanks that fixed it --70.67.167.157 06:05, 29 July 2007 (UTC)

How to generate prefex automaticly

 * When i type RFC **** in a random page, and save it ,there will be a link to certain RFC release. So i guess could i modify the template and make my wiki can generate some other prefex for certain words.

Media Wiki 1.6.10 Install Error
Attempting to install MediaWiki on a virtual hosting account running php 4.4.4 and mysql 4.1.13 and getting the following error (Update: Error resolved):

* PHP 4.4.4 installed *     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 apache; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * PHP's memory_limit is 64M. If this is too low, installation may fail! * Have zlib support; enabling output compression. * Neither Turck MMCache nor eAccelerator are installed, can't use object caching functions * GNU diff3 not found. * Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /home/USERNAME/domains/DOMAIN.com/public_html/w * Script URI path: /w * Environment checked. You can install MediaWiki. Generating configuration file... * Database type: mysql * PHP is linked with old MySQL client libraries. If you are using a MySQL 4.1 server and have problems connecting to the database, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. * Attempting to connect to database server as afoygel...success. * Connected to 4.1.13; You are using MySQL 4.1 server, but PHP is linked to old client libraries; if you have trouble with authentication, see http://dev.mysql.com/doc/mysql/en/old-client.html for help. o Error selecting database wikidb: 1044 Access denied for user 'USERNAME'@'localhost' to database 'wikidb

--68.163.151.121 04:41, 1 August 2007 (UTC)
 * You need to Grant permissions on wikidb.* - See Manual:Installation
 * GRANT ALL ON wikidb.* TO 'USERNAME'@'localhost' IDENTIFIED BY 'password';
 * or if you're Web Server is on a different box than your DB server - you have to configure remote access to MySQL and grant differently
 * GRANT ALL ON wikidb.* TO 'USERNAME'@'192.168.0.x' IDENTIFIED BY 'password';