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!

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

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

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.

Question about names and emails

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

I am a Volunteer at the Christopher and Dana Reeve Foundation and we were thinking about starting a MediaWiki and I had a question about the collection of names and emails. For all the members/users that would register under our MediaWiki, would we have access to their names and email addresses for organization purposes?

Please contact me at intern2@christopherreeve.org

Thank you

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

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)

two navigation bars AND custom image in the navigation bar

 * MediaWiki version:i cant find the version number but i downloaded it a month ago
 * PHP version:
 * MySQL version:
 * URL:

hi, am a very new to wikipedia... its a simple question :-) how to get two navigation bars on wikimedia? one left and one right? regards, ar

second question: i would like to add a image to the sidebar like: bild:seitenbanner.jpg
 * navigation
 * Spezial:Alle_Seiten|Alle Seiten
 * mainpage|mainpage-description
 * portal-url|portal
 * currentevents-url|currentevents
 * recentchanges-url|recentchanges
 * randompage-url|randompage
 * Index|Index
 * helppage|help
 * SEARCH
 * TOOLBOX
 * LANGUAGES

the preview shows the image but when i save the sidebar, the picture does not appear. what can i do?

—78.55.33.253 09:22, 20 April 2010 (UTC)


 * For the second question see here. — Matěj Grabovský 20:31, 7 May 2010 (UTC)

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.

Saving pages in Wiki; possible statistics

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.5 (apache2handler)
 * MySQL version: 5.0.26
 * URL:


 * Is it possible for user to save different Wiki articles as one pdf-file or other file for printing? Or how to do it possible in MediaWiki?
 * Is it possible to make user specific statistics, e.g. to see from which country the changes were made?

Thank you!

—193.103.148.88 09:26, 4 May 2010 (UTC)
 * For the first part, I think you may want Extension:Collection; for the second part, you'll need to use a web analytics software such as Piwik with Extension:Piwik Integration. i Alex  12:23, 16 May 2010 (UTC)

Novice user needs help backing up Wiki site

 * MediaWiki version: Don't know how to find this out
 * PHP version: Don't know how to find this out
 * MySQL version: Don't know how to find this out
 * URL: Intranet site

Dear colleagues,

I have been ordered to back up a Wiki site used internally on my employer's intranet site.

I found the following link to back up a Wiki :

http://www.mediawiki.org/wiki/Exporting_all_the_files_of_a_wiki

And a link on this page taking me here :

http://meta.wikimedia.org/wiki/Special:AllPages

Can anyone advise on what I need to fill in on this link? It asks for "Display pages starting at:" and "Display pages ending at:". What do I put in these fields? I tried inserting the url for my wiki site but this did not work.

Unfortunately I have no knowledge whatsoever about Mediawiki so have no idea how to back it up. None of the terminology means anything to me. I don't even know how to find out which version of Mediawiki I'm using! Any help appreciated.

—129.230.248.1 11:20, 4 May 2010 (UTC)


 * To find out the version of MediaWiki that you're using, go to Special Pages in your wiki and then choose the page Version. To backup your database, check Manual:Backing up a wiki. Hamilton Abreu 19:39, 4 May 2010 (UTC)

WMF branch sync with trunk

 * MediaWiki version: 1.16wmf4 (r65931)

What's up with the WMF branch? When are updates to the trunk moved to the WMF branch? I see that there are issues fixed in the trunk for a couple of weeks now, but still not in effect in the WMF branch. (Referring to the English wikipedia here.)

Thanks, -Nageh 08:29, 5 May 2010 (UTC)
 * Only few revisions from trunk are merged in the WMF branch (generally important fixes). You will have to wait until next full software update to have these fixes live on Wikipedia (don't ask me when this will happen; I don't know). i Alex  12:19, 16 May 2010 (UTC)

How do I convert a Mediawiki page to HTML
How do I convert a mediawiki page to HTML? 71.100.1.71 12:22, 5 May 2010 (UTC)
 * See Extension:DumpHTML. — Matěj Grabovský 20:23, 7 May 2010 (UTC)

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?

