![]() ![]() One of the following values: json, jsonfm, none, php, phpfm, rawfm, xml, xmlfm Default: jsonfm maxlag xmlfm Output data in XML format (pretty-print in HTML). rawfm Output data, including debugging elements, in JSON format (pretty-print in HTML). phpfm Output data in serialized PHP format (pretty-print in HTML). php Output data in serialized PHP format. jsonfm Output data in JSON format (pretty-print in HTML). One of the following values: block, changeauthenticationdata, checktoken, clearhasmsg, clientlogin, compare, createaccount, cspreport, delete, edit, emailuser, expandtemplates, feedcontributions, feedrecentchanges, feedwatchlist, filerevert, help, imagerotate, import, linkaccount, login, logout, managetags, mergehistory, move, opensearch, options, paraminfo, parse, patrol, productdetails, protect, purge, query, removeauthenticationdata, resetpassword, revisiondelete, rollback, rsd, setnotificationtimestamp, setpagelanguage, stashedit, tag, unblock, undelete, unlinkaccount, upload, userrights, userutility, validatepassword, watch, tokens Default: help format watch Add or remove pages from the current user's watchlist. userutility ⧼apihelp-userutility-summary⧽ validatepassword Validate a password against the wiki's password policies. userrights Change a user's group membership. upload Upload a file, or get the status of pending uploads. unlinkaccount Remove a linked third-party account from the current user. undelete Restore revisions of a deleted page. tag Add or remove change tags from individual revisions or log entries. stashedit Prepare an edit in shared cache. setpagelanguage Change the language of a page. setnotificationtimestamp Update the notification timestamp for watched pages. rsd Export an RSD (Really Simple Discovery) schema. revisiondelete Delete and undelete revisions. resetpassword Send a password reset email to a user. removeauthenticationdata Remove authentication data for the current user. query Fetch data from and about MediaWiki. purge Purge the cache for the given titles. productdetails ⧼apihelp-productdetails-summary⧽ protect Change the protection level of a page. parse Parses content and returns parser output. paraminfo Obtain information about API modules. options Change preferences of the current user. opensearch Search the wiki using the OpenSearch protocol. managetags Perform management tasks relating to change tags. login Log in and get authentication cookies. linkaccount Link an account from a third-party provider to the current user. import Import a page from another wiki, or from an XML file. help Display help for the specified modules. filerevert Revert a file to an old version. feedrecentchanges Returns a recent changes feed. feedcontributions Returns a user contributions feed. expandtemplates Expands all templates within wikitext. This module should never be used, except when used automatically by a CSP compliant web browser. cspreport Used by browsers to report violations of the Content Security Policy. compare Get the difference between two pages. ![]() clientlogin Log in to the wiki using the interactive flow. clearhasmsg Clears the hasmsg flag for the current user. checktoken Check the validity of a token from action=query&meta=tokens. changeauthenticationdata Change authentication data for the current user. I then started to investigate at the receiving side to eventually find the offending email filtering rule.Block Block a user. Then comparing the two captures showed that both emails were correctly sent. I have done two captures: one for my test mail script and one with a mail sent by MediaWiki using Special:EmailUser page. The I can open mail.pcap using WireShark. ens33 is the name of the ethernet interface used for sending the mail.To capture packets, I used to command line: tcpdump -i ens33 -s 65535 -w mail.pcap port 25 I was able to confirm MediaWiki correctly send the email by using TcpDump to capture network traffic on port 25 and look at the capture packets using WireShark. That filter catch emails sent by MediaWiki but not email sent by my simple PHP test script. It was in an email filter located on the receiving side. ![]()
0 Comments
Leave a Reply. |