[Bug 66615] deleteOldRevisions.php delete content date

2014-07-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=66615

--- Comment #7 from sen slb...@me.com ---
(In reply to Jesús Martínez Novo (Ciencia Al Poder) from comment #6)
 JavaScript error console has nothing to do here IMHO
 
 When you move a page, it creates a new revision, but it doesn't create a new
 row in the text table, so you end having 2 revisions with the same text
 identifier.
 
 If deleteOldRevisions.php isn't smart enough to take this into
 consideration, it may end up deleting the contents of the text table just
 because it's being referenced by one old revision, without checking first
 if it's also being used by a current revision.

yes!you are correct,i believe that's why,that's a big problem,if some not
backup but run this script,the clean page never have chance get back.

i wonder why no one report this question,i think it had been a while.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 66615] deleteOldRevisions.php delete content date

2014-07-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=66615

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Lowest

--- Comment #5 from Andre Klapper aklap...@wikimedia.org ---
I'd be interested to know where rm2d_ki101 comes from.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 66615] deleteOldRevisions.php delete content date

2014-07-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=66615

Jesús Martínez Novo (Ciencia Al Poder) martinezn...@gmail.com changed:

   What|Removed |Added

 CC||martinezn...@gmail.com

--- Comment #6 from Jesús Martínez Novo (Ciencia Al Poder) 
martinezn...@gmail.com ---
JavaScript error console has nothing to do here IMHO

When you move a page, it creates a new revision, but it doesn't create a new
row in the text table, so you end having 2 revisions with the same text
identifier.

If deleteOldRevisions.php isn't smart enough to take this into consideration,
it may end up deleting the contents of the text table just because it's being
referenced by one old revision, without checking first if it's also being
used by a current revision.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 66615] deleteOldRevisions.php delete content date

2014-06-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=66615

--- Comment #4 from sen slb...@me.com ---
Hmm,I use the counter the   server and disqus.

I believe the problem is cause by the last log is move,I found there are 345
blank pages

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 66615] deleteOldRevisions.php delete content date

2014-06-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=66615

--- Comment #3 from Andre Klapper aklap...@wikimedia.org ---
Is there any pattern? 
Both examples above seem to be page moves / redirects?

On a probably very unrelated note, Firefox browser console lists several errors
on the link given in comment 2, for example
* ReferenceError: rm2d_ki101 is not defined (whatever that weird stuff is)
* SecurityError: The operation is insecure in MediaWiki:Gadget-ExtDiscus.js

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 66615] deleteOldRevisions.php delete content date

2014-06-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=66615

--- Comment #1 from sen slb...@me.com ---
but after doing that,i found lot of page become empty content,after dump all
the date,i can paster some info like:

titleYum 被锁定/title
ns0/ns
id121/id
revision
  id37328/id
  parentid21104/parentid
  timestamp2013-04-11T06:19:52Z/timestamp
  contributor
usernameSen/username
id1/id
  /contributor
  minor/
  commentSen move[[Yum被锁定]]to[[Yum 被锁定]]/comment
  text xml:space=preserve bytes=1283 /
  sha1fv944ixooe=/sha1
  modelwikitext/model
  formattext/x-wiki/format
/revision
  /page

  page
titleUbuntu 添加在此打开终端/title
ns0/ns
id238/id
revision
  id33477/id
  parentid33476/parentid
  timestamp2013-03-02T17:22:09Z/timestamp
  contributor
usernameSen/username
id1/id
  /contributor
  minor/
  commentSen移动[[添加在此打开终端]]页面至[[Ubuntu 添加在此打开终端]]/comment
  text xml:space=preserve bytes=1589 /
  sha1tozgbw2=/sha1
  modelwikitext/model
  formattext/x-wiki/format
/revision
  /page

there are bunch of this as you can seethe content become a empty
  text xml:space=preserve bytes=1283 /

and all of this are just the last log is a move info...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 66615] deleteOldRevisions.php delete content date

2014-06-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=66615

--- Comment #2 from sen slb...@me.com ---
you can see the page is blank on mysite
http://see.sl088.com/wiki/Yum_%E8%A2%AB%E9%94%81%E5%AE%9A

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l