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

Heading
Text under the heading.

This is a new combined article.
 * Correct interpretation of the combined article


 * I don't know if it works there, but I think it will:
 * Look at this text
 * The subpages are linked in the headlines, and if you watch the etiting window of the page and its subpages, you will see, how it works. --Kersti 10:32, 8 July 2010 (UTC)

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.

How do if find the autoconfirmed group?
I wanted to use this:

$wgNamespaceProtection[NS_PROJECT] = array( 'autoconfirmed' );
 * 1) Only allow autoconfirmed users to edit Project namespace

As the Version I use is 1.12 there schould be the possibility to give my users the autoconfirmed right. But in "User rights management" I found only the following groups: Bots, Sysops, Bureaucrats - where do I find the "autoconfirmed" group?

And - is this the solution to my problem? I want that everybody is allowed to write in his own (User:Example and User:Example/xxx) namespace, but only user I confirmed are allowed to write in the projekt namespace. Everybody schould have the possibility to write on Diskussion pages. --Kersti 11:50, 3 July 2010 (UTC)


 * I found the solution. There seems to be everything here, the problem ist to find it! --Kersti 21:05, 23 July 2010 (UTC)

Some extension installation please
Sir I am an sysop in hindi wiki, there are some tools that is not installed in hindi wiki.We have a requirement of abuse filter and to have priveledge(right) to a sysop to add some user group like roll backers, reveiwers, confirmed user. In absense of these we will have to grant admin status for user which are good in these area.please enable this for admin like english wiki.you can check english wiki user right table and hindi wiki user right table, here in hindi wiki admin has no right to add new user group like Rollbackers, Account creators, Edit filter managers, Autopatrolled, Confirmed users, Reviewers except ip block exemptions. I have no privilegde to edit LocalSettings.php, as i donot know where it is or admins cannot watch and edits it.Please install these feature.We will be grateful to you, Regards--Mayurkumar 21:06, 12 July 2010 (UTC)
 * MediaWiki version: 1.16wmf4
 * PHP version: 5.2.4-2ubuntu5.7wm1 (apache2handler)
 * MySQL version: 4.0.40-wikimedia-log
 * URL:
 * The best place would be site requests component in bugzilla:. – Nikerabbit 07:05, 16 July 2010 (UTC)

api.php does not expand DPL content

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

MediaWiki	1.14.0 (r2090) PHP	5.2.10 (apache2handler) MySQL	5.1.34-community-log URL: http://developer.symbian.org/wiki/api.php?action=query&prop=revisions&titles=SW:S60_9_2:/sf/app/iptelephony&rvprop=content&rvexpandtemplates=1

I'm accessing page content content through the API, some of which contains DPL. Unfortunately, while the api will happily expand an ordinary template, the API returns an empty/blank page if any DPL is in the page (either directly or through a template). I am raising this here because I'm not sure if this is an API.php issue or a DPL issue. Can you give me advice on the proper place to raise this as a defect?

—Hamishwillee 00:09, 19 July 2010 (UTC)
 * If its only happening with dpl's, seems most likely to be a dpl issue. The proper place would be bugzilla (product Mediawiki extensions, component DynamicPageList2), however first you should follow the instructions at Debugging to get the actual error message (blank page usually indicates fatal php error). 24.65.69.94 05:22, 19 July 2010 (UTC)
 * Just as a sidenote, I wasn't able to reproduce the issue on my own setup, so perhaps it was something fixed in the latest version. Bawolff 06:03, 19 July 2010 (UTC)

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

group=notes, named ref?

 * Jeez, this place is a forbidding maze!! Is there a way to change into a named ref? I tried , but it didn't work... I'm working on en:User:Ling.Nut/Sandbox, and have both "Notes" and "Footnotes"; the "Notes" contain longer passages of text. I want to be able to used named refs to point to them more than once... if that's clear... TksLing.Nut 14:42, 20 July 2010 (UTC)

—81.89.182.254 12:11, 19 July 2010 (UTC)

** 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)

Totally Moderated Content

 * MediaWiki version: 1.16.0
 * PHP version: Current downloadable supported version
 * MySQL version: Current downloadable supported version
 * URL: not up yet

I'm a little hesitant about posting and I will admit to not having read everything, but I did read the handbook and all the different ways to prevent edits/user access, but....

I have a general question.

I'm thinking of setting up a highly technical Wiki where I would need to moderate all the uploaded content (eventually probably get help in this regard). But I would not want anybody to be able to just edit the pages.

I would want them to be able to submit comments to me or other admins why they disagree with the uploaded content or proposed changes/additions, but these would not be public.

In other words, everything would have to be filtered, so once it's approved, it stays up unless a serious bug is found or a way to improve it is posted and approved by admins.

Is this feasible with your software?

How do I go about setting this up?

I will try to tinker and experiment with the software and I do apologize if this is a common newcomer question.

—208.120.50.196 22:59, 28 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)