On Sun, Apr 28, 2019 at 8:02 PM Bryan Davis <[email protected]> wrote: > > On Sun, Apr 28, 2019 at 5:02 PM Huji Lee <[email protected]> wrote: > > > > Hi all, > > Is there an API call that would allow you to retrieve the edit notice for a > > page? > > I did not find a specific Action API that does this, but the edit > notices themselves are found at predictable URLs per > <https://www.mediawiki.org/wiki/Manual:Interface/Edit_notice>: > * MediaWiki:Editnotice-<N> (where N is the namespace id) > * MediaWiki:Editnotice-<N>-<Title> (where any '/' in the title is > replaced with '-') > > You could also find all editnotice messages for a wiki using a prefix > search generator:
<https://www.mediawiki.org/wiki/Special:ApiSandbox#action=query&format=json&prop=revisions&generator=prefixsearch&formatversion=2&rvprop=content&rvslots=main&gpssearch=Editnotice-&gpsnamespace=8&gpslimit=max> (sorry for the early post on the prior message) Bryan -- Bryan Davis Wikimedia Foundation <[email protected]> [[m:User:BDavis_(WMF)]] Manager, Technical Engagement Boise, ID USA irc: bd808 v:415.839.6885 x6855 _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
