Wikia

Community Central

Talk:Widgets

94,650pages on
this wiki

Back to page

Got a question about this topic?
Head on over to the Forum!

  • You can use this space to suggest improvements to the help page.

What do the numbers in the Top Referrers widget mean? For instance, if a site says 300 hits, does that mean 300 hits in a week? A day? Kimera 757 (talk) 04:07, 2 August 2008 (UTC)

Hi... Top Referrers is a list of sites that send the most traffic to your wiki. The associated number is hits for the last 30 days. Now, having said that... the # is cached so we don't do a lot of real-time data pulls from the db to get this on every page view... so it might not be exactly 30 days depending on when the cache data for this invalidates. Thanks. Johnq@Wikia (talk) 18:28, 5 August 2008 (UTC)

Shout Box issues Edit

I'm having trouble using the Shout Box, but my problems appeared only today.

I was exploring the other widgets from the carousel, I added a few but an interesting thing happened when I tried to change the limit for another widget. The shoutbox instantly folded up as if I had clicked its settings button, I tried again, carefully clicking on the Recent Changes widget's tool icon to change the limit and the shoutbox folded up again.

What's more, I had never had any problems with the shoutbox before I added these other widgets, when I try adding a message, the widget folds up and never rolls down again, same thing happens when I try changing the limit by clicking the icon.

Please Help! I use the Shout Box very very often so I'd be grateful for any help!!!

Cheers User:C_ee_X 20:27, November 4, 2009 (UTC)

WikiPage Widget Edit

There is a limit as to how complex the markup code for a custom WikiPage widget can get before it fails to render correctly in the sidebar. Even if your markup renders correctly at MediaWiki:Widgetwikipage it does not render correctly in the Monaco sidebar's widget container.

  • This is not a simple byte count limitation.
  • It seems to depend on the complexity of the markup used.
  • Even characters inside an HTML comment block count toward this "threshold".
Example
{|
||[[Special:EditData/Favorites/{{FULLPAGENAME}}|Manage Favorites]]<br/>
[{{fullurl:{{FULLPAGENAME}}|action=purge}} Update this Page]<br/>
[{{fullurl:{{FULLPAGENAME}}|printable=yes}} Printer Friendly]<br/>
[[Special:Browse/{{PAGENAME}}| Drilldown Data]]<br/>
[{{fullurl:{{FULLPAGENAME}}|showads=1}} Display Ads]<br/>
|width="30%"|''Skin:''<br/>
[{{fullurl:{{FULLPAGENAME}}|useskin=wikiaphone}} wikiaphone]<br/>
[{{fullurl:{{FULLPAGENAME}}|useskin=monobook}} monobook]<br/>
[{{fullurl:{{FULLPAGENAME}}|useskin=monaco}} monaco]<br/>
|}
<div style="background-color:#EEE;padding:0.5em;">
<inputbox>
type=search
width=15
namespaces=Help**
</inputbox>
</div>
<div style="clear:both;float:right;">[[:Category:User widgets|Make a custom widget]]</div>
<!--1-->

In the example markup code above removing the 8 characters on the last line (the HTML comment block) is enough to let the widget render correctly in the sidebar.

-- najevi 06:54, November 22, 2009 (UTC)

Searchbox does not render correctly in WikiPage widget Edit

When the searchbox special tag is used in a custom WikiPage widget the check boxes and labels are inappropriately center aligned and as a result consume vertical screen space when they should appears on the one line.

TEST CASE
http://www.wikia.com/wiki/User:Najevi/DemoWidget
Of course this must be loaded into a WikiPage widget in the Monaco sidebar to see the problem.
ROOT CAUSE
An unsuitable style is being applied via:
http://www.wikia.com/extensions/wikia/StaticChute/?type=css&packages=monaco_css&checksum=30d57447eff7a25605012ca4a3b53fb1
specifically this one line:
.widget form input{margin:3px 0;width:170px}
WORKAROUND
in www.wikia.com/wiki/Special:MyPage/global.css add the line
.widget form input{width:auto}

-- najevi 11:58, November 24, 2009 (UTC)

Idea for default message at MediaWiki:Widgetwikipage Edit

If the recently added section Help:Widgets#Create_a_custom_widget survives review then how about you consider revising the default MW message

FROM
This ''message'' is a '''simple''' test of WikiPage widget. You can '''edit content of widget''' by simply [[Mediawiki:$1|editing page]] in MediaWiki namespace.
viz.
This message is a simple test of WikiPage widget. You can edit content of widget by simply editing page in MediaWiki namespace.
TO
[[MediaWiki:Widgetwikipage|This ''message'']] is a '''simple''' test of the WikiPage widget. [[Help:Widgets#Create_a_custom_widget|Create a custom widget.]]
viz.
This message is a simple test of the WikiPage widget. Create a custom widget.

-- najevi 07:29, November 25, 2009 (UTC)

How Do You Put Widgets On Your Wiki Im Having Soo Much Trouble On Putting Widgets.

Makoton

Around Wikia's network

Random Wiki