@@ 97-106 (lines=10) @@ | ||
94 | 'Converting page title to first-letter uppercase', |
|
95 | false |
|
96 | ); |
|
97 | if ( $ok ) { |
|
98 | $this->progress( 1 ); |
|
99 | if ( $row->page_namespace == $this->namespace ) { |
|
100 | $talk = $target->getTalkPage(); |
|
101 | $row->page_namespace = $talk->getNamespace(); |
|
102 | if ( $talk->exists() ) { |
|
103 | return $this->processRowToUppercase( $row ); |
|
104 | } |
|
105 | } |
|
106 | } |
|
107 | ||
108 | return $this->progress( 0 ); |
|
109 | } |
|
@@ 133-142 (lines=10) @@ | ||
130 | } |
|
131 | ||
132 | $ok = $this->movePage( $current, $target, 'Converting page titles to lowercase', true ); |
|
133 | if ( $ok === true ) { |
|
134 | $this->progress( 1 ); |
|
135 | if ( $row->page_namespace == $this->namespace ) { |
|
136 | $talk = $target->getTalkPage(); |
|
137 | $row->page_namespace = $talk->getNamespace(); |
|
138 | if ( $talk->exists() ) { |
|
139 | return $this->processRowToLowercase( $row ); |
|
140 | } |
|
141 | } |
|
142 | } |
|
143 | ||
144 | return $this->progress( 0 ); |
|
145 | } |