Project:Support desk/Sections/Miscellaneous

__NEWSECTIONLINK__

= Miscellaneous (unsorted) Issues =

Generate TOC from one page on another page

 * MediaWiki 1.13.2
 * PHP 5.2.10-pl0-gentoo (apache2handler)
 * MySQL 5.0.70-log

In short, I've got a page that includes a link to a target page. I'd like to include the TOC of the target page underneath the link to the target page so it acts like a jump table into the page. Is there an automatic way to do this, or am I stuck making and updating links manually? Thanks.

Linking pages by words
Hi, is there a plugin that automatically links key words to other Wiki pages? At the moment I am manually creating links but I'm sure there must be another way?

Any help would be much appreciated!


 * What I've done with our wiki is I built templates for specific key words. e.g. we do a lot of engineering, so for design & development I write  then modify the template to point to the appropriate procedures page.  It's not quite automated, but better than manually adding a link.  Plus, if the link ever changes, you only have to change the template once and the entire site reflects the new link.

How to add certain structured info to a list or table by an inputbox or submit button
MediaWiki 1.14.0 PHP 5.2.9 (apache2handler) MySQL 5.1.33-community URL local

I would like to make a list on a wikipage. This list must contain "name", "date" and "in" or "out" fields wich can be filled in by an inputbox. The goal is someting like a log for our users, so we can have an overview of who is taking hardware on the road.

Can this be done in wiki (php)? And how?

Thanks in advance.

How to add product feeds from affiliates?
MediaWiki 1.15.0 PHP 5.2.9 MySQL 5.1.33 URL local

i would like to include product feeds from affiliate networks on my website Klusopedia. Can this be implemented and how? My affiliate network offers xml and csv feeds.

Thanks

Fatal Error...
I got this on a free webserver (so I don't have an access to it), after trying to save the page or to log in:

Fatal error: session_start [function.session-start]: Failed to initialize storage module: files (path: ) in /mnt/md1/public/d/o/dob/includes/GlobalFunctions.php on line 2453 What should I do now? :-D

Drkazmer


 * you will want to post what version of mediawiki you have. If you do not know, go to http:// /Special:Version.  Without it, finding out what function is on line 2453 will be a guess.

character before DOCTYPE "<<!DOCTYPE html PUBLIC .."

 * MediaWiki version: 1.13.2
 * PHP version: 5.1.6 (apache2handler)
 * MySQL version: 5.0.45
 * URL: local

I got a character above the logo "<" and I don't know what is generating it

and it is always there when I use the rich editor "disabling the rich editor doesn't help"

also with every preview it appends one more character as follow

< < one more thing

viewing page source I find that character before <!DOCTYPE..

<<!DOCTYPE html PUBLIC .....

looks like something is appending that character "<" to the (output stream) How to debug such behavior?

FireFox error console shows

</* generated javascript */

what could be generating that character "<"?

sounds like HTML vs XHTML but how it could be fixed?

In MediaWiki what could be parsing anything before actually parsing any page, this character '<' is appended before any page, in the editor, just everywhere on the top of the page before the wiki actually parsing the page content

embed copies of authoritative versions of pages from other mediawiki instances, sharing one page history between mediawikis

 * MediaWiki version: 1.13.3
 * PHP version:
 * MySQL version:
 * URL:

There appear to be many ways of including content from one page to another, including templates and the "embed page" capability (which seems restricted to Special pages). The terms "transwiki", "inclusion" and "interwiki" are used in a confusing way making it difficult or impossible to answer some simple questions:


 * How, exactly and with examples, does one specify that the master or authoritative version of a page is at some other mediawiki, providing both a link to the editable version of that page and a visible & protected copy of it as if it were a page within one's own wiki (identical to the features of wikinfo?
 * How, exactly and with examples, does one simply include an entire non-Special non-template page from the same wiki? Is it possible to include from another wiki that is hosted on the same MySQL installation?
 * How, exactly and with examples, would one implement two-way transclusion so that the page could be edited in either one of two wikis, and the edits would be made reliably on the other to unify the page histories?
 * 1) Are there any good examples of public mediawikis sharing content in any of these ways with private ones?
 * 2) What other approaches, such as "auto-import of Wiki articles via XML using PHP's Expat Library" are used in Mediawiki extensions, and what are the advantages/disadvantages of doing this inclusion using XML rather than mediawiki's internal facilities?

Concurrent users and Add ons to Wiki
Do you know if there are any Microsoft word add ons that can be used with Wiki? Is there a way to lock a document so that no 2 users are updating the same file?

Untitled
Remarque : Les versions de PHP et MySql sont celles fournies par Xampp 1.1.1.2
 * MediaWiki version: 1.14.0
 * PHP version: 5.2.8
 * MySQL version: 5.0
 * URL:

Comment puis-je afficher la valeur d'une variable contenue dans LocalSettings.php ?

How may I post(show) the value of a variable like $wgStylePath?

Many thanks

