Thomas:Test:Applet

From WikiPathways

(Difference between revisions)
Jump to: navigation, search
(New page: {|align="center" |{{#pwImage:Human:Apoptosis|600px|none|<span style="font-size:1.5em"> <a href="javascript:;" onclick="JS_OPEN_EDITOR_APPLET">Edit pathway</a></span>|svg|View SVG}} |})
Line 1: Line 1:
 +
<!-- pwImage(pwTitle,width,align,caption,href,tooltip,id -->
{|align="center"
{|align="center"
|{{#pwImage:Human:Apoptosis|600px|none|<span style="font-size:1.5em">
|{{#pwImage:Human:Apoptosis|600px|none|<span style="font-size:1.5em">
-
<a href="javascript:;" onclick="JS_OPEN_EDITOR_APPLET">Edit pathway</a></span>|svg|View SVG}}
+
<a href="javascript:;" id="appletButton">Edit pathway</a></span>|svg|View SVG|pwImage}}
|}
|}
 +
 +
<!-- include applet code, first argument is element that will trigger applet on click, second is element that will be replaced -->
 +
{{#editApplet:appletButton|pwImage}}

Revision as of 14:18, 24 July 2007

invalid pathway title: exception 'Exception' with message 'Couldn't parse pathway identifier from title Human:Apoptosis' in /var/www/wikipathways/wpi/extensions/Pathways/Pathway.php:300

Stack trace:

  1. 0 /var/www/wikipathways/wpi/extensions/pathwayThumb.php(22): Pathway::newFromTitle('Human:Apoptosis')
  2. 1 [internal function]: renderPathwayImage(Object(Parser), 'Human:Apoptosis', '600px', 'none', 'braceSubstitution(Array, Object(PPFrame_DOM))
  3. 4 /var/www/wikipathways/includes/parser/Parser.php(2678): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
  4. 5 /var/www/wikipathways/includes/parser/Parser.php(966): Parser->replaceVariables('<!-- pwImage(pw...')
  5. 6 /var/www/wikipathways/includes/parser/Parser.php(321): Parser->internalParse('<!-- pwImage(pw...')
  6. 7 /var/www/wikipathways/includes/OutputPage.php(405): Parser->parse('<!-- pwImage(pw...', Object(Title), Object(ParserOptions), true, true, 6921)
  7. 8 /var/www/wikipathways/includes/OutputPage.php(391): OutputPage->addWikiTextTitle('<!-- pwImage(pw...', Object(Title), true, true)
  8. 9 /var/www/wikipathways/includes/OutputPage.php(500): OutputPage->addWikiTextTitleTidy('<!-- pwImage(pw...', Object(Title), true)
  9. 10 /var/www/wikipathways/includes/DifferenceEngine.php(313): OutputPage->addWikiTextTidy('<!-- pwImage(pw...')
  10. 11 /var/www/wikipathways/includes/DifferenceEngine.php(271): DifferenceEngine->renderNewRevision()
  11. 12 /var/www/wikipathways/includes/Article.php(729): DifferenceEngine->showDiffPage(false)
  12. 13 /var/www/wikipathways/includes/Wiki.php(437): Article->view()
  13. 14 /var/www/wikipathways/includes/Wiki.php(59): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
  14. 15 /var/www/wikipathways/index.php(93): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
  15. 16 {main}

{{#editApplet:appletButton|pwImage}}

Personal tools