Jump to content

Extension talk:Header Footer

95.98.134.109 (talkcontribs)

This extensions allows you to place content at the bottom of the existing content - that's not in the site Footer.

Kghbln (talkcontribs)

Thank you for pointing this out. I have updated the docu for more clarity.

Were there ever a REL1_35 release in the Git repo?

1
Ernstkm (talkcontribs)

Was there a REL1_35 tag in the Git tree at any point? I understand 1.39+ is what's supported, but I was hoping to git pull and check out an older release until I'm able to upgrade to 1.39.x. Just based on the Git history, it looks like the project is ~10 years old, but tags for older MW releases are curiously absent from the repo. --Ernstkm (talk) 01:29, 19 August 2023 (UTC)

Reply to "Were there ever a REL1_35 release in the Git repo?"

enable to activate HeaderFooter extension on MW 1.39

2
185.43.60.130 (talkcontribs)

Hello


i upgrade my MW from 1.35 to 1.39

i install HeaderFooter extension using this doc Extension:Header Footer


whene i run the update script i get this message "This version of the HeaderFooter extension requires MediaWiki 1.25+"

what can i do please my actual version is 1.39 > 1.25 ?


Thanks

Tosfos (talkcontribs)

You might want to try Wikia's version of the extension that is compatible with version 1.39. It is here. Or Halllo Welt's, which is here. If either or both work, it would be a good idea to add a note to the Extension page.

Reply to "enable to activate HeaderFooter extension on MW 1.39"
Shizhao (talkcontribs)

Cannot add categories to pages using HeaderFooter

Reply to "category"

rebuildFileCache fails when HeaderFooter active

3
2003:C2:3F1A:A400:615A:F64D:8E1D:FCAE (talkcontribs)

Mediawiki 1.31.15: FileCache is active, HeaderFooter extension is active


php rebuildFileCache.php

->

Building content page file cache from page 0!

[2eca396023193fbd9b8da2a0] [no req]   Error from line 19 of /var/www/prod/mediawiki/extensions/HeaderFooter/HeaderFooter.class.php: Call to a member function getNsText() on null

Backtrace:

#0 /var/www/prod/mediawiki/includes/Hooks.php(177): HeaderFooter::hOutputPageParserOutput(OutputPage, ParserOutput)

#1 /var/www/prod/mediawiki/includes/Hooks.php(237): Hooks::callHook(string, array, array, NULL, string)

#2 /var/www/prod/mediawiki/includes/OutputPage.php(1810): Hooks::runWithoutAbort(string, array)

#3 /var/www/prod/mediawiki/includes/OutputPage.php(1861): OutputPage->addParserOutputMetadata(ParserOutput)

#4 /var/www/prod/mediawiki/includes/page/Article.php(619): OutputPage->addParserOutput(ParserOutput, array)

#5 /var/www/prod/mediawiki/maintenance/rebuildFileCache.php(148): Article->view()

#6 /var/www/prod/mediawiki/maintenance/doMaintenance.php(94): RebuildFileCache->execute()

#7 /var/www/prod/mediawiki/maintenance/rebuildFileCache.php(187): require_once(string)

#8 {main}


Any idea what is going wrong here?

2003:C2:3F22:8200:C1BD:F620:4468:F03 (talkcontribs)

We have abandoned the HeaderFooter extension now and switched to PageNotice, which offers pretty much the same capabilities.

2001:9E8:E5D2:7900:9DB4:A262:3907:A837 (talkcontribs)

I'm sorry, but why is this not mentioned on the Extension page and why is PageNotice still referring to HeaderFooter as if it was a sensible alternative?

Reply to "rebuildFileCache fails when HeaderFooter active"

Cannot set semantic properties from the header

1
Ammcgillivray (talkcontribs)

Is this intentional, or a known issue? I'm trying to allow all pages in the main namespace to be "tagged" with semantic properties, and that is accomplished through a template call in the header. However, I cannot set properties on the page through that template.

Reply to "Cannot set semantic properties from the header"

__NONSHEADER__ also removes the header on unprotected pages

1
Jiou7 (talkcontribs)

Thanks for this extension!

I am using the last version of the extension with Mediawiki 1.36. While the documentation says otherwise, __NONSHEADER__ removes the header, even on an unprotected page. Is it normal? Same with __NOHEADER__.

I would really love this option to work so I could unprotect pages while being sure the header stays in place

Reply to "__NONSHEADER__ also removes the header on unprotected pages"
Omda4wady (talkcontribs)

Are there any samole explain usage of this extension

Reply to "Need sample"

How to edit header?

3
Farvardyn (talkcontribs)

How can I add some lines before </head> tag, not in top of pages ? This extension just adds header in top of pages not actually before </head>. How to edit the real header?


Revansx (talkcontribs)
Kghbln (talkcontribs)
Reply to "How to edit header?"

Edit Header/Footer without shell commands?

1
J2w (talkcontribs)

I do not have the option to connect in a shell to my MediaWiki installation.

I'm looking for an option to add 2 lines in the header (for Apple and Android touch icon) and a line in the footer for Matomo (PiWik). Manipulating the Skin template is becoming annoying from update to update.

Any hint to do this with an extension which does not need shell access? Thanks!

Reply to "Edit Header/Footer without shell commands?"
There are no older topics