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.

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

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