dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[FileBackend] Give warnings when metadata is missing from swift.
[lhc/web/wiklou.git]
/
includes
/
CategoryViewer.php
diff --git
a/includes/CategoryViewer.php
b/includes/CategoryViewer.php
index
5f4aaea
..
3d66b74
100644
(file)
--- a/
includes/CategoryViewer.php
+++ b/
includes/CategoryViewer.php
@@
-504,11
+504,11
@@
class CategoryViewer extends ContextSource {
# Split into three columns
$columns = array_chunk( $columns, ceil( count( $columns ) / 3 ), true /* preserve keys */ );
# Split into three columns
$columns = array_chunk( $columns, ceil( count( $columns ) / 3 ), true /* preserve keys */ );
- $ret = '<table
width="100%
"><tr style="vertical-align: top;">';
+ $ret = '<table
style="width: 100%;
"><tr style="vertical-align: top;">';
$prevchar = null;
foreach ( $columns as $column ) {
$prevchar = null;
foreach ( $columns as $column ) {
- $ret .= '<td
width="33.3%
">';
+ $ret .= '<td
style="width: 33.3%;
">';
$colContents = array();
# Kind of like array_flip() here, but we keep duplicates in an
$colContents = array();
# Kind of like array_flip() here, but we keep duplicates in an
@@
-613,6
+613,7
@@
class CategoryViewer extends ContextSource {
*
* @param Title $title: The title (usually $this->title)
* @param String $section: Which section
*
* @param Title $title: The title (usually $this->title)
* @param String $section: Which section
+ * @throws MWException
* @return Title
*/
private function addFragmentToTitle( $title, $section ) {
* @return Title
*/
private function addFragmentToTitle( $title, $section ) {