Project:Support desk/Archives/Miscellaneous/001

From MediaWiki.org
Jump to navigation Jump to search

Contents

2006

(RESOLVED) How do I use the same user-table for different wikis?

How do I use the same users table for differents wikis that use the same datebase? (Asked by Eloy 19:45, 5 May 2006 (UTC))

Could this be answered please? --Zervon 18:36, 13 May 2006 (UTC)
Maybe you can create a view with MySQL 5.x:
create view schema1.user as select * from schema2.user --Maletin 14:11, 31 May 2006 (UTC)

(RESOLVED) Special Symbols for Editing Screen

A colleague from my university's computer center helped me download mediawiki to our provider because I'd like to use it for linguistic projects. However, in the editing mode the table of special characters and symbols that you find in Wikipedia is not available. How can we get that? Can anybody help us? Thanks. --Joachim 132.180.7.27 15:42, 15 May 2006 (UTC)

You need the Charinsert extension. Look at w:MediaWiki_talk:Edittools/Archive_02#Technical question: <charinsert>?. Bradleyb 23:53, 18 May 2006 (UTC)

(RESOLVED) Executing external code

How can a link be used to execute other code (PHP, java etc)? I would like to allow the user to click something on the page (button, link, whatever) which would then cause an external program to run.

There are various methods of executing external code. You may want to investigate writing an extension (see Manual:MediaWiki hooks for some further information, or try Google). A more specific question detailing what you are actually trying to achieve would be helpful. --HappyDog 14:44, 26 May 2006 (UTC)

(RESOLVED) Changing the interface text / updating to 1.6.6

Changing the interface text as described in the FAQ (via editing system messages listed in Special:Allmessages) works well. However, while updating from MW 1.6.5 to 1.6.6 today, I realised that the MediaWiki namespaces was re-initialised, thus blowing away all changes I had carefully made! Note that this did not happen while upgrading from 1.6.3 to 1.6.5 only weeks ago!

There was nothing I could do but to go back to my (luckily) backed-up 1.6.5 installation.

Is there any way to make the update script leave the MW namespace untouched?

Already answered you here. Greetings --:Bdk: 00:15, 24 May 2006 (UTC)

(RESOLVED) Smiley

How can I add smiley functionality so that if I write :P or :lol: it will be replaced automatically with the appropriate image? Thx
Semut 18:35, 27 May 2006 (UTC)

No such functionality exists. -- Sysy / (talk) 16:01, 31 May 2006 (UTC)
This functionality is not available in MediaWiki, and will not be added. However, an extension may be available to do this. If not, you could try writing your own. --HappyDog 12:48, 12 June 2006 (UTC)

Hook the pre-save transform, rip out <nowiki> sections etc. then do a regular expression replacement. robchurch | talk 13:13, 13 July 2006 (UTC)

(RESOLVED) Running maintenance scripts from command line

Why are maintenance scripts restricted to running from comand line? Could not it be left up to the administrator (with a suggestion that it should better be done from the command line)?

I, for example, don't have a command line access to my site on a shared host, so I cannot do all those maintenances! For example - how to change a language? You write in the FAQ: change the language variable and run "rebuildMessages.php". So, how do I run it?... --Knakts 17:10, 30 May 2006 (UTC)

Have you looked at phpShell? The scripts have to be run from the command line for a mixture of security and because certain scripts will take a longer time to run than PHP is allowed when running over the web. robchurch | talk 13:11, 13 July 2006 (UTC)

(RESOLVED) How do I rename my wiki?

I would like to change the name of my wiki. Is it possible to do this without re-installing everything?

The essential thing is:

1) Edit LocalSettings.php and change the $wgSitename setting.

You may also wish to:

2) run maintenance/rebuildMessages.php --update to re-source localized messages. Shouldn't be strictly required with current versions of MediaWiki, but some older versions hardcoded information into the wiki at install time.

3) Run maintenance/namespaceDupes.php --fix in case your new name produced any namespace conflicts which could make existing pages inaccessible.

4) Run maintenance/refreshLinks.php to update link tables.

5) Check Special:Allmessages and Special:Allpages for pages which might need to be moved and links that need to be fixed

Thanks to Brion Vibber on the mailing list. This info is presumed to be accurate as of MediaWiki 1.6. I have not tested it. -- Sy / (talk) 15:57, 31 May 2006 (UTC)

(RESOLVED) Importing large amounts of existing material?

I'm new to wiki in general and mediawiki in particular. I'm skilled in SQL but unskilled in PHP. My company has a large amount of existing information in online help files, customer support databases, etc. Are there any guides to converting that information to wiki format? I've looked at amazon and bookpool for books that cover these topics, but it looks like the best book is outdated (Perl-based) and the others don't address conversion very much. --2006

