Trevor Parscal has uploaded a new change for review. https://gerrit.wikimedia.org/r/65805
Change subject: Naming typo and mw content in demo ...................................................................... Naming typo and mw content in demo Changes: * Remove MW specific content in the image demo page * Fix naming of method, changed in previous commit Change-Id: I9c073e9f07f791ba6e9e0e979190f3ef415f055d --- M demos/ve/index.php M demos/ve/pages/image.html 2 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/05/65805/1 diff --git a/demos/ve/index.php b/demos/ve/index.php index 17a68c9..7630192 100644 --- a/demos/ve/index.php +++ b/demos/ve/index.php @@ -327,7 +327,7 @@ $( document ).ready( function () { new ve.init.sa.Target( $( '.ve-demo-editor' ), - ve.createDocumentFromHTML( <?php echo json_encode( $html ) ?> ) + ve.createDocumentFromHtml( <?php echo json_encode( $html ) ?> ) ); $( '.ve-ce-documentNode' ).focus(); //ve.instances[0].dialogs.open( 'meta' ); diff --git a/demos/ve/pages/image.html b/demos/ve/pages/image.html index c0b65d0..c2ee3ef 100644 --- a/demos/ve/pages/image.html +++ b/demos/ve/pages/image.html @@ -1,2 +1,2 @@ -<p>This is an image: <a rel="mw:Image" href="./File:Foo.jpg"><img alt="Wiki.png" src="//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png" width="135" height="155"></a>!!!</p> -<figure typeof="mw:Image/Thumb"><a rel="mw:thumb" href="./File:Foobar.jpg" class="image"><img src="http://upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg" width="180" height="20" resource="./Image:Foobar.jpg" /></a><figcaption>caption</figcaption></figure> \ No newline at end of file +<p>This is an image: <img alt="Wiki.png" src="//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png" width="135" height="155">!!!</p> +<img src="http://upload.wikimedia.org/wikipedia/commons/3/3a/Foobar.jpg" width="180" height="20" resource="./Image:Foobar.jpg" /> \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/65805 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9c073e9f07f791ba6e9e0e979190f3ef415f055d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Trevor Parscal <tpars...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits