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)

missing specialpage
I simply don't have the page for querying the data. I had some minor issues installinng the extension (like missing ExtensionFunctions.php that I didn't have in the extensions directory and a missing localization file plus I had to paste the SQL thing in phpMyAdmin) that I fixed. But I don't have the special page, I usually nuke everything that doesn't work, but this is a neat extension and anyway the data is being gathered even if I don't have any specialpage for querying it.

Any suggestions on manually creating the specialpage? 354d 18:11, 20 August 2007 (UTC)

More recent versions?
Just wondering if there are any plans to update this extension for the more recent versions of MediaWiki, specifically 1.12?