Coder Social home page Coder Social logo

gcpedia's Introduction

Build Status

GCpedia

Master branch: Dockerfile and customizations off mediawiki 1.30 for GCwiki.

GCpedia branch: current GCpedia production

Both branches include Dockerfiles to build docker images as well as docker compose files for both docker-compose and docker stack/swarm

The main Dockerfile is alpine linux-based, an ubuntu-based one is also available.

Dev install

Easy way: clone the repo, run

docker-compose up

add an entry into your hosts file for

<host ip> wiki.local

and you now have a fully installed instance of the wiki (visual editor service extra, needs at bit more work) that you can reach at wiki.local!

This setup will also reflect any changes that you make to the code you just pulled without needing to do anything extra.

e2e reviews

Available here.

gcpedia's People

Contributors

aaronschulz avatar addshore avatar amire80 avatar anomiex avatar atdt avatar bawolff avatar bd808 avatar btongminh avatar catrope avatar floriansw avatar hartman avatar hashar avatar jdforrester avatar jeroendedauw avatar kaldari avatar krenair avatar krinkle avatar legoktm avatar mary-kate avatar matmarex avatar maxsem avatar nikerabbit avatar phanoix avatar plstand avatar reedy avatar siebrand avatar tgr avatar translatewiki avatar tstarling avatar umherirrender avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gcpedia's Issues

Delete orphan files from GCpedia

GCpedia ROT - deleted all orphan files from GCpedia.
GCpedia admins should be able to run the script to perform the ROT exercise themselves.

We need a script to clean up files that are not being used anywhere (orphan files).

  1. Bot will find files
  2. File will be added to the category "marked for deletion", which will add a message on the file page that the file is marked for deletion. The message will stay on the page for 2 weeks.
  3. The admin will go back and delete all the files (with one click!) that still have the category associated to it, and deleted the files permanently.

prevent users from more than one account

To prevent or reduce users setting up a second account, a feature that would warn a person that an account already exists with the same Firstname and Lastname and then show the email and ask if this is them. If so, they would immediately be able to change their email address.
If not, they would be able to create the account.

Too many old, dead accounts.
Saves us mainually looking for dual accounts.
People who are transitioning to Canada.ca are creating new accounts. This will smooth the process.

Subject text displays incorrectly (perhaps with pages with accents)

Hi @Phanoix got a message with the subject like this from gcpedia:

-----Original Message-----
From: GCpedia [mailto:[email protected]]
Sent: December 1, 2016 12:47 PM
To: Andrecheck, Philippe
Subject: =?UTF-8?Q?GCpedia=20page=20Objectif=202020/ChampionsF/mise=20=C3=A0=20jour=20d=C3=A9cembre=202016/Agence=20de=20d=C3=A9veloppement=20=C3=A9conomique=20du=20Canada=20pour=20les=20r=C3=A9gions=20du=20Qu=C3=A9bec=20has=20been=20changed=20by=20Frederique.R...

Dear Philippe.andrecheck,

The GCpedia page Objectif 2020/ChampionsF/mise à jour décembre
2016/Agence de développement économique du Canada pour les régions du
Québec has been changed on 1 December 2016 by Frederique.Roy-lavoie1, see
http://www.gcpedia.gc.ca/wiki/Objectif_2020/ChampionsF/mise_%C3%A0_jour_d%C3%A9cembre_2016/Agence_de_d%C3%A9veloppement_%C3%A9conomique_du_Canada_pour_les_r%C3%A9gions_du_Qu%C3%A9bec
for the current revision.

See
http://www.gcpedia.gc.ca/gcwiki/index.php?title=Objectif_2020/ChampionsF/mise_%C3%A0_jour_d%C3%A9cembre_2016/Agence_de_d%C3%A9veloppement_%C3%A9conomique_du_Canada_pour_les_r%C3%A9gions_du_Qu%C3%A9bec&diff=next&oldid=1713614
to view this change.

See
http://www.gcpedia.gc.ca/gcwiki/index.php?title=Objectif_2020/ChampionsF/mise_%C3%A0_jour_d%C3%A9cembre_2016/Agence_de_d%C3%A9veloppement_%C3%A9conomique_du_Canada_pour_les_r%C3%A9gions_du_Qu%C3%A9bec&diff=0&oldid=1713614
for all changes since your last visit.

Editor's summary: -

