3 * @defgroup Skins Skins
6 if ( !defined( 'MEDIAWIKI' ) ) {
10 class SkinLegacy
extends SkinTemplate
{
11 var $useHeadElement = true;
12 protected $mWatchLinkNum = 0; // Appended to end of watch link id's
15 * Add skin specific stylesheets
16 * @param $out OutputPage
18 function setupSkinUserCss( OutputPage
$out ) {
19 $out->addModuleStyles( 'mediawiki.legacy.shared' );
20 $out->addModuleStyles( 'mediawiki.legacy.oldshared' );
23 public function commonPrintStylesheet() {
28 * This was for the old skins and for users with 640x480 screen.
29 * Please note old skins are still used and might prove useful for
30 * users having old computers or visually impaired.
32 var $mSuppressQuickbar = false;
35 * Suppress the quickbar from the output, only for skin supporting
38 public function suppressQuickbar() {
39 $this->mSuppressQuickbar
= true;
43 * Return whether the quickbar should be suppressed from the output
47 public function isQuickbarSuppressed() {
48 return $this->mSuppressQuickbar
;
51 function qbSetting() {
53 if ( $this->isQuickbarSuppressed() ) {
56 $q = $wgUser->getOption( 'quickbar', 0 );
58 # 5 is the default, which chooses the setting
59 # depending on the directionality of your interface language
61 return $wgLang->isRTL() ?
2 : 1;
68 class LegacyTemplate
extends BaseTemplate
{
70 // How many search boxes have we made? Avoid duplicate id's.
71 protected $searchboxes = '';
74 $this->html( 'headelement' );
75 echo $this->beforeContent();
76 $this->html( 'bodytext' );
78 echo $this->afterContent();
79 $this->html( 'dataAfterContent' );
81 echo "\n</body></html>";
85 * This will be called immediately after the <body> tag. Split into
86 * two functions to make it easier to subclass.
88 function beforeContent() {
89 return $this->doBeforeContent();
92 function doBeforeContent() {
94 wfProfileIn( __METHOD__
);
97 $qb = $this->getSkin()->qbSetting();
99 $langlinks = $this->otherLanguages();
106 $borderhack = 'class="top"';
109 $s .= "\n<div id='content'>\n<div id='topbar'>\n" .
110 "<table border='0' cellspacing='0' width='98%'>\n<tr>\n";
112 $shove = ( $qb != 0 );
113 $left = ( $qb == 1 ||
$qb == 3 );
116 $s .= "<td class='top' align='left' valign='top' rowspan='{$rows}'>\n" .
117 $this->getSkin()->logoText() . '</td>';
119 $s .= $this->getQuickbarCompensator( $rows );
122 $l = $wgContLang->alignStart();
123 $s .= "<td {$borderhack} align='$l' valign='top'>\n";
125 $s .= $this->topLinks();
126 $s .= '<p class="subtitle">' . $this->pageTitleLinks() . "</p>\n";
128 $r = $wgContLang->alignEnd();
129 $s .= "</td>\n<td {$borderhack} valign='top' align='$r' nowrap='nowrap'>";
130 $s .= $this->nameAndLogin();
131 $s .= "\n<br />" . $this->searchForm() . '</td>';
134 $s .= "</tr>\n<tr>\n<td class='top' colspan=\"2\">$langlinks</td>\n";
137 if ( $shove && !$left ) { # Right
138 $s .= $this->getQuickbarCompensator( $rows );
141 $s .= "</tr>\n</table>\n</div>\n";
142 $s .= "\n<div id='article'>\n";
144 $notice = $this->getSkin()->getSiteNotice();
147 $s .= "\n<div id='siteNotice'>$notice</div>\n";
149 $s .= $this->pageTitle();
150 $s .= $this->pageSubtitle();
151 $s .= $this->getSkin()->getCategories();
153 wfProfileOut( __METHOD__
);
158 * This gets called shortly before the </body> tag.
159 * @return String HTML to be put before </body>
161 function afterContent() {
162 return $this->doAfterContent();
165 /** overloaded by derived classes */
166 function doAfterContent() {
167 return '</div></div>';
170 function searchForm() {
171 global $wgRequest, $wgUseTwoButtonsSearchForm;
173 $search = $wgRequest->getText( 'search' );
175 $s = '<form id="searchform' . $this->searchboxes
. '" name="search" class="inline" method="post" action="'
176 . $this->getSkin()->escapeSearchLink() . "\">\n"
177 . '<input type="text" id="searchInput' . $this->searchboxes
. '" name="search" size="19" value="'
178 . htmlspecialchars( substr( $search, 0, 256 ) ) . "\" />\n"
179 . '<input type="submit" name="go" value="' . wfMsg( 'searcharticle' ) . '" />';
181 if ( $wgUseTwoButtonsSearchForm ) {
182 $s .= ' <input type="submit" name="fulltext" value="' . wfMsg( 'searchbutton' ) . "\" />\n";
184 $s .= ' <a href="' . $this->getSkin()->escapeSearchLink() . '" rel="search">' . wfMsg( 'powersearch-legend' ) . "</a>\n";
189 // Ensure unique id's for search boxes made after the first
190 $this->searchboxes
= $this->searchboxes
== '' ?
2 : $this->searchboxes +
1;
195 function pageStats() {
196 global $wgOut, $wgLang, $wgRequest, $wgUser;
197 global $wgDisableCounters, $wgMaxCredits, $wgShowCreditsIfMax, $wgPageShowWatchingUsers;
199 if ( !is_null( $wgRequest->getVal( 'oldid' ) ) ||
!is_null( $wgRequest->getVal( 'diff' ) ) ) {
203 if ( !$wgOut->isArticle() ||
!$this->getSkin()->getTitle()->exists() ) {
207 $article = new Article( $this->getSkin()->getTitle(), 0 );
211 if ( !$wgDisableCounters ) {
212 $count = $wgLang->formatNum( $article->getCount() );
215 $s = wfMsgExt( 'viewcount', array( 'parseinline' ), $count );
219 if ( $wgMaxCredits != 0 ) {
220 $s .= ' ' . Action
::factory( 'credits', $article )->getCredits( $wgMaxCredits, $wgShowCreditsIfMax );
222 $s .= $this->data
['lastmod'];
225 if ( $wgPageShowWatchingUsers && $wgUser->getOption( 'shownumberswatching' ) ) {
226 $dbr = wfGetDB( DB_SLAVE
);
229 array( 'COUNT(*) AS n' ),
231 'wl_title' => $dbr->strencode( $this->getSkin()->getTitle()->getDBkey() ),
232 'wl_namespace' => $this->getSkin()->getTitle()->getNamespace()
236 $x = $dbr->fetchObject( $res );
238 $s .= ' ' . wfMsgExt( 'number_of_watching_users_pageview',
239 array( 'parseinline' ), $wgLang->formatNum( $x->n
)
243 return $s . ' ' . $this->getSkin()->getCopyright();
246 function topLinks() {
250 $this->getSkin()->mainPageLink(),
251 Linker
::specialLink( 'Recentchanges' )
254 if ( $wgOut->isArticleRelated() ) {
255 $s[] = $this->editThisPage();
256 $s[] = $this->historyLink();
259 # Many people don't like this dropdown box
260 # $s[] = $this->specialPagesList();
262 if ( $this->variantLinks() ) {
263 $s[] = $this->variantLinks();
266 if ( $this->extensionTabLinks() ) {
267 $s[] = $this->extensionTabLinks();
270 // @todo FIXME: Is using Language::pipeList impossible here? Do not quite understand the use of the newline
271 return implode( $s, wfMsgExt( 'pipe-separator', 'escapenoentities' ) . "\n" );
275 * Language/charset variant links for classic-style skins
278 function variantLinks() {
281 /* show links to different language variants */
282 global $wgDisableLangConversion, $wgLang;
284 $lang = $this->getSkin()->getTitle()->getPageLanguage();
285 $variants = $lang->getVariants();
287 if ( !$wgDisableLangConversion && sizeof( $variants ) > 1 ) {
288 foreach ( $variants as $code ) {
289 $varname = $lang->getVariantname( $code );
291 if ( $varname == 'disable' ) {
294 $s = $wgLang->pipeList( array(
296 '<a href="' . $this->getSkin()->getTitle()->escapeLocalURL( 'variant=' . $code ) . '">' . htmlspecialchars( $varname ) . '</a>'
305 * Compatibility for extensions adding functionality through tabs.
306 * Eventually these old skins should be replaced with SkinTemplate-based
309 * @todo Exterminate! ...that, and replace it with normal SkinTemplate stuff
311 function extensionTabLinks() {
315 wfRunHooks( 'SkinTemplateTabs', array( $this->getSkin(), &$tabs ) );
316 foreach ( $tabs as $tab ) {
317 $s[] = Xml
::element( 'a',
318 array( 'href' => $tab['href'] ),
325 $out = wfMsgExt( 'pipe-separator' , 'escapenoentities' );
326 $out .= $wgLang->pipeList( $s );
332 function bottomLinks() {
333 global $wgOut, $wgUser, $wgUseTrackbacks;
334 $sep = wfMsgExt( 'pipe-separator', 'escapenoentities' ) . "\n";
337 if ( $wgOut->isArticleRelated() ) {
338 $element[] = '<strong>' . $this->editThisPage() . '</strong>';
340 if ( $wgUser->isLoggedIn() ) {
341 $element[] = $this->watchThisPage();
344 $element[] = $this->talkLink();
345 $element[] = $this->historyLink();
346 $element[] = $this->whatLinksHere();
347 $element[] = $this->watchPageLinksLink();
349 if ( $wgUseTrackbacks ) {
350 $element[] = $this->trackbackLink();
354 $this->getSkin()->getTitle()->getNamespace() == NS_USER ||
355 $this->getSkin()->getTitle()->getNamespace() == NS_USER_TALK
357 $id = User
::idFromName( $this->getSkin()->getTitle()->getText() );
358 $ip = User
::isIP( $this->getSkin()->getTitle()->getText() );
360 # Both anons and non-anons have contributions list
362 $element[] = $this->userContribsLink();
365 if ( $this->getSkin()->showEmailUser( $id ) ) {
366 $element[] = $this->emailUserLink();
370 $s = implode( $element, $sep );
372 if ( $this->getSkin()->getTitle()->getArticleId() ) {
375 // Delete/protect/move links for privileged users
376 if ( $wgUser->isAllowed( 'delete' ) ) {
377 $s .= $this->deleteThisPage();
380 if ( $wgUser->isAllowed( 'protect' ) ) {
381 $s .= $sep . $this->protectThisPage();
384 if ( $wgUser->isAllowed( 'move' ) ) {
385 $s .= $sep . $this->moveThisPage();
389 $s .= "<br />\n" . $this->otherLanguages();
395 function otherLanguages() {
396 global $wgOut, $wgContLang, $wgHideInterlanguageLinks;
398 if ( $wgHideInterlanguageLinks ) {
402 $a = $wgOut->getLanguageLinks();
404 if ( 0 == count( $a ) ) {
408 $s = wfMsg( 'otherlanguages' ) . wfMsg( 'colon-separator' );
411 if ( $wgContLang->isRTL() ) {
412 $s .= '<span dir="LTR">';
415 foreach ( $a as $l ) {
417 $s .= wfMsgExt( 'pipe-separator', 'escapenoentities' );
422 $nt = Title
::newFromText( $l );
423 $text = $wgContLang->getLanguageName( $nt->getInterwiki() );
425 $s .= Html
::element( 'a',
426 array( 'href' => $nt->getFullURL(), 'title' => $nt->getText(), 'class' => "external" ),
427 $text == '' ?
$l : $text );
430 if ( $wgContLang->isRTL() ) {
438 * Show a drop-down box of special pages
440 function specialPagesList() {
441 global $wgContLang, $wgServer, $wgRedirectScript;
443 $pages = SpecialPageFactory
::getUsablePages();
445 foreach ( $pages as $name => $page ) {
446 $pages[$name] = $page->getDescription();
450 $sp = wfMsg( 'specialpages' );
451 $spp = $wgContLang->specialPage( 'Specialpages' );
453 $s = '<form id="specialpages" method="get" ' .
454 'action="' . htmlspecialchars( "{$wgServer}{$wgRedirectScript}" ) . "\">\n";
455 $s .= "<select name=\"wpDropdown\">\n";
456 $s .= "<option value=\"{$spp}\">{$sp}</option>\n";
459 foreach ( $pages as $name => $desc ) {
460 $p = $wgContLang->specialPage( $name );
461 $s .= "<option value=\"{$p}\">{$desc}</option>\n";
465 $s .= "<input type='submit' value=\"{$go}\" name='redirect' />\n";
471 function pageTitleLinks() {
472 global $wgOut, $wgUser, $wgRequest, $wgLang;
474 $oldid = $wgRequest->getVal( 'oldid' );
475 $diff = $wgRequest->getVal( 'diff' );
476 $action = $wgRequest->getText( 'action' );
478 $s[] = $this->printableLink();
479 $disclaimer = $this->getSkin()->disclaimerLink(); # may be empty
485 $privacy = $this->getSkin()->privacyLink(); # may be empty too
491 if ( $wgOut->isArticleRelated() ) {
492 if ( $this->getSkin()->getTitle()->getNamespace() == NS_FILE
) {
493 $name = $this->getSkin()->getTitle()->getDBkey();
494 $image = wfFindFile( $this->getSkin()->getTitle() );
497 $link = htmlspecialchars( $image->getURL() );
498 $style = $this->getInternalLinkAttributes( $link, $name );
499 $s[] = "<a href=\"{$link}\"{$style}>{$name}</a>";
504 if ( 'history' == $action ||
isset( $diff ) ||
isset( $oldid ) ) {
505 $s[] .= Linker
::link(
506 $this->getSkin()->getTitle(),
507 wfMsg( 'currentrev' ),
510 array( 'known', 'noclasses' )
514 if ( $wgUser->getNewtalk() ) {
515 # do not show "You have new messages" text when we are viewing our
517 if ( !$this->getSkin()->getTitle()->equals( $wgUser->getTalkPage() ) ) {
519 $wgUser->getTalkPage(),
520 wfMsgHtml( 'newmessageslink' ),
522 array( 'redirect' => 'no' ),
523 array( 'known', 'noclasses' )
527 $wgUser->getTalkPage(),
528 wfMsgHtml( 'newmessagesdifflink' ),
530 array( 'diff' => 'cur' ),
531 array( 'known', 'noclasses' )
533 $s[] = '<strong>' . wfMsg( 'youhavenewmessages', $tl, $dl ) . '</strong>';
535 $wgOut->setSquidMaxage( 0 );
536 $wgOut->enableClientCache( false );
540 $undelete = $this->getSkin()->getUndeleteLink();
542 if ( !empty( $undelete ) ) {
546 return $wgLang->pipeList( $s );
550 * Gets the h1 element with the page title.
553 function pageTitle() {
555 $s = '<h1 class="pagetitle">' . $wgOut->getPageTitle() . '</h1>';
559 function pageSubtitle() {
562 $sub = $wgOut->getSubtitle();
565 global $wgExtraSubtitle;
566 $sub = wfMsgExt( 'tagline', 'parsemag' ) . $wgExtraSubtitle;
569 $subpages = $this->getSkin()->subPageSubtitle();
570 $sub .= !empty( $subpages ) ?
"</p><p class='subpages'>$subpages" : '';
571 $s = "<p class='subtitle'>{$sub}</p>\n";
576 function printableLink() {
577 global $wgOut, $wgRequest, $wgLang;
581 if ( !$wgOut->isPrintable() ) {
582 $printurl = htmlspecialchars( $this->getSkin()->getTitle()->getLocalUrl(
583 $wgRequest->appendQueryValue( 'printable', 'yes', true ) ) );
584 $s[] = "<a href=\"$printurl\" rel=\"alternate\">" . wfMsg( 'printableversion' ) . '</a>';
587 if ( $wgOut->isSyndicated() ) {
588 foreach ( $wgOut->getSyndicationLinks() as $format => $link ) {
589 $feedurl = htmlspecialchars( $link );
590 $s[] = "<a href=\"$feedurl\" rel=\"alternate\" type=\"application/{$format}+xml\""
591 . " class=\"feedlink\">" . wfMsgHtml( "feed-$format" ) . "</a>";
594 return $wgLang->pipeList( $s );
597 function getQuickbarCompensator( $rows = 1 ) {
598 return "<td width='152' rowspan='{$rows}'> </td>";
601 function editThisPage() {
604 if ( !$wgOut->isArticleRelated() ) {
605 $s = wfMsg( 'protectedpage' );
607 if ( $this->getSkin()->getTitle()->quickUserCan( 'edit' ) && $this->getSkin()->getTitle()->exists() ) {
608 $t = wfMsg( 'editthispage' );
609 } elseif ( $this->getSkin()->getTitle()->quickUserCan( 'create' ) && !$this->getSkin()->getTitle()->exists() ) {
610 $t = wfMsg( 'create-this-page' );
612 $t = wfMsg( 'viewsource' );
616 $this->getSkin()->getTitle(),
619 $this->getSkin()->editUrlOptions(),
620 array( 'known', 'noclasses' )
627 function deleteThisPage() {
628 global $wgUser, $wgRequest;
630 $diff = $wgRequest->getVal( 'diff' );
632 if ( $this->getSkin()->getTitle()->getArticleId() && ( !$diff ) && $wgUser->isAllowed( 'delete' ) ) {
633 $t = wfMsg( 'deletethispage' );
636 $this->getSkin()->getTitle(),
639 array( 'action' => 'delete' ),
640 array( 'known', 'noclasses' )
649 function protectThisPage() {
650 global $wgUser, $wgRequest;
652 $diff = $wgRequest->getVal( 'diff' );
654 if ( $this->getSkin()->getTitle()->getArticleId() && ( ! $diff ) && $wgUser->isAllowed( 'protect' ) ) {
655 if ( $this->getSkin()->getTitle()->isProtected() ) {
656 $text = wfMsg( 'unprotectthispage' );
657 $query = array( 'action' => 'unprotect' );
659 $text = wfMsg( 'protectthispage' );
660 $query = array( 'action' => 'protect' );
664 $this->getSkin()->getTitle(),
668 array( 'known', 'noclasses' )
677 function watchThisPage() {
678 global $wgOut, $wgUser;
679 ++
$this->mWatchLinkNum
;
682 $title = $this->getSkin()->getTitle();
684 if ( $wgOut->isArticleRelated() ) {
685 if ( $title->userIsWatching() ) {
686 $text = wfMsg( 'unwatchthispage' );
688 'action' => 'unwatch',
689 'token' => UnwatchAction
::getUnwatchToken( $title, $wgUser ),
691 $id = 'mw-unwatch-link' . $this->mWatchLinkNum
;
693 $text = wfMsg( 'watchthispage' );
696 'token' => WatchAction
::getWatchToken( $title, $wgUser ),
698 $id = 'mw-watch-link' . $this->mWatchLinkNum
;
704 array( 'id' => $id ),
706 array( 'known', 'noclasses' )
709 $s = wfMsg( 'notanarticle' );
715 function moveThisPage() {
716 if ( $this->getSkin()->getTitle()->quickUserCan( 'move' ) ) {
718 SpecialPage
::getTitleFor( 'Movepage' ),
719 wfMsg( 'movethispage' ),
721 array( 'target' => $this->getSkin()->getTitle()->getPrefixedDBkey() ),
722 array( 'known', 'noclasses' )
725 // no message if page is protected - would be redundant
730 function historyLink() {
732 $this->getSkin()->getTitle(),
733 wfMsgHtml( 'history' ),
734 array( 'rel' => 'archives' ),
735 array( 'action' => 'history' )
739 function whatLinksHere() {
741 SpecialPage
::getTitleFor( 'Whatlinkshere', $this->getSkin()->getTitle()->getPrefixedDBkey() ),
742 wfMsgHtml( 'whatlinkshere' ),
745 array( 'known', 'noclasses' )
749 function userContribsLink() {
751 SpecialPage
::getTitleFor( 'Contributions', $this->getSkin()->getTitle()->getDBkey() ),
752 wfMsgHtml( 'contributions' ),
755 array( 'known', 'noclasses' )
759 function emailUserLink() {
761 SpecialPage
::getTitleFor( 'Emailuser', $this->getSkin()->getTitle()->getDBkey() ),
762 wfMsg( 'emailuser' ),
765 array( 'known', 'noclasses' )
769 function watchPageLinksLink() {
772 if ( !$wgOut->isArticleRelated() ) {
773 return '(' . wfMsg( 'notanarticle' ) . ')';
776 SpecialPage
::getTitleFor( 'Recentchangeslinked', $this->getSkin()->getTitle()->getPrefixedDBkey() ),
777 wfMsg( 'recentchangeslinked-toolbox' ),
780 array( 'known', 'noclasses' )
785 function trackbackLink() {
786 return '<a href="' . $this->getSkin()->getTitle()->trackbackURL() . '">'
787 . wfMsg( 'trackbacklink' ) . '</a>';
790 function talkLink() {
791 if ( NS_SPECIAL
== $this->getSkin()->getTitle()->getNamespace() ) {
792 # No discussion links for special pages
796 $linkOptions = array();
798 if ( $this->getSkin()->getTitle()->isTalkPage() ) {
799 $link = $this->getSkin()->getTitle()->getSubjectPage();
800 switch( $link->getNamespace() ) {
802 $text = wfMsg( 'articlepage' );
805 $text = wfMsg( 'userpage' );
808 $text = wfMsg( 'projectpage' );
811 $text = wfMsg( 'imagepage' );
812 # Make link known if image exists, even if the desc. page doesn't.
813 if ( wfFindFile( $link ) )
814 $linkOptions[] = 'known';
817 $text = wfMsg( 'mediawikipage' );
820 $text = wfMsg( 'templatepage' );
823 $text = wfMsg( 'viewhelppage' );
826 $text = wfMsg( 'categorypage' );
829 $text = wfMsg( 'articlepage' );
832 $link = $this->getSkin()->getTitle()->getTalkPage();
833 $text = wfMsg( 'talkpage' );
836 $s = Linker
::link( $link, $text, array(), array(), $linkOptions );
841 function commentLink() {
844 if ( $this->getSkin()->getTitle()->getNamespace() == NS_SPECIAL
) {
848 # __NEWSECTIONLINK___ changes behaviour here
849 # If it is present, the link points to this page, otherwise
850 # it points to the talk page
851 if ( $this->getSkin()->getTitle()->isTalkPage() ) {
852 $title = $this->getSkin()->getTitle();
853 } elseif ( $wgOut->showNewSectionLink() ) {
854 $title = $this->getSkin()->getTitle();
856 $title = $this->getSkin()->getTitle()->getTalkPage();
861 wfMsg( 'postcomment' ),
867 array( 'known', 'noclasses' )
871 function getUploadLink() {
872 global $wgUploadNavigationUrl;
874 if ( $wgUploadNavigationUrl ) {
875 # Using an empty class attribute to avoid automatic setting of "external" class
876 return Linker
::makeExternalLink( $wgUploadNavigationUrl, wfMsgHtml( 'upload' ), false, null, array( 'class' => '' ) );
879 SpecialPage
::getTitleFor( 'Upload' ),
880 wfMsgHtml( 'upload' ),
883 array( 'known', 'noclasses' )
888 function nameAndLogin() {
889 global $wgUser, $wgLang, $wgRequest, $wgContLang;
891 $logoutPage = $wgContLang->specialPage( 'Userlogout' );
895 if ( $wgUser->isAnon() ) {
896 if ( $this->getSkin()->showIPinHeader() ) {
897 $name = $wgRequest->getIP();
899 $talkLink = Linker
::link( $wgUser->getTalkPage(),
900 $wgLang->getNsText( NS_TALK
) );
902 $ret .= "$name ($talkLink)";
904 $ret .= wfMsg( 'notloggedin' );
907 $returnTo = $this->getSkin()->getTitle()->getPrefixedDBkey();
910 if ( $logoutPage != $returnTo ) {
911 $query['returnto'] = $returnTo;
914 $loginlink = $wgUser->isAllowed( 'createaccount' )
915 ?
'nav-login-createaccount'
917 $ret .= "\n<br />" . Linker
::link(
918 SpecialPage
::getTitleFor( 'Userlogin' ),
919 wfMsg( $loginlink ), array(), $query
922 $returnTo = $this->getSkin()->getTitle()->getPrefixedDBkey();
923 $talkLink = Linker
::link( $wgUser->getTalkPage(),
924 $wgLang->getNsText( NS_TALK
) );
926 $ret .= Linker
::link( $wgUser->getUserPage(),
927 htmlspecialchars( $wgUser->getName() ) );
928 $ret .= " ($talkLink)<br />";
929 $ret .= $wgLang->pipeList( array(
931 SpecialPage
::getTitleFor( 'Userlogout' ), wfMsg( 'logout' ),
932 array(), array( 'returnto' => $returnTo )
934 Linker
::specialLink( 'Preferences' ),
938 $ret = $wgLang->pipeList( array(
941 Title
::newFromText( wfMsgForContent( 'helppage' ) ),