... |
... |
@@ -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,7 +499,6 @@ |
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. |
... |
... |
@@ -507,6 +507,7 @@ |
507 |
507 |
{{example}} |
508 |
508 |
{{uiextension id="org.xwiki.watchlist.menu"/}} |
509 |
509 |
{{/example}} |
|
512 |
+ |
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. |