Index: trunk/extensions/Collection/Collection.i18n.php |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | 'coll-mwserve_failed_msg' => 'An error occured on the render server: <nowiki>$1</nowiki>', |
76 | 76 | 'coll-error_reponse' => 'Error response from server', |
77 | 77 | 'coll-empty_collection' => 'Empty collection', |
78 | | - 'coll-revision' => 'Revision: %PARAM%', |
| 78 | + 'coll-revision' => 'Revision: $1', |
79 | 79 | 'coll-save_collection_title' => 'Save and share your collection', |
80 | 80 | 'coll-save_collection_text' => 'Choose a location:', |
81 | 81 | 'coll-login_to_save' => 'If you want to save collections for later use, please [[Special:UserLogin|log in or create an account]].', |
Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -1119,7 +1119,7 @@ |
1120 | 1120 | $params ) ); |
1121 | 1121 | $out .= <<<EOS |
1122 | 1122 | <li> |
1123 | | - <a href="$href" onclick="collectionCall('AddArticle', [wgNamespaceNumber, wgTitle, 0]); return false;" rel="nofollow">$addArticle</a> |
| 1123 | + <a href="$href" onclick="collectionCall('AddArticle', [wgNamespaceNumber, wgTitle, $oldid]); return false;" rel="nofollow">$addArticle</a> |
1124 | 1124 | </li> |
1125 | 1125 | EOS |
1126 | 1126 | ; |
— | — | @@ -1130,7 +1130,7 @@ |
1131 | 1131 | $params ) ); |
1132 | 1132 | $out .= <<<EOS |
1133 | 1133 | <li> |
1134 | | - <a href="$href" onclick="collectionCall('RemoveArticle', [wgNamespaceNumber, wgTitle, 0]); return false;" rel="nofollow">$removeArticle</a> |
| 1134 | + <a href="$href" onclick="collectionCall('RemoveArticle', [wgNamespaceNumber, wgTitle, $oldid]); return false;" rel="nofollow">$removeArticle</a> |
1135 | 1135 | </li> |
1136 | 1136 | EOS |
1137 | 1137 | ; |