|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Getting parsed pages without edit linksHello list,
I am currently developing a graphical browser for exploring and searching Wikipedia (or any MediaWiki based wiki for that matter). Now I am wondering if it is somehow possible to get the parsed content of an article without edit links at section headings (or whereever they might show up). I have searched the API documentation and found nothing so far. Regards, Simon Lehmann _______________________________________________ Mediawiki-api mailing list Mediawiki-api@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-api |
|
|
Re: Getting parsed pages without edit linksSimon Lehmann wrote:
> Hello list, > > I am currently developing a graphical browser for exploring and searching Wikipedia (or any MediaWiki based wiki for that matter). Now I am wondering if it is somehow possible to get the parsed content of an article without edit links at section headings (or whereever they might show up). > I have searched the API documentation and found nothing so far. > > Regards, > > Simon Lehmann No, but you could use .editsection {display: none } to hide it. _______________________________________________ Mediawiki-api mailing list Mediawiki-api@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-api |
|
|
Re: Getting parsed pages without edit linksPlatonides wrote:
> Simon Lehmann wrote: > > Hello list, > > > > I am currently developing a graphical browser for exploring and > searching Wikipedia (or any MediaWiki based wiki for that matter). Now I am > wondering if it is somehow possible to get the parsed content of an article > without edit links at section headings (or whereever they might show up). > > I have searched the API documentation and found nothing so far. > > > > Regards, > > > > Simon Lehmann > > No, but you could use .editsection {display: none } to hide it. > Ok, I have already thought that it might not be possible. But thanks anyway, for now I will do it as you have suggested. _______________________________________________ Mediawiki-api mailing list Mediawiki-api@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-api |
|
|
Re: Getting parsed pages without edit linksOn Wed, Jul 30, 2008 at 3:30 PM, Simon Lehmann <simon.lehmann@...> wrote:
> Hello list, > > I am currently developing a graphical browser for exploring and searching Wikipedia (or any MediaWiki based wiki for that matter). Now I am wondering if it is somehow possible to get the parsed content of an article without edit links at section headings (or whereever they might show up). > > I have searched the API documentation and found nothing so far. > > Regards, > > Simon Lehmann > > _______________________________________________ > Mediawiki-api mailing list > Mediawiki-api@... > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api > Try adding __NOEDITSECTION__ and transclusion: <http://en.wikipedia.org/w/api.php?action=parse&text=__NOEDITSECTION__%10{{:New%20York}}&title=New%20York> It may now work properly with stuff that uses <noinclude>/<includeonly>. Bryan _______________________________________________ Mediawiki-api mailing list Mediawiki-api@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-api |
|
|
Re: Getting parsed pages without edit linksOn Wed, Jul 30, 2008 at 20:46 +0200 Bryan Tong Minh wrote:
> On Wed, Jul 30, 2008 at 3:30 PM, Simon Lehmann <simon.lehmann@...> wrote: > > Hello list, > > > > I am currently developing a graphical browser for exploring and searching Wikipedia (or any MediaWiki based wiki for that matter). Now I am wondering if it is somehow possible to get the parsed content of an article without edit links at section headings (or whereever they might show up). > > > > I have searched the API documentation and found nothing so far. > > > > Regards, > > > > Simon Lehmann > > > > Try adding __NOEDITSECTION__ and transclusion: > > <http://en.wikipedia.org/w/api.php?action=parse&text=__NOEDITSECTION__%10{{:New%20York}}&title=New%20York> > > It may now work properly with stuff that uses <noinclude>/<includeonly>. > > Bryan > work properly with <noinclude> or <includeonly>. I will play a bit around with it and see how good it works. Simon _______________________________________________ Mediawiki-api mailing list Mediawiki-api@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-api |
|
|
Re: Getting parsed pages without edit linksOn Thu, Jul 31, 2008 at 10:51 PM, Simon Lehmann <simon.lehmann@...> wrote:
> On Wed, Jul 30, 2008 at 20:46 +0200 Bryan Tong Minh wrote: >> On Wed, Jul 30, 2008 at 3:30 PM, Simon Lehmann <simon.lehmann@...> wrote: >> > Hello list, >> > >> > I am currently developing a graphical browser for exploring and searching Wikipedia (or any MediaWiki based wiki for that matter). Now I am wondering if it is somehow possible to get the parsed content of an article without edit links at section headings (or whereever they might show up). >> > >> > I have searched the API documentation and found nothing so far. >> > >> > Regards, >> > >> > Simon Lehmann >> > >> >> Try adding __NOEDITSECTION__ and transclusion: >> >> <http://en.wikipedia.org/w/api.php?action=parse&text=__NOEDITSECTION__%10{{:New%20York}}&title=New%20York> >> >> It may now work properly with stuff that uses <noinclude>/<includeonly>. >> >> Bryan >> > > Thanks, that looks quite promising. I guess you meant that it may _not_ > work properly with <noinclude> or <includeonly>. I will play a bit > around with it and see how good it works. > > Simon > > _______________________________________________ > Mediawiki-api mailing list > Mediawiki-api@... > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api > > yes, "now" should have been "not" _______________________________________________ Mediawiki-api mailing list Mediawiki-api@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-api |
| Free Forum Powered by Nabble | Forum Help |