Extension:PagePopups: Difference between revisions
Appearance
Content deleted Content added
VictorPorton (talk | contribs) more than one link in a span |
VictorPorton (talk | contribs) a bug |
||
| Line 28: | Line 28: | ||
which shows the complete text (scrolling if necessary) of the page <code><nowiki>[[Link]]</nowiki></code>. |
which shows the complete text (scrolling if necessary) of the page <code><nowiki>[[Link]]</nowiki></code>. |
||
Note that you can put more than one link into <code><nowiki><span class="mw-pagepopup"></nowiki></code>: <code><nowiki><span class="mw-pagepopup">[[Link1]]</nowiki> | <nowiki>[[Link2]]</nowiki><nowiki></span></nowiki></code>. |
''(Does not work!)'' Note that you can put more than one link into <code><nowiki><span class="mw-pagepopup"></nowiki></code>: <code><nowiki><span class="mw-pagepopup">[[Link1]]</nowiki> | <nowiki>[[Link2]]</nowiki><nowiki></span></nowiki></code>. |
||
==Installation== |
==Installation== |
||
Revision as of 11:31, 31 December 2016
Release status: beta |
|
|---|---|
| Implementation | Ajax |
| Description | transforms some links into popups with complete page text |
| Author(s) | VictorPortontalk |
| Latest version | 0.0.1 |
| MediaWiki | 1.28 |
|
none |
|
| Licence | GNU General Public License 2.0 or later |
| Download | (I will upload later, sorry) [[gitiles:mediawiki/extensions/{{subst:PagePopups}}/+/HEAD/README.md|README]] |
| 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 move the extracted
PagePopupsfolder to yourextensions/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' );
Done – Navigate to Special:Versionon your wiki to verify that the extension is successfully installed.
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
- Extension:NamespacePopups (not yet written)