Contact the editor:
mail:
http://www.gcpedia.gc.ca/wiki/Special:EmailUser/Frederique.Roy-lavoie1
wiki: http://www.gcpedia.gc.ca/wiki/User:Frederique.Roy-lavoie1

There will be no other notifications in case of further activity unless
you visit this page. You could also reset the notification flags for all
your watched pages on your watchlist.

	 Your friendly GCpedia notification system

PhilAndrecheck reopened this issue about 9 hours ago
@Phanoix
Phanoix
commented about 9 hours ago
That one is from GCpedia, I'll have to take a look at it in a later sprint. Should be made into a separate issue in https://github.com/tbs-sct/gcpedia/issues.
Phanoix closed this issue about 9 hours ago
Comment on issue
Sign in to comment
or sign up to join this conversation on GitHub
Desktop version

gcpedia: A live stream side bar (almost like the live stream of the wire) for pages with a lot of recent activity or most frequently searched groups of the week.

New Feature Request
As a Super User, I need A live stream side bar (almost like the live stream of the wire) for pages with a lot of recent activity or most frequently searched groups of the week. because When onboarding users they usually say that they don't use the told because they don't know what to use them for. There is a lot of information on GCpedia and users don't know what to look for if they don't know what is out there. Having a stream of most popular pages and activity will bring content to the user, thus making the use of GCpedia more appealing

[email protected] - 2/17/2017 9:09:42

gcpedia: I'd like us to investigate the option of generating and rendering RSS feeds from GCpedia. More precisely, to install Extension:RSS and Extension:WikiArticleFeeds.

New Feature Request
As a Regular User, I need I'd like us to investigate the option of generating and rendering RSS feeds from GCpedia. More precisely, to install Extension:RSS and Extension:WikiArticleFeeds. because As My GCHR reviews its web/GCtools approach to better communicate with its 55,500+ users, we'd like to be able to communicate short/timely message (service interruption, important notifications) via RSS on GCintranet, GCconnex and GCpedia. While GCintranet and GCconnex supports RSS, GCpedia doesn't.
In an ideal world (you'll see i'm not too hard to please), I'd update the feed once and the message would go up via RSS on all our platforms. Extension:RSS would render the latest message in the feed. Extention:WikiArticleFeeds would allow us to turn our NewsaboutMyGCHR template into the feed. As we are not the publisher for GCintranet, we don't want to wait 48 hours to update our website with a service status message that is probably no longer relevant.

[email protected] - 1/25/2017 16:26:16

GCpedia to Fandom Wikia

PS: Fandom Wikia can't be seen on TBS machines.

Fandom Wikia is a really easy to edit Open Source Feature. It's really well made and looks fantastic. Here's a list of page that use this feature : http://fandom.wikia.com/explore

I've created an account to try it out and edit page myself. Their Visual Editor is wonderful and really user friendly. Everything you create in the Visual Editor can be toggle to Wiki code.

Visual Editor:
image

Wiki Code:
image

It has a huge list of templates and custom info boxs:
image

Adding an image to an info box is simple:
image

It has the Drag and drop feature:
image

I think that if we have this for our GCpedia, our new users would understand a lot more, because it's user friendly instead of programmer friendly. We would get less help desk tickets, because it's intuitive and our help page would be shorter and focused on experienced users.

Here the code:
http://dev.wikia.com/wiki/Fandom_Open_Source_Library

typo in the french notification message

In the notification for a page or a discussion in french it should read la page ou la discussion a été mise à jour ( so we should add the e after mis ) but if it is for a blog post there will be no need for the e.
notifications typo in french

Ability to archive pages

GCpedia ROT - mark pages as "archived" from the GCpedia Main name space.
GCpedia admins should be able to run a script to mark pages as Archived.

We need a script to mark pages as "Archived" and make them read only.
1.Bot will find pages marked "archived" (could use the template {{Archived}})
2.File will be added to the category "Archived" (within a new name space "Archived"), which will

  • add the word Archived to the page title
  • make the page read only
  • add a message on the page saying:
    EN: "Page Archived. Information identified as archived on GCpedia is for reference, research or recordkeeping purposes. It has not been altered or updated after the date of archiving. This page is an archived record and is no longer being kept up to date"
    FR: Page archivée. l'information archivée sur GCpédia pour des fins de consultation, de recherche ou de tenue de documents. Cette page n'a aucunement été modifiée ni mise à jour depuis sa date de mise en archive."

user asking if he can bulk upload documents on GCpedia