How to combine regular expression so that you get the number of contributors per article ? (Extension:contributors)
I would like to use a reg ex to get from:    > the number of users (here is 5).

So that i could use : in a Reg Ex to get the number of contributors in Article.


 * Then, how to get an average on every articles or articles from a special cat ? Thx!

What have I do?
I had to start new MediaWiki 1.15.0rc1 Installation but received:


 * Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.


 * Checking environment...

Please include all of the lines below when reporting installation problems.


 * PHP 5.2.6 installed
 * Found database drivers for: MySQL SQLite
 * 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 32M.
 * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
 * Found GNU diff3: /usr/bin/diff3.
 * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
 * Installation directory: /usr/local/www/name_of_site.com/www
 * Script URI path: Installing MediaWiki with php file extensions
 * Environment checked. You can install MediaWiki.

Fatal error: Call to undefined function taint in /usr/local/www/name_of_site.com/www/config/index.php on line 1905

Does MediaWiki have access counter function?
I want to know that how many times is every page accessed. Can every page show its access times as the home page（main page）do? For example, japanese edition home page show "このページは 1 回アクセスされました. "(English: This page is accessed 1 times.)

If MediaWiki has this function, how do I configure it? If not, do I need to modify MediaWiki's source? How?


 * Wiki Environment:
 * MediaWiki 1.14.0
 * PHP 5.2.9 (apache2handler)
 * MySQL 5.1.33

Thanks & Best Regards ZhuZengyang

Headings in included articles

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.0-8+etch16 (apache2handler)
 * MySQL version: 5.0.32-Debian_7etch11-log
 * URL: http://www.wikiskripta.eu

There is a logical need to decrease heading levels (position when embedded + 1) of included articles in Wikiskripta. Does it exist any extension sorting the problem out? Maybe it should be reported like a bug, surely also in other Wiki-projects would be logical and useful to decrease the indluded heading levels.

Text of the article
 * Article A

Heading
Text under the heading.

Text of the article.
 * Article B

Heading
Text under the heading.

This is a new combined article.
 * Combined article

Subheading of the combined article
This is a new combined article.
 * Present interpretation of the combined article

Heading of the combined article
Text of the article

Heading
Text under the heading.

Subheading of the combined article
Text of the article

want to redirect a different page when user is not logged in

 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

When user is not logged in, then it redirect to the same index.php page, but I want to redirect to a different page such as login.php which is a copy of index.php file. Please let me know how to configure the redirection (using Apache). Thanks.

Help with two errors

 * MediaWiki version: 1.15.1
 * PHP version:
 * MySQL version:
 * URL: www.basilicatawiki.it

Hi, I've two errors on my mediawiki website www.basilicatawiki.it

"Fatal error: Call to a member function isListed on a non-object in /web/htdocs/www.basilicatawiki.it/home/includes/SpecialPage.php on line 210"
 * The first mistake is about the Latex. Why it doesn't work on my site? It seems it doesn't write something...
 * Se second error is in the homepage. I cannot access on the special page and everytime I receive this sentence:

What I have to do? Please help me... Sorry for disturb, Regards

Gaetano Massari gcm981@yahoo.it

Image display to a network shared file
Would like to display a image via a network shared file. Then if you click on the image it will open the image in a new window. is there something like this?

MediaWiki 	1.15.9 PHP 	       5.2 Mysql 	       5.2

Thanks in advance..

Small icons above line when "Sitenotice" is being used

 * MediaWiki version: 1.15.2
 * PHP version: 5.2.13 (cgi-fcgi)
 * MySQL version: 5.1.30
 * URL: testing.wikimissing.org/wiki/Template:Move ignore the top message

as you will see on the link provided above, there is a "permently protected" icon what is used on wikipedia.

the icon appears in line with the title when sitenotice is not being used

but when it is, it stays in the same place, causing the error on the page.

when site notice is being used on wikipedia, the icon stays in line

i would like to know how to make that work for my wiki

i do not want to use the paramater on my wiki because i want to use my own custom padlock icons.

many thanks


 * Conact me on wikipedia: Sghfdhdfghdfgfd on Wikipedia.org
 * email me on info@wikimissing.org
 * place a notie on my wiki here (its template:move)

Browsing mediaWiki site using the server name over the intranet
MediaWiki 1.15.3 PHP 5.3.0 (apache2handler) MySQL 5.1.36-community-log URL: Not Public

I have access to the site using http://127.0.0.1:8080/mediawiki but I want to be able to access the site over the intranet, with the server name http://servername:8080/mediawiki

Can someone please direct me to what I have to change to enable this? I am not very familiar with Apache, i appreciate your help.


 * keep your computer on all the time and set up an account on dyndns

Suggestion on name for internal page
Just silly question. At my company we have wikimedia installation and it works great. We decided to put links to forms and other compnay information, but only for internal use (we are medical company not internet/web commerce company). What is good term to call our new internal page? Wiki is too limited. This is more than only wiki. Someone suggest Internal Company Portal (after your "community portal" on main page). Do you have suggestion? What is most common?

