Wikia

WoWWiki

Changes: WoWWiki:MediaWiki 1.12 changes

Edit

Back to page

(Undo revision 1515969 by Target3 (talk))
(Typo fixing, Replaced: <td valign=top> → <td valign="top"> using AWB)
 
Line 121: Line 121:
   
 
=== Poem tag ===
 
=== Poem tag ===
The Poem extension allows for easy inclusion of poems and similar material in MediaWiki pages, by simply putting them between <poem></poem> tags, instead of adding <nowiki><br></nowiki> to the end or : to the beginning of every line.
+
The Poem extension allows for easy inclusion of poems and similar material in MediaWiki pages, by simply putting them between <poem></poem> tags, instead of adding <nowiki><br /></nowiki> to the end or : to the beginning of every line.
   
 
<pre>
 
<pre>
Line 225: Line 225:
 
<pre>
 
<pre>
 
<table><tr>
 
<table><tr>
<td valign=top>
+
<td valign="top">
   
 
<timeline>
 
<timeline>

Latest revision as of 13:28, August 8, 2008

This article lists examples and info about the new stuff added in the MediaWiki 1.12 upgrade, performed in March-May 2008.
Check the article history page to see what has been updated recently.

You can generally find lots of information about the various new features can be found on Wikia Help.

New extensionsEdit

Categorytree Edit

See Special:CategoryTree and Category:Root.


CharInsert Edit

MediaWiki:Edittools shows this wiki's current character set. Alternatively, go to any edit page and look at the page end :)

See Help:CharInsert on Wikia Help for help.


Deleted contribs Edit

See Special:DeletedContributions and user contribs pages. Admins only.


DynamicPageList Edit

DISABLED DUE TO LOAD

<DynamicPageList>
namespace   = 
ordermethod = lastedit
count       = 10
order       = descending
</DynamicPageList>


See Help:Using DPL Effectively on Wikia Help for information on why this can create serious server load on popular wikis.


Editcount Edit

See Special:Editcount and the first tab of Special:Preferences.


ImageMap Edit

<imagemap>
Image:Foo.svg|200px|picture of a foo
poly 131 45 213 41 210 110 127 109 [[Display]]
poly 104 126 105 171 269 162 267 124 [[Keyboard]]
rect 15 95 94 176   [[Foo type A]]
# A comment, this line is ignored
circle 57 57 20    [[Foo type B]]
desc bottom-left
</imagemap>


DisplayKeyboardFoo type AFoo type BFoo
About this image

To set up imagemaps, you can use http://tools.wikimedia.de/~dapete/ImageMapEdit/ImageMapEdit.html?en

Make sure you follow the exact instructions - e.g. polygon areas always come first. The description clickable does not show on thumbs.

See also Help:ImageMap on Wikia Help and http://www.mediawiki.org/wiki/Extension:ImageMap


Inputbox Edit

An inputbox allows you to put a box on any page, which has a text field for users to fill and a customizable button for launching the action.

There are three types: the article creation box (which is a quick way to create a new page), the search box (which uses the default wiki search), and the comment box (which adds a section to the bottom of a page, under a new section header -- equivalent to the "+" tab).

<inputbox>
type=create
width=24
break=no
buttonlabel=Create new article
</inputbox>


See also Help:Inputboxes on Wikia Help and http://www.mediawiki.org/wiki/Extension:Inputbox


Math tag Edit

:<math>\int_0^\infty e^{-x^2}\,dx</math>


\int_0^\infty e^{-x^2}\,dx

See also http://meta.wikimedia.org/wiki/Help:Formula


Poem tag Edit

The Poem extension allows for easy inclusion of poems and similar material in MediaWiki pages, by simply putting them between
tags, instead of adding <br /> to the end or : to the beginning of every line.
<poem>
In [[Wikipedia:Xanadu|Xanadu]] did Kubla Khan
A stately pleasure-dome decree:
Where Alph, the sacred river, ran
Through caverns measureless to man
Down to a sunless sea.

So twice five miles of fertile ground
With walls and towers were girdled round:
And there were gardens bright with sinuous rills,
Where blossomed many an incense-bearing tree;
And here were forests ancient as the hills,
Enfolding sunny spots of greenery.
</poem>


In Xanadu did Kubla Khan
A stately pleasure-dome decree:
Where Alph, the sacred river, ran
Through caverns measureless to man
Down to a sunless sea.

So twice five miles of fertile ground
With walls and towers were girdled round:
And there were gardens bright with sinuous rills,
Where blossomed many an incense-bearing tree;
And here were forests ancient as the hills,
Enfolding sunny spots of greenery.

http://www.mediawiki.org/wiki/Extension:Poem


ProblemReportsEdit

See Help:ProblemReports for info. Needs to be advertised to users and admins.


RandomImage Edit

<randomimage>A random image</randomimage>


Colin

A random image

See also http://www.mediawiki.org/wiki/Extension:RandomImage


RandomSelectionEdit

