Extension talk:PageNotice/Archive 2

192.145.117.239 (talkcontribs)

is it possible to use an image?

if so, how? i'm trying to create a button people can click within the notice.

thanks!

Reply to "images"

Add <indicator>s in PageNotice

2
Summary by 212.7.145.198
2001:9E8:E5D2:7900:9DB4:A262:3907:A837 (talkcontribs)

I'm a teacher and encourage my students to add and edit content in my wiki. Now I'd like to add a template to every page which shows whether the last edit was performed by a teacher or a student. The template contains a box at the bottom of the page and an <indicator>, both of which should appear on every page. The box is visible, the <indicator> is not. What am I doing wrong?

2001:9E8:E5EB:7F00:4A60:22FF:52D2:F45 (talkcontribs)

I found a solution: replacing

$out->addHTML( '<div id="bottom-notice-ns">' . $nsfooter->parse() . '</div>' );

and similar occurrences in /includes/Hooks.php with

$out->addWikiTextAsContent( '<div id="bottom-notice-ns">' . $nsfooter->plain() . '</div>' );

worked for me. I'm going to test this thoroughly and eventually commit it in gerrit, if it doesn't break anything.

Reply to "Add <indicator>s in PageNotice"

Footer notice UNDER categories

1
Radouch (talkcontribs)

This extension is placing footer notice above list of categories, which is - at least for my case - useless (categories are page-related, notice is site-related, so it makes no sense to have page content -> sitewide notice -> page categories).

Is there any plan to enable site notice under category list?

Reply to "Footer notice UNDER categories"

Magic Words in Page Notice

1
Calebgcooper (talkcontribs)

Is it possible to use Magic Words in PageNotice so they are calculated on the page where the notice is displayed.


For example if I add {{REVISIONTIMESTAMP}} it is always calculated on the revision time stamp of MediaWiki:Top-notice-ns-0 page and not of the page where it is transcluded.

Reply to "Magic Words in Page Notice"
This post was hidden by 2610S (history)
Reply to "Fatal error"
There are no older topics
Return to "PageNotice/Archive 2" page.