EOB:Project Extensions

From Encyclopedia of Buddhism
(Redirected from EOB:Extensions)
Jump to navigation Jump to search

Installed extensions

See: https://encyclopediaofbuddhism.org/wiki/Special:Version

Changes for upgrade to 1.37

Part of default for 1.37

Category tree

Browse the encyclopedia by category here:
Select [►] to view subcategories

Interwiki

Templatedata

  • Extension:TemplateData needed for formatting the parameters section of [another template?]
    From documentation: The TemplateData extension introduces a ‎<templatedata> tag and an API which together allow editors to specify how templates should be invoked. This information is available as a nicely-formatted table for end-users, and as a JSON API, which enables other systems (e.g. VisualEditor) to build interfaces for working with templates and their parameters

Not included in upgrade to 1.37

Not currently used; need to investigate:

Might be useful later:

  • DeleteBatch - adds a special page, Special:DeleteBatch, where users with the 'deletebatch' right can delete multiple pages easily. Leaving out for now. But this could be useful at some point.

Not necessary:

  • Extension:Purge - adds a purge tab to every page. Not necessary. Not sure if this was ever used.
  • Extension:Lingo - glossary extenstion. Not necessary (and not easy to install). This was not completely installed prior to 1.37

Added after upgrade to 1.37

  • WebChat - opens IRC chat portal, from Special pages
  • MassEditRegex - Mass edit regular expression
    • This is throwing off an error for calling WikiPage::doEditContent(), which is now deprecated.
    • Last edit to this extension was in Dec 2019; not a good sign.
    • The extension does seem to be working. The error seems to be about displaying the results properly; also results should appear as bot results in Recent Changes, but not appearing there. Might be a little risky to use this.

Widgets

This is installed for 1.37, and configured. Not sure if it works or if is being used.

  • Extension:Widgets
    Robert: lets you embed html code as a widget, with a library you can use e.g. Google street view, maps, video players, etc. - need to configure write permission to install' for the folder $IP/extensions/Widgets/compiled_templates/. Instructions[1] are straightforward but need console access to the server, probably can do with PUTTy. Though, I am not sure if they are really needed, could give it a go without doing this and see what happens. - couldn't do it but turned out not to be needed because it's served over html and its a locally run process (or something)

Robert's notes on extensions added prior to upgrade to 1.37

Miscellaneous

SEO for Google Search

See also: EOB:Project SEO

  • Extension:WikiSEO - added as extra verification method for the google search console.
    • Robert: Could also be useful if we ever need to override the Facebook open graph defaults for a shared page - the og:image, og:title and og:description see e.g. [2]. Not really needed for google because it seems it ignores meta description and keywords (used to respect them a decade or so ago)

MobileFrontend and responsive skins

Or alternatively (or as well as), add "responsive" skins. My new wikis use responsive skins.

My Astrobiology wiki uses Metrolook.

My Doomsday debunked wiki uses Pivot.

If you want even more space you can use Foreground which has no sidebar to the left even for desktop - but I think on normal szed display screens that makes the text too wide - most websites have some margin to constrain the text a bit, to about the width of a normal book page.

Complete list here, and we may as well add them. We can then try them out under preferences. Can enable them for just mobile devices as well with MobileFrontend.

Gadgets

For Reference Tooltips imported and configured as described; see Special:Gadgets

Not installed

  • Extension:Popups for page preview popups when you hover the mouse over a link. Also added dependencies TextExtracts and PageImages

Removed due to security issue

  • Extension:EmbedVideo is an extension that makes it very easy to embed videos from YouTube and many other providers as well as upload your own videos locally. Could be useful if we want to embed videos by Buddhist teachers on topics, for instance. I use it on my music software wikis and it works very well. - done - but removed because mirahzes says there is a potential security issue

Templates that caused error messages

From prior to latest upgrade (1.37)

'error message #Fatal error: Uncaught exception 'Exception' with message #'/home/encyclo5/public_html/extensions/DeleteBatch/extension.json does not exist!' - and indeed it doesn't.

Extensions we can add

  • TemplateStyles Seems to be used only in documentation for a few templates, see pages linked to Template:Uses_TemplateStyles
  • Extension:FlaggedRevs - this is used by the template for semiprotected status {{[[Template:{pp-pc1|{pp-pc1]]}}. We don't need this extension of course at present anyway. But it prevents imported pages from displaying an error if they have semi protected status originally.
  • Extension:MsUpload which could be useful if we want to drag / drop a lot of images from local computer to the wiki
  • PdfBook Export a set of pages as a pdf book
  • NukeDPL Batch delete many pages
  • Extension:Quiz Quiz developed for Wikiversity, help here: Help:Quiz
  • PDFEmbed

If we ever need music Lilypond scores embedded these are useful:

In the score extehsion installation instructions it has this section:
https://www.mediawiki.org/wiki/Extension:Score#Installation
The relevant parts are
$wgScoreFluidsynth = '/path/to/your/fluidsynth/executable'; /* if you want MIDI to audio conversion */
$wgScoreSoundfont = '/path/to/your/soundfont/file'; /* required for Fluidsynth */
The installation instructions for FluidSynth are here:
https://wiki.archlinux.org/index.php/FluidSynth
The second of those two soundfonts, soundfont-fluid, or Fluid R3 I thnk is the one you'd use.

More extensions we might want to add

  • Extension:TalkRight - gives the public "talk rights" that they can edit discussion pages but not articles. I don't know if we want to do that but if we want to encourage feedback we could.
  • Extension:PageDisqus - add the Disqus commenting to every page. Just mentioning it in case we ever wanted to - could encourage comments by experts

Complicated install instructions

got errors on install with composer:

 Problem 1
   - mediawiki/maps 6.0.1 requires php >=7.1 -> your PHP version (7.0.32) does not satisfy that requirement.
   - mediawiki/maps 6.0.0 requires php >=7.1 -> your PHP version (7.0.32) does not satisfy that requirement.
   - Installation request for mediawiki/maps ^6 -> satisfiable by mediawiki/maps[6.0.0, 6.0.1].
               "mediawiki/maps": "^6",

tried for

"mediawiki/maps": "~5",
 "mediawiki/maps": "4.3",

both also caused errors

  • Wikibase/Installation - may help with the wikibase lua errors - though actually doesn't seem to fix them on my other wikis - and complex to install (is done automatically on miraheze).

$wgEnableWikibaseRepo = true; $wgEnableWikibaseClient = true; require_once "$IP/extensions/Wikibase/repo/Wikibase.php"; require_once "$IP/extensions/Wikibase/repo/ExampleSettings.php"; require_once "$IP/extensions/Wikibase/client/WikibaseClient.php"; require_once "$IP/extensions/Wikibase/client/ExampleSettings.php";

Installing using composer

Requres editing public_html/composer.local.json as explained for the extension - or remove the line for the extension to uninstall

Then in Putty:

composer install --no-dev php maintenance update

Other for the future things

(where does this belong?)

There is a good online html to wikimarkup converter here

We could allow use of external images, e.g. if it is imported from a site we are also using or have permission to embed images from

Example

https://en.wikipedia.org/upload/b/bc/Wiki.png https://en.wikipedia.org/upload/b/bc/Wiki.png


Robert Walker (talk) 13:12, 19 August 2018 (UTC)