jenkins-bot has submitted this change and it was merged. ( 
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.
It is not possible to restore such old translations anyway.

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

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



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: merged
Gerrit-Change-Id: I9272a9bda265de5e3bbf3b3d03ac50ee322985df
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Santhosh <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to