[Rt-commit] rt branch, 4.0/update-wiki, updated. rt-4.0.4-205-g5b7cdf3

Thomas Sibley trs at bestpractical.com
Tue Jan 17 12:04:36 EST 2012


The branch, 4.0/update-wiki has been updated
       via  5b7cdf3288de82e07698e67f2cac78d5c8020f74 (commit)
       via  4b5547b10663f7da98a7f807b5f2f7861c61e827 (commit)
      from  ef54252c7e5ed37f5da97041ef113beb44771b81 (commit)

Summary of changes:
 devel/tools/rt-update-wiki |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

- Log -----------------------------------------------------------------
commit 4b5547b10663f7da98a7f807b5f2f7861c61e827
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Jan 17 12:01:16 2012 -0500

    Don't hardcode a banner; we can do that with mediawiki templates later if we need to

diff --git a/devel/tools/rt-update-wiki b/devel/tools/rt-update-wiki
index c2f3e24..7f5b062 100755
--- a/devel/tools/rt-update-wiki
+++ b/devel/tools/rt-update-wiki
@@ -104,14 +104,6 @@ $mw->login(
     }
 ) or die $mw->{error}->{code} . ': ' . $mw->{error}->{details};
 
-my $banner = <<EOF;
-<div style="color:#a00; text-align:center; margin: 10px;">
-This page is extracted from RT's code base and will be updated automatically,
-please don't edit/move it.
-</div>
-
-EOF
-
 my @files = 'README';
 use File::Find;
 find(
@@ -143,7 +135,7 @@ sub update_file {
         push @categories, 'Customizing';
     }
 
-    my $content = $banner;
+    my $content = "";
     my $raw;
 
     if ( $file =~ /\.pod$/ ) {

commit 5b7cdf3288de82e07698e67f2cac78d5c8020f74
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Jan 17 12:03:10 2012 -0500

    Use "Official Doc" instead of "Core Document" and add "Auto-updated" category

diff --git a/devel/tools/rt-update-wiki b/devel/tools/rt-update-wiki
index 7f5b062..d701679 100755
--- a/devel/tools/rt-update-wiki
+++ b/devel/tools/rt-update-wiki
@@ -124,7 +124,7 @@ sub update_file {
     my $title = basename($file);
     $title =~ s!\.pod$!!;
 
-    my @categories = 'Core Document';
+    my @categories = ('Official Doc', 'Auto-updated');
     if ( $file =~ m{docs/UPGRADING} ) {
         push @categories, 'Upgrading';
     }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list