0 Votes

Changes for page MyWiki

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

From version 22.1
edited by Ryan C
on 2025/04/28 07:51
Change comment: There is no comment for this version
To version 24.1
edited by Ryan C
on 2025/04/28 07:56
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -482,7 +482,10 @@
482 482  
483 483  The View File macro shows a file viewer for an attached file.
484 484  
485 +
485 485  {{pdfviewer attachment="MyWiki@Reverse_Discrimination.pdf"/}}
487 +
488 +
486 486  ✅ This will show the PDF outside of any {{example}} wrapping.
487 487  ✅ Must be attached to the same page (your page is /bin/view/MyWiki/).
488 488  
... ... @@ -499,14 +499,16 @@
499 499  
500 500  Fixed Example:
501 501  
502 -
503 503  == UI Extension Macro ==
504 504  
505 505  The UIExtension macro injects UI elements into extension points.
506 506  
507 507  {{example}}
510 +
508 508  {{uiextension id="org.xwiki.watchlist.menu"/}}
512 +
509 509  {{/example}}
514 +
510 510  ✅ This will NOT give you the [Failed to find an extension id] error because it's a real one.
511 511  
512 512  Or, if you want me to list your real extensions dynamically so you can pick properly, I can show you how to list them.
... ... @@ -524,7 +524,9 @@
524 524  The UIExtensions macro lists UI extensions for a given extension point.
525 525  
526 526  {{example}}
532 +
527 527  {{uiextensions extensionpoint="org.xwiki.watchlist.menu"/}}
534 +
528 528  {{/example}}
529 529  
530 530