Wikia

Narutopedia

Changes: Forum:Reference popups

Edit this page

Back to page

 
Line 10: Line 10:
   
 
:No problem with it for me. Would be convenient for reading and such instead of being redirected to the reference section.--[[User:Cerez365|Cerez<small>365</small><sup>™</sup>]][[File:Hyūga Symbol.svg|20px]][[User talk:Cerez365|<sup>(talk)</sup>]] 10:58, December 27, 2012 (UTC)
 
:No problem with it for me. Would be convenient for reading and such instead of being redirected to the reference section.--[[User:Cerez365|Cerez<small>365</small><sup>™</sup>]][[File:Hyūga Symbol.svg|20px]][[User talk:Cerez365|<sup>(talk)</sup>]] 10:58, December 27, 2012 (UTC)
  +
  +
Thanx. For ease of maintainance we will import it directly from wikipedia:
  +
<source lang="javascript" style="padding:1ex; border:2px solid; border-color: rgb(8,60,104) rgb(8,60,104) rgb(8,0,104) rgb(8,0,104); border-radius: 4px; background-color: rgb(240,240,255); color:black; box-shadow:2px 2px 5px rgba(0,0,0,0.66); position:relative; left:-2ex; left:calc(-2ex - 4px); width:100%">
  +
/**Reference Popups
  +
*Adapted from wikipedia
  +
*For wikia by [[User:UltimateSupreme]]
  +
*/
  +
mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.js&action=raw&ctype=text/javascript' );
  +
mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.css&action=raw&ctype=text/css', 'text/css' );
  +
mw.util.addCSS( '.referencetooltip > li > sup { display: none; }' );
  +
</source>
  +
That should do it.''' ~ [[User:UltimateSupreme|<span style="color:black;">Ultimate</span>]][[User talk:UltimateSupreme|<span style="color:#EE2C2C;">Supreme</span>]]''' 12:09, December 27, 2012 (UTC)

Latest revision as of 12:09, December 27, 2012

Forums: Index Narutopedia Discussion Reference popups
Note: This topic has been unedited for 559 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


What would be everybody's opinions on having a reimplementation of Wikipedia's reference popups; the feature that lets you hover over a citation and displays the contents of the reference in a floating box.
The obvious advantage of this is that you can view the references in situ without having to scroll to the bottom, or click the citation and lose your [mental] place in the article? ~ UltimateSupreme 12:44, December 26, 2012 (UTC)

Correct me if I'm wrong, but isn't that either a feature of the Vector skin they use, or the MediaWiki engine version 1.20, that is newer than the one Wikia currently uses? Omnibender - Talk - Contributions 12:50, December 26, 2012 (UTC)
You are partly right and partly wrong and btw, wikipedia uses MW1.21 ~ UltimateSupreme 13:01, December 26, 2012 (UTC)

I have tested it. It looks good. Jacce | Talk | Contributions 08:12, December 27, 2012 (UTC)

No problem with it for me. Would be convenient for reading and such instead of being redirected to the reference section.--Cerez365
Hyūga Symbol
(talk) 10:58, December 27, 2012 (UTC)

Thanx. For ease of maintainance we will import it directly from wikipedia:

/**Reference Popups
    *Adapted from wikipedia
    *For wikia by [[User:UltimateSupreme]]
    */
mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.js&action=raw&ctype=text/javascript' );
mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.css&action=raw&ctype=text/css', 'text/css' );
mw.util.addCSS( '.referencetooltip > li > sup { display: none; }' );

That should do it. ~ UltimateSupreme 12:09, December 27, 2012 (UTC)

Around Wikia's network

Random Wiki