0 Votes

Changes for page MyWiki

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

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

Summary

Details

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

XWiki AI Chat