Index: trunk/extensions/Collection/Collection.hooks.php |
— | — | @@ -194,13 +194,13 @@ |
195 | 195 | array( 'onclick' => "collectionCall('AddCategory', ['addcategory', wgTitle]); return false;", |
196 | 196 | 'rel' => 'nofollow', |
197 | 197 | 'title' => wfMsg( "coll-add_category_tooltip" ), ), |
198 | | - array( 'cattitle' => urldecode( $wgTitle->getPartialURL() ) ), |
| 198 | + array( 'cattitle' => $wgTitle->getText() ), |
199 | 199 | array( 'known', 'noclasses' ) |
200 | 200 | ) |
201 | 201 | ); |
202 | 202 | |
203 | 203 | } else if( $ajaxHint || in_array( $namespace, $wgCollectionArticleNamespaces ) ) { |
204 | | - $params = array( 'arttitle' => urldecode( $wgTitle->getPrefixedUrl() ) ); |
| 204 | + $params = array( 'arttitle' => $wgTitle->getPrefixedText() ); |
205 | 205 | if ( !is_null( $wgArticle ) ) { |
206 | 206 | $oldid = $wgArticle->getOldID(); |
207 | 207 | $params['oldid'] = $oldid; |