Extension talk:Attribute

I'm using MediaWiki: 1.7.1, PHP: 5.1.5 (apache2handler) and MySQL: 5.0.24-community-nt

I had to change // Add special page if ( version_compare( $wgVersion, '1.7.1', '<' )) { require_once(dirname(__FILE__) . '/xyAttributeQuery.php'); SpecialPage::addPage(new XyAttributeQuery ); }  else { if ( !function_exists( 'extAddSpecialPage' ) ) { require( dirname(__FILE__) . '/../ExtensionFunctions.php' ); }    extAddSpecialPage( dirname(__FILE__) . '/xyAttributeQuery.php', 'XyAttributeQuery', 'XyAttributeQuery' ); }

to

// Add special page if ( version_compare( $wgVersion, '1.7.1', '<=' )) { require_once(dirname(__FILE__) . '/xyAttributeQuery.php'); SpecialPage::addPage(new XyAttributeQuery ); }  else { if ( !function_exists( 'extAddSpecialPage' ) ) { require( dirname(__FILE__) . '/../' ); }    extAddSpecialPage( dirname(__FILE__) . '/xyAttributeQuery.php', 'XyAttributeQuery', 'XyAttributeQuery' ); }

in xyAttribute.php

There's no ExtensionFunctions.php in 1.7.1, and I couldn't find much about the file. Seems to work fine after the change.

Icon issue: Using MW 1.7.1, had to comment out the $xyAttributePng line in LocalSettings.php in order for the button to display properly in the editor. --Jtautry 21:31, 16 October 2006 (UTC)

Props
Just wanted to leave some props. Very cool extension. --131.158.72.67 22:12, 15 December 2006 (UTC)

MW Versions
Is it possible to have it on MW 1.6.7? Any changes to code are needed?

Regards, Aretai 14:43, 2 February 2007 (UTC)

Having problems in 1.9.2 version

 * I am getting

"Fatal error: Call to undefined function wfInsertArray in /opt/lampp/mediawiki/extensions/xyAttribute/xyAttribute.php on line 170"

--129.46.173.14 02:10, 17 February 2007 (UTC)


 * I had the same problem using version 1.9.3

Solved including the following statement right before line 170:

require_once("./includes/DatabaseFunctions.php");

201.49.16.43 17:30, 10 May 2007 (UTC)