Last modified: 2008-11-11 21:53:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18292, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16292 - Empty pages after a move
Empty pages after a move
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://fr.wikisource.org/wiki/Special...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-09 15:02 UTC by Yann Forget
Modified: 2008-11-11 21:53 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Yann Forget 2008-11-09 15:02:56 UTC
http://fr.wikisource.org/wiki/Rapport_Brundtland

While the bot moves pages, it creates empty pages.
The list of moves is done with:

<code>
#!/bin/bash
page="Rapport_Brundtland"

for i in `seq 1 12`
do
        old="$page"_-_$i
        new="$page/Chapitre_$i"
        python movepages.py -from:$old -to:$new
done

for i in Avant-propos Introduction Annexe_1 Annexe_2 Encadrés Tableaux Citations
do
        old="$page"_-_$i
        new=$page/$i
        python movepages.py -from:$old -to:$new
done
</code>
Comment 2 Roan Kattouw 2008-11-09 22:05:00 UTC
This is not a bug in MediaWiki, it's a bug in the bot. Please contact the bot operator. If the buggy behavior is obtrusive, you could ask a sysop to block the bot.
Comment 3 Yann Forget 2008-11-10 00:11:14 UTC
The problem is that the default behaviour of Mediawiki has changed.
Why a redirect is not created by default?
Comment 4 Mike.lifeguard 2008-11-10 00:19:19 UTC
(In reply to comment #3)
> The problem is that the default behaviour of Mediawiki has changed.
> Why a redirect is not created by default?
> 

Should be created by default. So far as I know, that's the case. Regardless, it's a bug in your bot.
Comment 5 Yann Forget 2008-11-11 21:53:11 UTC
Corrected in the bot, see r1=41713&r2=41714">http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/specials/SpecialMovepage.php?view=diff&r1=41713&r2=41714

Thanks to Multichil.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links