Try m:Help:WordToWiki or Import, Export function m:Special:Export m:Special:Import - Lesiu

(RESOLVED) Error when clicking "Please setup the wiki first."

I get this error when trying to install:

Parse error: syntax error, unexpected T_NEW in /includes/MagicWord.php on line 203

Please give response or email fvercuiel@gmail.com

You're using an older version of PHP that MediaWiki 1.7 does not support. MediaWiki 1.7.0 and later require PHP 5 (5.1.x is recommended). robchurch | talk 12:55, 13 July 2006 (UTC)
I get the same error with PHP 5.0.5 (specifically, 5.0.5-2ubuntu1.4, built 7 Sep 2006 08:02:47).

(RESOLVED) Change the mulitple-links-to-one-host-style

How can I keep the wiki from translating multiple links to the same host to [1], [2], ...? I try to use the Mediawiki as an Intranet and therefore Documentations often reside on the same host but I still want to provide a visible Link-Title. --VVA 08:53, 11 July 2006 (UTC)

Either use the labelled external link syntax, e.g. [http://www.mediawiki.org MediaWiki] or investigate the use of interwiki links which allow linking such as [[m:Main Page]]. robchurch | talk 13:10, 13 July 2006 (UTC)

(RESOLVED) How do I change a user's password?

Assuming that $wgPasswordSalt is set to true (the default), you can use the following SQL query:

UPDATE user SET user_password = MD5(CONCAT(user_id, '-', 
  MD5('somepass'))) WHERE user_name = 'someuser';

Where obviously "somepass" is changed to the password you want to set and "someuser" is changed to the user name as it is listed in the table "user".

Note: the user_id in the CONCAT string is a column name and is not meant to be replaced with 'someuser'

Note: For error of table 'dbname.user' does not exist, please check the LocalSettings.php for $wgDBPrefix, the user table might be named to ($wgDBPreix)user.

--2006

(OUTDATED) 1.7.1 and $wgDBtransactions

After a fresh Mediawiki 1.7.1 install and albeit many tables use the 'InnoDB' storage engine, the default '$wgDBtransactions' remains at its historical 'false' value. It is used in 'includes/Article.php' clauses.

May I set "$wgDBtransactions = true" in LocalSettings.php? Is this variable obsolete?

Thank you Natmaka 16:53, 17 July 2006 (UTC)

(RESOLVED) Underscore in title

I want to use MediaWiki for a manual and reference. As several of my functions have '_' within their name, it would be nice if the name of the function would be displayed with _ instead of blank especially in the title of the page. Is there any possibility to tell MediaWiki that the lemma must have a _ instead of a blank? --87.78.154.2 15:29, 14 July 2006 (UTC)

No. 164.11.204.56 01:02, 7 December 2006 (UTC)

(RESOLVED) Content Migration from different existing wikis to one

We do have some wikis in our organization (all mediawiki but different server, different versions, mostly v. 1.3.x)) and now plan to insatll one (media)wiki (v 1.7.1) instead. Of course there's lots of content we dont't want to loose, but also old stuff that does not need to be transferred to the new wiki. Is there a user friendly way of selecting specific pages and transfer those to the new wiki (instead of copy&paste or some work in MySQL (which cannot be done by the users))?

I know of the Special:Export page. Only that Import is not working for older versions and I Don't know whether Export from 1.3.wiki works for import in wiki 1.7.

18 July 2006

The XML format from earlier versions should be 100% compatible with the current development, release and the most recent legacy (1.6) branches. 86.134.116.228 04:22, 12 August 2006 (UTC)

(RESOLVED) Delete a file

We just installed a wiki at work and I need to know how to delete a file as the steps aren't in the article yet. Thanks. Rlevse 13:50, 19 July 2006 (UTC)

Also, how to delete a user and reset a password.140.32.75.204 18:56, 19 July 2006 (UTC)

From the mysql prompt:

mysql> DELETE FROM user WHERE user_name = 'Jcarr';
Query OK, 1 row affected (0.00 sec)

Note that mediawiki seems to like to capitalize the first letter of your login name. If you don't have the username correct, mysql will return "Query OK, 0 rows affected" Jeff Carr 20:10, 26 July 2006 (UTC)

Note that deleting users in that manner does not remove the copious references to them from the rest of the database, and could cause odd problems later. A safer method is to run reassignEdits.php on the account, assign the edits to a name that does not exist, and then delete the account. As an alternative, consider blocking the user or scrambling their password.
To delete a page, log in as an administrator, and select the Delete option from the context menu which appears, in the Monobook (default) skin, at the top of each page.
To reset a user's password, the simpler option is to ensure there's an email address associated with the account, and ask the user to click "lost password" when logging in. If this is not an option, then look at the maintenance/changePassword.php script or search the web for mediawiki password md5. 86.134.116.228 04:18, 12 August 2006 (UTC)

(RESOLVED) Sessions errors

I've been trying to fix our install of MediaWiki, and have found that some pages (main page, in particular) do not show up correctly unless logged in. I attempted to edit the page to see if that would fix it, and I got this error:

Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.

and the edits never go through. In getting the wiki to work again, I had copied data from a new objectcache to and older one, could this be related? Thanks very much! --128.113.63.60 13:44, 24 July 2006 (UTC)

The first problem sounds like caching. Set $wgCacheEpoch in LocalSettings.php as follows to force MediaWiki to clear old caches:
$wgCacheEpoch = '20060812042000';
The second problem, if the edits aren't being saved, could be due to PHP not saving session data in the right location. Check the value of session.save_path in the php.ini configuration file and check it points to a valid, writable path. 86.134.116.228 04:21, 12 August 2006 (UTC)

(RESOLVED) Semi-protection and time limit

I've searched for it quite extensively, but I cannot find it anywhere. How to implement a 4 day waiting period for registered users to be able to edit semi-protected pages, like it is the case in en.w? If someone could point me to the place (which I am almost sure exists) on how to implement that, I'd appreciate it.

Set $wgAutoConfirmAge, e.g.
$wgAutoConfirmAge = 4 * 86400;
in LocalSettings.php. 86.134.116.228 04:12, 12 August 2006 (UTC)

(OUTDATED) Passing a space as argument to an extension

Don't know if this is the right space to discuss this. If not, please point me ...

I am trying to pass a space as an argument to an extension.

Example:

<extension argument=" ">
text
</extension>

The extension code registering the extension is as follows:

function extension() {
	global $wgParser;
	$wgParser->setHook( 'extension', 'doit' );
}
	
function doit( $input, $args, &$parser ) {

...

}

The $args in the function 'doit' are already space free. It seems that the arguments get trimmed(), because something like argument=". ." goes through but argument=" | " results in just a single | without leading and trailing space.

Is there a way to avoid this? --83.171.153.127 22:57, 13 August 2006 (UTC)

(RESOLVED) Remove Edit tab for non logged in users

Ok, I've read the FAQ, but I can't seem to understand it. Can someone show me how the final code should look when its done? I use the MonoBook skin.--70.33.138.121 23:24, 18 August 2006 (UTC)

Oops, this is me, didnt realize I wasnt logged in.--Trek84 23:26, 18 August 2006 (UTC)
Does this item make sense anymore anyway? "How can I prevent editing by anonymous users?" looks more like one actually wants and the "Remove Edit tab" tip does only remove the edit tab but not the in page section edit links anyway Hholzgra 21:19, 4 January 2007 (UTC)
Well, you can hide it in your global CSS by modifying the skin files, or you could just disable page editing by anonymous users, and they would get the "View source" tab instead of the "edit" tab. Titoxd(?!?) 08:01, 7 January 2007 (UTC)

(RESOLVED) differences between 1.5x, 1.6x, 1.7x

Where can I find a list of the main differences between the version 1.5x, 1.6x, 1.7x ?

Compare the release notes in each version. The release notes shipped with 1.6.0 detail changes since the 1.5 branch, for instance. robchurch | talk 02:58, 30 August 2006 (UTC)

(RESOLVED) Sign Up as an Administrator

How do I sign up as an administrator? How can I create an sysop account?

If you are the system administrator of the wiki, when you has create your wiki the installation script should ask you the pseudo and the password for a sysop-and-bucreaucrat account. You can use this account for give sysop rights to other users.
If you aren't system admin, you must ask a bureaucrat the sysop rights or perhaps be eleted. ~ Seb35 18:07, 31 August 2006 (UTC)
The 1.8 MediaWiki installation script does not ask for this information, it sets up the first user as the administrator. To make an account a sysop you may want to look into the Makesysop extension used here on Mediawiki (which surprising has no page at all describing it nor including the code). Also a good resource is here at Managing User Rights, however as that currently redirects you to Meta you can go directly here: Meta: Help:User Levels --Grymwulf 04:53, 12 January 2007 (UTC)

(RESOLVED) Transclusion

Is there a way of Transcluding a template only if that temaplte exists? I don't want to get the red link if it doesn't exist.

The reason I want to do this is as follows:

I want to use templates on my wiki's main page {{this week{{CURRENTWEEK}}}} and {{today{{CURRENTDAY}}}} which will display any special information for that day. If nothing is happening on that day then I don't want anything to show up.

[[[w:en:User:Zabdiel|Zabdiel]]] 15:24, 31 August 2006 (UTC)

