Difference between revisions of "Issue:Some problem when I use DPL with MW 1.12"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Bug |Extension = DPL |Version = 1.7.4 |Description = |Status = open }} == Problem == Hi Gero. When use following DPL-query <nowiki>{{#dpl: name...)
 
(Problem)
Line 10: Line 10:
 
Hi Gero.
 
Hi Gero.
  
When use following DPL-query  
+
===General problem===
 +
When I use following DPL-query  
 
  <nowiki>{{#dpl: namespace=Category | format=,\n*%TITLE%,,}}</nowiki>
 
  <nowiki>{{#dpl: namespace=Category | format=,\n*%TITLE%,,}}</nowiki>
 
  <nowiki>{{#dpl: namespace=Category | format = ,\n*%TITLE%,,}}</nowiki>
 
  <nowiki>{{#dpl: namespace=Category | format = ,\n*%TITLE%,,}}</nowiki>
  
will show followng on the page
+
it will shows followng message in the page
 
  %DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?
 
  %DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?
 
  %DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?
 
  %DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?
  
and will show the following message in the top of page
+
and will shows the following message at the top of page
 
  Notice: Undefined variable: stack in D:\AppServ\www\mediawiki-1.12.0\includes\Title.php on line 2737
 
  Notice: Undefined variable: stack in D:\AppServ\www\mediawiki-1.12.0\includes\Title.php on line 2737
 +
 +
When a page have DPL-query and use [http://www.mediawiki.org/wiki/Extension:HeaderTabs <headertabs/> tag] it will show following:
 +
Notice: Undefined variable: htScriptPath in D:\AppServ\www\mediawiki-1.12.0\extensions\HeaderTabs\HeaderTabs.php on line 109
  
  
 +
===Problem happening only install DPL and related extensions===
 
If I install DPL with following code in Localsetting.php:
 
If I install DPL with following code in Localsetting.php:
 
<pre>
 
<pre>
Line 31: Line 36:
 
require_once( "extensions/TodoTasks/SpecialTaskList.php" ); </pre>
 
require_once( "extensions/TodoTasks/SpecialTaskList.php" ); </pre>
  
and without any other extensions, it shows following:
+
and without any other extensions,  
 +
 
 +
use following DPL-query
 +
<nowiki>{{#dpl: namespace=Category | format=,\n*%TITLE%,,}}</nowiki>
 +
<nowiki>{{#dpl: namespace=Category | format = ,\n*%TITLE%,,}}</nowiki>
 +
 
 +
it shows following:
 
  %DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?
 
  %DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?
 
  %DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?
 
  %DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?
  
  
When a page have DPL-query and use [http://www.mediawiki.org/wiki/Extension:HeaderTabs <headertabs/> tag] it will show following:
+
 
Notice: Undefined variable: htScriptPath in D:\AppServ\www\mediawiki-1.12.0\extensions\HeaderTabs\HeaderTabs.php on line 109
 
  
 
===My Environment===
 
===My Environment===
Line 51: Line 61:
  
 
--[[User:Roc michael|Roc michael]] 00:18, 6 June 2008 (CEST)
 
--[[User:Roc michael|Roc michael]] 00:18, 6 June 2008 (CEST)
 +
 
== Reply ==
 
== Reply ==

Revision as of 08:01, 7 June 2008

Description:
Extension / Version: DPL   /   1.7.4
Type / Status: Bug   /   open

Problem

Hi Gero.

General problem

When I use following DPL-query

{{#dpl: namespace=Category | format=,\n*%TITLE%,,}}
{{#dpl: namespace=Category | format = ,\n*%TITLE%,,}}

it will shows followng message in the page

%DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?
%DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?

and will shows the following message at the top of page

Notice: Undefined variable: stack in D:\AppServ\www\mediawiki-1.12.0\includes\Title.php on line 2737

When a page have DPL-query and use <headertabs/> tag it will show following:

Notice: Undefined variable: htScriptPath in D:\AppServ\www\mediawiki-1.12.0\extensions\HeaderTabs\HeaderTabs.php on line 109


Problem happening only install DPL and related extensions

If I install DPL with following code in Localsetting.php:

require_once("extensions/DynamicPageList/DynamicPageList2.php");//960820update
require_once ( 'extensions/LabeledSectionTransclusion/lst.php' );//no update
 require_once ( 'extensions/LabeledSectionTransclusion/lsth.php' );
 require_once ( 'extensions/LabeledSectionTransclusion/compat.php' );
require_once( "$IP/extensions/Call/Call.php" );				 	
require_once( "extensions/TodoTasks/SpecialTaskList.php" ); 

and without any other extensions,

use following DPL-query

{{#dpl: namespace=Category | format=,\n*%TITLE%,,}}
{{#dpl: namespace=Category | format = ,\n*%TITLE%,,}}

it shows following:

%DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?
%DPL-1.7.4-??: ??? '$0' ??: 'namespace'! ??: $0= ???? (?)?



My Environment

  • MediaWiki: 1.12.0
  • Win XP
  • The AppServ Open Project - 2.5.7 for Windows
    • Apache Web Server Version 2.2.3
    • PHP Script Language Version 5.1.6
    • MySQL Database Version 5.0.24a
    • phpMyAdmin Database Manager Version 2.9.0.2

Could you give me a hand?

--Roc michael 00:18, 6 June 2008 (CEST)

Reply