<choose>
<option>This is the first choice.</option>
<option>This is the second choice.</option>
<option>And so on...</option>
</choose>


And so on...

See also http://www.mediawiki.org/wiki/Extension:RandomSelection


RSS Edit

The RSS2Wiki extension allows you to embed RSS feeds from any site onto a Wikia page. This could be used to display news feeds, to show entries from a related blog, or to show recent changes from another wiki. MediaWiki also provides RSS feeds for all history pages and many special pages, including Special:Recentchanges and Special:Newpages. You can use the RSS url, in combination with RSS2Wiki, to display portions of these lists on other pages on your wiki.

<rss>http://www.wowinsider.com/rss.xml|charset=UTF-8|short|date|max=5</rss>


WOW Insider
Loading RSS data...
MMO Champion
Loading RSS data...
WoW Interface
Loading RSS data...

See also Help:RSS2Wiki on Wikia Help and http://www.mediawiki.org/wiki/Extension:RSS


SVG support Edit

FooFooFoo

See also http://en.wikipedia.org/wiki/Wikipedia:SVG_Help for problems with rendering.

TimelineEdit

<table><tr>
<td valign="top">

<timeline>
ImageSize  = width:160 height:550
PlotArea   = width:50 height:530 left:50 bottom:10

DateFormat = yyyy
Period     = from:1919 till:1991
TimeAxis   = orientation:vertical
ScaleMajor = unit:year increment:5 start:1920

# there is no automatic collision detection,
# so shift texts up or down manually to avoid overlap

Define $dx = 25 # shift text to right side of bar

PlotData=
  bar:Leaders color:red width:25 mark:(line,white) align:left fontsize:S

  from:start till:1922 shift:($dx,15)   text:Vladimir~Ilyich~[[Lenin]]
  from:1922  till:1953 shift:($dx,5)    text:[[Stalin|Josef Stalin]]
  from:1953  till:1964 shift:($dx,5)    text:Nikita~[[Khrushchev]]
  from:1964  till:1982 shift:($dx,5)    text:Leonid~[[Brezhnev]]
  from:1982  till:1984 shift:($dx,-12)  text:Yuri~[[Andropov]]
  from:1984  till:1985 shift:($dx,4)    text:Konstantin~[[Chernenko]] fontsize:XS
  from:1985  till:end  shift:($dx,10)   text:Mikhail~[[Gorbachev]]
</timeline>
</td>


GorbachevChernenkoAndropovBrezhnevKhrushchevStalinLenin

See also http://www.mediawiki.org/wiki/Extension:EasyTimeline


Youtube Edit

<youtube>l5ZQC-0ua90</youtube>


See also Help:YouTube on Wikia Help. Note the extension supports several other sites - see here.

See Template:YouTube on Wikia Help for an example of using videos correctly in templates -- because of the order in which templates and extensions are processed, the <youtube> extension code itself cannot contain template parameters.

Monaco skinEdit

Wikia's new skin is now available! See http://www.wowwiki.com/Main_Page?useskin=monaco&usetheme=slate for an example, or set it via Special:Preferences. This will show you the page layout and features, such as drag-and-drop widgets in the sidebar (see below).

Note especially the following:

  • The sidebar menu
  • The sidebar toolbox
  • Spotlights
  • Widgets (see below)

Special pagesEdit

WidgetsEdit

The Monaco skin includes draggable widgets that can be added to your sidebar, customized, collapsed and rearranged at will. Select MORE --> Manage widgets from your userbar in the top right corner to see a scrollable list, go to Special:Widgets for a static list, or visit Special:WidgetDashboard to view the contents of the widgets without adding them to your sidebar.

See Help:Widgets on Wikia Help for more info.

You can also embed widgets in articles - see Help:WidgetTag on Wikia Help.

Other new stuffEdit

DisplaytitleEdit

{{DISPLAYTITLE:bob}}

This "magic word" changes the page title displayed in the top-level header at the top of the page, without changing the url. This allows the displayed title to start with a lowercase letter (e.g. eBay), or to contain special characters that would otherwise cause trouble in URLS, such as "+" or "&".

See also http://www.mediawiki.org/wiki/Manual:%24wgAllowDisplayTitle .

Restore deleted imagesEdit

Admins can now restore deleted images! (Likely only applies to images deleted after the upgrade).

More uploadable file typesEdit

You can now upload: .png, .gif, .jpg, .jpeg, .ico, .ogg, .pdf, .xcf, .svg, .mid, .jl, .odt, .ods, .odp, .odg, .odc, .odf, .odi, and .odm.

Global css and jsEdit

You can edit w:Special:Mypage/global.css and w:Special:Mypage/global.js on Central Wikia, and the contained code will be active across all Wikia sites.

Other new stuffEdit

  • EditSimilar suggests similar articles to edit upon page save.

Autoconfirmed means something!Edit

A user is now "autoconfirmed" 4 days after account creation.

Edit Page EnchancementsEdit

See alsoEdit

Around Wikia's network

Random Wiki