Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -136,19 +136,13 @@ |
137 | 137 | private function getTitlePattern( $pattern ) { |
138 | 138 | return Xml::checkLabel( wfMsg( 'log-title-wildcard' ), 'pattern', 'pattern', $pattern ); |
139 | 139 | } |
140 | | - |
141 | | - |
142 | | - protected function getWrapperElement() { |
143 | | - global $wgDateGroupedLogs; |
144 | | - return $wgDateGroupedLogs ? 'div' : 'ul'; |
145 | | - } |
146 | 140 | |
147 | 141 | public function beginLogEventsList() { |
148 | | - return Xml::openElement( $this->getWrapperElement() ) . "\n"; |
| 142 | + return "<ul>\n"; |
149 | 143 | } |
150 | 144 | |
151 | 145 | public function endLogEventsList() { |
152 | | - return Xml::closeElement( $this->getWrapperElement() ) . "\n"; |
| 146 | + return "</ul>\n"; |
153 | 147 | } |
154 | 148 | |
155 | 149 | /** |
— | — | @@ -260,24 +254,8 @@ |
261 | 255 | } else { |
262 | 256 | $action = LogPage::actionText( $row->log_type, $row->log_action, $title, $this->skin, $paramArray, true ); |
263 | 257 | } |
264 | | - |
265 | | - global $wgDateGroupedLogs; |
266 | | - if ( $wgDateGroupedLogs ) { |
267 | | - $time = $wgLang->time( wfTimestamp(TS_MW, $row->log_timestamp), true ); |
268 | | - $date = $wgLang->date( wfTimestamp(TS_MW, $row->log_timestamp), true ); |
269 | | - $line = Xml::tags('div', array( 'class' => 'mw-log-entry' ), "$del$time $userLink $action $comment $revert" ); |
270 | | - |
271 | | - static $lastdate = false; |
272 | | - if ( $date !== $lastdate ) { |
273 | | - $lastdate = $date; |
274 | | - return Xml::element('h4', null, $date) . "\n" . $line; |
275 | | - } else { |
276 | | - return $line; |
277 | | - } |
278 | | - } else { |
279 | | - return Xml::tags('li', null, "$del$time $userLink $action $comment $revert" ); |
280 | | - } |
281 | | - |
| 258 | + |
| 259 | + return "<li>$del$time $userLink $action $comment $revert</li>\n"; |
282 | 260 | } |
283 | 261 | |
284 | 262 | /** |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -2499,11 +2499,6 @@ |
2500 | 2500 | ); |
2501 | 2501 | |
2502 | 2502 | /** |
2503 | | - * Group logs under date headings similar to enhanced recent changes. |
2504 | | - */ |
2505 | | -$wgDateGroupedLogs = true; |
2506 | | - |
2507 | | -/** |
2508 | 2503 | * Experimental preview feature to fetch rendered text |
2509 | 2504 | * over an XMLHttpRequest from JavaScript instead of |
2510 | 2505 | * forcing a submit and reload of the whole page. |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -28,7 +28,6 @@ |
29 | 29 | * Removed $wgAlternateMaster, use $wgLBFactoryConf |
30 | 30 | * (bug 13562) Misspelled option $wgUserNotifedOnAllChanges changed to |
31 | 31 | $wgUserNotifiedOnAllChanges |
32 | | -* $wgDateGroupedLogs can be set to false to restore old log formatting |
33 | 32 | |
34 | 33 | === New features in 1.13 === |
35 | 34 | |
— | — | @@ -64,7 +63,6 @@ |
65 | 64 | * (bug 13490) Show upload/file size limit on upload form |
66 | 65 | * Redesign of Special:Userrights |
67 | 66 | * Make rev_deleted log entries more intelligible. |
68 | | -* Logs are grouped under date headings similar to enhanced changes list |
69 | 67 | * (6943) Added PAGESINCATEGORY: magic word |
70 | 68 | * (13624) Fix regression with manual thumb= parameter on images |
71 | 69 | |