more precisely: he woudl like the html2wiki extension installed https://www.mediawiki.org/wiki/Extension:Html2Wiki
the question was forwarded to Ilia and here is the response we got : “The closest we have right now is the visual editor’s parser, which does wikitext->html and html->wikitext conversion, however the suggested extension seems to be an import tool for full html web pages with images, etc.
Export/import between mediawiki wikis is quite simple, but I guess what they have can’t export in wikitext, and HTML is the only other usable export format they have available for their pages.
I’ll have to look into it more but it looks like it’ll take a bit of work to get that html import extension set up, and we’ll have to test how well it handles bulk imports.”

Thanks,

Ability to login from any page on GCpedia

As a frequent user of GCpedia, I get logged out of GCpedia often and when I want to modify a page or simply login, I get redirected to the login page, then to the main page of GCpedia. I need to have a "quick login" from the login link that appears at the top right corner of the page (same as GCconnex) to that I can login and stay on the same page (or be redirected to the page I was prior to logging in.

In addition, the "quick login" should automatically sign in users using the Simplified Sign-on, when the user is already connected to GCconnex.

using having issues with IE resritcting the page from running JQuery Script

The information that the user provided is very technical and i am unable to rephrase it:
I’m having a small problem with Internet Explorer restricting my page from running jQuery script. It shows a small bottom prompt that ask to allow script or ActiveX controls.Also, I’m somehow using the GCpedia’s jQuery script, because I’m using internal source:

<script src="jquery-3.1.1.min.js"></script>

For a new user who never allowed that kind of prompt, the page doesn’t load on GCpedia.

My colleagues says it takes around 5 minutes to load. After that, they can refresh the page and it loads instantly. Also, it save the prompt into the cookie’s cash, so it doesn’t prompt anymore.

I have to do further tests, but I found that adding these before tag and after the tag make IE force accept the script. Thing is, GCpedia doesn’t recognise tag, or is it already implicated? It is called Mark Of The Web:

I’m not sure if this is allowed / illegal or if you knew any other alternative to allow jQuery script. Without jQuery, my filter script won’t work.

This is the site:
http://www.gcpedia.gc.ca/wiki/CodeTester2

Thanks a lot,

Search links to incorrect page when special characters displayed

This is probably more a search issue than a GCpedia issue, however, when a result show a URL in GCpedia that contains special characters, in this case É, it changes the URL (to the % or HTML equivalent value?) so that when the user clicks on the link, they're taken to a page that does not exist:
search

Delete pages marked for deletion

GCpedia ROT - deleted all pages marked for deletion in the GCpedia Main name space.
There are currently numerous pages marked for deletion in GCpedia (with template:delete and template:reduceROT).
GCpedia admins should be able to run the script to perform the ROT exercise themselves.

We need a script to clean up pages marked for deletion.
1.Bot will find pages
2.Page will be added to the category "marked for deletion", which will add a message on the page that the file is marked for deletion. The message will stay on the page for 2 weeks.
3.The admin will go back and delete all the pages (with one click!) that still have the category associated to it, and deleted the pages (not permanently, only normal delete).

gcpedia: One simplified button to switch languages (instead of two)

Enhancement of existing feature
As a Regular User, I need One simplified button to switch languages (instead of two) because Users don't know that one button switches the language of the sidebar and the other changes the language of the content. Since they are on 2 completely opposite sides of the webpage it gets confusing to click the language button and only have half of the page change

[email protected] - 6/16/2017 10:37:44

File Info/Download Page - Not User-friendly

When you click a link to a file that has been uploaded to GCpedia, you are brought to the file information page. This page is very daunting to non-power users, it has much information that most people wont' ever need. With all this text on this page, it is very difficult to figure out how to open the file, since the link text, if you haven't opened the file previously (which changes the link color) it is very hard to locate. There should be some visuals to guide the users to the file, perhaps a WET4 Alert, button or panel. Unnecessary language and file info could be moved to a new tab (or collapsed on page load, with the option to expand on click).

Training/Mentoring Request

Hi,

Not sure if this is appropriate to post here or not - feel free to delete if not.

I am very interested in helping fix issues and contribute to GCConnex. I have HTML, WET4, CSS and (basic) jQuery, PHP and Javascript skills.

I can easily make feature upgrades on single (static) pages, but have been having trouble figuring out how to make site-wide changes on GCConnex and GCpedia.

My Request:

Would someone be willing to train/mentor me on occasion? What I envision:
When you come on to GitHub to perform upgrades or to fix issues listed on GitHub, you would be able to share your screen with me via webex, and simply talk through the process of what changes you are making. Maybe even allow me to ask some questions.

I wouldn't want to be a hindrance, but I would find great value in being able to watch some of you work your magic.

If anyone would be willing to do this for me, please let me know. I'd be so happy to learn more about the inner workings of GCConnex, and intend to pay back to the community once I can figure out how to make my upgrades/features available site-wide.

Thanks for reading and taking the time to consider this!

Unable to proceed with Email address confirmation

A user was prompted to confirm his email address before being able to proceed with login in to GCpedia. After clicking on T&Cs (Step 1) and updating his E-mail (Step 2), the Proceed button is still disabled (unable to click on the Proceed button to continue.

gcepdia - confirm email address - proceed button not working

After refreshing the page (using the refresh arrow or CTRL+F5), the confirmation screen appeared.

We need to fix the Proceed button to ensure it's easy for users to confirm their email address, without having them guess they need to refresh the page.

Personal Sandbox Is Difficult to Find/Create

I've noticed that the GCpedia sandbox keeps losing the disclaimer text at the top. It's pretty useful, since it contains the link to let people get their own personal sandbox (and it's really not easy to do it any other way).

When people go in to edit the sandbox, they often just overwrite everything there (including the page disclaimer that says "do not delete this section"). I've gone in a bunch of times over the past 3 years and re-posted the disclaimer, but it's not ideal by any means. And whenever I send new GCpedians to the sandbox so they can get their own personal sandbox, the link is never there.

We should either protect the disclaimer section, or add a non-editable HTML section to the sandbox page template to make sure the disclaimer stays there. It would be ideal if it was part of the page template (ie, the menus, headers, or footers) so that when people click to edit the page, the disclaimer area doesn't show up in the "edit" section. And it's not so much the disclaimer that's important (since if it's not editable anymore, you wouldn't need the disclaimer), it's really the link to get your own sandbox that's important.

Another option would be to have a permanent link in the Left-hand menu called "My sandbox".

Notification email subject line displaying codes instead of accents

Received a notification from GCpedia about a page I am watching.
The page is in French and the URL on GCpedia uses accents.

The subject line of the email notification is:
=?UTF-8?Q?GCpedia=20page=20Objectif=202020/ChampionsF/mise=20=C3=A0=20jour=20d=C3=A9cembre=202016/Agence=20f=C3=A9d=C3=A9rale=20de=20d=C3=A9veloppement=20=C3=A9conomique=20pour=20le=20Sud=20de=20l=E2=80=99Ontario=20has=20been=20changed=20by=20Christy.B...

But the content is fine in English:
The GCpedia page Objectif 2020/ChampionsF/mise à jour décembre
2016/Agence fédérale de développement économique pour le Sud de
l’Ontario has been changed on 25 April 2017 by Christy.Baker1

...and in French:
The GCpedia page Objectif 2020/ChampionsF/mise à jour décembre
2016/Agence fédérale de développement économique pour le Sud de
l’Ontario has been changed on 25 April 2017 by Christy.Baker1

GCpedia header and menu not displaying properly when zooming-in

The GCpedia header and menu does not displaying properly when zooming-in.
Users with visual impairments need to be able to zoom in up to 200% when looking at web pages, and need to be able to use the header and menu options.

gcpedia zoom in view

When zooming past 200%, the site should transfer to mobile view.

Hide VisualEditor warning "IE 11 browser not officially supported"

Hi,

I don't use Internet Explorer myself but I've been told that when you use IE 11 to edit a page with the default VisualEditor mode, it shows a warning at the top right "You are using a browser which is not officially supported by this editor."

If IE 11 has shown to work well nonetheless, I propose that you hide this warning as this could affect user's confidence in the platform.

Thanks!

GCconnex to GCpedia

GCPED-33
From: [email protected]

Msg: When clicking GCConnex on the global nav bar on GCPedia, you are presented with the splash screen for GCConnex. If I’m on an English page on GCPedia, I would expect to see the English landing page on GCConnex.

Enhancement: Table of Content to Navbar

After 3 headings, a table of content is created. Wouldn't a generated top navigation bar be more web-friendly for one pagers?

Every h2 would turn into the main item of the navbars. Uppon the item of the navbar, the page will redirect as an anchor to the specific h2 in the page.

Here are quickly 3 different type of navbar that I had in mind:
navbar-05

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.