CANBERRA, Australia—Google is striking deals in Australia to pay for journalism but Facebook is vowing to restrict news sharing as Australian lawmakers consider forcing digital giants into payment agreements. Rupert Murdoch’s News Corp. announced a wide-ranging deal with Google Wednesday. Major Australian media organization Seven West Media reached a deal earlier, its rival Nine Entertainment is reportedly close to its own pact and Australian Broadcasting Corp. is in negotiations. But Facebook said it “will restrict publishers and people in Australia from sharing or viewing Australian and international news content.” The dominant social network blamed Australia’s proposed law for its decision, and said the law “fundamentally misunderstands the relationship between our platform and publishers who use it.” Google is rushing to negotiate generous deals with big and small Australian media companies. News Corp. said it would receive “significant payments” from Google in the three-year agreement, which includes heavyweight news organizations throughout …