Hello!
I'm new to the list, and a few weeks old at Mediawiki. I'm trying to set up an authenticated wiki to a research project to provide a closed discussion and documentation platform for many professionals.
I decided to authenticate against the host user/password. The reason is that there will be other applications on the same host as well and it would be nice to maintain one login name/password per user.
Mediawiki 1.14.0 installation was smooth and easy (PostgreSQL DB backend which is essentaial for its GIS features for other applications as well).
PwAuth is installed like written here and many other places: http://www.mediawiki.org/wiki/Extension:PwAuthPlugin
pwauth version is 2.3.7, compile, install and config is OK. All tests passed.
OS: UBUNTU 8.04 (Linux gishost 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux)
Apache2 version: 2.2.8-1ubuntu0.5
I could login to mediawiki both with admin user (configured during mediawiki install) and with OS users. (pwauth is set not to be "strict"
.....Or, at least it seems so.
Problem:
-----------
If I provide the correct admin user or an OS user, login is all right, but user "won't be logged in" for real. IP address is displayed in the upper left corner as for anonymous connections.
If I provide a bad username or password I get the error message as desired, like these:
Login error
There is no user by the name "Admin2". Check your spelling.
OR
Login error
Incorrect password entered. Please try again.
SO - it seems that both mediawiki auth and pwauth are working well. At least, authentication is just fine, but the process won't result in a "logged in" state.
What could be wrong?
Here it is:
http://kuszinger.homelinux.org/kkwiki/index.php/Main_Page (testing environment, it is ok to play around)
test login: test1
pw: kakukk
I'm trying to change the extensions/PwAuthPlugin.php settings, and everything. Also experimenting for more than a week by now but I have no more ideas what to do...
Any help would be great.
thanks
Robert
Special:MostLinkedPages appears to be broken, although everything else works
normally.
*Fatal error*: Call to a member function getPrefixedDBkey() on a non-object
in */home/platfor1/public_html/wiki/includes/specials/SpecialMostlinked.php*on
line
*64
*Any ideas?
Evelyn
http://clev9.com/~platfor1/wiki/index.php?title=Special:Version
Dear All,
Do you know of an svn-annotate plugin for mediawiki ?
It would be nice to see for each line when and by whom it was last
edited. Similarly to a word processor where changes are tracked with
bubbles on the right side of each page (or with different colors
inside the text).
Thanks.
Say fellas, how can I be logged in forever?
I.e., no more "it's that time of the month again" when one's cookies
expire.
Let's see, I've rigged up this Makefile to make all my browser
cookies expire in 2037 that I run every day before poweroff.
w3m_emacs_cookies_forever:.cookie
perl -i.bak -pwle \
's/("\w{3}, \d\d-[A-Z][a-z]{2}-20)[012]\d( \d\d:\d\d:\d\d GMT")/$(\
)$${1}37$$2/' $?
But is that enough to fool the run of the mill MediaWiki wiki, or must I
do something more devious?
Now turning to Wikipedia and its unified login to several projects. Do I
need something fancier yet?
What about making cookie expiry length a Preference, instead of "mother
knows best"?
Hi Kenneth,
On 02/04/2009, Kenneth Porter <shiva(a)sewingwitch.com> wrote:
> On Wednesday, April 01, 2009 9:49 PM +0200 Jean-Marc van Leerdam
> <j.m.van.leerdam(a)gmail.com> wrote:
>
>> The following did not work?:
>>
>> {{Guildbox
>> | name =  M A 
>
> No, that definitely failed, passing the encoding string (not actual spaces)
> to the template.
>
> I'll try to bake up a test template to see what's going on with the
> parameter.
>
It's the {{urlencode: }} that strips the leading and trailing spaces,
according to the mediawiki help at meta [1].
I don't see how you fix that easily, so you may have to use a custom
template to get your preferred URL displayed.
[1]: http://meta.wikimedia.org/wiki/Help:Parser_function#URLENCODE
--
Regards,
Jean-Marc
--
___
@@ // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
>
> -----Original Message-----
> From: mediawiki-l-bounces(a)lists.wikimedia.org
> [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Roland
> Achermann
> Sent: Saturday, March 28, 2009 1:12 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Left aligned table and bullet list
>
> I want to have the table left aligned, there is nothing wrong with the
> table. And the bullets shall surround the table. But I don't want to have
> the bullets overlapping the table, that's "wrong". I just don't know if
> this
> is a rendering problem of the browsers, or if it could be fixed within the
> CSS.
>
> I could add "margin-right: 1.5em;" to the style "table" in file
> \skins\monobook\main.css as a quick fix. But the margin is not needed (not
> wanted) with not left-aligned table.
>
> Roland
>
Well, instead of use CSS (this affects all the tables of the wiki) probably
you cand add the style properties to the table itself:
*bullet
*bullet
{|
|Test1
|}
*bullet
*bullet
{| border="0" cellpadding="5" cellspacing="0"
|Test2
|}
*bullet
*bullet
{|align=left border="1pt" style="margin-right:20px;"
|Test3
|}
*bullet
*bullet
*bullet
This seems to work...
G.
--
Giuseppe Briotti
g.briotti(a)gmail.com
"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
nasceris, possis nihil urbe Roma
visere maius."
(Orazio)
Hi,
> [http://eu.wowarmory.com/guild-info.xml?r={{urlencode:{{{server}}}}}&n={{url…
> {{{name}}} Armory] }}
You first have to find out if the {{{name}}} actually contains the
leading and trailing space. If it does, then the urlencode is your
problem, otherwise the problem lies in passing leading/trailing spaces
to named template parameters.
The following did not work?:
{{Guildbox
| name =  M A 
| server = Bleeding Hollow
| location = US
| image =
| leader = Deadhead {{RaceIcon|Human|Male|Small}}{{ClassIcon|Priest|Small}}
| level = 1-80
| type = PvP
| faction = Alliance
| accounts = 256
| web = http://www.ma-wow.com/
}}
--
Regards,
Jean-Marc
--
___
@@ // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Hey all,
I am trying to import some WikiPedia articles into a local instance of
MediaWiki and it seems as if the templates are not displaying correctly,
particularly when theres if statements or switch statements. This can be
seen, for example in this page:
http://youversity.com/tmpwiki/index.php?title=Phish . I'm using MediaWiki
version 1.13.3. I believe this version should be equipped to handle
templates with conditional statements...does something need to be enabled in
a settings file somewhere or something? Any help would be greatly
appreciated.
Thanks.
James
Hi,
2009/3/31 Kenneth Porter <shiva(a)sewingwitch.com>:
> On Tuesday, March 31, 2009 8:43 PM +0200 Jean-Marc van Leerdam
> <j.m.van.leerdam(a)gmail.com> wrote:
>
>> Try using HTML escaped spaces:  
>
> The resulting URL expanded to " M+A " and then got HTTP encoded to
> "%26%2332%3BM+A%26%2332%3B".
>
> HTTP encoding has a similar problem. I also tried to quote the parameter
> and, while the spaces then make it in, the quotes also get included in the
> result, not what I want.
>
You are using a mediawiki wiki? This works just fine for me:
-- start WIKI text--
=Template testing=
Here is a [{{SP}}] space?
Through a template this looks like: {{Test| }}
Template template: {{Test|{{SP}}}}
Total: {{Test|{{SP}}M{{SP}}A{{SP}}}}
-- end WIKI text
-- start Result
Template testing
Here is a [ ] space?
Through a template this looks like: Hi there, how are [ ] you?
Template template: Hi there, how are [ ] you?
Total: Hi there, how are [ M A ] you?
-- end Result
Template:SP contains a single line:
 
Template:Test contains a single line:
Hi there, how are [{{{1}}}] you?
--
Regards,
Jean-Marc
--
___
@@ // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net