Intermitent bug during data entry using Semantic Forms

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.10-2ubuntu6.4 (apache2handler)
 * MySQL version: 5.1.37-1ubuntu5.1
 * URL: Internal Intranet -> no external access.

We are experiencing a intermitted bug during data entry using Semantic Forms using IE. The bug seems limited mainly to users who have logged in for the first time. Further this issue appears to only affect users of IE. User creates account and log-in. User creates a new page using a form, enters data for all fields, hits the "Save Page" button and all the data is lost. If they re-enter the data, then saves, the data is retained. No error messages are displayed. Any assistance welcome.

Thank you, Adam.

Security Settings for User Pages and Talk Pages
How can I add security settings to my user page or talk page? I want only certain users to have access to my page and block all others.

Short URL

 * MediaWiki version: 1.12.0
 * PHP version: 5.2.13 (cgi-fcgi)
 * MySQL version: 5.1.47
 * URL: http://www.endodontics.ru/

I can not make Short URL by this Manual: http://www.mediawiki.org/wiki/Short_URL. ???? in LocalSettings.php: $wgScriptPath      = ""; but it mast be: $wgScriptPath = "/w";        # Path to the actual files. This should already be there (in Manual) What can i do? Where is httpd.conf?????


 * http.conf is an apache file that can not be edited on a shared web host... What hoster do you use? GoDaddy? Hosting Insiders?

Wiki farm and Simlinks

 * MediaWiki version: 1.17.0
 * PHP version: 5.2.4-2ubuntu5.17 (apache2handler)
 * MySQL version: 5.0.51a-3ubuntu5.8
 * URL: de.crowiki.info

I try to install a wiki farm with Method 4: Multiple wikis sharing common resources. I still worked as described but after I changed the described folders to simlinks, I receive follwoing error:

''Warning: require_once [function.require-once]: open_basedir restriction in effect. File(/var/www/vhosts/crowiki.info/subdomains/pool/httpdocs/includes/WebStart.php) is not within the allowed path(s): (/var/www/vhosts/crowiki.info/subdomains/de/httpdocs:/tmp) in /var/www/vhosts/crowiki.info/subdomains/de/httpdocs/index.php on line 43

Warning: require_once(/var/www/vhosts/crowiki.info/subdomains/pool/httpdocs/includes/WebStart.php) [function.require-once]: failed to open stream: Operation not permitted in /var/www/vhosts/crowiki.info/subdomains/de/httpdocs/index.php on line 43

Fatal error: require_once [function.require]: Failed opening required '/var/www/vhosts/crowiki.info/subdomains/pool/httpdocs/includes/WebStart.php' (include_path='.:') in /var/www/vhosts/crowiki.info/subdomains/de/httpdocs/index.php on line 43''

I tried different ways to manage it but I still have no luck.

Every solution or idea is welcome.

—87.181.9.230 18:50, 26 June 2011 (UTC)


 * You need to change open_basedir. If you can't do that, you need to work within the directory restrictions open_basedir imposes, which may mean you can't use symlinks here. —Emufarmers(T 05:41, 28 June 2011 (UTC)

Undefined method SpecialPage::specialpage Error

 * MediaWiki version: 1.17.0
 * PHP version: 5.2.5
 * MySQL version: 4.1.12
 * URL: intranet only

I have just upgraded my Wiki 1.12.0 to 1.17.0. Everything seems to be fine but when I click on the "Special pages" link in the Nav bar, I got the following error: Fatal error: Call to undefined method SpecialPage::specialpage in /var/www/html/extensions/Deleteuser/SpecialDeleteuser_body.php on line 5

Below is the log piece: [root@wiki01 tmp]# vi wiki.log Start request

GET / HTTP HEADERS: Host: wiki01.imagitas.com User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 DNT: 1 Connection: keep-alive Cookie: mw_installer_session=q1fjhlcdhvhojifmf38ejha1d2

CACHES: FakeMemCachedClient[main] SqlBagOStuff[message] SqlBagOStuff[parser] Unstubbing $wgMessageCache on call of $wgMessageCache::addMessages from wfExtensionAWCMultiFileUploader Use of MessageCache::addMessages is deprecated. [Called from call_user_func_array in (internal function)] LocalisationCache: using store LCStore_DB Use of SpecialPage::addPage is deprecated. [Called from wfExtensionAWCMultiFileUploader in /var/www/html/extensions/awc/multi_file_uploader/main.php at line 7] Fully initialised Unstubbing $wgContLang on call of $wgContLang::getCode from MessageCache::get Connecting to localhost imagidoc... Connection failed to localhost imagidoc. Failed to connect to database 0 at localhost ~

How would I go about to fix these errors? Many thanks for your help. fyi. I was able to connect to the mysql database using myspq -u root -p from command line.

—76.191.40.2 15:32, 12 September 2011 (UTC)