Difference between revisions of "Issue:Style error for anonymous users"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Bug |Extension = DPL |Version = 1.8.8 |Description = DPL-queries messes up layout for anonymous users |Status = open }} == Problem == MW version is ...)
 
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
  |Version    = 1.8.8
 
  |Version    = 1.8.8
 
  |Description = DPL-queries messes up layout for anonymous users
 
  |Description = DPL-queries messes up layout for anonymous users
  |Status      = open
+
  |Status      = closed
 
}}
 
}}
  
Line 10: Line 10:
 
MW version is 1.15.1
 
MW version is 1.15.1
  
I've got a few simple DPL-queries on my front page, but they make the layout act up for anonymous viewers. Even empty tags causes this problem (<dpl></dpl>).
+
I've got a few simple DPL-queries on my front page, but they make the layout act up for anonymous viewers. Even empty tags causes this problem.
  
 
Check it out for yourself @ [http://www.printviswiki.com]
 
Check it out for yourself @ [http://www.printviswiki.com]
Line 18: Line 18:
 
Any ideas? My wiki is pretty restricted, so anonymous users only have access to a handful of pages. But I really need to be able to display some DPL-based stuff on the front page.
 
Any ideas? My wiki is pretty restricted, so anonymous users only have access to a handful of pages. But I really need to be able to display some DPL-based stuff on the front page.
  
 +
--[[User:Martinfs|Martinfs]] 01:20, 11 September 2009 (UTC)
  
 +
=== Reply ===
  
--[[User:Martinfs|Martinfs]] 01:20, 11 September 2009 (UTC)
+
I can hardly imagine that teh effect comes from DPL. A similar problem has never been reported so far. I suggest that you start with an EMPTY page that only contains the DPL code you want to be executed. If the effect then still exists, we can look for the cause.
  
 +
Maybe it is your banner that messes up the format (width=100% ?)
  
 +
[[User:Gero|Gero]] 06:54, 11 September 2009 (UTC)
  
 
== Reply ==
 
== Reply ==
 +
 +
Thanks for the quick reply!
 +
 +
A reasonable suggestion and I tried it. Check out this [http://printviswiki.com/wiki/Test test page] that has only a dpl-query.
 +
 +
I'll try commenting out all the stuff in my LocalSettings to see if something is conflicting.
 +
 +
--[[User:Martinfs|Martinfs]] 14:12, 11 September 2009 (UTC)
 +
 +
----
 +
 +
Ok, I finally got something. It has to do with [http://www.mediawiki.org/wiki/Extension:UserRightsList UserRightsList extension]
 +
 +
That's too bad, it's a decent extension. By far the best tool for user group control I've come across.
 +
 +
I'm commenting it out for now. At least we know of this extension conflict now.
 +
 +
I narrowed it down to this line in UserRightsList.php:
 +
:$wgHooks['LoadAllMessages'][] = 'UserRightsList::loadMessages';
 +
I'll try throwing that away and see how much is still working :)
 +
 +
--[[User:Martinfs|Martinfs]] 23:00, 11 September 2009 (UTC)

Latest revision as of 09:55, 13 September 2009

Description: DPL-queries messes up layout for anonymous users
Extension / Version: DPL   /   1.8.8
Type / Status: Bug   /   closed

Problem

MW version is 1.15.1

I've got a few simple DPL-queries on my front page, but they make the layout act up for anonymous viewers. Even empty tags causes this problem.

Check it out for yourself @ [1]

I have a couple of access-preventing extensions going on, but they aren't the cause of this. I've tried deactivating all of those in my LocalSettings.

Any ideas? My wiki is pretty restricted, so anonymous users only have access to a handful of pages. But I really need to be able to display some DPL-based stuff on the front page.

--Martinfs 01:20, 11 September 2009 (UTC)

Reply

I can hardly imagine that teh effect comes from DPL. A similar problem has never been reported so far. I suggest that you start with an EMPTY page that only contains the DPL code you want to be executed. If the effect then still exists, we can look for the cause.

Maybe it is your banner that messes up the format (width=100% ?)

Gero 06:54, 11 September 2009 (UTC)

Reply

Thanks for the quick reply!

A reasonable suggestion and I tried it. Check out this test page that has only a dpl-query.

I'll try commenting out all the stuff in my LocalSettings to see if something is conflicting.

--Martinfs 14:12, 11 September 2009 (UTC)


Ok, I finally got something. It has to do with UserRightsList extension

That's too bad, it's a decent extension. By far the best tool for user group control I've come across.

I'm commenting it out for now. At least we know of this extension conflict now.

I narrowed it down to this line in UserRightsList.php:

$wgHooks['LoadAllMessages'][] = 'UserRightsList::loadMessages';

I'll try throwing that away and see how much is still working :)

--Martinfs 23:00, 11 September 2009 (UTC)