          with pytest.warns(UserWarning):
              nlp4 = spacy.load(d, disable=["ner"])
      assert nlp4.pipe_names == ["tagger"]
      assert nlp4.component_names == ["ner", "tagger"]
      assert nlp4.disabled == ["ner"]
      with make_tempdir() as d:
          nlp.to_disk(d)
          nlp5 = spacy.load(d, exclude=["tagger"])
      assert nlp5.pipe_names == ["ner"]
      assert nlp5.component_names == ["ner"]
 
</s> remove         with pytest.warns(UserWarning):
            nlp4 = spacy.load(d, disable=["ner"])
    assert nlp4.pipe_names == ["tagger"]
 </s> add         nlp4 = spacy.load(d, disable=["ner"])
    assert nlp4.pipe_names == [] </s> remove         # Expected to fail, as config and arguments conflict.
        with pytest.raises(ValueError):
            spacy.load(
                tmp_dir, enable=["tagger"], config={"nlp": {"disabled": ["senter"]}}
            )
 </s> add         # Expected to succeed, as config and arguments do not conflict.
        assert spacy.load(
            tmp_dir, enable=["tagger"], config={"nlp": {"disabled": ["senter"]}}
        ).disabled == ["senter", "sentencizer"] </s> remove                 enable=["tagger"],
                disable=[],
                config={"nlp": {"disabled": ["senter"]}},
 </s> add                 enable=["senter"],
                config={"nlp": {"disabled": ["senter", "tagger"]}}, </s> remove         # Expected to succeed with a warning, as disable=[] should override the config setting.
        with pytest.warns(UserWarning):
 </s> add         # Expected to fail due to conflict between enable and disabled.
        with pytest.raises(ValueError): </s> remove             fetch_pipes_status(disable, "disabled"),
            fetch_pipes_status(enable, "enabled"),
 </s> add             list({*disable, *config["nlp"].get("disabled", [])}),
            enable,
    assert nlp4.disabled == ["ner", "tagger"]
          with pytest.warns(UserWarning):
              nlp4 = spacy.load(d, disable=["ner"])
      assert nlp4.pipe_names == ["tagger"]
      assert nlp4.component_names == ["ner", "tagger"]
    assert nlp4.disabled == ["ner", "tagger"]
      with make_tempdir() as d:
          nlp.to_disk(d)
          nlp5 = spacy.load(d, exclude=["tagger"])
      assert nlp5.pipe_names == ["ner"]
      assert nlp5.component_names == ["ner"]
keep keep keep keep replace keep keep keep keep keep
 Revert disable/disabled merging behavior (#11745)

* Merge disable with disabled. Adjust warnings, errors and tests.

* Replace any() with set operation.

* Update spacy/tests/pipeline/test_pipe_methods.py

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>

* Update docs.

* Remve reference to config entry nlp.enabled from docs.

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> 
spacy/tests/serialize/test_serialize_pipeline.py