Index: trunk/extensions/WikiBhasha/src/js/core/paneManagement.js |
— | — | @@ -185,6 +185,10 @@ |
186 | 186 | // get the text from the wikipedia edit text area. |
187 | 187 | var composedContent = new String(wbPublishDisplayPane.getWikiTextareaElement().val()); |
188 | 188 | |
| 189 | + /* |
| 190 | + # the below code is to add an HTMl comment to the Wikipedia article edit box. |
| 191 | + # the HTML comment is used to track the usage of the tool and this will be replaced with a better implementation soon. |
| 192 | + |
189 | 193 | // get the version number which says number of times this document was edited using wikiBhasha |
190 | 194 | if (wbGlobalSettings.wbEditRevisionCount === null) { |
191 | 195 | // getEditVersion returns the version number if exists, otherwise it returns null |
— | — | @@ -204,6 +208,7 @@ |
205 | 209 | snippet = "<!-- WikiBhasha v=" + (wbGlobalSettings.wbEditRevisionCount + 1) + " time=" + wbUIHelper.getTimeStamp() + "-->"; |
206 | 210 | composedContent = composedContent.replace(regEx, snippet); |
207 | 211 | } |
| 212 | + */ |
208 | 213 | |
209 | 214 | // call the method to check and insert the interwiki link |
210 | 215 | composedContent = wbPublishDisplayPane.insertInterWikiLink(composedContent); |