Index: trunk/extensions/uniwiki/GenericEditPage/GenericEditPage.php |
— | — | @@ -614,7 +614,7 @@ |
615 | 615 | $out->addHTML ( "<div class='locked-text' id='locked-text-$i'>" . $text . "</div>" ); |
616 | 616 | } else { |
617 | 617 | // add the editable text for this section |
618 | | - $text = (empty($result[$i]['text'])) ? "" : $result[$i]['text']; |
| 618 | + $text = (empty($result[$i]['text'])) ? "" : $result[$i]['text']; |
619 | 619 | $text = htmlspecialchars ($text , ENT_QUOTES ); |
620 | 620 | $out->addHTML ( "<textarea name='section-$i' class='editor'>$text</textarea>" ); |
621 | 621 | } |
Index: trunk/extensions/uniwiki/FormatChanges/FormatChanges.body.php |
— | — | @@ -5,9 +5,9 @@ |
6 | 6 | return false; |
7 | 7 | } |
8 | 8 | } |
9 | | - |
| 9 | + |
10 | 10 | class UniwikiChangesList extends ChangesList { |
11 | | - |
| 11 | + |
12 | 12 | public function recentChangesLine( &$rc, $watched = false ) { |
13 | 13 | global $wgLang; |
14 | 14 | |
Index: trunk/extensions/uniwiki/AutoCreateCategoryPages/AutoCreateCategoryPages.body.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <?php |
3 | | - |
| 3 | + |
4 | 4 | class UniwikiAutoCreateCategoryPages { |
5 | 5 | public function UW_AutoCreateCategoryPages_Save ( &$article, &$user, &$text, &$summary, &$minoredit, &$watchthis, &$sectionanchor, &$flags, $revision ) { |
6 | 6 | global $wgDBprefix; |
— | — | @@ -20,10 +20,10 @@ |
21 | 21 | $on_page = array(); |
22 | 22 | foreach ( $matches[1] as $cat ) |
23 | 23 | $on_page[] = Title::newFromText ( $cat )->getDBkey(); |
24 | | - |
| 24 | + |
25 | 25 | $regex = "/\[\[category:(.+?)(?:\|.*)?\]\]/i"; |
26 | 26 | preg_match_all ( $regex, $text, $matches ); |
27 | | - |
| 27 | + |
28 | 28 | foreach ( $matches[1] as $cat ) |
29 | 29 | $on_page[] = Title::newFromText ( $cat )->getDBkey(); |
30 | 30 | |