Template talk:Censorship-table

Latest comment: 3 years ago by TwistedRail in topic The "ONI" sections needs revision
WikiProject iconLaw Template‑class
WikiProject iconThis template is within the scope of WikiProject Law, an attempt at providing a comprehensive, standardised, pan-jurisdictional and up-to-date resource for the legal field and the subjects encompassed by it.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Needs an unsortable option edit

Needs an unsortable option for the last two columns. I tried but it broke the template. -- Alan Liefting (talk - contribs)

Removed internet lists column edit

Note that I have removed the internet lists column, per discussion on the talk page that this template is used for, Censorship by country. Please comment there with any concerns. Mamyles (talk) 19:25, 20 October 2014 (UTC)Reply

Dead link for reference edit

The link to Reporters Without Borders reference, entitled "Press Freedom Index 2013", is a dead link now. Dhtwiki (talk) 03:56, 22 May 2016 (UTC)Reply

The "ONI" sections needs revision edit

Issues with the sorting, although the template looks right:

|ONIDate=             mmm yyyy
|ONIPolitical=        { per | sub | sel | sus | ne | nd }
|ONISocial=           { per | sub | sel | sus | ne | nd }
|ONIConflictSecurity= { per | sub | sel | sus | ne | nd }
|ONITools=            { per | sub | sel | sus | ne | nd }

The issue is when you sort this table (below), it does not sort as

  1. per
  2. sub
  3. sel
  4. sus
  5. ne
  6. nd

instead is sorts as

  1. sub
  2. per
  3. sel
  4. sus
  5. ne
  6. nd

I'm not sure how to go about fixing this issue as it's not representing the data in an honest way, which can lead to misleading people into thinking that sub is on a higher value than per

(Note: the following table is not an accurate representation of the live table as I edited some values to further prove the point I'm trying to make)




Country


Region
FH
Free
press
report
[1]
RWB Press
freedom
index
[2]
ONI
political
filtering
[3]
ONI
social
filtering
[3][4]
ONI
security
filtering
[3]
ONI
tools
filtering
[3]

More
info


Notes
  Argentina SAmerica 10 5.00 h
  China Asia 31 25.10 per sub sel sub c i h official name is the People's Republic of China (PRC)
  Libya Africa 60 37.86 sel ne per ne i p h
Organisation of Eastern Caribbean States NAmerica 50.01 per includes Antigua and Barbuda, Dominica, ...
  Saint Kitts and Nevis NAmerica 61 See Organisation of Eastern Caribbean States
  Sri Lanka Asia 72 56.59 ne ne ne ne c h
  United Kingdom Europe 19 100.00 ne per ne nd c i p h
  United States NAmerica 26 15.92
  Uruguay SAmerica 26 15.92 per
  Zimbabwe Africa 80 38.12 ne ne ne ne i h


TwistedRail (talk) 05:10, 8 August 2020 (UTC)TwsitedRail (This table produces the first 4 references, I'm not sure how to remove it, the 5th reference is the actual reference. ) [5]Reply

  1. ^ Cite error: The named reference FHFreePressReport was invoked but never defined (see the help page).
  2. ^ Cite error: The named reference RWBPFIndex was invoked but never defined (see the help page).
  3. ^ a b c d Cite error: The named reference ONICountryProfiles was invoked but never defined (see the help page).
  4. ^ Cite error: The named reference ONIChildPornLegal was invoked but never defined (see the help page).
  5. ^ https://en.wikipedia.org/wiki/Template:Censorship-table