]> git.ipfire.org Git - thirdparty/git.git/blobdiff - contrib/mw-to-git/git-remote-mediawiki
Merge branch 'mm/mediawiki-file-attachments'
[thirdparty/git.git] / contrib / mw-to-git / git-remote-mediawiki
index 063a978a6ec450a96a08d57b8693e76cf1f17587..6b128e88e8aeb6502d82d47be61254382dc75208 100755 (executable)
@@ -23,9 +23,6 @@
 # - Git renames could be turned into MediaWiki renames (see TODO
 #   below)
 #
-# - login/password support requires the user to write the password
-#   cleartext in a file (see TODO below).
-#
 # - No way to import "one page, and all pages included in it"
 #
 # - Multiple remote MediaWikis have not been very well tested.
@@ -75,9 +72,7 @@ chomp($import_media);
 $import_media = ($import_media eq "true");
 
 my $wiki_login = run_git("config --get remote.". $remotename .".mwLogin");
-# TODO: ideally, this should be able to read from keyboard, but we're
-# inside a remote helper, so our stdin is connect to git, not to a
-# terminal.
+# Note: mwPassword is discourraged. Use the credential system instead.
 my $wiki_passwd = run_git("config --get remote.". $remotename .".mwPassword");
 my $wiki_domain = run_git("config --get remote.". $remotename .".mwDomain");
 chomp($wiki_login);