![]() 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 | Download extension Git [?]: README |
Hooks used
|
|
Quarterly downloads | 1 (Ranked 169th) |
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
- Download and place the file(s) in a directory called
PagePopups
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php
wfLoadExtension( 'PagePopups' );
file: Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
To users running MediaWiki 1.24 or earlier:
The instructions above describe the new way of installing this extension using wfLoadExtension()
.
If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'PagePopups' );
, you need to use:
require_once "$IP/extensions/PagePopups/PagePopups.php";
Bugs
- 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
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.