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