Wiki got spammed
Recently my wiki got spammed. I tried some google searches and couldn't find the exact problem. The problem is basically when someone searches my site on google, some of the result pages link to spam, but if you go to the actual page there is no spam. Searching "site:www.koreanwikiproject.com" on google gives a lot of "Buy cialis" links, and recently I edited a page, and the next page was spam, clicked reload and made it go away (this only happened once for some reason). Could anyone help me identify this problem or how to fix it? Any help would be appreciated, thank you —Bluesoju 01:58, 15 May 2010 (UTC)
 * MediaWiki version: 1.15.0
 * PHP version: 5.2.13 (cgi-fcgi)
 * MySQL version:5.0.88-userstats-log
 * URL: http://www.koreanwikiproject.com/wiki
 * Possibly someone hacked your site, inserted some php code into mediawiki files that triggers randomly (hard to know for sure if thats the issue without looking at the code). (if you have wordpress installed, might have something to do with that as the generator on the spam version of the page is set to wordpress). Perhaps re-install all your files and check for any security issues. Bawolff 04:23, 15 May 2010 (UTC)
 * Should I go with a fresh install? I'm worried it might leave the infected files intact, but also not really sure how i would get it back to my old wiki. I guess copy the uploaded files folder, skins, and reinstall my extensions. You think that will do? I do have wordpress installed, but it seems that only the wiki pages generate spam, so I think it's either my wiki or sql that is generating the spam. --Bluesoju 00:27, 16 May 2010 (UTC)
 * You have to rescue first what you don't want to lose, but first check if they aren't hacked too. You can still dump your MySQL database (I think). --Diego Grez return fire 01:39, 16 May 2010 (UTC)
 * By rescue you mean backup right? The problem is, I don't know the source of the hack, so I don't know how to check or where. Which is why I wanted to do a fresh install and load my files i previously uploaded and use the same database --Bluesoju 02:30, 16 May 2010 (UTC)
 * Sure, but check twice if they aren't hacked :) --Diego Grez return fire 02:38, 16 May 2010 (UTC)
 * I wish I knew how. The odd thing too is these google search results don't take you to the spam actual website, it just brings my page rankings down :( --Bluesoju 02:42, 16 May 2010 (UTC)
 * Do you really need these hacks? If I were you, I should just do a fresh install, to avoid any further problems. Maybe these hacks provoked the unstability of your website that caused the spamming. Just backup the database :) --Diego Grez return fire 02:55, 16 May 2010 (UTC)
 * What "hacks" do you mean? All I need is the files i've uploaded, because there are thousands. I guess i'll just try a fresh install. Do I just copy and paste the files into the new mediawiki and import my settings file? --Bluesoju 03:28, 16 May 2010 (UTC)

