Page MenuHomePhabricator

Do not move stubs to below categories on Swedish Wikipedia
Open, MediumPublic

Description

An option to not move a stubtags. Just as the option to sort interwiki's. This is good due to that Swedish Wikipedia does not have any rules/guidlines on where to put them. I do not want any edit-war...(haha) @Josve05a 22:53, 25 November 2013 (UTC)

Event Timeline

Reguyla raised the priority of this task from to Needs Triage.
Reguyla updated the task description. (Show Details)
Reguyla added a project: AutoWikiBrowser.
Reguyla moved this task to Feature request (unsorted) on the AutoWikiBrowser board.

@Josve05a 15:10, 28 November 2013 (UTC) wrote:
Or a skip if...only moving stub-template?

@Magioladitis 17:42, 1 December 2013 (UTC) wrote:
@Josve05a we already have a feature for "skip if only minor fixes".

@Magioladitis 16:12, 2 July 2014 (UTC) wrote:
@Josve05a We do not move stub in Swedish wikipedia. Do we?

@Josve05a 17:50, 2 July 2014 (UTC) wrote:
(Checking...)

@Josve05a 18:05, 2 July 2014 (UTC) wrote:
@Magioladitis Yes it does. Run AWB on [[:sv:Ornis Svecica]] (with auto tag on). It tries to move {{Tidningsstub-Sverige}} to under the categories.

@Magioladitis 11:04, 24 July 2014 (UTC) wrote:
@Josve05a what do stubs in swedish wikipedia have in common? Maybe our logic needs update.

@Josve05a 13:18, 24 July 2014 (UTC) wrote:
@Magioladitis (per https://sv.wikipedia.org/wiki/Kategori:Alla stubbmallar which all stub templates are collected in), all stub-templates are either ending with just 'foo'''stub'''' or is called 'foo'''stub'''-foo'. (with some exceptions like https://sv.wikipedia.org/wiki/Mall:Substub which is '''NOT''' a stub-template.)

@Josve05a 15:32, 24 July 2014 (UTC) wrote:
And we also have these stub templates which does not follow this rule.

@Magioladitis 15:44, 24 July 2014 (UTC) wrote:
@Josve05a This is our regex

<source lang="csharp">
Stub = @"(?:[^{}]*?[Ss]tub|[^{}]+?stub(?:[ \-][^{}]+)?)(?<![Ss]tubbmall|[Ss]ubstub|[Ss]tubavsnitt|[Uu]ncategorized stub)";
</source>

And the rule is

<source lang="csharp">
articleText += personData + categories + strStub;
</source>

I ve been told in the past to follow this order.

Yes, since there are no guidelines/policies about placements, AWB should not move them.

@Josve05a swedish Wikipedia does not have Persondata. Right?

So if I simple remove

articleText += personData + categories + strStub;

It will be fine...

No, Swedish Wikipedia does not have Persondata, that's correct.

I do not know about coding, but if you beleieve that will do it, then I'm all for it :)

@Josve05 I need one page that has tub tag before categories and one article that has the tag after categories, so I can test my theory.

Moreover, what should be done if stub is between categories?

@Josve05 I need one page that has tub tag before categories and one article that has the tag after categories, so I can test my theory.

Moreover, what should be done if stub is between categories?

Try https://sv.wikipedia.org/wiki/Nancy_Kerrigan
Then it should be moved above the categories, (and defaultsort) with one black row between, like in the example above. But it should not move from above, to below categories.

Josve05a renamed this task from [Migrated] Do not move stubs to Do not move stubs to below categories on Swedish Wikipedia.Jul 31 2015, 10:06 PM
Josve05a set Security to None.
Josve05a triaged this task as Medium priority.Aug 23 2015, 1:09 PM