Page MenuHomeDevCentral

Adding Numerama
ClosedPublic

Authored by Thibaut120094 on Jan 5 2017, 19:04.
Tags
None
Referenced Files
F2840560: D801.id2033.diff
Mon, Apr 22, 20:41
F2840323: D801.id2027.diff
Mon, Apr 22, 19:58
Unknown Object (File)
Sun, Apr 21, 17:53
Unknown Object (File)
Sun, Apr 21, 09:56
Unknown Object (File)
Fri, Apr 19, 18:37
Unknown Object (File)
Fri, Apr 19, 09:12
Unknown Object (File)
Fri, Apr 19, 01:24
Unknown Object (File)
Fri, Apr 19, 00:57
Subscribers
None

Diff Detail

Repository
rSTG Source templates generator
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
feature/AnalyzeNumerama
Build Status
Buildable 1227
Build 1475: arc lint + arc unit

Event Timeline

Woops, arc didn't include the php file, retrying... Sorry.

dereckson edited edge metadata.

Rebased against e6a0661

dereckson requested changes to this revision.Jan 5 2017, 21:13

Currently live on https://tools51.nasqueron.org/wikimedia/write/sourcetemplatesgenerator/ ­— works well:

{{Lien web
 | auteur = Julien Cadot
 | titre = Ce n'est pas une blague : Microsoft vient de rejoindre la Linux Foundation - Tech - Numerama
 | jour = 16
 | mois = novembre
 | année = 2016
 | url = http://www.numerama.com/tech/209271-microsoft-vient-de-rejoindre-la-linux-foundation.html
 | site = [[Numerama]]
 | consulté le = 5 janvier 2017
}}
pages/numerama.php
6 ↗(On Diff #2027)

Works without through curl too, Numerama doesn't protect the site against automated clients, so this trait isn't needed.

21 ↗(On Diff #2027)

We can directly use $this->meta_tags['author']: case is sensible and right.

The name_case function allows to rewrite names in caps in a more traditional case.

This revision now requires changes to proceed.Jan 5 2017, 21:13
Thibaut120094 edited edge metadata.
  • Minor changes after Dereckson's comments (thank you!)
This revision is now accepted and ready to land.Jan 6 2017, 03:29
pages/numerama.php
19 ↗(On Diff #2031)

$this->author

This revision was automatically updated to reflect the committed changes.