1st step: Download MediaWiki. 2nd step. Upload it to your website. 3rd step. Install it. That is a fresh install. Do not edit any file. That provoked certainly the security hole. --Diego Grez return fire 03:30, 16 May 2010 (UTC)
 * Did a fresh install so we'll see how that goes. Found the source of the evil, it was in the index php file at the bottom, a bunch of compressed text that apparently contains arrays of other junk. This is for anyone else who might get this problem, now idea how the code was injected though. --Bluesoju 12:13, 16 May 2010 (UTC)
 * Even after a fresh install, somehow the code got injected back in a few days later! Ahhhhhhhhhhhh why am I the only one having this problem? --Bluesoju 04:19, 21 May 2010 (UTC)
 * Probably the same way it happened the first time. Check your web server access logs to see what happened. Quite possibly they are attacking some other php script you happen to have installed that is insecure. fix whatever hole allowed the bad people to hack you in the first place (if you can't find one, making sure your webserver and other software is up to date is a good first step). Change passwords on the offchance that the attacker knows your password, etc. Bawolff 02:43, 24 May 2010 (UTC)

http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Red_Hat_Linux

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

The advice on the above page is about useless, RHL hasn't been around for years having beeen replaced by Red Hat Enterprise Linux (and CentOS) and Fedora.

A document that does not cover installing mediawiki and keeping SELInux enabled isn't going to get it installed as securely as it might be.

Documentation addressing RHEL 4,5 and the forthcoming 6 (and CentOS), plus Fedora 12 (11 will become unsupported shortly) and 13 (nearing release) would be useful

—58.6.192.22 07:14, 16 May 2010 (UTC) John Summerfield j20100516@js.id.au

URL variables to automate an edit

 * MediaWiki version: 1.15.3
 * PHP version: 5.2.10-2ubuntu6.4 (apache2handler)
 * MySQL version: 5.0.87-b20-log
 * URL: http://starwars.wikia.com/

Hello. I am trying to create a URL that can open the edit box, autofill the box with a snippet of code, and save the page, all with one click. I remember seeing such URLs on userpages on Wikipedia, but can't seem to find them again to get the code from them. We already have something similar with our vandal reporting template, which uses variables(?) in the URL to set block expiry and other settings on the Special:Block page. Essentially, what I'm looking to do is take step 2 in this template and modify it to provide a URL that would be something like  http://starwars.wikia.com/index.php?title=Wookieepedia:Featured_article_nominations&action=edit&section=new&text=&save=yes . This would simplify that step of the nomination process slightly, but I'm not sure how to code the last two parts. Is this possible, and if so, how? wikia:starwars:User:Master Jonathan 23:28, 18 May 2010 (UTC)
 * Use &preload= to prefil the box. Auto saving you'd need to use javascript. See Manual:Parameters to index.php for a list of url parameters. Consider also using extension:Inputbox Bawolff 02:39, 24 May 2010 (UTC)

Import dump and templates problem
I imported a wiktionary dump with mwdumper and templates are broken. I am trying to create a mirror of different wiktionary sites and I am encountering trouble with imported templates. After a fresh install of the necessary components on mac osx (please see below for mediawiki versions and extension info), I am using mwdumper and the swedish wiktionary dump to import the swedish wiktionary db info. The import runs fine. However, when I look at the pages, all the templates are not transcluding. What I am seeing is something like Template:some template, where I should be seeing the transcluded template data.Clicking on the template itself redirects to a page edit page where it is possible to enter in some template data, and when I go back to the original page which has the template and "preview" it on the edit page, the template works. Therefore, it doesn't seem that this is a parser issue... it seems more like problem with the import itself.Furthermore, in looking at the rows in the "page" table of the db, I noticed that all the template entries have a namespace of 14... that seems odd because the template namespace is 10.

Has anyone else encountered this problem? I would really appreciate any information on how to resolve this issue. Thanks in advance!

Product Version MediaWiki 1.15.3 PHP 5.2.12 (apache2handler) MySQL 5.1.46 Extensions Cite (Version r47190) ParserFunctions (Version 1.1.1) Winter (Wiki INTERpreter) (Version 2.2.0)


 * Did you set manual:$wgCapitalLinks to false? . Bawolff 02:35, 24 May 2010 (UTC)

Infobox alternating colors
Wookieepedia's infobox templates alternate colors on the lines between white and light grey. Mine refuse to do that, even when I copy the template word for word. I also copied Common.css, Common.js, Monobook.css, Monobook.js, Functions.js, Upload.js completely over from Wookieepedia, and I installed every single extension they have. Still my infoboxes refuses to alternate colors. In fact I don't think any of the java is working. I distinctly remember having this same problem about a year and a half ago with another Wiki and I managed to fix it somehow.. but I don't remember. Any suggestions? -- 69.76.11.171 03:00, 22 May 2010 (UTC)
 * Try contacting one of our more tech-savvy admins such as Xwing328, Darth Culator, or Grunny directly. They should be able to help you out. 76.250.186.216 (Master Jonathan on Wookieepedia) 18:52, 22 May 2010 (UTC)

Log in error after installing MediaWiki.

 * MediaWiki version: 1.15.3
 * PHP version: 5.2.13(cgi)
 * MySQL version: 5.0.81-log
 * URL:

After successful installation of MediaWiki, I try to log in with the account information which was entered on the same page as the database information. I enter the username and password then it gives me the error:

Login error There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please hit "back" and reload the page you came from, then try again.

I can create a new user and it does the same thing.

Please help! Thank you.

—173.217.106.74 21:21, 23 May 2010 (UTC)


 * Do you have a link or it is intranet? --Diego Grez return fire 21:25, 23 May 2010 (UTC)
 * The URL is www.rocketwiki.org. Feel free to create a new account. Bigone5500 21:48, 23 May 2010 (UTC)
 * Yeah, I've got the same problem. I hope someone more experienced pops in. --Diego Grez return fire 22:24, 23 May 2010 (UTC)
 * Works fine for me. (if it didn't work fine, I was going to make the guess that perhaps you had something related to session support misconfigured in php.ini) Bawolff 02:32, 24 May 2010 (UTC)