User:AnomieBOT/source/tasks/TalkTemplateMover.pm: Difference between revisions

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: General: * Remove constructs that became "experimental" in Perl 5.18. * Add the possibility for the command "file" to be in redis/memcache. * Add utilities to send and list these commands. * Put job status data in redis/memc...
AnomieBOT (talk | contribs)
Updating published sources: AnomieBOT::API::Cache::Redis: * Catch errors from Redis. AnomieBOT/API/Cache/test.pl: * Set $Data::Dumper::Sortkeys so comparisons are sane.
Line 236:
 
$wikitext=_unstrip_templates($wikitext,$data);
my $tagtmp ="\x02".sha256_base64( $wikitext)."\x03";
utf8::encode( $tmp ) if utf8::is_utf8( $tmp );
my $tag="\x02".sha256_base64($tmp)."\x03";
$tag=~tr!+/=!-_!d;
$data->{$tag}=$wikitext;