On Wikipedia: h1-headers are for the title, and not within the content, but on 
sv.Wikisource, we have a lot 
of pages who uses the h1-header in the content. Thebook-titles are not always 
the same as the titles of 
the pages.
 
For example are bibles titled "Bibeln (1917)", "Bibeln (Åkeson)", but the 
official
title is often something like "The Holy Bible, a translation of ..."
Then the latter is used in the content and the first in the title of the page.
 
/Ronnie
 

________________________________
 Från: Petr Onderka <[email protected]>
Till: MediaWiki API announcements & discussion 
<[email protected]> 
Skickat: måndag, 18 februari 2013 14:54
Ämne: Re: [Mediawiki-api] MediaWiki: Are H2 headers required in all pages?
  
Like I said, I maintain the "Dusty articles" report [1]
and I noticed before that articles there are often tiny.
So I looked at the current report and found that the first article there
fits what you asked for.

Another way would be to use the API to get a list of tiny pages
(smaller than 1kB of wikicode) [2].
First result on that list is
http://en.wikipedia.org/wiki/%22_%28disambiguation%29,
which also fits.

Petr Onderka
[[en:User:Svick]]

[1]: http://en.wikipedia.org/wiki/Wikipedia:Dusty_articles
[2]: 
http://en.wikipedia.org/w/api.php?action=query&list=allpages&apmaxsize=1000%20&apfilterredir=nonredirects

On Mon, Feb 18, 2013 at 12:13 PM, jacket <[email protected]> wrote:
> That's what I thought, just couldn't find an example. Mind if you share how
> you found that page?
>
> And thanks!
>
>
> On Mon, Feb 18, 2013 at 2:37 AM, Petr Onderka <[email protected]> wrote:
>>
>> You can't rely on the fact that each article will have at least one h2
>> heading.
>> For example, http://en.wikipedia.org/wiki/Path_quality_analysis [1]
>> currently doesn't.
>>
>> Petr Onderka
>> [[en:User:Svick]]
>>
>> [1]: Taken from my report on articles that weren't touched for many years,
>>  they are often tiny:
>> http://en.wikipedia.org/wiki/Wikipedia:Dusty_articles
>>
>> On Mon, Feb 18, 2013 at 11:20 AM, jacket <[email protected]> wrote:
>> > Dear MediaWiki-API,
>> >
>> > Not sure if this is the right place, but I can't seem to find the answer
>> > to
>> > this question. Do all MediaWiki pages require an h2 header:
>> >
>> >> ==Some_Header==
>> >
>> >
>> > In the wikitext? I'm aware that h1 headers are article titles, but there
>> > doesn't seem to be any information on whether or not all pages contain
>> > at
>> > least one h2 header.
>> >
>> > J
>> >
>> >
>> > _______________________________________________
>> > Mediawiki-api mailing list
>> > [email protected]
>> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>> >
>>
>> _______________________________________________
>> Mediawiki-api mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to