Difference between revisions of "Issue:DPL on Mediawiki 1.15.3 Debian"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Bug |Extension = DPL |Version = 1.8.9 |Description = DPL does not work with MW 1.15.3 (Debian) |Status = open }} == Problem == The current (1.8.9) d...)
 
(Problem)
 
Line 14: Line 14:
 
I have spent some time and got it working, I'm posting the result here largely as information!
 
I have spent some time and got it working, I'm posting the result here largely as information!
  
* TAGS (<nowiki><dpl></nowiki>)fixed by using SVN version 66059 from http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/DynamicPageList/
+
* TAGS (<nowiki><dpl></nowiki>) fixed by using SVN version 66059 from http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/DynamicPageList/
* Parserfunctions (<nowiki>{{#dpl:}}</nowiki>)resolved by changing languages/Language.php in mediawiki itself
+
* Parserfunctions (<nowiki>{{#dpl:}}</nowiki>) resolved by changing languages/Language.php in mediawiki itself
 
<pre>
 
<pre>
 
diff Language.php  Language.orig.php  
 
diff Language.php  Language.orig.php  

Latest revision as of 16:36, 11 May 2010

Description: DPL does not work with MW 1.15.3 (Debian)
Extension / Version: DPL   /   1.8.9
Type / Status: Bug   /   open

Problem

The current (1.8.9) download of DPL with the current Debian (1.15.3) MW does not work. Both tags are parserfunctions are ignored.

The issue is possibly related to the php version too.

I have spent some time and got it working, I'm posting the result here largely as information!

diff Language.php  Language.orig.php 
1758c1758
< 	function getMagic( $mw ) {
---
> 	function getMagic( &$mw ) {

Reply