Wikipedia:Who to attribute in-text

If attributing a source in-text, what information about the source to mention depends on what the source is, due to how much responsibility different parties tend to have over the content:

This essay is only about the in-text attribution, e.g. "according to ..." Always include all known information in the full citation.

For all sources, do not attribute content providers (e.g. JSTOR, ProQuest, EBSCOhost, National Library of Medicine, etc.) for content they host; only attribute them for metadata and annotations they add.

Serials
"According to an article by of published in " (omitting unknown components) is always okay, but the best way to attribute depends on the type of source:

News (online or print)

 * If the source specifically states that it is written by or represents the viewpoint of the newspaper:
 * If both an author and a news agency (e.g. AP, Reuters, etc.) are specified, say "according to based on reporting by of ".
 * If only an author is specified, say "according to of ".
 * If only a news agency is specified, say "according to based on reporting by ".
 * If neither are specified, say "according to ".
 * Otherwise, if the source being cited is a comment, an opinion, an obituary, or an advertisement:
 * If both an author and a news agency or an organization are specified, say "according to of ".
 * If only an author is specified, say "according to ".
 * If only a news agency or an organization is specified (this should be assumed for advertisements), say "according to ".
 * If neither are specified, say "according to a(n) in ".
 * Otherwise:
 * If both an author and a news agency or organization are specified, say "according to of ".
 * If only an author is specified, say "according to of ".
 * If only a news agency or an organization is specified, say "according to ".
 * If neither are specified, say "according to ".

Academic journals

 * If authors are specified, say "according to ".
 * If it is an anonymous article, say 'according to " " '.
 * Only if it is an editorial note, say "according to ".

Magazines

 * If the source is written by magazine staff, treat it as news.
 * If the source is written by an external contributor, treat it as an academic journal.

Books

 * "According to the book   by, published by ," is okay but not ideal.
 * If an author is specified, "according to ", or perhaps "according to   by ", is best.
 * If the work is pseudonymous but the real author is publicly known, "according to writing as " or "according to   by writing as " is best.
 * If the work is anonymous, "according to  " is best.
 * Unless the publisher specifically commissioned and is in full control of the book, do not say "according to ".