plugin:footer
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
plugin:footer [2020-10-07 21:37] – [Additional syntax] Juergen-aus-Zuendorf | plugin:footer [2023-03-05 21:31] – 92.217.157.84 | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : H-J-Schuemmer@Web.de | email : H-J-Schuemmer@Web.de | ||
type : syntax | type : syntax | ||
- | lastupdate : 2020-10-06 | + | lastupdate : 2020-12-17 |
- | compatible : Frusterick Manners, Greebo, Hogfather | + | compatible : Frusterick Manners, Greebo, Hogfather, Igor |
depends | depends | ||
conflicts | conflicts | ||
Line 13: | Line 13: | ||
tags : header, footer, annotations, | tags : header, footer, annotations, | ||
- | downloadurl: | + | downloadurl: |
bugtracker : https:// | bugtracker : https:// | ||
sourcerepo : https:// | sourcerepo : https:// | ||
Line 38: | Line 38: | ||
And to add footer text to pages in the namespace directory and its subdirectories create a file named '' | And to add footer text to pages in the namespace directory and its subdirectories create a file named '' | ||
- | Files beginning with " | + | Files beginning with " |
==== Additional syntax ==== | ==== Additional syntax ==== | ||
Line 44: | Line 44: | ||
To avoid a certain page from the footer template (e.g. the start page) you can insert this special command | To avoid a certain page from the footer template (e.g. the start page) you can insert this special command | ||
~~NOFOOTER~~ | ~~NOFOOTER~~ | ||
- | to the content of this page. Please note that this command is only removed | + | to the content of this page. Please note that this command is only replaced |
==== Example ==== | ==== Example ==== | ||
Line 54: | Line 54: | ||
a) The content of the page " | a) The content of the page " | ||
< | < | ||
+ | |||
====== Example ====== | ====== Example ====== | ||
- | This is an example | + | This is an example |
Up to the line you see the text of the Wiki page. | Up to the line you see the text of the Wiki page. | ||
Line 67: | Line 68: | ||
And below the line comes the footer text :-D | And below the line comes the footer text :-D | ||
</ | </ | ||
- | This footer text is shown in each page of the namespace " | + | This footer text is shown on each page of the namespace " |
==== Some tips ==== | ==== Some tips ==== | ||
Line 79: | Line 80: | ||
Why don't my pages react with this plugin? | Why don't my pages react with this plugin? | ||
* The most common reason is that due to the page cache, your page will delay to correctly display the newest version. A convenient way is that closing the plugin in plugin management and reopen it again. It'll refresh the cache. Another way to refresh a page is to add the parameter purge to the URL. Example:< | * The most common reason is that due to the page cache, your page will delay to correctly display the newest version. A convenient way is that closing the plugin in plugin management and reopen it again. It'll refresh the cache. Another way to refresh a page is to add the parameter purge to the URL. Example:< | ||
+ | * Or use [[plugin: | ||
* Be sure that your pages and '' | * Be sure that your pages and '' | ||
* If the content of a page ends with special syntax e.g. with a table (no return after the table), put a linebreak at the beginning of the footer template to avoid corrupting this syntax. | * If the content of a page ends with special syntax e.g. with a table (no return after the table), put a linebreak at the beginning of the footer template to avoid corrupting this syntax. | ||
- | |||
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
- | The default | + | The default |
^ Name ^ Value ^ Description | ^ Name ^ Value ^ Description | ||
- | ^ separation | + | ^ separation |
- | ^ ::: | nothing | + | ^ ::: | nothing |
^ prefix namespace | ^ prefix namespace | ||
^ prefix subnamespace | ^ prefix subnamespace | ||
Line 98: | Line 99: | ||
==== Previous versions ==== | ==== Previous versions ==== | ||
- | The footer plugin is a clone of the [[headerfooter]] plugin which isn't maintained | + | The footer plugin is a clone of the [[headerfooter]] plugin which isn't maintained |
- | * The header functionality of the original plugin is no longer supported because it breaks the section editing. If someone has an idea how to enhance that feel free to add this function again. | + | * The header functionality of the original plugin is no longer supported because it breaks the section editing. If someone has an idea of how to enhance that feel free to add this function again. |
* Now there is a possibility to define a prefix for the footer templates. | * Now there is a possibility to define a prefix for the footer templates. | ||
* You can exclude special pages with the command '' | * You can exclude special pages with the command '' | ||
Line 108: | Line 109: | ||
* **2020-10-06** | * **2020-10-06** | ||
* Initial release, copied from [[headerfooter]] plugin with its forks | * Initial release, copied from [[headerfooter]] plugin with its forks | ||
+ | * **2020-12-17** | ||
+ | * Improved cache handling (I hope it's sufficient now) | ||
plugin/footer.txt · Last modified: 2023-12-27 12:57 by 77.3.121.168