0 Votes

Changes for page MyWiki

Last modified by Ryan C on 2025/05/14 13:49

From version 13.1
edited by Ryan C
on 2025/04/28 07:38
Change comment: There is no comment for this version
To version 11.1
edited by Ryan C
on 2025/04/28 07:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -470,46 +470,29 @@
470 470  {{video url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"/}}
471 471  {{/example}}
472 472  
473 -== View File Macro ✅ ==
474 -Shows a file viewer for an attached file.
473 +== View File Macro ==
475 475  
476 -xwiki
477 -Copy
478 -Edit
479 -{{view-file name="MyAttachedFile.pdf" /}}
480 -Explanation:
475 +The View File macro shows a file viewer.
481 481  
482 -name is the filename of an attachment (must already be attached to the page).
477 +{{example}}
478 +{{view-file reference="Space.Page@file.pdf"/}}
479 +{{/example}}
483 483  
484 -No errors like [Parameter [name] is mandatory] because name is now provided.
481 +== UI Extension Macro ==
485 485  
486 -== UI Extension Macro ✅ ==
487 -Injects a UI element into a registered extension point.
483 +The UIExtension macro injects UI elements.
488 488  
489 -xwiki
490 -Copy
491 -Edit
492 -{{uiextension extensionPointId="org.xwiki.platform.panels" /}}
493 -Explanation:
485 +{{example}}
486 +{{uiextension extensionPointId="org.xwiki.platform.template.header.after"/}}
487 +{{/example}}
494 494  
495 -extensionPointId is mandatory — here, we inject into the panel area.
489 +== UI Extensions Macro ==
496 496  
497 -Fixes the [Property [id] mandatory] error.
491 +The UIExtensions macro lists UI extensions.
498 498  
499 -== UI Extensions Macro ✅ ==
500 -Lists all registered UI extensions for a given extension point.
493 +{{example}}
494 +{{uiextensions/}}
495 +{{/example}}
501 501  
502 -xwiki
503 -Copy
504 -Edit
505 -{{uiextensions extensionpoint="org.xwiki.platform.panels" /}}
506 -Explanation:
507 507  
508 -extensionpoint is mandatory — here, again referring to "panels."
509 509  
510 -Fixes the [Property [extensionpoint] mandatory] error.
511 -
512 -
513 -
514 -
515 -

XWiki AI Chat