Hello!
I wanted to try AJAX, so i switched it on in my MW 1.9.0:
$wgUseAjax = true;
$wgAjaxSearch = true;
$wgAjaxWatch = true;
Now, when I try to type the name of an article in the searchbox of my wiki, i
get an error-message-popup:
Error: 500 Internal Server Error
Parser::replaceInternalLinks: $this->mTitle is null
Whats wrong?
Regards,
Jan
Hi,
I tried to upload my site to free.fr, but I got the message
PHP 5.0.x is buggy on your 64-bit system; you must upgrade to PHP 5.1.x or
higher. ABORTING. (http://bugs.php.net/bug.php?id=34879 for details)
Where can I find a provider using "PHP 5.1.x or higher" ? I live in France
near Paris.
cheers
Klaus
Dear list,
a quick search through the list archives didn't bring up a result so
please excuse me if this issue has been solved already.
I am currently using Mediawiki 1.9.2. and experienced problems uploading
PNG images.
Although my test image shows an 'image/png'-mimetype with 'file -i',
Mediawiki keeps saying the file was corrupted.
Monitoring /tmp/php* while uploading the image again shows the uploaded
file to be image/png, too:
while(usleep 1); do file -i /tmp/php*|grep -v "ERROR"; done
/tmp/phpksjpPO: image/png
Mediawiki debug says
MimeMagic::detectMimeType: magic mime type of /tmp/phpcDoKKE:
text/plain
amongst other things, so I guess MimeMagic isn't working correctly..
Searching the meta wiki gives me the hint to add
$wgMimeDetectorCommand = "/usr/bin/file -bi";
to LocalSettings.php as a workaround, which actually does the trick.
But still I wonder: What's the problem with MimeMagic?
Thanks,
Sebastian
Hi,
my Wiki contains some categories with more than 200 entries.
Registered/logged-on users do not have any problems seeing all entries of a
categorie (special categories, stepping through them with 'next 200').
But users, who are not logged-on, are not able to step through the entries
of a category.
Any idea why?
Thanks in advance, zaydo
--
View this message in context: http://www.nabble.com/Display-of-categories-tf3974777.html#a11282874
Sent from the WikiMedia General mailing list archive at Nabble.com.
I''m getting this error
*Warning*: fopen(../maintenance/tables.sql)
[function.fopen<http://www.wiki.stock-tech.com/configs/function.fopen>]:
failed to open stream: No such file or directory in *
/homepages/21/d144326822/htdocs/wiki/includes/Database.php* on line *2123*
Could not open "../maintenance/tables.sql".
Database line 2123 contains:
$fp = fopen( $filename, 'r' );
Where is file name 'r' and why am i missing it???
--
-Matt Gallisdorfer
I hope (and I can only hope) somebody will come up with features that
make MW a natural choice in business wikis as well. As Dave pointed out,
an inbuilt WYSWYG editor is everyone's dream. Other than that, I think a
wiki administrator would like to have built in features in MW as:
Different authentication mechanisms like LDAP, NTLM
UI for creating users, groups and assigning users to groups
UI for creating categories and assigning categories to articles
UI-based access control mechanism based on article categories/user
groups and usernames
Review mechanism if needed
Rating of articles
Regards,
Jack
----------------------------------------------------------------
"Techies are like stars--they rise and set, they have the worship of the
world, but no repose"
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Dave
Sigafoos
Sent: Friday, June 29, 2007 12:48 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Looking for MW Business Users
My thoughts are these ..
First, none of this is looking for a replacement to MW site. This has
been a great source of information. I just recognize that there might
be a bit much chatter on the MW site about things that they don't really
care about. Anything the comes about from this type of source *must be*
shared with MW as far as I am concerned.
a location where problems that have come up trying to do 'business'
things with MW are addressed. As mentioned in my original post, these
are things that will probably never fit into the MW/WP world. As you
mentioned 'access restriction', different reporting/special pages.
Processes that 'implementors' (probably better than business?) might
need that WikiWorld wont.
The wiki is a great way of sharing information. But sometimes
businesses need a little more than just 'editing' and viewing. One
example would be the BoilerplateSelection extension I did. We have
various formatted documents (currently formatted in 'word') that we want
to use. This extension allows auto-seed depending on article name.
This works well for us (could be modified for various uses).
a location where people can 'team' to work out a specific problem. A
WYSIWYG editor might be an example. Although not everyone wants one of
these, if there are some developers who would help out on something like
this it would be great. Not all of us have all the knowledge of MW to
develop something this complex but I am sure the knowledge is out there
I am sure that there are other examples that can be thought of that
something like this might work for.
The trick would be to keep the MW core developers involved with these
ideas as their knowledge is crucial to get any of these things working.
But letting them be distant enough that they aren't 'expected' to answer
questions.
DSig
David Tod Sigafoos | SANMAR Corporation
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Frederik
Dohr
Sent: Thursday, June 28, 2007 7:52
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Looking for MW Business Users
> At one time I thought I had read that there was a group of MW users
who
> were getting together to discuss more 'business' needs in wiki.
Well, I remember having been involved in this:
http://wikis.wikia.com/wiki/Wiki_sales_pitch
But that's not exactly what you're looking for.
There's also Enterprise Wikimania, hosted by Socialtext:
http://www.eu.socialtext.net/ewikimania/index.cgi
Though that's pretty much dead as far as I can tell (and it's obviously
not focused on the MediaWiki engine either)...
> Is there a better place to put up questions discussing possible
> extensions that would probably never be used in WP worlds but would be
> better aimed at usage by business.
> Is there interest in such?
I would certainly be interested in that, but I'm not sure whether or how
I could contribute...
What kind of topics - other than the obvious access restrictions - are
you thinking of?
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You
I've set up Lucene following the instructions on
http://meta.wikimedia.org/wiki/Installing_lucene_search When I get to the
indexing stage, I get this error:
Unhandled Exception: java.io.IOException: no root element: U+58
at org.mediawiki.importer.XmlDumpReader.readDump () [0x00000]
at MediaWiki.Search.SearchTool.SearchTool.ImportDump (System.Stringdumpfile,
System.String database) [0x00000]
at MediaWiki.Search.SearchTool.SearchTool.Main (System.String[] args)
[0x00000]
My friend has also set up Lucene on his machine, and he gets the same
error. We're both at a loss about what the problem is.
I want to have a namespace which has an ampersand in it e.g. "Me&You". I've followed the directions for $wgExtraNamespaces which ask to use $amp; for &, and everything goes okay except - a new page doesnt get recorded in the new namespace, when I check the database, so defeating the purpose (it gets a namespace of 0, the main space).
I can get this to work if I use just the & as it is, but the main "article" tab comes messed up. It shows this:
"<nstab-Me&You>"
instead of "article"
I can get rid of the ampersand and gain 2 more letters to make the namespace a little longer but I want the ampersand if possible. I've tried different combinations for other unicode characters too on a test wiki with the same result. I guess there's no current fix for this, right and I'd probably have to get rid of the ampersand? If you want to try it yourself, try:
$wgExtraNamespaces = array(120 => "Me1&You", 121=> "Me1&You_Talk", 122 => "Me2&You", 123=> "Me2&You_Talk" );
And then add an article in each namespace and check the database, or the Special:Allpages which will show only one namespace's article, and thats the one for which the "article" tab is messed during display.
thanks
Eric
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.
All, I've been getting a lot of complaints from users about when
entering text in the search box and they hit enter , searching defaults
to doing a 'go' search (like pressing the go button). Is there a way to
change this behavior so when users enter text and press enter the search
defaults to a 'page results search' instead? Thank you very much.
-p
Hi All,
I'm looking for some help with the LdapAuthentication extension,
specifically group synchronization and access controls based on the LDAP
group membership. Here's a lil info on my setup:
Gentoo Box with LAMP is running mediawiki:
* MediaWiki: 1.6.8
* PHP: 4.4.2-pl2-gentoo (apache2handler)
* MySQL: 4.1.14-log
* LDAP Authentication Plugin (version 1.1f (alpha)), LDAP Authentication
plugin with support for multiple LDAP authentication methods, by Ryan
Lane
(the latest download on the website has version 1.1f
alpha listed, however when you view this file, you'll notice the version
defined is 1.1f (non-alpha) and the code is different than the 1.1f
alpha)
This is connecting to a Windows 2003 Active Directory LDAP server hosted
on another machine.
Here is my config as it pertains to LDAP
require_once( "includes/LdapAuthentication.php" );
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array( "SMP-INC" );
$wgLDAPServerNames = array( "SMP-INC"=>"frodo.smp-inc.comlegolas.smp-inc.com" );
$wgLDAPSearchStrings = array( "SMP-INC"=>"SMP-INC\\USER-NAME" );
#$wgLDAPSearchStrings = array( "SMP-INC"=>"USER-NAME(a)SMP-INC.com" );
$wgLDAPUseSSL = false; //not recommended but OK for testing
$wgLDAPEncryptionType = array( "SMP-INC"=>'clear' ); // this is needed
in >= 1.1c
$wgLDAPUseLocal = true; //allows mysql db driven auth (default Root
user)
$wgMinimalPasswordLength = 1;
$wgLDAPRetrievePrefs = array( "SMP-INC"=>true ); // this is needed in >=
1.1c
$wgLDAPUpdateLDAP = array( "SMP-INC"=>"false" ); //disables mediawiki
from updating LDAP
$wgLDAPDebug = 3; //debugging
#GROUP BASED AUTH
$wgLDAPSearchAttributes = array( "SMP-INC"=>"sAMAccountName" );
$wgLDAPBaseDNs = array( "SMP-INC"=>"cn=users,dc=smp-inc,dc=com" );
$wgLDAPUseLDAPGroups = array( "SMP-INC"=>true );
$wgLDAPRequiredGroups = array(
"SMP-INC"=>array(
"cn=wiki-readonly,cn=users,dc=smp-inc,dc=com",
"cn=wiki-readwrite,cn=users,dc=smp-inc,dc=com",
"cn=wiki-sysops,cn=users,dc=smp-inc,dc=com"
)
);
$wgLDAPLowerCaseUsername = array( "SMP-INC"=>true );
$wgLDAPGroupUseFullDN = array( "SMP-INC"=>true );
$wgLDAPLowerCaseUsername = array( "SMP-INC"=>true );
$wgLDAPGroupObjectclass = array( "SMP-INC"=>"group" );
$wgLDAPGroupAttribute = array( "SMP-INC"=>"member" );
$wgLDAPGroupSearchNestedGroups = array( "SMP-INC"=>true );
# Prevent new user registrations except by sysops
$wgGroupPermissions['*']['createaccount'] = false;
# Disable reading by anonymous users
$wgGroupPermissions['*']['read'] = false;
# But allow them to read the Login Page, and JS/CSS pages
$wgWhitelistRead = array( "Special:Userlogin", "-",
"MediaWiki:Monobook.css" );
$wgGroupPermissions['wiki-readonly']['move'] = false;
$wgGroupPermissions['wiki-readonly']['read'] = true;
$wgGroupPermissions['wiki-readonly']['edit'] = false;
$wgGroupPermissions['wiki-readonly']['createpage'] = false;
$wgGroupPermissions['wiki-readonly']['createtalk'] = false;
$wgGroupPermissions['wiki-readonly']['upload'] = false;
$wgGroupPermissions['wiki-readonly']['reupload'] = false;
$wgGroupPermissions['wiki-readonly']['reupload-shared'] = false;
$wgGroupPermissions['wiki-readonly']['minoredit'] = false;
$wgGroupPermissions['wiki-readwrite']['move'] = true;
$wgGroupPermissions['wiki-readwrite']['read'] = true;
$wgGroupPermissions['wiki-readwrite']['edit'] = true;
$wgGroupPermissions['wiki-readwrite']['createpage'] = true;
$wgGroupPermissions['wiki-readwrite']['createtalk'] = true;
$wgGroupPermissions['wiki-readwrite']['upload'] = true;
$wgGroupPermissions['wiki-readwrite']['reupload'] = true;
$wgGroupPermissions['wiki-readwrite']['reupload-shared'] = true;
$wgGroupPermissions['wiki-readwrite']['minoredit'] = true;
$wgGroupPermissions['wiki-sysops']['block'] = true;
$wgGroupPermissions['wiki-sysops']['createaccount'] = true;
$wgGroupPermissions['wiki-sysops']['delete'] = true;
$wgGroupPermissions['wiki-sysops']['deletedhistory'] = true;
$wgGroupPermissions['wiki-sysops']['editinterface'] = true;
$wgGroupPermissions['wiki-sysops']['import'] = true;
$wgGroupPermissions['wiki-sysops']['importupload'] = true;
$wgGroupPermissions['wiki-sysops']['move'] = true;
$wgGroupPermissions['wiki-sysops']['patrol'] = true;
$wgGroupPermissions['wiki-sysops']['protect'] = true;
$wgGroupPermissions['wiki-sysops']['rollback'] = true;
$wgGroupPermissions['wiki-sysops']['upload'] = true;
$wgGroupPermissions['wiki-sysops']['reupload'] = true;
$wgGroupPermissions['wiki-sysops']['reupload-shared'] = true;
$wgGroupPermissions['wiki-sysops']['unwatchedpages'] = true;
$wgGroupPermissions['wiki-sysops']['autoconfirmed'] = true;
$wgGroupPermissions['wiki-sysops']['userrights'] = true;
I created 3 Active directory groups and a user for each group:
GROUP USER
wiki-readonly wiki-ro
wiki-readwrite wiki-rw
wiki-sysops wiki-user
I can successfully authenticate against LDAP groups as defined by
$wgLDAPRequiredGroups. Users that are not in $wgLDAPRequiredGroups can
NOT log in. So LDAP is working and group authentication is working.
It is my understanding that at this point I should be able to set
$wgGroupPermissions based on the Active Directory group name so long as
wiki/AD sync is setup as defined by $wgLDAPUseLDAPGroups. With
debugging set to 3, I can log in as any of the 3 defined users, however
they all receive the same group memberships; users and *.
Entering validDomain
User is using a valid domain.
Setting domain as: SMP-INC
Entering getCanonicalName
Username isn't empty.
Munged username: Wiki-rw
Entering authenticate
Entering Connect
Using TLS or not using encryption.
Using servers: ldap://frodo.smp-inc.comldap://legolas.smp-inc.com
Connected successfully
Lowercasing the username: wiki-rw
Entering getSearchString
Doing a straight bind
userdn is: SMP-INC\wiki-rw
Binding as the user
Binded successfully
Entering getUserDN
Created a regular filter: (sAMAccountName=wiki-rw)
Using base: cn=users,dc=smp-inc,dc=com
Fetched username is not a string (check your hook code...).
Pulled the user's DN: CN=wiki-rw,CN=Users,DC=smp-inc,DC=com
Checking for (new style) group membership
Entering isMemberOfRequiredLdapGroup
Required
groups:cn=wiki-readonly,cn=users,dc=smp-inc,dc=com,cn=wiki-readwrite,cn=
users,dc=smp-inc,dc=com,cn=wiki-sysops,cn=users,dc=smp-inc,dc=com
Entering getUserGroups
Entering getGroups
Search string:
(&(member=CN=wiki-rw,CN=Users,DC=smp-inc,DC=com)(objectclass=group))
Returned groups:cn=wiki-readwrite,cn=users,dc=smp-inc,dc=com
Returned groups:
Found user in a group.
Retrieving LDAP group membership
Entering getUserGroups
Entering getAllGroups
Entering getGroups
Search string: (&(member=\5c2a)(objectclass=group))
Returned groups:
Returned groups:
Retrieving preferences
Retrieved: , , wiki-rw, wiki-rw
Authentication passed
Entering updateUser
Setting user preferences.
Pulling groups from LDAP.
Available groups are:
bot,sysop,bureaucrat,wiki-readonly,wiki-readwrite,wiki-sysops
Effective groups are: *,user
Checking to see if user is in: bot
Entering hasLDAPGroup
Checking to see if user is in: sysop
Entering hasLDAPGroup
Checking to see if user is in: bureaucrat
Entering hasLDAPGroup
Checking to see if user is in: wiki-readonly
Entering hasLDAPGroup
Checking to see if user is in: wiki-readwrite
Entering hasLDAPGroup
Checking to see if user is in: wiki-sysops
Entering hasLDAPGroup
Saving user settings.
You'll notice the line: "Effective groups are: *,user". Shouldn't this
show wiki-readwrite, since that's the AD group this user belongs to? Or
does it not check the AD groups until it says "checking to see if user
is in: wiki-readwrite"? Also, once the member is found in an AD group,
should the MySQL table "wikidb_user_groups" get an UPDATE statement
adding the userid to the AD group?
I've read a lot and looked for Ryan Lane on Freenode. I think I'm
having similar problems as this guy, but I have the newer version:
http://www.mediawiki.org/wiki/Extension_talk:LDAP_Authentication/archive
1#Group_Synchronization
Thanks,
Kbruss