Extension talk:Add Button/Archive 1

--Johnp125 13:02, 18 September 2007 (UTC)

Looks like it is only messing with Gallery items. Not regular picture links.

--Johnp125 14:53, 17 September 2007 (UTC) I'm getting the following issue with gallery images with the extention added.

MediaWiki: 1.10.0

PHP: 5.1.6 (apache2handler)

MySQL: 5.0.22

Item 1



The options can be given in any order. If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting.  [edit] Gallery of images It's easy to make a gallery of thumbnails with the  tag. The syntax is: &lt;gallery&gt; Image:{filename}|{caption} Image:{filename}|{caption} {...} &lt;/gallery&gt; Captions are optional, and may contain wiki links or other formatting. for example: &lt;gallery&gt; Image:Example.jpg|Item 1 Image:Example.jpg|a link to Help:Contents Image:Example.jpg Image:Example.jpg Image:Example.jpg|italic caption &lt;/gallery&gt; is formatted as:

Does not seem to work with newest version MediaWiki: 1.11.0rc1

Confirmed: Not working with MediaWiki 1.11 PHP5 MySQL5  here is the error:

Detected bug in an extension! Hook addbuttonDo failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:


 * 0 D:\Inetpub\Wiki\includes\Parser.php(332): wfRunHooks('ParserBeforeTid...', Array)
 * 1 D:\Inetpub\Wiki\includes\OutputPage.php(474): Parser->parse('This page has b...', Object(Title), Object(ParserOptions), true, true, 8196)
 * 2 D:\Inetpub\Wiki\includes\GlobalFunctions.php(593): OutputPage->parse('This page has b...', true, true)
 * 3 D:\Inetpub\Wiki\includes\SkinTemplate.php(342): wfMsgExt('viewcount', Array, '20,151')
 * 4 D:\Inetpub\Wiki\includes\OutputPage.php(696): SkinTemplate->outputPage(Object(OutputPage))
 * 5 D:\Inetpub\Wiki\includes\Wiki.php(301): OutputPage->output
 * 6 D:\Inetpub\Wiki\index.php(90): MediaWiki->finalCleanup(Array, Object(LoadBalancer), Object(OutputPage))
 * 1) 7 {main}

Retrieved from "http://myserver/Wiki/index.php?title=Main_Page"

Extension is not secure
The "If MEDIAWIKI not defined, DIE) -- is missing from this extension. Further I dont feel comfortable with the javascript code inside but I may be wrong. There's a user in Wikipedia which has done this same thing but that works only for that website.--Kenny5 00:33, 3 November 2006 (UTC)

Extension does not seem to work with 1.9.3
I tried installing and using this extension with 1.9.3 and it seems to have broken my wiki. I contacted the author about it.


 * Making the one on Wikipedia available easily for everyone would be a great idea.--Heebie 19:33, 21 April 2007 (UTC)

New technique by The Architect
I just created a different technique to add the buttons. The Pop-Cult Architect