Thomas:Test:Applet

From WikiPathways

(Difference between revisions)
Jump to: navigation, search
Current revision (15:16, 24 July 2007) (view source)
 
Line 1: Line 1:
<!-- pwImage(pwTitle,width,align,caption,href,tooltip,id -->
<!-- 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:Sandbox|600px|none|<span style="font-size:1.5em">
<a href="javascript:;" id="appletButton">Edit pathway</a></span>|svg|View SVG|pwImage}}
<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 -->
<!-- include applet code, first argument is element that will trigger applet on click, second is element that will be replaced -->
-
{{#editApplet:appletButton|pwImage||Human:Apoptosis}}
+
{{#editApplet:appletButton|pwImage||Human:Sandbox}}

Current revision

invalid pathway title: exception 'Exception' with message 'Couldn't parse pathway identifier from title Human:Sandbox' 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:Sandbox')
  2. 1 [internal function]: renderPathwayImage(Object(Parser), 'Human:Sandbox', '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, 6926)
  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||Human:Sandbox}}

Personal tools