Index: trunk/extensions/Wikilog/WikilogFeed.php |
— | — | @@ -242,8 +242,8 @@ |
243 | 243 | "too young: age ($age) < timeout ($wgFeedCacheTimeout) " . |
244 | 244 | "($feedkey; $tsCache; $tsData)\n" ); |
245 | 245 | |
246 | | - # NOTE (Mw1.15- COMPAT): OutputPage::setLastModified() |
247 | | - # introduced in Mw1.16. Remove this guard after Wl1.1. |
| 246 | + # NOTE (Mw1.16- COMPAT): OutputPage::setLastModified() |
| 247 | + # introduced in Mw1.17. Remove this guard after Wl1.2. |
248 | 248 | if ( method_exists( $wgOut, 'setLastModified' ) ) { |
249 | 249 | $wgOut->setLastModified( $tsCache ); |
250 | 250 | } else { |
Index: trunk/extensions/Wikilog/maintenance/wikilogImportDocumentation-pre1.16.php |
— | — | @@ -1,209 +0,0 @@ |
2 | | -<?php |
3 | | -/** |
4 | | - * MediaWiki Wikilog extension |
5 | | - * Copyright © 2008-2010 Juliano F. Ravasi |
6 | | - * http://www.mediawiki.org/wiki/Extension:Wikilog |
7 | | - * |
8 | | - * This program is free software; you can redistribute it and/or modify |
9 | | - * it under the terms of the GNU General Public License as published by |
10 | | - * the Free Software Foundation; either version 2 of the License, or |
11 | | - * (at your option) any later version. |
12 | | - * |
13 | | - * This program is distributed in the hope that it will be useful, |
14 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | | - * GNU General Public License for more details. |
17 | | - * |
18 | | - * You should have received a copy of the GNU General Public License along |
19 | | - * with this program; if not, write to the Free Software Foundation, Inc., |
20 | | - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
21 | | - * http://www.gnu.org/copyleft/gpl.html |
22 | | - */ |
23 | | - |
24 | | -/** |
25 | | - * @file |
26 | | - * @ingroup Extensions |
27 | | - * @author Juliano F. Ravasi < dev juliano info > |
28 | | - */ |
29 | | -$WIKILOGDIR = dirname( dirname( __FILE__ ) ); |
30 | | -$MEDIAWIKIDIR = dirname( dirname( $WIKILOGDIR ) ); |
31 | | - |
32 | | -$optionsWithArgs = array(); |
33 | | -require_once( "$MEDIAWIKIDIR/maintenance/commandLine.inc" ); |
34 | | -require_once( "$MEDIAWIKIDIR/maintenance/rebuildrecentchanges.inc" ); |
35 | | - |
36 | | - |
37 | | -/** |
38 | | - * Wikilog documentation importer. Imports the Wikilog extension documentation |
39 | | - * pages and images into the wiki. |
40 | | - */ |
41 | | -class WikilogDocImport |
42 | | -{ |
43 | | - |
44 | | - protected $mFilename; ///< Import filename. |
45 | | - protected $mFileHandle; ///< Open filename handle. |
46 | | - protected $mDB; ///< Database link object. |
47 | | - protected $mSource; ///< Import source object. |
48 | | - protected $mImporter; ///< WikiImporter object. |
49 | | - protected $mUser; ///< Importer user ("Wikilog auto"). |
50 | | - protected $mComment; ///< Comment ("Imported Wikilog doc..."). |
51 | | - protected $mTimestamp; ///< Timestamp. |
52 | | - |
53 | | - protected $mOverwriteFiles = false; ///< Whether files should be overwritten. |
54 | | - |
55 | | - protected $mStatPages, $mStatFiles; ///< Statistics. |
56 | | - |
57 | | - /** |
58 | | - * Constructor. |
59 | | - * @param $filename Import filename. |
60 | | - */ |
61 | | - public function __construct( $filename ) { |
62 | | - $this->mFilename = $filename; |
63 | | - $this->mFileHandle = fopen( $this->mFilename, 'rb' ); |
64 | | - if ( !$this->mFileHandle ) { |
65 | | - throw new MWException( __CLASS__ . ": Failed to open {$this->mFilename}." ); |
66 | | - } |
67 | | - |
68 | | - $this->mDB = wfGetDB( DB_MASTER ); |
69 | | - $this->mSource = new ImportStreamSource( $this->mFileHandle ); |
70 | | - $this->mImporter = new WikiImporter( $this->mSource ); |
71 | | - |
72 | | - $this->mUser = User::newFromName( wfMsgForContent( 'wikilog-auto' ), false ); |
73 | | - $this->mComment = wfMsgForContent( 'wikilog-doc-import-comment' ); |
74 | | - $this->mTimestamp = wfTimestampNow(); |
75 | | - |
76 | | - $this->mImporter->setRevisionCallback( array( &$this, 'handleRevision' ) ); |
77 | | - } |
78 | | - |
79 | | - /** |
80 | | - * Destructor. |
81 | | - */ |
82 | | - public function __destruct() { |
83 | | - fclose( $this->mFileHandle ); |
84 | | - } |
85 | | - |
86 | | - /** |
87 | | - * Acessor for the mOverwriteFiles property. |
88 | | - */ |
89 | | - public function OverwriteFiles( $x = null ) { |
90 | | - wfSetVar( $this->mOverwriteFiles, $x ); |
91 | | - } |
92 | | - |
93 | | - /** |
94 | | - * Perform the documentation import. |
95 | | - */ |
96 | | - public function doImport() { |
97 | | - global $wgUser; |
98 | | - |
99 | | - $wgUser = $this->mUser; |
100 | | - |
101 | | - $basefn = wfBasename( $this->mFilename ); |
102 | | - echo "+ Importing {$basefn}...\n"; |
103 | | - |
104 | | - $this->mStatPages = 0; |
105 | | - $this->mStatFiles = 0; |
106 | | - $this->mImporter->doImport(); |
107 | | - |
108 | | - echo " + Done. {$this->mStatPages} page(s) and {$this->mStatFiles} file(s) imported.\n"; |
109 | | - } |
110 | | - |
111 | | - /** |
112 | | - * Perform recent changes update. |
113 | | - */ |
114 | | - public function updateRecentChanges() { |
115 | | - echo "+ Rebuilding recent changes...\n"; |
116 | | - rebuildRecentChangesTable(); |
117 | | - echo " + Done.\n"; |
118 | | - } |
119 | | - |
120 | | - /** |
121 | | - * Importer revision callback. |
122 | | - */ |
123 | | - public function handleRevision( $revision ) { |
124 | | - $title = $revision->getTitle(); |
125 | | - $title_text = $title->getPrefixedText(); |
126 | | - |
127 | | - if ( $title->getNamespace() == NS_FILE ) { |
128 | | - $base = $title->getDBkey(); |
129 | | - echo " + File: '{$base}'..."; |
130 | | - $image = wfLocalFile( $title ); |
131 | | - if ( !$image->exists() || $this->mOverwriteFiles ) { |
132 | | - echo " uploading..."; |
133 | | - $filepath = dirname( $this->mFilename ) . '/' . $base; |
134 | | - $archive = $image->upload( $filepath, $this->mComment, |
135 | | - $revision->getText(), 0, false, $this->mTimeStamp, |
136 | | - $this->mUser); |
137 | | - |
138 | | - if ( WikiError::isError( $archive ) || !$archive->isGood() ) { |
139 | | - echo " failed.\n"; |
140 | | - return false; |
141 | | - } else { |
142 | | - echo " success.\n"; |
143 | | - $this->mStatFiles++; |
144 | | - return true; |
145 | | - } |
146 | | - } else { |
147 | | - echo " file exists, skipping.\n"; |
148 | | - return false; |
149 | | - } |
150 | | - } else { |
151 | | - echo " + Page: '{$title_text}'...\n"; |
152 | | - $revision->setUsername( $this->mUser->getName() ); |
153 | | - $revision->setComment( $this->mComment ); |
154 | | - $revision->setTimestamp( $this->mTimestamp ); |
155 | | - $result = $this->mDB->deadlockLoop( array( $revision, 'importOldRevision' ) ); |
156 | | - |
157 | | - if ( $result ) { $this->mStatPages++; } |
158 | | - return $result; |
159 | | - } |
160 | | - } |
161 | | - |
162 | | -} |
163 | | - |
164 | | - |
165 | | -/** |
166 | | - * Display a help message for the script. |
167 | | - */ |
168 | | -function showHelp() { |
169 | | - echo <<<EOF |
170 | | -Usage: php wikilogImportDocumentation.php [OPTIONS] |
171 | | -Imports the documentation for the Wikilog extension. |
172 | | - |
173 | | -Options: |
174 | | - --overwrite Overwrite existing files. |
175 | | - --help Displays this message and exit. |
176 | | - |
177 | | -EOF; |
178 | | -} |
179 | | - |
180 | | - |
181 | | -# Generic title. |
182 | | -$wgTitle = Title::newFromText( "Wikilog documentation import script" ); |
183 | | -$wgDBuser = $wgDBadminuser; |
184 | | -$wgDBpassword = $wgDBadminpassword; |
185 | | - |
186 | | -# --help option: displays help message and exit. |
187 | | -if ( $options['help'] ) { |
188 | | - showHelp(); |
189 | | - exit(); |
190 | | -} |
191 | | - |
192 | | -# If the wiki is in read-only state, die. |
193 | | -if( wfReadOnly() ) { |
194 | | - wfDie( "Wiki is in read-only mode; you'll need to disable it for import to work.\n" ); |
195 | | -} |
196 | | - |
197 | | -# Load extension messages. |
198 | | -wfLoadExtensionMessages( 'Wikilog' ); |
199 | | - |
200 | | -# Perform import. |
201 | | -$i = new WikilogDocImport( $wgWikilogDocumentationXML ); |
202 | | - |
203 | | -if ( isset( $option['overwrite'] ) ) { |
204 | | - $i->OverwriteFiles( true ); |
205 | | -} |
206 | | - |
207 | | -$i->doImport(); |
208 | | -$i->updateRecentChanges(); |
209 | | - |
210 | | -exit(); |
Index: trunk/extensions/Wikilog/maintenance/wikilogImportDocumentation.php |
— | — | @@ -36,8 +36,7 @@ |
37 | 37 | |
38 | 38 | # Compatibility with MediaWiki < 1.16. |
39 | 39 | if ( !file_exists( "$MEDIAWIKIDIR/maintenance/Maintenance.php" ) ) { |
40 | | - require( 'wikilogImportDocumentation-pre1.16.php' ); |
41 | | - exit( 0 ); |
| 40 | + die( "MediaWiki 1.16 or later is required." ); |
42 | 41 | } |
43 | 42 | |
44 | 43 | # Maintenance scripts base class. |
Index: trunk/extensions/Wikilog/WikilogItemPager.php |
— | — | @@ -135,11 +135,7 @@ |
136 | 136 | } |
137 | 137 | |
138 | 138 | function getNavigationBar() { |
139 | | - # NOTE (Mw1.15- COMPAT): IndexPager::isNavigationBarShown introduced |
140 | | - # in Mw1.16. Remove this guard in Wl1.1. |
141 | | - if ( method_exists( $this, 'isNavigationBarShown' ) ) { |
142 | | - if ( !$this->isNavigationBarShown() ) return ''; |
143 | | - } |
| 139 | + if ( !$this->isNavigationBarShown() ) return ''; |
144 | 140 | if ( !isset( $this->mNavigationBar ) ) { |
145 | 141 | $navbar = new WikilogNavbar( $this, 'chrono-rev' ); |
146 | 142 | $this->mNavigationBar = $navbar->getNavigationBar( $this->mLimit ); |
— | — | @@ -273,9 +269,12 @@ |
274 | 270 | * - 'authors': authors |
275 | 271 | * - 'tags': tags |
276 | 272 | * - 'published': empty (draft) or "*" (published) |
277 | | - * - 'pubdate': article publication date |
278 | | - * - 'updated': article last update date |
| 273 | + * - 'date': article publication date |
| 274 | + * - 'time': article publication time |
| 275 | + * - 'updatedDate': article last update date |
| 276 | + * - 'updatedTime': article last update time |
279 | 277 | * - 'summary': article summary |
| 278 | + * - 'hasMore': empty (summary only) or "*" (has more than summary) |
280 | 279 | * - 'comments': comments page link |
281 | 280 | */ |
282 | 281 | class WikilogTemplatePager |
— | — | @@ -313,10 +312,6 @@ |
314 | 313 | return "</div>\n"; |
315 | 314 | } |
316 | 315 | |
317 | | - /** |
318 | | - * @todo (On or after Wl 1.2.0) Remove {{{pubdate}}} and {{{updated}}}. |
319 | | - * @todo (Req >= Mw 1.16) Remove bug 20431 workaround. |
320 | | - */ |
321 | 316 | function formatRow( $row ) { |
322 | 317 | global $wgParser, $wgContLang; |
323 | 318 | |
— | — | @@ -357,10 +352,8 @@ |
358 | 353 | 'authors' => $authors, |
359 | 354 | 'tags' => $tags, |
360 | 355 | 'published' => $item->getIsPublished() ? '*' : '', |
361 | | - 'pubdate' => $pubdate, # Deprecated, to be removed on Wl 1.2.0. |
362 | 356 | 'date' => $publishedDate, |
363 | 357 | 'time' => $publishedTime, |
364 | | - 'updated' => $updated, # Deprecated, to be removed on Wl 1.2.0. |
365 | 358 | 'updatedDate' => $updatedDate, |
366 | 359 | 'updatedTime' => $updatedTime, |
367 | 360 | 'summary' => $wgParser->insertStripItem( $summary ), |
— | — | @@ -369,12 +362,6 @@ |
370 | 363 | ); |
371 | 364 | |
372 | 365 | $frame = $wgParser->getPreprocessor()->newCustomFrame( $vars ); |
373 | | - |
374 | | - # XXX: Work around MediaWiki bug 20431 |
375 | | - # https://bugzilla.wikimedia.org/show_bug.cgi?id=20431 |
376 | | - $frame->title = $frame->parser->mTitle; |
377 | | - $frame->titleCache = array( $frame->title ? $frame->title->getPrefixedDBkey() : false ); |
378 | | - |
379 | 366 | $text = $frame->expand( $this->mTemplate ); |
380 | 367 | |
381 | 368 | return $this->parse( $text ); |
— | — | @@ -438,11 +425,7 @@ |
439 | 426 | } |
440 | 427 | |
441 | 428 | function getNavigationBar() { |
442 | | - # NOTE (Mw1.15- COMPAT): IndexPager::isNavigationBarShown introduced |
443 | | - # in Mw1.16. Remove this guard in Wl1.1. |
444 | | - if ( method_exists( $this, 'isNavigationBarShown' ) ) { |
445 | | - if ( !$this->isNavigationBarShown() ) return ''; |
446 | | - } |
| 429 | + if ( !$this->isNavigationBarShown() ) return ''; |
447 | 430 | if ( !isset( $this->mNavigationBar ) ) { |
448 | 431 | $navbar = new WikilogNavbar( $this, 'pages' ); |
449 | 432 | $this->mNavigationBar = $navbar->getNavigationBar( $this->mLimit ); |
Index: trunk/extensions/Wikilog/SpecialWikilog.php |
— | — | @@ -51,7 +51,6 @@ |
52 | 52 | */ |
53 | 53 | function __construct( ) { |
54 | 54 | parent::__construct( 'Wikilog' ); |
55 | | - wfLoadExtensionMessages( 'Wikilog' ); |
56 | 55 | } |
57 | 56 | |
58 | 57 | /** |
— | — | @@ -288,13 +287,13 @@ |
289 | 288 | protected function getHeader( FormOptions $opts ) { |
290 | 289 | global $wgScript; |
291 | 290 | |
292 | | - $out = Xml::hidden( 'title', $this->getTitle()->getPrefixedText() ); |
| 291 | + $out = Html::hidden( 'title', $this->getTitle()->getPrefixedText() ); |
293 | 292 | |
294 | 293 | $out .= self::getQueryForm( $opts ); |
295 | 294 | |
296 | 295 | $unconsumed = $opts->getUnconsumedValues(); |
297 | 296 | foreach ( $unconsumed as $key => $value ) { |
298 | | - $out .= Xml::hidden( $key, $value ); |
| 297 | + $out .= Html::hidden( $key, $value ); |
299 | 298 | } |
300 | 299 | |
301 | 300 | $out = Xml::tags( 'form', array( 'action' => $wgScript ), $out ); |
Index: trunk/extensions/Wikilog/WikilogMainPage.php |
— | — | @@ -54,7 +54,6 @@ |
55 | 55 | */ |
56 | 56 | public function __construct( &$title, &$wi ) { |
57 | 57 | parent::__construct( $title ); |
58 | | - wfLoadExtensionMessages( 'Wikilog' ); |
59 | 58 | } |
60 | 59 | |
61 | 60 | /** |
— | — | @@ -250,8 +249,8 @@ |
251 | 250 | global $wgScript; |
252 | 251 | |
253 | 252 | $fields = array(); |
254 | | - $fields[] = Xml::hidden( 'title', $this->mTitle->getPrefixedText() ); |
255 | | - $fields[] = Xml::hidden( 'action', 'wikilog' ); |
| 253 | + $fields[] = Html::hidden( 'title', $this->mTitle->getPrefixedText() ); |
| 254 | + $fields[] = Html::hidden( 'action', 'wikilog' ); |
256 | 255 | $fields[] = Xml::inputLabel( wfMsg( 'wikilog-item-name' ), |
257 | 256 | 'wlItemName', 'wl-item-name', 50 ); |
258 | 257 | $fields[] = Xml::submitButton( wfMsg( 'wikilog-new-item-go' ), |
Index: trunk/extensions/Wikilog/WikilogCommentPager.php |
— | — | @@ -148,11 +148,7 @@ |
149 | 149 | } |
150 | 150 | |
151 | 151 | function getNavigationBar() { |
152 | | - # NOTE (Mw1.15- COMPAT): IndexPager::isNavigationBarShown introduced |
153 | | - # in Mw1.16. Remove this guard in Wl1.1. |
154 | | - if ( method_exists( $this, 'isNavigationBarShown' ) ) { |
155 | | - if ( !$this->isNavigationBarShown() ) return ''; |
156 | | - } |
| 152 | + if ( !$this->isNavigationBarShown() ) return ''; |
157 | 153 | if ( !isset( $this->mNavigationBar ) ) { |
158 | 154 | $navbar = new WikilogNavbar( $this ); |
159 | 155 | $this->mNavigationBar = $navbar->getNavigationBar( $this->mLimit ); |
Index: trunk/extensions/Wikilog/WikilogItemPage.php |
— | — | @@ -50,7 +50,6 @@ |
51 | 51 | */ |
52 | 52 | function __construct( &$title, &$wi ) { |
53 | 53 | parent::__construct( $title ); |
54 | | - wfLoadExtensionMessages( 'Wikilog' ); |
55 | 54 | $this->mItem = WikilogItem::newFromInfo( $wi ); |
56 | 55 | } |
57 | 56 | |
Index: trunk/extensions/Wikilog/Wikilog.php |
— | — | @@ -158,12 +158,6 @@ |
159 | 159 | $wgHooks['GetLocalURL'][] = 'WikilogParser::GetLocalURL'; |
160 | 160 | $wgHooks['GetFullURL'][] = 'WikilogParser::GetFullURL'; |
161 | 161 | |
162 | | -if ( !defined( 'MW_SUPPORTS_LOCALISATIONCACHE' ) ) { |
163 | | - /* pre Mw1.16 compatibility */ |
164 | | - $wgHooks['LanguageGetMagic'][] = 'WikilogHooks::LanguageGetMagic'; |
165 | | - $wgHooks['LanguageGetSpecialPageAliases'][] = 'WikilogHooks::LanguageGetSpecialPageAliases'; |
166 | | -} |
167 | | - |
168 | 162 | /* |
169 | 163 | * Added rights. |
170 | 164 | */ |
Index: trunk/extensions/Wikilog/README |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | |
35 | 35 | == Requirements == |
36 | 36 | |
37 | | -* MediaWiki 1.15 or higher. |
| 37 | +* MediaWiki 1.16 or higher. |
38 | 38 | * A MySQL database backend. |
39 | 39 | |
40 | 40 | == Installation == |
Index: trunk/extensions/Wikilog/WikilogCommentsPage.php |
— | — | @@ -78,7 +78,6 @@ |
79 | 79 | global $wgUser, $wgRequest; |
80 | 80 | |
81 | 81 | parent::__construct( $title ); |
82 | | - wfLoadExtensionMessages( 'Wikilog' ); |
83 | 82 | |
84 | 83 | # Check if user can post. |
85 | 84 | $this->mUserCanPost = $wgUser->isAllowed( 'wl-postcomment' ) || |
— | — | @@ -320,10 +319,10 @@ |
321 | 320 | } |
322 | 321 | |
323 | 322 | $form = |
324 | | - Xml::hidden( 'title', $this->getTitle()->getPrefixedText() ) . |
325 | | - Xml::hidden( 'action', 'wikilog' ) . |
326 | | - Xml::hidden( 'wpEditToken', $wgUser->editToken() ) . |
327 | | - ( $parent ? Xml::hidden( 'wlParent', $parent->mID ) : '' ); |
| 323 | + Html::hidden( 'title', $this->getTitle()->getPrefixedText() ) . |
| 324 | + Html::hidden( 'action', 'wikilog' ) . |
| 325 | + Html::hidden( 'wpEditToken', $wgUser->editToken() ) . |
| 326 | + ( $parent ? Html::hidden( 'wlParent', $parent->mID ) : '' ); |
328 | 327 | |
329 | 328 | $fields = array(); |
330 | 329 | |
— | — | @@ -370,7 +369,7 @@ |
371 | 370 | $form .= WikilogUtils::buildForm( $fields ); |
372 | 371 | |
373 | 372 | foreach ( $opts->getUnconsumedValues() as $key => $value ) { |
374 | | - $form .= Xml::hidden( $key, $value ); |
| 373 | + $form .= Html::hidden( $key, $value ); |
375 | 374 | } |
376 | 375 | |
377 | 376 | $form = Xml::tags( 'form', array( |
Index: trunk/extensions/Wikilog/WikilogHooks.php |
— | — | @@ -249,35 +249,6 @@ |
250 | 250 | } |
251 | 251 | |
252 | 252 | /** |
253 | | - * LanguageGetSpecialPageAliases hook handler function. |
254 | | - * Adds language aliases for special pages. |
255 | | - * @note Deprecated in MediaWiki 1.16. |
256 | | - * @todo Remove this in Wikilog 1.1.0, along with support for Mw < 1.16. |
257 | | - */ |
258 | | - static function LanguageGetSpecialPageAliases( &$specialPageAliases, $lang ) { |
259 | | - wfLoadExtensionMessages( 'Wikilog' ); |
260 | | - $title = Title::newFromText( wfMsg( 'wikilog-specialwikilog' ) ); |
261 | | - $specialPageAliases['SpecialWikilog'][] = $title->getDBKey(); |
262 | | - return true; |
263 | | - } |
264 | | - |
265 | | - /** |
266 | | - * LanguageGetMagic hook handler function. |
267 | | - * Adds language aliases for magic words. |
268 | | - * @note Deprecated in MediaWiki 1.16. |
269 | | - * @todo Remove this in Wikilog 1.1.0, along with support for Mw < 1.16. |
270 | | - */ |
271 | | - static function LanguageGetMagic( &$words, $lang ) { |
272 | | - require( 'Wikilog.i18n.magic.php' ); |
273 | | - if ( $lang == 'en' || !isset( $magicWords[$lang] ) ) { |
274 | | - $words += $magicWords['en']; |
275 | | - } else { |
276 | | - $words += array_merge( $magicWords['en'], $magicWords[$lang] ); |
277 | | - } |
278 | | - return true; |
279 | | - } |
280 | | - |
281 | | - /** |
282 | 253 | * EditPage::showEditForm:fields hook handler function. |
283 | 254 | * Adds wikilog article options to edit pages. |
284 | 255 | */ |
— | — | @@ -333,16 +304,8 @@ |
334 | 305 | /** |
335 | 306 | * EditPage::attemptSave hook handler function. |
336 | 307 | * Check edit page options. |
337 | | - * @todo Remove $editpage->wlSignpub hack in Wikilog 1.1.0, along with |
338 | | - * support for Mw < 1.16. |
339 | 308 | */ |
340 | 309 | static function EditPageAttemptSave( $editpage ) { |
341 | | - # HACK: For Mw < 1.16, due to the lack of 'EditPage::importFormData' hook. |
342 | | - if ( !isset( $editpage->wlSignpub ) ) { |
343 | | - global $wgRequest; |
344 | | - $editpage->wlSignpub = $wgRequest->getCheck( 'wlSignpub' ); |
345 | | - } |
346 | | - |
347 | 310 | $options = array( |
348 | 311 | 'signpub' => $editpage->wlSignpub |
349 | 312 | ); |
Index: trunk/extensions/Wikilog/TODO |
— | — | @@ -1,27 +1,10 @@ |
2 | 2 | == Wikilog To-do list == |
3 | 3 | |
4 | | -=== Wikilog 1.2.0. === |
| 4 | +=== Wikilog 1.3.0. === |
5 | 5 | |
6 | | -* Drop support for Mw1.15 and earlier. |
7 | | -* Remove Mw1.15 compatibility boilerplate in: |
8 | | - - WikilogNavbar::getNavigationBar() (Language::getDir()). |
9 | | - - WikilogSummaryPager::getNavigationBar() (IndexPager::isNavigationBarShown()). |
10 | | - - WikilogArchivesPager::getNavigationBar() (IndexPager::isNavigationBarShown()). |
11 | | - - WikilogCommentPager::getNavigationBar() (IndexPager::isNavigationBarShown()). |
12 | | - - WikilogHooks::LanguageGetSpecialPageAliases(). |
13 | | - - WikilogHooks::LanguageGetMagic(). |
14 | | - - WikilogHooks::EditPageAttemptSave(). |
15 | | - - WikilogTemplatePager::formatRow() (workaround bug 20431). |
16 | | - - WikilogFeed::loadFromCache() (bug 21916). |
17 | | - - Wikilog.i18n.php: 'wikilog-specialwikilog' message. |
18 | | -* WikilogTemplatePager::formatRow(): Remove {{{pubdate}}} and {{{updated}}}. |
19 | | -* Remove wfLoadExtensionMessages() calls. |
20 | | -* Replace Xml::hidden() calls with Html::hidden(). |
21 | | - |
22 | | -=== Wikilog 1.3.0. |
23 | | - |
24 | | -* Drop support for Mw1.16 and earlier. |
| 6 | +* Drop support for Mw 1.16 and earlier. |
25 | 7 | * Remove Mw1.16 compatibility boilerplate in: |
| 8 | + - WikilogFeed::loadFromCache() (bug 21916). |
26 | 9 | - WikilogComment::getCommentArticleTitle() (GAID_FOR_UPDATE). |
27 | 10 | - WikilogCommentsPage::setCommentApproval() (GAID_FOR_UPDATE). |
28 | 11 | * Remove deprecated WikilogParserCache: |
Index: trunk/extensions/Wikilog/RELEASE-NOTES |
— | — | @@ -4,6 +4,9 @@ |
5 | 5 | |
6 | 6 | === General notes === |
7 | 7 | |
| 8 | +MediaWiki requirement raised to 1.16.0 and later. MediaWiki 1.15 and earlier |
| 9 | +are no longer supported in this release. |
| 10 | + |
8 | 11 | === New configuration options === |
9 | 12 | |
10 | 13 | === New features === |
Index: trunk/extensions/Wikilog/WikilogParser.php |
— | — | @@ -217,7 +217,6 @@ |
218 | 218 | */ |
219 | 219 | public static function settings( &$parser /* ... */ ) { |
220 | 220 | global $wgOut; |
221 | | - wfLoadExtensionMessages( 'Wikilog' ); |
222 | 221 | self::checkNamespace( $parser ); |
223 | 222 | |
224 | 223 | $mwIcon =& MagicWord::get( 'wlk-icon' ); |
— | — | @@ -258,7 +257,6 @@ |
259 | 258 | * {{wl-publish:...}} parser function handler. |
260 | 259 | */ |
261 | 260 | public static function publish( &$parser, $pubdate /*, $author... */ ) { |
262 | | - wfLoadExtensionMessages( 'Wikilog' ); |
263 | 261 | self::checkNamespace( $parser ); |
264 | 262 | |
265 | 263 | $parser->mExtWikilog->mPublish = true; |
— | — | @@ -291,7 +289,6 @@ |
292 | 290 | * {{wl-author:...}} parser function handler. |
293 | 291 | */ |
294 | 292 | public static function author( &$parser /*, $author... */ ) { |
295 | | - wfLoadExtensionMessages( 'Wikilog' ); |
296 | 293 | self::checkNamespace( $parser ); |
297 | 294 | |
298 | 295 | $args = array_slice( func_get_args(), 1 ); |
— | — | @@ -306,7 +303,6 @@ |
307 | 304 | * {{wl-tags:...}} parser function handler. |
308 | 305 | */ |
309 | 306 | public static function tags( &$parser /*, $tag... */ ) { |
310 | | - wfLoadExtensionMessages( 'Wikilog' ); |
311 | 307 | self::checkNamespace( $parser ); |
312 | 308 | |
313 | 309 | $args = array_slice( func_get_args(), 1 ); |
Index: trunk/extensions/Wikilog/Wikilog.i18n.php |
— | — | @@ -21,7 +21,6 @@ |
22 | 22 | |
23 | 23 | # Special:Wikilog |
24 | 24 | 'wikilog-specialwikilog-title' => 'Wikilogs', # Page title |
25 | | - 'wikilog-specialwikilog' => 'Wikilog', # Special page name (DEPRECATED AFTER MW1.16) |
26 | 25 | |
27 | 26 | # Logs |
28 | 27 | 'wikilog-log-pagename' => 'Wikilog actions log', |
— | — | @@ -216,7 +215,6 @@ |
217 | 216 | If these words are the same in your language, then just transliterate it; |
218 | 217 | otherwise use the proper translation for both words and try to keep the idea of something that ties both concepts into a single object. |
219 | 218 | It is used in the plural in this title.', |
220 | | - 'wikilog-specialwikilog' => 'This is a special page name', |
221 | 219 | 'wikilog-log-cmt-approve' => 'Log action message used for entries describing comments approved by moderators, as in someone "did that". Similar to {{msg-mw|deletedarticle}} and {{msg-mw|protectedarticle}}. |
222 | 220 | Parameters: |
223 | 221 | * $1 is the page title of the approved comment.', |
— | — | @@ -393,7 +391,6 @@ |
394 | 392 | $messages['af'] = array( |
395 | 393 | 'wikilog-help' => '{{ns:help}}:Wikilog', |
396 | 394 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
397 | | - 'wikilog-specialwikilog' => 'Wikilog', |
398 | 395 | 'wikilog-log-pagename' => 'Wikilog-aksieslogboek', |
399 | 396 | 'wikilog-log-pagetext' => "Hieronder is 'n lys van wikilog aksies:", |
400 | 397 | 'wikilog-log-cmt-approve' => 'het kommentaar [[$1]] goedgekeur', |
— | — | @@ -487,7 +484,6 @@ |
488 | 485 | 'right-wl-postcomment' => 'Komentet Mesazhe të wikilog artikuj', |
489 | 486 | 'right-wl-moderation' => 'Moderim i wikilog komente neni', |
490 | 487 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
491 | | - 'wikilog-specialwikilog' => 'Wikilog', |
492 | 488 | 'wikilog-log-pagename' => 'veprimet Wikilog log', |
493 | 489 | 'wikilog-log-pagetext' => 'Më poshtë është një listë e wikilog veprime.', |
494 | 490 | 'wikilog-log-cmt-approve' => 'Komenti i miratuar "[[$1]]"', |
— | — | @@ -627,7 +623,6 @@ |
628 | 624 | 'right-wl-postcomment' => 'كتابة تعليقات على مقالات سجل الويكي', |
629 | 625 | 'right-wl-moderation' => 'مراجعة تعليقات مقالات سجل الويكي', |
630 | 626 | 'wikilog-specialwikilog-title' => 'سجلات الويكي', |
631 | | - 'wikilog-specialwikilog' => 'سجل الويكي', |
632 | 627 | 'wikilog-log-pagename' => 'سجل أفعال سجل الويكي', |
633 | 628 | 'wikilog-log-pagetext' => 'بالأسفل قائمة بأفعال سجل الويكي.', |
634 | 629 | 'wikilog-log-cmt-approve' => 'وافق على التعليق "[[$1]]"', |
— | — | @@ -754,7 +749,6 @@ |
755 | 750 | 'right-wl-postcomment' => 'كتابه تعليقات على مقالات سجل الويكي', |
756 | 751 | 'right-wl-moderation' => 'مراجعه تعليقات مقالات سجل الويكي', |
757 | 752 | 'wikilog-specialwikilog-title' => 'سجلات الويكي', |
758 | | - 'wikilog-specialwikilog' => 'سجل الويكي', |
759 | 753 | 'wikilog-log-pagename' => 'سجل أفعال سجل الويكي', |
760 | 754 | 'wikilog-log-pagetext' => 'بالأسفل قائمه بأفعال سجل الويكى.', |
761 | 755 | 'wikilog-log-cmt-approve' => 'وافق على التعليق "[[$1]]"', |
— | — | @@ -892,7 +886,6 @@ |
893 | 887 | 'right-wl-postcomment' => 'пакідаць камэнтары ў артыкулах вікі-блогу', |
894 | 888 | 'right-wl-moderation' => 'мадэрацыя камэнтараў да артыкулаў вікі-блогу', |
895 | 889 | 'wikilog-specialwikilog-title' => 'Вікі-блогі', |
896 | | - 'wikilog-specialwikilog' => 'Вікі-блог', |
897 | 890 | 'wikilog-log-pagename' => 'Журнал дзеяньняў вікі-блогу', |
898 | 891 | 'wikilog-log-pagetext' => 'Ніжэй пададзены сьпіс дзеяньняў вікі-блогу.', |
899 | 892 | 'wikilog-log-cmt-approve' => 'зацьверджаны камэнтар [[$1]]', |
— | — | @@ -1031,7 +1024,6 @@ |
1032 | 1025 | 'right-wl-postcomment' => 'Оставяне на коментари към статии от уикиблога', |
1033 | 1026 | 'right-wl-moderation' => 'Модериране на коментарите към статии в уикилога', |
1034 | 1027 | 'wikilog-specialwikilog-title' => 'Уикилогове', |
1035 | | - 'wikilog-specialwikilog' => 'Уикилог', |
1036 | 1028 | 'wikilog-log-pagename' => 'Дневник на действията в уикиблога', |
1037 | 1029 | 'wikilog-log-pagetext' => 'По-долу е списъкът от действията по уикиблога.', |
1038 | 1030 | 'wikilog-log-cmt-approve' => 'одобрен коментар "[[$1]]"', |
— | — | @@ -1149,7 +1141,6 @@ |
1150 | 1142 | */ |
1151 | 1143 | $messages['bn'] = array( |
1152 | 1144 | 'wikilog-specialwikilog-title' => 'উইকিলগসমূহ', |
1153 | | - 'wikilog-specialwikilog' => 'উইকিলগ', |
1154 | 1145 | 'wikilog-tab' => 'উইকিলগ', |
1155 | 1146 | 'wikilog-new-item-go' => 'তৈরি', |
1156 | 1147 | 'wikilog-item-name' => 'নিবন্ধের নাম:', |
— | — | @@ -1195,7 +1186,6 @@ |
1196 | 1187 | 'right-wl-postcomment' => 'Postañ addisplegoù da bennadoù wikilog', |
1197 | 1188 | 'right-wl-moderation' => 'Habaskaat an evezhiadennoù evit pennadoù wikilog', |
1198 | 1189 | 'wikilog-specialwikilog-title' => 'Wikilogoù', |
1199 | | - 'wikilog-specialwikilog' => 'Wikilog', |
1200 | 1190 | 'wikilog-log-pagename' => 'Marilh an oberoù war wikilog', |
1201 | 1191 | 'wikilog-log-pagetext' => 'Dindan e kavot ur roll eus an oberoù war wikilog.', |
1202 | 1192 | 'wikilog-log-cmt-approve' => 'addispleg aprouet [[$1]]', |
— | — | @@ -1333,7 +1323,6 @@ |
1334 | 1324 | 'right-wl-postcomment' => 'Slanje komentara na članke wikizapisnika', |
1335 | 1325 | 'right-wl-moderation' => 'Moderiranje komentara na članke wikizapisnika', |
1336 | 1326 | 'wikilog-specialwikilog-title' => 'Wikizapisnici', |
1337 | | - 'wikilog-specialwikilog' => 'Wikizapisnik', |
1338 | 1327 | 'wikilog-log-pagename' => 'Zapisnik Wikilog akcija', |
1339 | 1328 | 'wikilog-log-pagetext' => 'Ispod je spisak akcija wikizapisnika.', |
1340 | 1329 | 'wikilog-log-cmt-approve' => 'odobreni komentar "[[$1]]"', |
— | — | @@ -1425,7 +1414,6 @@ |
1426 | 1415 | */ |
1427 | 1416 | $messages['ca'] = array( |
1428 | 1417 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
1429 | | - 'wikilog-specialwikilog' => 'Wikilog', |
1430 | 1418 | 'wikilog-tab' => 'Wikilog', |
1431 | 1419 | 'wikilog-tab-title' => 'Accions de Wikilog', |
1432 | 1420 | 'wikilog-information' => 'Informació de Wikilog', |
— | — | @@ -1504,7 +1492,6 @@ |
1505 | 1493 | 'right-wl-postcomment' => 'Posílání komentářů k wikilog článkům', |
1506 | 1494 | 'right-wl-moderation' => 'Moderování komentářů wikilog článků', |
1507 | 1495 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
1508 | | - 'wikilog-specialwikilog' => 'Wikilog', |
1509 | 1496 | 'wikilog-log-pagename' => 'Záznam událostí wikilog', |
1510 | 1497 | 'wikilog-log-pagetext' => 'Níže je seznam událostí wikilog', |
1511 | 1498 | 'wikilog-log-cmt-approve' => 'schvaluje komentář k článku „[[$1]]“', |
— | — | @@ -1726,7 +1713,6 @@ |
1727 | 1714 | 'right-wl-postcomment' => 'Kommentare zu Wikilog-Beiträgen posten', |
1728 | 1715 | 'right-wl-moderation' => 'Moderation von Kommentaren zu Wikilog-Beiträgen', |
1729 | 1716 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
1730 | | - 'wikilog-specialwikilog' => 'Wikilog', |
1731 | 1717 | 'wikilog-log-pagename' => 'Wikilog-Aktionslogbuch', |
1732 | 1718 | 'wikilog-log-pagetext' => 'Unten folgt eine Liste von Wikilog-Aktionen.', |
1733 | 1719 | 'wikilog-log-cmt-approve' => 'gab den Kommentar „[[$1]]“ frei', |
— | — | @@ -1880,7 +1866,6 @@ |
1881 | 1867 | 'right-wl-postcomment' => 'Komentary k wikilogowym pśinoskam pósłaś', |
1882 | 1868 | 'right-wl-moderation' => 'Moderacija komentarow k wikilogowym pśinoskam', |
1883 | 1869 | 'wikilog-specialwikilog-title' => 'Wikilogi', |
1884 | | - 'wikilog-specialwikilog' => 'Wikilog', |
1885 | 1870 | 'wikilog-log-pagename' => 'Protokol wikilogowych akcijow', |
1886 | 1871 | 'wikilog-log-pagetext' => 'Dołojce jo lisćina wikilogowych akcijow.', |
1887 | 1872 | 'wikilog-log-cmt-approve' => 'pśizwólony komentar [[$1]]', |
— | — | @@ -2025,7 +2010,6 @@ |
2026 | 2011 | $messages['el'] = array( |
2027 | 2012 | 'wikilog-help' => '{{ns:Help}}:Βικιαρχείο', |
2028 | 2013 | 'wikilog-specialwikilog-title' => 'Βικιαρχεία', |
2029 | | - 'wikilog-specialwikilog' => 'Βικιαρχείο', |
2030 | 2014 | 'wikilog-log-pagename' => 'Αρχείο δραστηριοτήτων Βικιαρχείου', |
2031 | 2015 | 'wikilog-log-pagetext' => 'Παρακάτω είναι μια λίστα δραστηριοτήτων του βικιαρχείου.', |
2032 | 2016 | 'wikilog-log-cmt-approve' => 'ενέκρινε το σχόλιο "[[$1]]"', |
— | — | @@ -2130,7 +2114,6 @@ |
2131 | 2115 | 'wikilog-help' => '{{ns:Help}}:Vikiblogo', |
2132 | 2116 | 'right-wl-moderation' => 'Administri komentojn en Vikiblog-artikoloj', |
2133 | 2117 | 'wikilog-specialwikilog-title' => 'Vikiblogoj', |
2134 | | - 'wikilog-specialwikilog' => 'Vikiblogo', |
2135 | 2118 | 'wikilog-log-pagename' => 'Protokolo de Vikiblog-agoj', |
2136 | 2119 | 'wikilog-log-pagetext' => 'Jen listo de Vikiblog-agoj.', |
2137 | 2120 | 'wikilog-log-cmt-approve' => 'aprobis komenton "[[$1]]"', |
— | — | @@ -2236,7 +2219,6 @@ |
2237 | 2220 | 'right-wl-postcomment' => 'Publicar comentarios en artículos del Wikilog', |
2238 | 2221 | 'right-wl-moderation' => 'Moderación de comentarios de artículos de wikilog', |
2239 | 2222 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
2240 | | - 'wikilog-specialwikilog' => 'Wikilog', |
2241 | 2223 | 'wikilog-log-pagename' => 'Registro de acciones de Wikilog', |
2242 | 2224 | 'wikilog-log-pagetext' => 'A continuación hay un listado de acciones de Wikilog.', |
2243 | 2225 | 'wikilog-log-cmt-approve' => 'comentario aprobado [[$1]]', |
— | — | @@ -2469,7 +2451,6 @@ |
2470 | 2452 | 'right-wl-postcomment' => 'Lähettää kommentteja wikilog-artikkeleihin', |
2471 | 2453 | 'right-wl-moderation' => 'Moderoida wikilog-artikkeleiden kommentteja', |
2472 | 2454 | 'wikilog-specialwikilog-title' => 'Wikilogit', |
2473 | | - 'wikilog-specialwikilog' => 'Wikilog', |
2474 | 2455 | 'wikilog-log-pagename' => 'Wikilog-toimintoloki', |
2475 | 2456 | 'wikilog-log-pagetext' => 'Alla on lista wikilog-toiminnoista.', |
2476 | 2457 | 'wikilog-log-cmt-approve' => 'hyväksytty kommentti ”[[$1]]”', |
— | — | @@ -2603,7 +2584,6 @@ |
2604 | 2585 | 'right-wl-postcomment' => 'Poster des commentaires sur les articles de wikilog', |
2605 | 2586 | 'right-wl-moderation' => 'Modération des commentaires sur les articles de wikilog', |
2606 | 2587 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
2607 | | - 'wikilog-specialwikilog' => 'Wikilog', |
2608 | 2588 | 'wikilog-log-pagename' => 'Journal des actions sur wikilog', |
2609 | 2589 | 'wikilog-log-pagetext' => 'Ci-dessous se trouve une liste des actions sur wikilog.', |
2610 | 2590 | 'wikilog-log-cmt-approve' => 'commentaire approuvé [[$1]]', |
— | — | @@ -2740,7 +2720,6 @@ |
2741 | 2721 | 'right-wl-postcomment' => 'Postar des comentèros sur los articllos de Wikilog', |
2742 | 2722 | 'right-wl-moderation' => 'Moderacion des comentèros sur los articllos de Wikilog', |
2743 | 2723 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
2744 | | - 'wikilog-specialwikilog' => 'Wikilog', |
2745 | 2724 | 'wikilog-log-pagename' => 'Jornal de les accions dessus Wikilog', |
2746 | 2725 | 'wikilog-log-pagetext' => 'Ce-desot sè trove una lista de les accions dessus Wikilog.', |
2747 | 2726 | 'wikilog-log-cmt-approve' => 'comentèro aprovâ « [[$1]] »', |
— | — | @@ -2859,7 +2838,6 @@ |
2860 | 2839 | 'right-wl-postcomment' => 'Publicar comentarios nos artigos do wikilog', |
2861 | 2840 | 'right-wl-moderation' => 'Moderar os comentarios dos artigos do wikilog', |
2862 | 2841 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
2863 | | - 'wikilog-specialwikilog' => 'Wikilog', |
2864 | 2842 | 'wikilog-log-pagename' => 'Rexistro de accións no wikilog', |
2865 | 2843 | 'wikilog-log-pagetext' => 'A continuación está a lista das accións realizadas no wikilog.', |
2866 | 2844 | 'wikilog-log-cmt-approve' => 'aprobou o comentario [[$1]]', |
— | — | @@ -3016,7 +2994,6 @@ |
3017 | 2995 | 'right-wl-postcomment' => 'Kommentar zue Wikilog-Byytreg poschte', |
3018 | 2996 | 'right-wl-moderation' => 'Moderation vu Kommentar zue Wikilog-Byytreg', |
3019 | 2997 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
3020 | | - 'wikilog-specialwikilog' => 'Wikilog', |
3021 | 2998 | 'wikilog-log-pagename' => 'Wikilog-Aktionslogbuech', |
3022 | 2999 | 'wikilog-log-pagetext' => 'Unte het s e Lischt mit Wikilog-Aktione.', |
3023 | 3000 | 'wikilog-log-cmt-approve' => 'het dr Kommentar [[$1]] prieft', |
— | — | @@ -3301,7 +3278,6 @@ |
3302 | 3279 | 'right-wl-postcomment' => 'Komentary k přinoškam Wikilog pósłać', |
3303 | 3280 | 'right-wl-moderation' => 'Moderacija komentarow k přinoškam Wikilog', |
3304 | 3281 | 'wikilog-specialwikilog-title' => 'Wikiprotokole', |
3305 | | - 'wikilog-specialwikilog' => 'Wikilog', |
3306 | 3282 | 'wikilog-log-pagename' => 'Protokol akcijow Wikiloga', |
3307 | 3283 | 'wikilog-log-pagetext' => 'Deleka je lisćina wikilogowych akcijow.', |
3308 | 3284 | 'wikilog-log-cmt-approve' => 'schawli komentar [[$1]]', |
— | — | @@ -3439,7 +3415,6 @@ |
3440 | 3416 | 'right-wl-postcomment' => 'Hozzászólások írása a wikinapló bejegyzésekhez', |
3441 | 3417 | 'right-wl-moderation' => 'wikinapló bejegyzés hozzászólásainak moderálása', |
3442 | 3418 | 'wikilog-specialwikilog-title' => 'Wikinaplók', |
3443 | | - 'wikilog-specialwikilog' => 'Wikinapló', |
3444 | 3419 | 'wikilog-log-pagename' => 'Wikinapló-műveletek naplója', |
3445 | 3420 | 'wikilog-log-pagetext' => 'Alább látható a wikinaplón végzett műveletek listája.', |
3446 | 3421 | 'wikilog-log-cmt-approve' => 'jóváhagyta a következő hozzászólást: [[$1]]', |
— | — | @@ -3563,7 +3538,6 @@ |
3564 | 3539 | 'right-wl-postcomment' => 'Lassar commentos in articulos wikilog', |
3565 | 3540 | 'right-wl-moderation' => 'Moderation de commentos de articulos wikilog', |
3566 | 3541 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
3567 | | - 'wikilog-specialwikilog' => 'Wikilog', |
3568 | 3542 | 'wikilog-log-pagename' => 'Registro de actiones wikilog', |
3569 | 3543 | 'wikilog-log-pagetext' => 'Seque un lista de actiones wikilog.', |
3570 | 3544 | 'wikilog-log-cmt-approve' => 'approbava le commento [[$1]]', |
— | — | @@ -3702,7 +3676,6 @@ |
3703 | 3677 | 'right-wl-postcomment' => 'Mengirim komentar untuk artikel wikilog', |
3704 | 3678 | 'right-wl-moderation' => 'Memoderasi komentar artikel wikilog', |
3705 | 3679 | 'wikilog-specialwikilog-title' => 'Wikilog', |
3706 | | - 'wikilog-specialwikilog' => 'Wikilog', |
3707 | 3680 | 'wikilog-log-pagename' => 'Log tindakan wikilog', |
3708 | 3681 | 'wikilog-log-pagetext' => 'Berikut adalah daftar tindakan wikilog.', |
3709 | 3682 | 'wikilog-log-cmt-approve' => 'komentar disetujui [[$1]]', |
— | — | @@ -3865,7 +3838,6 @@ |
3866 | 3839 | 'right-wl-postcomment' => 'Scrivi un commento ad articoli wikilog', |
3867 | 3840 | 'right-wl-moderation' => 'Moderazione di commenti ad articoli wikilog', |
3868 | 3841 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
3869 | | - 'wikilog-specialwikilog' => 'Wikilog', |
3870 | 3842 | 'wikilog-log-pagename' => 'Registro delle azioni Wikilog', |
3871 | 3843 | 'wikilog-log-pagetext' => 'Di seguito è riportato un elenco di azioni wikilog.', |
3872 | 3844 | 'wikilog-log-cmt-approve' => 'commento autorizzato "[[$1]]"', |
— | — | @@ -4001,7 +3973,6 @@ |
4002 | 3974 | 'right-wl-postcomment' => 'ウィキログの記事にコメントを投稿する', |
4003 | 3975 | 'right-wl-moderation' => 'ウィキログ記事のコメントのモデレーション', |
4004 | 3976 | 'wikilog-specialwikilog-title' => 'ウィキログ', |
4005 | | - 'wikilog-specialwikilog' => 'ウィキログ', |
4006 | 3977 | 'wikilog-log-pagename' => 'ウィキログ操作記録', |
4007 | 3978 | 'wikilog-log-pagetext' => '以下にウィキログの操作の一覧を示します。', |
4008 | 3979 | 'wikilog-log-cmt-approve' => '承認済みコメント [[$1]]', |
— | — | @@ -4178,7 +4149,6 @@ |
4179 | 4150 | 'right-wl-postcomment' => 'Aanmärkunge zoh Atikelle vum {{int:Wikilog-wikilog}} afjävve', |
4180 | 4151 | 'right-wl-moderation' => 'De Aanmörkunge zoh Atikelle vum {{int:Wikilog-wikilog}} modderiere', |
4181 | 4152 | 'wikilog-specialwikilog-title' => '{{int:Wikilog-wikilog}} Blogs', |
4182 | | - 'wikilog-specialwikilog' => '{{int:Wikilog-wikilog}}', |
4183 | 4153 | 'wikilog-log-pagename' => 'et Logboch met dem {{int:Wikilog-wikilog}} singe Akßjuhne', |
4184 | 4154 | 'wikilog-log-pagetext' => 'Heh dronger kütt en Leß met dem {{int:Wikilog-wikilog}} sing Akßjuhne.', |
4185 | 4155 | 'wikilog-log-cmt-approve' => 'hät di Aanmärkung [[$1]] zohjelohße', |
— | — | @@ -4301,7 +4271,6 @@ |
4302 | 4272 | 'wikilog-auto' => 'Wikilog Auto', |
4303 | 4273 | 'wikilog-help' => '{{ns:Help}}:Wikilog', |
4304 | 4274 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
4305 | | - 'wikilog-specialwikilog' => 'Wikilog', |
4306 | 4275 | 'wikilog-log-cmt-approve' => 'approuvéiert Bemierkung [[$1]]', |
4307 | 4276 | 'wikilog-log-cmt-reject' => 'refuséiert Bemierkung [[$1]]', |
4308 | 4277 | 'wikilog-tab' => 'Wikilog', |
— | — | @@ -4461,7 +4430,6 @@ |
4462 | 4431 | */ |
4463 | 4432 | $messages['mg'] = array( |
4464 | 4433 | 'wikilog-specialwikilog-title' => "Tatitr'asa wiki", |
4465 | | - 'wikilog-specialwikilog' => "Tatitr'asa wiki", |
4466 | 4434 | 'wikilog-log-pagename' => "Tatitr'asa momban'ny tao eo amin'ny Tatitr'asa wiki", |
4467 | 4435 | 'wikilog-log-pagetext' => "Eo ambany misy lisitry ny tao eo amin'ny wikilog", |
4468 | 4436 | 'wikilog-new-item-go' => 'Amboary', |
— | — | @@ -4511,7 +4479,6 @@ |
4512 | 4480 | 'right-wl-postcomment' => 'Оставање коментари на статии во викидневникот', |
4513 | 4481 | 'right-wl-moderation' => 'Модерирање на коментарите на статиите во викидневникот', |
4514 | 4482 | 'wikilog-specialwikilog-title' => 'Викидневници', |
4515 | | - 'wikilog-specialwikilog' => 'Викидневник', |
4516 | 4483 | 'wikilog-log-pagename' => 'Дневник на дејствата на викидневникот', |
4517 | 4484 | 'wikilog-log-pagetext' => 'Подолу е наведен список на дејства на викидневникот.', |
4518 | 4485 | 'wikilog-log-cmt-approve' => 'го одобри коментарот „[[$1]]“', |
— | — | @@ -4679,7 +4646,6 @@ |
4680 | 4647 | 'right-wl-postcomment' => 'Letakkan ulasan pada rencana wikilog', |
4681 | 4648 | 'right-wl-moderation' => 'Moderasi ulasan rencana wikilog', |
4682 | 4649 | 'wikilog-specialwikilog-title' => 'Wikilog', |
4683 | | - 'wikilog-specialwikilog' => 'Wikilog', |
4684 | 4650 | 'wikilog-log-pagename' => 'Log tindakan Wikilog', |
4685 | 4651 | 'wikilog-log-pagetext' => 'Di bawah adalah senarai tindakan wikilog.', |
4686 | 4652 | 'wikilog-log-cmt-approve' => 'Ulasan diluluskan "[[$1]]"', |
— | — | @@ -4707,7 +4673,6 @@ |
4708 | 4674 | 'right-wl-postcomment' => 'Reacties op wikilog-artikelen plaatsen', |
4709 | 4675 | 'right-wl-moderation' => 'Wikilog-artikelreacties modereren', |
4710 | 4676 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
4711 | | - 'wikilog-specialwikilog' => 'Wikilog', |
4712 | 4677 | 'wikilog-log-pagename' => 'Wikiloghandelingenlogboek', |
4713 | 4678 | 'wikilog-log-pagetext' => 'Hieronder treft u een lijst van Wikilog-handelingen aan.', |
4714 | 4679 | 'wikilog-log-cmt-approve' => 'heeft reactie [[$1]] goedgekeurd', |
— | — | @@ -4842,7 +4807,6 @@ |
4843 | 4808 | $messages['nn'] = array( |
4844 | 4809 | 'wikilog-desc' => 'Legg til bloggfunksjonar, og lagar ei wiki-blogg hybridoppsett', |
4845 | 4810 | 'right-wl-postcomment' => 'Skriv kommentarar til wikilog-artiklar', |
4846 | | - 'wikilog-specialwikilog' => 'Wikilogg', |
4847 | 4811 | 'wikilog-log-pagename' => 'Wikilog for hendingar', |
4848 | 4812 | 'wikilog-tab' => 'Wikilogg', |
4849 | 4813 | 'wikilog-new-item-go' => 'Lag', |
— | — | @@ -4909,7 +4873,6 @@ |
4910 | 4874 | 'right-wl-postcomment' => 'Skriv kommentarer til wikilog-artikler', |
4911 | 4875 | 'right-wl-moderation' => 'Moderering av wikilogg-artikkelkommentarer', |
4912 | 4876 | 'wikilog-specialwikilog-title' => 'Wikilogger', |
4913 | | - 'wikilog-specialwikilog' => 'Wikilogg', |
4914 | 4877 | 'wikilog-log-pagename' => 'Wikilog handlingslogg', |
4915 | 4878 | 'wikilog-log-pagetext' => 'Under er en liste over wikilogghandliger.', |
4916 | 4879 | 'wikilog-log-cmt-approve' => 'godkjent kommentar «[[$1]]»', |
— | — | @@ -5046,7 +5009,6 @@ |
5047 | 5010 | 'right-wl-postcomment' => 'Postar de comentaris suls articles de wikilog', |
5048 | 5011 | 'right-wl-moderation' => 'Moderacion dels comentaris suls articles de wikilog', |
5049 | 5012 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
5050 | | - 'wikilog-specialwikilog' => 'Wikilog', |
5051 | 5013 | 'wikilog-log-pagename' => 'Jornal de las accions sus wikilog', |
5052 | 5014 | 'wikilog-log-pagetext' => 'Çaijós se tròba una lista de las accions sus wikilog.', |
5053 | 5015 | 'wikilog-log-cmt-approve' => 'comentari aprovat [[$1]]', |
— | — | @@ -5204,7 +5166,6 @@ |
5205 | 5167 | 'right-wl-postcomment' => 'Dodawanie komentarzy do wikirejestru artykułów', |
5206 | 5168 | 'right-wl-moderation' => 'Zarządzanie komentarzami wikirejestru artykułów', |
5207 | 5169 | 'wikilog-specialwikilog-title' => 'Wikiblogi', |
5208 | | - 'wikilog-specialwikilog' => 'Wikiblog', |
5209 | 5170 | 'wikilog-log-pagename' => 'Rejestr wikiblogu', |
5210 | 5171 | 'wikilog-log-pagetext' => 'Poniżej znajduje się spis czynności podejmowanych dla wikiblogu.', |
5211 | 5172 | 'wikilog-log-cmt-approve' => 'zatwierdził komentarz „[[$1]]”', |
— | — | @@ -5344,7 +5305,6 @@ |
5345 | 5306 | 'right-wl-postcomment' => "Gionté dij coment an sj'artìcoj ëd wikilog", |
5346 | 5307 | 'right-wl-moderation' => "Moderassion dij coment an sj'artìcoj ëd wikilog", |
5347 | 5308 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
5348 | | - 'wikilog-specialwikilog' => 'Wikilog', |
5349 | 5309 | 'wikilog-log-pagename' => "Argistr ëd j'assion su wikilog", |
5350 | 5310 | 'wikilog-log-pagetext' => "Si-sota a-i é na lista dj'assion su wikilog.", |
5351 | 5311 | 'wikilog-log-cmt-approve' => 'coment aprovà [[$1]]', |
— | — | @@ -5476,7 +5436,6 @@ |
5477 | 5437 | */ |
5478 | 5438 | $messages['ps'] = array( |
5479 | 5439 | 'wikilog-specialwikilog-title' => 'ويکي يادښتونه', |
5480 | | - 'wikilog-specialwikilog' => 'ويکي يادښت', |
5481 | 5440 | 'wikilog-new-item-go' => 'جوړول', |
5482 | 5441 | 'wikilog-item-name' => 'د ليکنې نوم:', |
5483 | 5442 | 'wikilog-published' => 'خپاره شوي', |
— | — | @@ -5538,7 +5497,6 @@ |
5539 | 5498 | 'right-wl-postcomment' => 'Criar comentários em artigos wikilog', |
5540 | 5499 | 'right-wl-moderation' => 'Moderação de comentários de artigos wikilog', |
5541 | 5500 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
5542 | | - 'wikilog-specialwikilog' => 'Wikilog', |
5543 | 5501 | 'wikilog-log-pagename' => 'Registo de acções wikilog', |
5544 | 5502 | 'wikilog-log-pagetext' => 'Abaixo está uma lista das acções wikilog.', |
5545 | 5503 | 'wikilog-log-cmt-approve' => 'aprovou o comentário [[$1]]', |
— | — | @@ -5682,7 +5640,6 @@ |
5683 | 5641 | 'right-wl-postcomment' => 'Comentar em entradas de wikilog', |
5684 | 5642 | 'right-wl-moderation' => 'Moderar comentários de entradas de wikilog', |
5685 | 5643 | 'wikilog-specialwikilog-title' => 'Wikilogs', |
5686 | | - 'wikilog-specialwikilog' => 'Wikilog', |
5687 | 5644 | 'wikilog-log-pagename' => 'Registro de ações wikilog', |
5688 | 5645 | 'wikilog-log-pagetext' => 'Segue uma listagem das ações wikilog.', |
5689 | 5646 | 'wikilog-log-cmt-approve' => 'aprovou o comentário "[[$1]]"', |
— | — | @@ -5817,7 +5774,6 @@ |
5818 | 5775 | 'wikilog-auto' => 'Wikijurnal Auto', |
5819 | 5776 | 'wikilog-help' => '{{ns:Help}}:Wikijurnal', |
5820 | 5777 | 'wikilog-specialwikilog-title' => 'Wikijurnale', |
5821 | | - 'wikilog-specialwikilog' => 'Wikijurnal', |
5822 | 5778 | 'wikilog-log-pagename' => 'Jurnalul acțiunilor Wikijurnal', |
5823 | 5779 | 'wikilog-tab' => 'Wikijurnal', |
5824 | 5780 | 'wikilog-tab-title' => 'Acțiuni Wikijurnal', |
— | — | @@ -5892,7 +5848,6 @@ |
5893 | 5849 | 'right-wl-postcomment' => "Manne commende a l'artichele UicchiArchivije", |
5894 | 5850 | 'right-wl-moderation' => "Moderazione de le commende a l'artichele de UicchiArchivije", |
5895 | 5851 | 'wikilog-specialwikilog-title' => 'UicchiArchivije', |
5896 | | - 'wikilog-specialwikilog' => 'UicchiArchivije', |
5897 | 5852 | 'wikilog-log-pagename' => 'UicchiArchivije archivije de le aziune', |
5898 | 5853 | 'wikilog-log-pagetext' => "Sotte stè 'na liste de aziune de UicchiArchivije.", |
5899 | 5854 | 'wikilog-log-cmt-approve' => 'commende approvate "[[$1]]"', |
— | — | @@ -6032,7 +5987,6 @@ |
6033 | 5988 | 'right-wl-postcomment' => 'оставлять комментарии к статьям викилога', |
6034 | 5989 | 'right-wl-moderation' => 'модерировать комментарии к статьям викилога', |
6035 | 5990 | 'wikilog-specialwikilog-title' => 'Викилоги', |
6036 | | - 'wikilog-specialwikilog' => 'Викилог', |
6037 | 5991 | 'wikilog-log-pagename' => 'Журнал действий викилога', |
6038 | 5992 | 'wikilog-log-pagetext' => 'Ниже приведен список действия викилога.', |
6039 | 5993 | 'wikilog-log-cmt-approve' => 'утвердил комментарий [[$1]]', |
— | — | @@ -6247,7 +6201,6 @@ |
6248 | 6202 | 'right-wl-postcomment' => 'විකි ලඝු ලිපිවලට විචාර තැපැල් කරන්න.', |
6249 | 6203 | 'right-wl-moderation' => 'විකි ලඝු ලිපි විචාරවල මධ්යස්ථතාව', |
6250 | 6204 | 'wikilog-specialwikilog-title' => 'විකි ලඝු සටහන්', |
6251 | | - 'wikilog-specialwikilog' => 'විකි ලඝු සටහන', |
6252 | 6205 | 'wikilog-log-pagename' => 'විකි ලඝු ක්රියාකාරකම් ලඝු සටහන', |
6253 | 6206 | 'wikilog-log-pagetext' => 'පහතින් විකි ලඝු ක්රියාකාරකම්වල ලැයිස්තුවකි.', |
6254 | 6207 | 'wikilog-log-cmt-approve' => 'අනුමත කරනු ලැබූ විචාරය [[$1]]', |
— | — | @@ -6371,7 +6324,6 @@ |
6372 | 6325 | 'wikilog-help' => '{{ns:Help}}:Wikilog', |
6373 | 6326 | 'right-wl-postcomment' => 'Objavljanje pripomb k člankom wikiloga', |
6374 | 6327 | 'wikilog-specialwikilog-title' => 'Wikilogi', |
6375 | | - 'wikilog-specialwikilog' => 'Wikilog', |
6376 | 6328 | 'wikilog-log-pagename' => 'Dnevnik dejanj Wikilog', |
6377 | 6329 | 'wikilog-log-pagetext' => 'Spodaj se nahaja seznam dejanj wikiloga.', |
6378 | 6330 | 'wikilog-log-cmt-approve' => 'odobril(-a) pripombo »[[$1]]«', |
— | — | @@ -6643,7 +6595,6 @@ |
6644 | 6596 | 'right-wl-postcomment' => 'Skriv kommentarer till wikilog-artiklar', |
6645 | 6597 | 'right-wl-moderation' => 'Moderering av wikilog-artikelkommentarer', |
6646 | 6598 | 'wikilog-specialwikilog-title' => 'Wikilog-bloggar', |
6647 | | - 'wikilog-specialwikilog' => 'Wikilogg', |
6648 | 6599 | 'wikilog-log-pagename' => 'Wikilog händelselogg', |
6649 | 6600 | 'wikilog-log-pagetext' => 'Nedan är en lista över wikilog-händelser.', |
6650 | 6601 | 'wikilog-log-cmt-approve' => 'godkände kommentar [[$1]]', |
— | — | @@ -6806,7 +6757,6 @@ |
6807 | 6758 | */ |
6808 | 6759 | $messages['te'] = array( |
6809 | 6760 | 'wikilog-specialwikilog-title' => 'వికీచిట్టాలు', |
6810 | | - 'wikilog-specialwikilog' => 'వికీచిట్టా', |
6811 | 6761 | 'wikilog-log-pagename' => 'వికీలాగ్ చర్యల చిట్టా', |
6812 | 6762 | 'wikilog-log-pagetext' => 'ఇది వికీలాగ్ చర్యల యొక్క జాబితా.', |
6813 | 6763 | 'wikilog-log-cmt-approve' => '"[[$1]]" వ్యాఖ్యని అనుమతించారు', |
— | — | @@ -6888,7 +6838,6 @@ |
6889 | 6839 | $messages['tk'] = array( |
6890 | 6840 | 'wikilog-auto' => 'Wikilog Awto', |
6891 | 6841 | 'wikilog-specialwikilog-title' => 'Wikiloglar', |
6892 | | - 'wikilog-specialwikilog' => 'Wikilog', |
6893 | 6842 | 'wikilog-tab' => 'Wikilog', |
6894 | 6843 | 'wikilog-tab-title' => 'Wikilog hereketleri', |
6895 | 6844 | 'wikilog-new-item-go' => 'Döret', |
— | — | @@ -6949,7 +6898,6 @@ |
6950 | 6899 | 'right-wl-postcomment' => 'Magpaskil ng mga puna sa mga artikulo ng wiki-tala', |
6951 | 6900 | 'right-wl-moderation' => 'Pangangasiwa ng mga puna sa artikulo ng wiki-tala', |
6952 | 6901 | 'wikilog-specialwikilog-title' => 'Mga wiki-tala', |
6953 | | - 'wikilog-specialwikilog' => 'Wiki-tala', |
6954 | 6902 | 'wikilog-log-pagename' => 'Tala ng mga galaw sa Wiki-tala', |
6955 | 6903 | 'wikilog-log-pagetext' => 'Nasa ibaba ang isang talaan ng mga galaw sa wiki-tala.', |
6956 | 6904 | 'wikilog-log-cmt-approve' => 'pinayagang puna "[[$1]]"', |
— | — | @@ -7089,7 +7037,6 @@ |
7090 | 7038 | 'right-wl-postcomment' => 'Vikikayıt maddelerine yorum gönderir', |
7091 | 7039 | 'right-wl-moderation' => 'Vikikayıt madde yorumlarının moderasyonu', |
7092 | 7040 | 'wikilog-specialwikilog-title' => 'Vikiloglar', |
7093 | | - 'wikilog-specialwikilog' => 'Vikilog', |
7094 | 7041 | 'wikilog-log-pagename' => 'Vikikayıt işlem günlüğü', |
7095 | 7042 | 'wikilog-log-pagetext' => 'Aşağıda vikilog hareketlerinin bir listesini bulabilirsiniz.', |
7096 | 7043 | 'wikilog-log-cmt-approve' => 'onaylanan yorum "[[$1]]"', |
— | — | @@ -7222,7 +7169,6 @@ |
7223 | 7170 | 'wikilog-help' => '{{ns:Help}}:Вікілоґ', |
7224 | 7171 | 'right-wl-postcomment' => 'залишати коментарі до сторінок вікілогу', |
7225 | 7172 | 'wikilog-specialwikilog-title' => 'Викилоги', |
7226 | | - 'wikilog-specialwikilog' => 'Вікілоґ', |
7227 | 7173 | 'wikilog-log-cmt-approve' => 'затвердив коментар «[[$1]]»', |
7228 | 7174 | 'wikilog-log-cmt-reject' => 'відхилив коментар «[[$1]]»', |
7229 | 7175 | 'wikilog-tab' => 'Вікілоґ', |
— | — | @@ -7355,7 +7301,6 @@ |
7356 | 7302 | */ |
7357 | 7303 | $messages['yi'] = array( |
7358 | 7304 | 'wikilog-specialwikilog-title' => 'וויקילאגן', |
7359 | | - 'wikilog-specialwikilog' => 'וויקילאג', |
7360 | 7305 | 'wikilog-tab' => 'וויקילאג', |
7361 | 7306 | 'wikilog-new-item-go' => 'שאַפֿן', |
7362 | 7307 | 'wikilog-item-name' => 'ארטיקל נאָמען:', |
Index: trunk/extensions/Wikilog/WikilogItem.php |
— | — | @@ -220,33 +220,6 @@ |
221 | 221 | } |
222 | 222 | |
223 | 223 | /** |
224 | | - * Returns an array with all published comments. |
225 | | - * @deprecated Doesn't scale well, use query and pager objects instead. |
226 | | - */ |
227 | | - public function getComments( $thread = null ) { |
228 | | - wfDeprecated( __METHOD__ ); |
229 | | - $dbr = wfGetDB( DB_SLAVE ); |
230 | | - |
231 | | - if ( $thread ) { |
232 | | - $result = WikilogComment::fetchAllFromItemThread( $dbr, $this->mID, $thread ); |
233 | | - } else { |
234 | | - $result = WikilogComment::fetchAllFromItem( $dbr, $this->mID ); |
235 | | - } |
236 | | - |
237 | | - $comments = array(); |
238 | | - foreach ( $result as $row ) { |
239 | | - $comment = WikilogComment::newFromRow( $this, $row ); |
240 | | - if ( $comment->mCommentRev ) { |
241 | | - $rev = Revision::newFromId( $row->mCommentRev ); |
242 | | - $comment->setText( $rev->getText() ); |
243 | | - } |
244 | | - $comments[] = $comment; |
245 | | - } |
246 | | - $result->free(); |
247 | | - return $comments; |
248 | | - } |
249 | | - |
250 | | - /** |
251 | 224 | * Creates a new wikilog article object from a database row. |
252 | 225 | * @param $row Row from database. |
253 | 226 | * @return New WikilogItem object. |
Index: trunk/extensions/Wikilog/WikilogUtils.php |
— | — | @@ -190,10 +190,6 @@ |
191 | 191 | * with links to their user and user-talk pages, according to the |
192 | 192 | * 'wikilog-author-signature' system message. |
193 | 193 | * |
194 | | - * @pre wfLoadExtensionMessages( 'Wikilog' ) must have been called. It |
195 | | - * is not called here since this function can potentially be called |
196 | | - * lots of times in a single page load. |
197 | | - * |
198 | 194 | * @param $list Array of authors. |
199 | 195 | * @return Wikitext-formatted textual list of authors. |
200 | 196 | */ |
— | — | @@ -217,10 +213,6 @@ |
218 | 214 | * Uses the 'wikilog-author-signature' system message, in order to provide |
219 | 215 | * user and user-talk links. |
220 | 216 | * |
221 | | - * @pre wfLoadExtensionMessages( 'Wikilog' ) must have been called. It |
222 | | - * is not called here since this function can potentially be called |
223 | | - * lots of times in a single page load. |
224 | | - * |
225 | 217 | * @param $author String, author name. |
226 | 218 | * @return Wikitext-formatted author signature. |
227 | 219 | */ |
— | — | @@ -492,10 +484,7 @@ |
493 | 485 | $html = "{$pagingLinks['first']} {$pagingLinks['prev']} {$ellipsis} {$pagingLinks['next']} {$pagingLinks['last']}"; |
494 | 486 | $html = WikilogUtils::wrapDiv( 'wl-pagination', $html ); |
495 | 487 | |
496 | | - # NOTE (Mw1.15- COMPAT): Language::getDir() introduced in Mw1.16. |
497 | | - # Use Language::isRTL() as a fallback. |
498 | | - $dir = method_exists( $wgLang, 'getDir' ) ? $wgLang->getDir() : |
499 | | - ( $wgLang->isRTL() ? 'rtl' : 'ltr' ); |
| 488 | + $dir = $wgLang->getDir(); |
500 | 489 | |
501 | 490 | return Xml::tags( 'div', |
502 | 491 | array( |