मीडियाविकि:Gadget-morebits.js: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
Update to commit 821e34 |
Update to commit 602f04 |
||
लाइन 792:
RegExp.escape = function( text, space_fix ) {
text = $.escapeRE(text);
Line 1,572 ⟶ 1,571:
*
* getCreator(): returns the user who created the page following lookupCreator()
*
* getCurrentID(): returns a string containing the current revision ID of the page
*
* patrol(): marks the page as patrolled, if possible
Line 1,765 ⟶ 1,766:
this.setOldID = function(oldID) {
ctx.revertOldID = oldID;
};
this.getCurrentID = function() {
return ctx.revertCurID;
};
Line 2,221 ⟶ 2,226:
ctx.editToken = $(xml).find('page').attr('edittoken');
if (!ctx.editToken) {
ctx.statusElement.error("ए॰पी॰आई से संपादन टोकन लेने में असफल");
ctx.onLoadFailure(this);
Line 2,228 ⟶ 2,232:
}
ctx.loadTime = $(xml).find('page').attr('starttimestamp');
if (!ctx.loadTime) {
ctx.statusElement.error("ए॰पी॰आई से शुरुआत टाइमस्टैम्प लेने में असफल");
ctx.onLoadFailure(this);
Line 2,235 ⟶ 2,238:
}
ctx.lastEditTime = $(xml).find('page').attr('touched');
ctx.revertCurID = $(xml).find('page').attr('lastrevid');
if (ctx.editMode === 'revert') {
|