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

Apache HTTP Server Crashes When Trying To Access Preferences

 * MediaWiki version: 1.15.0
 * PHP version: PHP5_SE (Version 5.3.0)
 * MySQL version: MySQL5_SE (Version 5.1.35)
 * URL: This is local

Why does the Apache HTTP Server crash each time I try to access Special: Preferences page? Yet the Mowes Portable interface shows that Apache is running? Thanks.

-Alex

Also seeing this in new install under IIS7 (PHP 5.3.3, MySQL 5.1.45, local install) -Steve
 * Check your PHP log, because it contains details that will allow us to help you. siebrand 12:39, 30 July 2010 (UTC)

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.

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?????

** Section Links **
Hello, I have mediawiki v1.15.4.

Ok while i was playing with my wiki during setup i noticed that when editing an article with headings if i specified the section number as 0 i could edit all the text before the first heading, maybe this is a bug but i would like to take advantage of it. i would like to place a link to the far right like the other section edit links that will edit section 0 what file should i edit. i looked through OutputPage.php and ParserOutput.php but i don't know where those links are being made Thanks for you suggestions
 * There's a gadget called 'edittop' which does that. Max Semenik 12:52, 30 July 2010 (UTC)

ReWrite /URL

 * MediaWiki version: 1.15.4
 * PHP version: 5.0
 * MySQL version: 5.0
 * URL: http://oriolesprospects.com/w/

How do I set friendly URLs? Everything I have tried does not work. I already have wordpress installed.

—98.231.139.97 18:35, 23 July 2010 (UTC)
 * See Manual:Short URL for details. siebrand 12:36, 30 July 2010 (UTC)

upgrade from MediaWiki 1.6.8 to MediaWiki 1.13.4

 * MediaWiki version: 1.13.4
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.45
 * URL:

When I upgraded from MediaWiki 1.6.8 to MediaWiki 1.13.4 I noticed that the number of records in the 'page' table reduced from 10201 (in wiki 1.6.8) to 8723 (in wiki 1.13.4) - I know this is an estimated count for Innodb engine but I looked at the data and noticed that id's from 2-934 had disappeared.

Would this be the expected behaviour for an upgrade from vers. 1.6.8 to 1.13.4?

—195.188.250.62 07:53, 30 July 2010 (UTC)
 * I think that a lot of those are system messages by User:Mediawiki default, which were no longer necessary -- Bryan ( talk|commons ) 11:54, 30 July 2010 (UTC)
 * Also, please be aware that MediaWiki 1.16.0 has been released recently, and MediaWiki 1.13.4 is considered outdated and insecure. siebrand 12:35, 30 July 2010 (UTC)

need to find and optionaly replace a " "

 * MediaWiki version: 1.15.4-1~bpo50+1
 * PHP version: 5.2.6-1+lenny8 (apache2handler)
 * MySQL version: 5.0.51a-24+lenny4-log
 * URL:

Hi. I need to find in my wiki all entries like and optionaly replace it with other text. Unfortunaltely a builtin search seems to ignore tags.

—Sena 15:31, 30 July 2010 (UTC)

Font size suddenly increased - inline styles?
Our wiki's font has all of a sudden become too large. (Yes, I checked my browser settings first. It's happening on everyone's computer. ;) Due to my company's policy and firewall, I don't have access to Firefox on my machine, only IE 7, so I saved one of the pages as a flat HTML file and then opened it on a standalone machine using Firefox. The computed CSS for font size is now 16px, but I'm unable to find exactly WHERE that's being declared.
 * MediaWiki version: 1.13.0
 * PHP version: 5.2.4
 * MySQL version: 5.0.45
 * URL: [Internal site]

The only clue I can find is a table class that doesn't exist anywhere in our stylesheets and the name seems to appear to be generated as an inline style. (It says table class="diptable collapsible" - but there's no diptable in any of the stylesheets.) There are also some tables whose CSS seems to be messed up by inline styles, as they're not lining up properly as they were before -- almost as if the width was changed.

The only change I've made recently (and I undid the changes after the site started acting wonky) was a change in the UserLogin.php template -- I added another table row in with text that could be edited in Special:AllMessages. However, I undid all the changes once the site started acting weird, but it's still showing the bloated font size/messed up layout.

Any advice would be very much appreciated. Thank you!

(Posted this on the Formatting page without realizing support had been discontinued... sorry for the double-post!)

—169.253.4.21 16:32, 30 July 2010 (UTC)

