Rich, If your needs are fairly basic, you could easily do something with MediaWiki:Common.js <https://www.mediawiki.org/wiki/Adding_HTML_to_wiki_pages> (Interface/JS <https://www.mediawiki.org/wiki/Manual:Interface/JavaScript>) to inject a new element wiki-wide. (Note that if you want the elements to appear "natural" like the rest of your wiki User Interface, you should look at OOUI <https://www.mediawiki.org/wiki/OOUI> where you'd probably want to implement a "panel". See https://www.mediawiki.org/wiki/OOUI/Using_OOUI_in_MediaWiki)
There are a bunch of examples of directly injecting external JS and code via the built-in ResourceLoader and in https://www.mediawiki.org/wiki/ResourceLoader/Core_modules And, although Page Indicators are the right way to add certain elements to the top of the page, you can also use Snippets like https://www.mediawiki.org/wiki/Snippets/Top_icons If you need a solution that on-wiki admins would be able to manage, you could use Extension:AdManager <https://www.mediawiki.org/wiki/Extension:AdManager> (written by Ike Hecht) and just put your HTML into $wgAdManagerCode plus style it (using MediaWiki:Common.css) to place the block where you need it. The extension is used on EyeWiki <http://eyewiki.org/Special:Version> but I didn't find an example page. Another wiki where it's used is CondoPedia <http://www.condopedia.com/wiki/Special:Version>; and an example I found is this page <http://www.condopedia.com/wiki/15_West_81st_Street>. The top box with a photo of Michael Grabelsky is the Ad Code. If you prefer to roll your own solution, the AdManager extension is one that uses the prependHTML() method <https://codesearch.wmflabs.org/search/?q=prependHTML&i=nope&files=&repos=> of the OutputPage.php <https://www.mediawiki.org/wiki/Manual:OutputPage.php> class. ~ Greg Greg Rundlett https://eQuality-Tech.com https://freephile.org On Mon, Apr 30, 2018 at 1:24 PM, יגאל חיטרון <[email protected]> wrote: > Yes, but it's just html code: > <div class="mw-indicators mw-body-content"> > <div id="some-id" class="mw-indicator"> > some-content > </div> > </div> > Igal > > > 2018-04-30 20:07 GMT+03:00 Evans, Richard K. (GRC-H000) < > [email protected]>: > > > I admit I haven't used them before, but aren't Page Indicators added > > manually per-page? > > > > -Rich > > _______________________________________________ > > MediaWiki-l mailing list > > To unsubscribe, go to: > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > _______________________________________________ > MediaWiki-l mailing list > To unsubscribe, go to: > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
