Santhosh has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/361434 )

Change subject: Remove data-seqid attributes from block nodes
......................................................................

Remove data-seqid attributes from block nodes

This was very old feature and kept to support old saved translations.
Removing now since this was added on 2015 June 24 - 2 years ago.
Such old translations will anyway wont be restorable.

Change-Id: I9272a9bda265de5e3bbf3b3d03ac50ee322985df
---
M lineardoc/Doc.js
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/cxserver 
refs/changes/34/361434/1

diff --git a/lineardoc/Doc.js b/lineardoc/Doc.js
index a37e892..a5d1661 100644
--- a/lineardoc/Doc.js
+++ b/lineardoc/Doc.js
@@ -92,8 +92,6 @@
                if ( this.items[ i ].type === 'open' ) {
                        tag = Utils.cloneOpenTag( item.item );
                        if ( tag.attributes.id ) {
-                               // Kept for restoring the old articles.
-                               tag.attributes[ 'data-seqid' ] = getNextId( 
'block' );
                                // If the item is a header, we make it a fixed 
length id using hash of the text content.
                                // Header ids are originally the header text to 
get the URL fragments working, but for
                                // CX, it is irrelevant and we need a fixed 
length id that can be used as DB key.

-- 
To view, visit https://gerrit.wikimedia.org/r/361434
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9272a9bda265de5e3bbf3b3d03ac50ee322985df
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to