... |
... |
@@ -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,6 +502,7 @@ |
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. |
... |
... |
@@ -509,7 +509,6 @@ |
509 |
509 |
{{example}} |
510 |
510 |
{{uiextension id="org.xwiki.watchlist.menu"/}} |
511 |
511 |
{{/example}} |
512 |
|
- |
513 |
513 |
✅ This will NOT give you the [Failed to find an extension id] error because it's a real one. |
514 |
514 |
|
515 |
515 |
Or, if you want me to list your real extensions dynamically so you can pick properly, I can show you how to list them. |