Ticket #432 (closed task: fixed)
Ed has buggered the PSE wiki homepage
Reported by: | ed | Owned by: | chris |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Mediawiki | Keywords: | |
Cc: | ed, chris | Estimated Number of Hours: | 0.0 |
Add Hours to Ticket: | 0 | Billable?: | yes |
Total Hours: | 0.8 |
Description
... somehow, using the rich text editor, now it's all code and text... tried to repair this but couldn't .. sorry!
Change History
comment:1 Changed 4 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.2
- Total Hours changed from 0.0 to 0.2
comment:2 follow-up: ↓ 3 Changed 4 years ago by ed
Great - thanks - I noted that the rich text editor wasn't showing any text...
comment:3 in reply to: ↑ 2 Changed 4 years ago by chris
- Status changed from new to closed
- Resolution set to fixed
Replying to ed:
Great - thanks - I noted that the rich text editor wasn't showing any text...
Sorry about that, it's fixed now see ticket:419#comment:3
comment:4 Changed 4 years ago by chris
- Cc ed, chris added
- Priority changed from major to critical
- Status changed from closed to reopened
- Resolution fixed deleted
This problem isn't solved, see ticket:455#comment:2 so reopening this ticket
comment:5 Changed 4 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.5
- Total Hours changed from 0.2 to 0.7
Action needed: Please test the new editor at https://wiki.dev.transitionnetwork.org/ and if it's OK I'll deploy it to the live server.
It's not as fancy as the WYSIWYG one, but it seems functional and stable.
The problem is with internal links in the form [[Special:Version]] -- these are the ones that are messed up with the editor, see this diff for an example.
I'm not going to try to fix this editor as "This extension is obsolete!
You are advised against using this extension on a live site." https://www.mediawiki.org/wiki/Extension:FCKeditor_%28Official%29 -- it has now been disabled on the live wiki.
So the other two options are:
- https://www.mediawiki.org/wiki/Extension:WYSIWYG (only available for 1.16.x and
1.17.x)
We are on 1.19 so the only option is the WikiEditor which is also the default editor for Wikipedia.
So, removing FCKeditor and enabling WikiEditor on the dev wiki:
cd /web/wiki.dev.transitionnetwork.org/www/extensions rm -rf FCKeditor/
Edit web/wiki.dev.transitionnetwork.org/www/LocalSettings.php and remove:
# http://www.mediawiki.org/wiki/Extension:FCKeditor_%28Official%29 #require_once( "$IP/extensions/FCKeditor/FCKeditor.php" );
There was already a WikiEditor extension directory so this was checked for updates:
cd /web/wiki.dev.transitionnetwork.org/www/extensions/WikiEditor svn up At revision 115780.
And it was enabled by adding the following to web/wiki.dev.transitionnetwork.org/www/LocalSettings.php:
require_once( "$IP/extensions/WikiEditor/WikiEditor.php" ); # Enables use of WikiEditor by default but still allow users to disable it in preferences $wgDefaultUserOptions['usebetatoolbar'] = 1; $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1; # Displays the Preview and Changes tabs $wgDefaultUserOptions['wikieditor-preview'] = 1; # Displays the Publish and Cancel buttons on the top right side $wgDefaultUserOptions['wikieditor-publish'] = 1; # Displays a navigation column (summary) on the right side $wgDefaultUserOptions['usenavigabletoc'] = 1;
comment:6 Changed 4 years ago by ed
So - basically, or in a nutshell as JK likes to say, our one option is that we use the wiki editor editor, which is on DEV?
I've tried this and will survive - please proceed with adding it to LIVE
thanks and sorry for the time delay
comment:7 Changed 4 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.1
- Status changed from reopened to closed
- Resolution set to fixed
- Total Hours changed from 0.7 to 0.8
I have enabled the WikiEditor? on https://wiki.transitionnetwork.org/
Looking at this diff:
https://wiki.transitionnetwork.org/index.php?title=Sharing_Engine&diff=403&oldid=366
It appears to me that you were trying to add this to the Design Documents section:
So I have rolled it back and added this link:
https://wiki.transitionnetwork.org/index.php?title=Sharing_Engine&diff=417&oldid=403
What I'm not clear about is if there is a problem with the rich text editor (I aviod them like the plague) -- there probably is a updated version of it available, see ticket:419#comment:2 -- I'll look at that now.