I don't know if it's possible, but you can hack with the ParserFunctions (you must install this on your wiki) :
Create an intermediate template Template:DisplayTemplate (or other name) with
{{#ifexist:Template:{{{templat|}}}|{{{{{templat}}}}}}}
You use {{DisplayTemplate|today{{CURRENTDAY}}}} and will display only if Template:today{{CURRENTDAY}}
~ Seb35 18:28, 31 August 2006 (UTC)

(OUTDATED) How to change the date format ?

I want to change the date format on the footer

this page was last modifed 16:24, etc I want to remove the timestamp and leave just the date

how would I do this ? --2006

(RESOLVED) Linking to .mov files (Quick Time) won't work

After: allowing uploading of .mov files to my wiki, successfully uploading a certain .mov file and watching it from the page I've been directed to, I found my wiki won't link to it. If I type, for instance, Media:Example.mov (assuming my .mov file's named Example), I'd get a red link, leading to "Upload file" page. What am I doing wrong? --87.69.58.71 17:59, 4 November 2006 (UTC)

Check your apache error logs. Most likely you're running into PHP's 8MB upload limit. I came across this discussion because I was searching for a way around it, which I still haven't found. --Anonymous User, 16 November 2006

(OUTDATED) Search in different wikis

Hello, I would like to know if there is a way to, from one wiki, search words also in a different wiki and have all the results shown in the first Wiki?

  • ex: Type words to search in Wiki A, wiki A search in itself and also in Wiki B and show all the results in Wiki A.

Many thanks in advance. Proth 16:20, 8 November 2006 (UTC)

(RESOLVED) Search spécial characters

  • Hello, We still have a recurent problem in searching for special caracters, like accents, in Wiki.
    • ex: Search for word "eglise" doesn't give articles containing word "église".
  • We can't find any information/solution for this problem. If anybody have a idea...

Many thanks in advance. Proth 16:20, 8 November 2006 (UTC)

I'm currently working on an extension, DidYouMean that finds titles which differ only by capitalisation, hyphenation, and use of accents and ligatures. It's primarily for the English Wiktionary but once it exists people will be able to massage it into something more general for other wikis. — Hippietrail 12:29, 12 January 2007 (UTC)

2007

(RESOLVED) Does Webscapia's Coconut CMS work with MediaWiki?

Yes, to run mediawiki side-by-side with Coconut CMS you must have version 1.2+ installed! After you have ensured that version 1.2+ is installed, do the following:

  1. Login as administrator in the admin panel.
  2. Click on modules, and click on the software install tab.
  3. Select mediawiki.
  4. DO NOT CLICK ON DOWNLOAD. Under the mediawiki click on integration and wait for the installer to configure Coconut CMS.
  5. And your done. A new tab should appear in the main menu called Wiki. If this does not happen make sure in /Coconut/admin_cp/functions/func_menucreate.php has a chmod of 777. And then run the integration installer once again.

--2007

(RESOLVED) setup not working

   * PHP 5.2.0 installed
   * Found database drivers for: MySQL
   * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
   * Have XML / Latin1-UTF-8 conversion support.
   * PHP is configured with no memory_limit.
   * Have zlib support; enabling output compression.
   * Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be used.
   * GNU diff3 not found.
   * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads.
   * Installation directory: C:\Apache\htdocs\w
   * Script URI path: /w
   * Environment checked. You can install MediaWiki.
   * Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider changing it manually.
     Generating configuration file...
   * Database type: MySQL
   * Loading class: DatabaseMysql
   * Attempting to connect to database server as wikiuser...success.
   * Connected to 5.0.27-community-nt
   * Database wikidb exists
   * Creating tables... using MySQL 4 table defs...Query "CREATE TABLE `user` ( user_id int(5) unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default , user_real_name varchar(255) binary NOT NULL default , user_password tinyblob NOT NULL default , user_newpassword tinyblob NOT NULL default , user_email tinytext NOT NULL default , user_options blob NOT NULL default , user_touched char(14) binary NOT NULL default , user_token char(32) binary NOT NULL default , user_email_authenticated char(14) binary, user_email_token char(32) binary, user_email_token_expires char(14) binary, user_registration char(14) binary, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name (user_name), INDEX (user_email_token) ) TYPE=InnoDB " failed with error code "BLOB/TEXT column 'user_password' can't have a default value (localhost)".
i fixed it by turning off strict mode
Please submit this to the Bug Tracker --Grymwulf 05:08, 12 January 2007 (UTC)

(RESOLVED) Edit sidebar, part 2

I understand how to edit the sidebar above the search box, by editing MediaWiki:Sidebar, But how do I edit the sidebar below it. Some wiki's have an additional box below the toolbox section, for seperate links, such as "Site in a different langusge" or containing Google Adsense.

--Steve Gallagher 22:13, 28 January 2007 (UTC)

To do this edit MediaWiki:Sidebar-lower. I dont know if this works in all versions.--George Drummond 22:41, 28 January 2007 (UTC)

(RESOLVED) Upgrades 1.9

I just upgraded MW v1.9 to 1.9.2.
Background: My server has php5 installed but it runs php4 as a default. So, I had to do a little trick to install the MW v.1.9 originall by adding .access file and AddType x-mapp-php5 .php and place it at the root directory of my server to tell it to use php5 instead of php4.

The update instruction tells you to go to command line and type $ php update.php
  • So, as simpleminded as I was, I typed $ php update.php but it didn't work
It's because I should have ignored $ symbol at the command line
  • So, I typed php update.php, but I got the message that this MW version requires php5 but my server is running on php4.
I found out that I had to type php5 update.php in my case.
  • So, I typed php5 update.php but now it told me I had to have a LocalConfig.php -- well I am a total beginner, so I just followed the instruction and there was no mention of creating a LocalSettings.php before the update command, but it make sense that I had to have the file...to come to think of it. My bad.
So, I moved my LocalSettings.php file along with all the customized files into the new wiki files.
  • This time it told me that it couldn't connect to the database and told me to check the database name, user name, and password.
This, I couldn't figure out why it didn't work as all the information on my LocalSettings.php were correct.
  • I gave up on update and went for install -- good news is that this worked and I didn't loose anything other than the time I spent on trying to update -- I had the database backed up just in case.

I hope this helps others save their time and alleviate pain.--Kohyin 09:24, 17 February 2007 (UTC)

(OUTDATED) Blank Pages despite successful installation

Am trying to use MediaWiki on WIMP. Win2k Prof, IIS 6, MySQL 4.1.22, PHP 5.2.1. Downloaded MediaWiki 1.9.3. Installation is successful and main page has come up. But clicking on any link on the Main page is displaying a blank page in IE. What could be the problem. Pls help. Am trying to figure it out for the last 3 days and haven't found a solution. - Radha

what do the error logs of IIS and PHP say? -- Duesentrieb ? 12:45, 7 March 2007 (UTC)

I don't know how to interpret the log. sorry. But these are the last 2 entries:

12:03:17 127.0.0.1 GET /enlighten/index.php 301
12:03:17 127.0.0.1 GET /enlighten/index.php 200

Today, I reinstalled PHP, recreated the vdir in IIS and put in $wgCachePages = false; in localsetttings.php. And guess what? The main page is itself blank. :( Don't know what to do. - Radha

(OUTDATED) making mediawiki faster?

I remember during install it asked me if I had certain things on my server to make the software faster. In the future, if I do get these things, how do I implement them into my wiki later on? Also, I can't recall the names of them? Sorry for my ignorance, any help is appreciated. 66.192.186.99 19:13, 29 March 2007 (UTC)

(OUTDATED) Bug in hide section editing? (3.16)

$wgDefaultUserOptions ['editsection'] = 0;

works fine for deactivating the section editing links. But if the "raw" action is disabled, the section editing links show up again.

$wgDisabledActions = array('raw');

Why is that? --2007

(RESOLVED) Editing template sections

Hey all, I help maintain a WIKI dealing with game archive formats (XeNTaXWIKI), and I recently started implementing a new layout that makes extensive use of templates. However, I've run into a bit of trouble - when trying to edit a section, it takes you to the template edit screen instead of that for the page. I have looked at the documentation here, but haven't found a solution to this. Is there any way around it, apart from either using a seperate template for each section, or hitting the main 'Edit' link every time?

-Dinoguy1000
Anytime a template uses a section header, clicking the edit link for that section will take you to the template. The easiest workaround is to not include the section headers in the templates--only show the content of the section--and then put the headers in the page itself. Alternatively, you can include the magicword __NOEDITSECTION__ (double underscores on each side) anywhere in the page (even on the templates being included) and you will not have the edit section links appear anywhere in the page. --76.215.127.150 15:01, 17 May 2007 (UTC)

(OUTDATED) Removing Edit Tab Doesn't Work

i'm trying to remove the edit tab so that users who do not have an account cannot edit information on my wiki. i've tried exactly what the FAQ answer says to do. My wiki is a default wiki at the moment. i'm wondering if anyone who comes to the site is logged in by default with their IP address being their username. The IP Address shows up next to the login/signup link at the top right with a "my talk" page link next to it. Does this have anything to do with it my "edit tab" problem? Thanks, Lefedy 14:35, 16 May 2007 (UTC)

(RESOLVED) How can I force users to preview before they save in version 1.10?

Does anyone know how to fix this issue (How can I force users to preview before they save) for MediaWiki 1.10? Thanks in advance. /Minken

I do it this way on my wiki: (in diff format) --203.217.47.76, aka 22:45, 24 May 2007 (UTC)
Index: includes/EditPage.php
===================================================================
--- includes/EditPage.php       (revision 22056)
+++ includes/EditPage.php       (working copy)
@@ -1152,6 +1152,10 @@
                $checkboxhtml = implode( $checkboxes, "\n" );
 
                $buttons = $this->getEditButtons( $tabindex );
+
+               if ( $this->formtype !== 'preview' )
+                       unset($buttons['save']);
+
                $buttonshtml = implode( $buttons, "\n" );
 
                $safemodehtml = $this->checkUnicodeCompliantBrowser()
Thank you very much, Jeremy Visser. It works fine! /Minken

(OUTDATED) Title Extension

What is the name of the Extension that allows you to change the titles of pages? Plumber 23:33, 10 June 2007 (UTC)

(OUTDATED) How to start over

As a first-time creator of a wiki, I am unsure about some choices on the MediaWiki site config form. Will I be able to go back and do any of them over again, without having to drop all tables in the database and starting from a fresh copy of the MediaWiki software? Are those two steps enough to ensure a fresh start? --June 2007

(OUTDATED) How do I remove the "Talk for this IP" link at the top right when $wgDisableAnonTalk is true

When I add this in 1.10, after I log in I get an error on getText(). any ideas? 68.4.226.3 05:55, 27 June 2007 (UTC)

(OUTDATED) Changing tabs?

How do I change the tabs on the header above, like "manual" "discussion" "edit" "history". I´d like to use my own labels for these expressions... --2007

(OUTDATED) mail features

Howto set up mail features?

The easy way (need to be able to install stuff on the server)

1. install the package php-pear : apt-get install php-pear
2. then as root : pear install --alldeps mail
3. then edit LocalSettings.php and add
$wgSMTP = array(
'host'     => "smtp.yourprovider.com",
'IDHost'   => "domain for MessageID",
'port'     => 25,
'auth'     => false,
'username' => "my_user_name",
'password' => "my_password"
);
4. then you will be able to send email confirmation or else

the hard way (need to have a MTA installed)

  • don't know how to do that

--2007

(OUTDATED) Category "Access Denied"

I doubt I'll get a response here, given the lack of responses to many previous questions, but here goes. I can't add categories (or even links to categories) on my MediaWiki site. I get an "Access Denied" error. Eep² 11:23, 20 July 2007 (UTC)

Consider moving this question to Project:Support desk. Does that only happen with categories or with all articles? --Flominator 11:55, 20 July 2007 (UTC)
Well, I don't have any existing categories and was/am trying to create new ones. Oddly, the "Access Denied" only happens if I enter summary text but if I leave the summary blank, the category links show up fine. I don't get it... Eep² 12:13, 20 July 2007 (UTC)

(OUTDATED) Basil White is Too Stupid to Load MediaWiki

I give up. I have no administrative control over a shared S:/ drive. I want to load a "blank Wikipedia" on S:/ with all the enabling software at S:/wiki so people who can get to S:/ can build wiki topics under S:/ and link to files in "parallel" directories, like s:/abc, s:/schedule, etc. I loaded WAMP5 and followed the instructions as best I could and looked at what I loaded at http://basilwhite.com/WAMP5/www/ to figure out how to actually create pages of content. I'd use pbwiki but I don't want any content to exist anywhere than on the S:/drive. I've read all the directions in mediawiki.org, and to this Liberal Arts major, they read like quotes from THX-1138. Won't you help a Liberal Arts major? --> basilwhite @7 basilwhite d0Oo7 c0Oom Basilwhite 08:18, 12 August 2007 (UTC)

http://community.livejournal.com/wikipedians/117121.html sent me to http://lifehacker.com/software/wikipedia/geek-to-live-set-up-your-personal-wikipedia-163707.php
...which I'll try, but it's not the same as Wikipedia. Sigh... Basilwhite 00:33, 14 August 2007 (UTC)

(OUTDATED) Please make this page editable

there is no explanation in the hide the main title section where you should add this code. I was going to add this:

Paste the following code into your user:username/monobook.js page

I also wanted to add this link:

Can someone do this? Odessaukrain 00:28, 8 October 2007 (UTC)

(RESOLVED) What is this Wiki?

What type of Wiki is this? (76.247.222.101 08:38, 22 November 2007 (UTC))

See About this site--Brian 22:33, 22 November 2007 (UTC)

2008

(RESOLVED) Broken redirect

  • MediaWiki: 1.11.0
  • PHP: 5.1.4 (cgi-fcgi)
  • MySQL: 5.0.45-log
  • Database: Unknown, if you know how to figure it out please tell me.
  • URL: Red Orchestra Wiki

So if you look at my Special:Listredirects page then you will see that this text it displayed:

1. :Lyes Krovy (edit) (delete)Talk:Lyes Krovy

I think this happened when I changed my Extranamespaces from:

$wgExtraNamespaces = array(110 => "Portal", 120 => "Portal_talk", 130 => "Technical", 140 => "Technical_talk", 150 => "WikiProject", 160 => "WikiProject_talk", 170 => "History", 180 => "History_talk", 190 => "Manual", 200 => "Manual_talk", 210 => "Extension", 220 => "Extension_talk", 230 => "Map", 240 => "Map_talk", 250 => "Server", 260 => "Server_talk", 270 => "Modification", 280 => "Modification_talk", 290 => "Mutator", 300 => "Mutator_talk", 310 => "Unit", 320 => "Unit_talk", 330 => "Clan", 340 => "Clan_talk", 350 => "Term", 360 => "Term_talk", 370 => "Tactic", 380 => "Tactic_talk", 390 => "Weapon", 400 => "Weapon_talk", 410 => "Tank", 420 => "Tank_talk", 430 => "Role", 440 => "Role_talk", 450 => "Player", 460 => "Player_talk");

to

$wgExtraNamespaces = array(100 => "Portal", 101 => "Portal_talk", 102 => "WikiProject", 103 => "WikiProject_talk", 104 => "Technical", 105 => "Technical_talk", 106 => "History", 107 => "History_talk", 108 => "Manual", 109 => "Manual_talk", 110 => "Extension", 111 => "Extension_talk", 112 => "Map", 113 => "Map_talk", 114 => "Server", 115 => "Server_talk", 116 => "Modification", 117 => "Modification_talk", 118 => "Mutator", 119 => "Mutator_talk", 120 => "Unit", 121 => "Unit_talk", 122 => "Clan", 123 => "Clan_talk", 124 => "Term", 125 => "Term_talk", 126 => "Tactic", 127 => "Tactic_talk", 128 => "Weapon", 129 => "Weapon_talk", 130 => "Tank", 131 => "Tank_talk", 132 => "Role", 133 => "Role_talk", 134 => "Player", 135 => "Player_talk");

and moved Lyes Krovy from one namespace to another. Help appreciated.

—-PatPeter, MediaWiki Support Team 23:22, 2 January 2008 (UTC)

Hmm... If possible, you might have to run the maintenance/namespaceDupes.php command line script on your server. I'm not sure if this will work, though. Otherwise, you may have to hack into the MySQL server (for example, using phpMyAdmin) and delete everything about ":Lyes_Krovy", although you should check that very carefully. —color probe (talk | contribs) 13:59, 4 January 2008 (UTC)
What programs can I use to run the command line? -PatPeter, MediaWiki Support Team 15:53, 4 January 2008 (UTC)
You could try phpShell. —color probe (talk | contribs) 18:01, 5 January 2008 (UTC)
Also how do I start phpMyAdmin? -PatPeter, MediaWiki Support Team 03:29, 6 January 2008 (UTC)
To start phpMyAdmin and phpShell do I need to have access to the entire server computer? -PatPeter, Tournesol.pngMediaWiki Support Team 02:30, 21 January 2008 (UTC)
to start phpMyAdmin you'll need extract it into an sub-folder of your web-space (phpMyAdmin needs php activated of cause) [1] and edit the config.inc.php to according to your needs (example file config.sample.inc.php, just rename it to config.inc.php and edit it ) .. then access the index.php though your browser, thats all ItsMeIGuess 18:30, 4 March 2008 (UTC)
How do I access config.inc.php? Do I have to have access to the server? -PatPeter, Tournesol.pngMediaWiki Support Team 16:38, 9 March 2008 (UTC)

(RESOLVED) How to show NEW Pages on main page

Is there a quick way I can list , say the last 5 or 10 New Pages with just titles created and have this list show on the Main Page. Also, same for most recent Revised pages.

81.156.192.201 14:29, 3 February 2008 (UTC)

For newest page, you can include {{Special:Newpages/5}} (replace 5 by the number of pages you want to show), for most recent Revised pages, if you think about Special:Recentchanges, you can do the same (but it's not possible with all special pages). iAlex 18:10, 3 February 2008 (UTC)
Thanks for that. Is there a way I can display just the title of the page. So:
12:33, 4 February 2008 ‎Scratchpad (hist) ‎[22 bytes] ‎127.0.0.1 (Talk)
becomes
Scratchpad
--unsigned
Not w/o writing a script. Mønobi 03:25, 16 February 2008 (UTC)

Any suggestions? --unsigned

Arg, there is a way to do this, I was on a wiki without any date stamps and all usernames, I thought it was this one, but that is the opposite, datestamps and no usernames.
The solution exists somewhere and it is going to drive me crazy until I find it, stay posted. -PatPeter, Tournesol.pngMediaWiki Support Team 20:50, 27 February 2008 (UTC)
MediaWiki: 1.11.1
PHP: 5.2.3 (apache2handler)
MySQL: 5.0.51a
URL: DishiWiki.com
Here's how I do it: I use an RSS read of my wiki's own New Pages RSS feed:
<rss desc=off title=off number=10>http://dishiwiki.com/index.php?title=Special:Newpages&feed=rss</rss>
See "Newest Recipes" on Main Page of DishiWiki. The RSS reader is extension "RSS Reader" (version 0.2.4). Does this work for you? -Brian7632416 00:17, 16 May 2008 (UTC)
Subsequent Edit: I removed Extension RSS Reader, noted above, from my Main Page because I suspect it of causing Main Page to load slowly.... (I put RSS Reader back on my Main Page. Slow-load was probably due to something else.) Brian7632416 02:30, 23 May 2008 (UTC)

(RESOLVED) Password protected?

Hey, guys, is there any way to create a password protected page? I only want my group members to edit it Pingsong 17:10, 4 February 2008 (UTC) pandean

no one knows?
"Page" means the whole wiki or just a single page within a wiki? However, have a look at Manual:Preventing access. Regards -- 89.55.176.121 08:01, 14 June 2008 (UTC)

(RESOLVED) Statistic of search requests

Hello. Is there a way to get a statistic of search requests? I'd like to know, what users are looking for in my wiki. Something like Special:Wantedpages, but based on "not found" users queries? —213.148.8.233 22:19, 5 February 2008 (UTC)

Special:Statistics has most pages visited, which is similar, if you wanted what is searched the most then it would probably be a plug-in to this page. -PatPeter, Tournesol.pngMediaWiki Support Team 23:38, 5 February 2008 (UTC)
Then again MediaWiki (the site not the code) has this option turned off, so look here. -PatPeter, Tournesol.pngMediaWiki Support Team 23:39, 5 February 2008 (UTC)
You might want to check out Extension:SearchLog, this gives a tabular summary of search requests. You could also check the server logs of search requests by filtering on specific query string requests, although searches will be urlencoded --Zven 01:49, 6 February 2008 (UTC)
The SearchLog - is very close to what I need, Special:Statistics shows popularity of existing pages, but I need "What pages I have to add, that readers looking for". The only problem: SearchLog incorrectly shows UTF-8 chars. --89.175.73.253 12:12, 6 February 2008 (UTC)
I have modified Extension:SearchLog to display raw Unicode/UTF-8 characters by escaping the ampersands. A special page example is running on OrganicDesign:Special:SearchLog, see if that is what you want. --Zven 23:30, 7 February 2008 (UTC)
Still not working, the same black diamonds :-( --Konstbel 18:06, 8 February 2008 (UTC)
Is your wiki site publically accessible? Can you tell me what the characters are in the source generating the diamonds? The UTF-8 character &#xFFFD; is a diamond with a question mark inside . Try putting each of these searches in to the new version -See Extension talk:SearchLog#Problem_with_UTF-8 --Zven 20:29, 8 February 2008 (UTC)

No, site is inside intranet. The HTML code of the generated page is looking like

<table>
<tr>
<td>рћс‚с‡рµс‚с‹</td>
<td>1</td>
</tr>
</table>

If I open the log file in editor with UTF-8 support, I can read the search phrases, they are really in UTF-8. --Konstbel 15:29, 12 February 2008 (UTC)

Wait, what do you mean with the table? -PatPeter, Tournesol.pngMediaWiki Support Team 20:53, 27 February 2008 (UTC)
This is the example of incorrect characters, as I see in generated HTML page. I have found the solution for me (see http://www.organicdesign.co.nz/Extension_talk:SearchLog.php), but it may not be applicable for all others: I've changed the line
       $i = strtolower(trim($phrase));
to
       $i = mb_strtolower(trim($phrase),"UTF-8");
So, the problem was in incorrect lowercase conversion, as in many other cases :-( --Konstbel 08:20, 4 March 2008 (UTC)

(RESOLVED) How Can I Change the Text on the Create Account Page?

Specifically, I want to change the "Already got an account? Log in." text.

Mark some text from a row, copy it, search/find it on Special:Allmessages --Subfader 02:54, 13 February 2008 (UTC)