Starting "MediaWiki", "pgsql.so module" asked !

 * MediaWiki version: Not yet known ! Does not open ! Loaded with a package "Apache, PostgreSQL, etc !
 * PHP version: The provided one in the package ! Before, I loaded the latest from "PHP Site" !
 * MySQL version: Here, it is "PostgreSQL", latest version !
 * URL: <>

Sir, it is simple : After I loaded a Package from "PostgreSQL", I had the Chance to find "MediaWiki" for a Download. I already loaded it thru anoter way, but, "unzipped", it just gave a long list of "Modules in PHP" and similar, but no "Setup" or "Installer.exe" ! But now, I have in "PostgreSQL Add-on" a "Working MediaWiki". Unfortunately, when I "Click" on it, it gives only : << 	PHP 5.2.13 installed Could not find a suitable database driver! For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module>> Where in the Hell could I find this "pgsql.so module", and How I can Install it conveniently in my computer ? Sorry to be such a dumb, I have been in Computers Maintenance between 1980 and 1994, but I did not practice since ! Well, I hope you can help ! Thanks anyway for providing a way to contact You ! Eric Beaussart.

—83.202.222.86 22:38, 30 July 2010 (UTC)

Printing a wiki page without showing the URLs behind the links

 * MediaWiki version: Don't know
 * PHP version: don't know
 * MySQL version: don't know
 * URL: http://editthis.info/pest/Main_Page

When I print, or print preview, a page on my wiki, it always displays the URL behind each link on the page. Is there a way to suppress the URL, to make the printed document more attractive (and readable)?

—Thegn 14:11, 31 July 2010 (UTC)

Parameters when embedding Special:WhatLinksHere

 * MediaWiki version: 1.13.5
 * PHP version: 5.2.14 (cgi-fcgi)
 * MySQL version: 5.0.51a-24+lenny4
 * URL: not available to the public

(should work also on
 * MediaWiki version: 1.15.4 (to be updated ...)
 * PHP version: 5.2.5
 * MySQL version: 5.0.51
 * URL: not available to the public)

Embedding special page Special:WhatLinksHere works when using the solution on m:Help:Embed_page (i.e. changing an array at includes/SpecialPage.php). So it can embedded using  .

What I am looking for is if there is any possibility to add a parameter for a certain namespace (something like  ), maybe by using a programmed template or something else. I have got solutions which


 * change standard parameters in includes/specials/SpecialWhatlinkshere.php (this is site-wide; results in disability for giving links from ALL namespaces),
 * give just a pre-defined link instead of embedding (user has to click on the link),
 * embed an iframe with a pre-defined link (user gets a whole wiki page in the iframe including links, which results maybe in further reading and editing in the iframe),

but there is always something not being that convenient (as described above). Any ideas? Best regards -- JörgM 84.156.136.138 06:24, 4 August 2010 (UTC)

Database Error. The page i was editing gave me the error once i saved -Revision::insertOn". MySQL returned error "1062: Duplicate entry '348' for key 'PRIMARY' (localhost)

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

I get the error message while i was editing a page and saving it. Revision::insertOn". MySQL returned error "1062: Duplicate entry '348' for key 'PRIMARY' (localhost)

—71.178.253.218 19:46, 5 August 2010 (UTC) Karthik Kona. karthiks_kona@yahoo.co.in

signup issue after upgrading to 1.15.4

 * MediaWiki version: 1.15.4
 * PHP version: 5.2.13 (apache2handler)
 * MySQL version: 5.0.77
 * URL: www.schoolwiki.in

i have installed the mediawiki 1.5.6 and its working fine. Noe we have to upgrade the mediawiki to the latest 1.15.4 and its shifted to 64 bit (centOS) operating system. The upgrading procedure is done as per the Upgrading procedure. Now there is two issues :

1. can't to create a new user account. we are enter the user details and click the submit button, then a blank winodow is dislayed.At that time there is no error reported in the error.log file. 2. cant open the mass email extension. open this extension in special pages then an internal error displayed. error details are as follows:

Invalid special page name ""

Backtrace:


 * 1) 0 /xxxx/xxxxx/xxxxxx/includes/SpecialPage.php(813): SpecialPage::getTitleFor(NULL, NULL)
 * 2) 1 /xxxx/xxxxx/xxxxxx/includes/SpecialPage.php(541): SpecialPage->getTitle(NULL)
 * 3) 2 /xxxx/xxxxx/xxxxxx/includes/Wiki.php(229): SpecialPage::executePath(Object(Title))
 * 4) 3 /xxxx/xxxxx/xxxxxx/includes/Wiki.php(59): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
 * 5) 4 /xxxx/xxxxx/xxxxxx/index.php(116): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))'''

pls help me..............

Thanks and regards

Bibin Esthen bibinesthen@gmail.com