Page MenuHomePhabricator

Updating noreference.py with cawiki parameters
Closed, ResolvedPublic

Description

noreferences.py has parameters for a lot of wikipedias but it lacks parameters for cawiki, and it causes some tools to malfunction. I've coded the parameters at https://ca.wikipedia.org/wiki/Usuari:Pere_prlpz/noreferences.py and they need to be included in the program.

Since the code is quite short, I copy it here, too:

#placeBeforeSections

'ca': [
    u'Bibliografia',
    u'Bibliografia complementària',
    u'Vegeu també',
    u'Enllaços externs',
    u'Enllaços'
],

#referencesSections

'ca': [
    u'Referències'
],

#referencesTemplates

'ca': [u'Referències', u'Reflist', u'Listaref', u'Referència', 
       u'Referencies', u'Referències2',
       u'Amaga', u'Amaga ref', u'Amaga Ref', u'Amaga Ref2', u'Apèndix'],

Event Timeline

pere_prlpz raised the priority of this task from to Needs Triage.
pere_prlpz updated the task description. (Show Details)
pere_prlpz subscribed.
jayvdb subscribed.

@pere_prlpz , would you be able to submit this as a patch in Gerrit , as that provides author attribution and MIT licensing signoff. See https://www.mediawiki.org/wiki/Gerrit , or come on IRC # 'pywikibot' and there are a few people who hang out there and can guide you through the process.

I've been studying tutorials about installing Git and using Gerrit, but I see it as a stupidly big task just to submit a few data. Furthermore, author attribution and license don't mater because no creativity is involved - I've just collected some data - and therefore my code is not copyrightable. Just in case it were, I release it into the public domain.

Now, anybody with a Gerrit account can submit the change.

There is a simpler way: the Gerrit patch uploader ;-)

https://tools.wmflabs.org/gerrit-patch-uploader/

But, someone else can push the patch for you. No worries. How would you like to be attributed.. just "Pere_prlpz" ? It is better if we have an email address to attribute the changes to you, but it is optional.

Change 182438 had a related patch set uploaded (by Gerrit Patch Uploader):
Updating noreference.py with cawiki parameters

https://gerrit.wikimedia.org/r/182438

Patch-For-Review

Change 182438 merged by jenkins-bot:
Update noreferences.py with cawiki parameters

https://gerrit.wikimedia.org/r/182438

Mpaa claimed this task.
Mpaa removed a project: Patch-For-Review.
Mpaa set Security to None.