Jump to content

Extension:PagePopups

From mediawiki.org
MediaWiki extensions manual
PagePopups
Release status: unmaintained
Implementation Ajax
Description transforms some links into popups with complete page text
Author(s) VictorPortontalk
Latest version 0.0.1
MediaWiki 1.28
License GNU General Public License 2.0 or later
Download
README
Quarterly downloads 0
Translate the PagePopups extension if it is available at translatewiki.net

The PagePopups extension makes <span class="mw-pagepopup">[[Link]]</span> transforming into a popup, which shows the complete text (scrolling if necessary) of the page [[Link]].

(Does not work!) Note that you can put more than one link into <span class="mw-pagepopup">: <span class="mw-pagepopup">[[Link1]] | [[Link2]]</span>.

Installation

[edit]
  • Download and move the extracted PagePopups folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PagePopups
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'PagePopups' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Bugs

[edit]
  • Add arrow to the popup
  • Options or configuration for specifying popup size
  • Make place (up, down, left, right) where the popup shows configurable
  • Wrong size of the popup for small pages, also the size "jumps" when resizing a small page with the mouse (why?)
  • Popup link inside a popup work wrongly (the new popup is displayed at the top left corner of the window instead of its proper place)

See also

[edit]