https://bugzilla.wikimedia.org/show_bug.cgi?id=48182

Andre Klapper <aklap...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |High
                 CC|                            |aklap...@wikimedia.org,
                   |                            |matma....@gmail.com
          Component|Apache configuration        |General/Unknown
            Summary|Korrekturlesen paralysed at |Several JavaScript
                   |de.wikisource, perhaps      |extensions (Custom tab,
                   |JavaScript does not         |CategoryTreeSection) on
                   |function                    |de.wikisource broke
                   |                            |recently

--- Comment #1 from Andre Klapper <aklap...@wikimedia.org> ---
Thanks for forwarding this to Bugzilla.

I wonder if this stuff is related to bug 47457 comment 64 / bug 47872 (custom
toolbar buttons - maybe not).

German discussion about these problems:
http://de.wikisource.org/wiki/Wikisource:Skriptorium#.5Ben.5D_Change_to_section_edit_links

(In reply to comment #0)
> Since about between 29.04. 19:30 and 30.04. 06:44 (CEST) several features on
> de.wikisource have been halted to function.

Initially I had the deployment of 1.22wmf3 in mind, but that only took place on
May 1st: https://www.mediawiki.org/wiki/MediaWiki_1.22/Roadmap

> 1) the Korrekturlesen Button (Tab) of PR1 (old proofread mechanism see below)
> projects has disappeared
> e.g. see the page http://de.wikisource.org/wiki/RE:Adsertor
> On the right of the tab Beobachten=Watch there should be and has been a tab
> Korrekturlesen.

Note: Link to reproduce is
http://de.wikisource.org/wiki/RE:Adsertor?useskin=monobook as the "Beobachten"
button is already a hack only for the Monobook skin (not shown in Vector skin).

> This tab has invoked
> http://de.wikisource.org/w/index.php?title=RE:Adsertor&action=edit&image=/
> wiki/Pauly-Wissowa_I,1,_0421.jpg
> The &image syntax is working (as demonstrable if you click the [423] page
> number), only the tab has disappeared.
> (At the moment the function of the Korrekturlesen Tab is temporalily imitated
> by a code that produces [Korrecturlesen] in the text itself, see
> http://de.wikisource.org/w/index.php?title=Vorlage:RE&diff=next&oldid=1795826
> )
> Speculation: if i am correct, the Korrekturlesen tab is created by JS code in
> http://de.wikisource.org/w/index.php?title=MediaWiki:Monobook.js

Correct. "Beobachten" is not even displayed in Vector (
http://de.wikisource.org/wiki/RE:Adsertor?useskin=vector ), so it really
requires Monobook ( http://de.wikisource.org/wiki/RE:Adsertor?useskin=monobook
) to get "Beobachten" displayed in Firefox.

Funny enough, when I copy that script, remove the "function ProofReadLink()"
line and run it locally as a Greasemonkey script, it DOES display the tab.

> 2) Ausklappen/Einklappen = fold out/in does not work on page
> http://de.wikisource.org/wiki/Kategorie:
> Paulys_Realencyclop%C3%A4die_der_classischen_Altertumswissenschaft
> but things are always folded out.
> Folding in/out works by code in 
> http://de.wikisource.org/w/index.php?title=Vorlage:
> TOC_Gro%C3%9Fe_Kategorie&action=edit

Looks like CategoryTreeSection is used here. Firefox JavaScript console says:

Timestamp: 05/07/2013 12:11:32 PM
Error: TypeError: hasClass is not a function
Source File:
http://bits.wikimedia.org/de.wikisource.org/load.php?debug=false&lang=de&modules=site&only=scripts&skin=monobook&*
Line: 6
which is
  function createCollapseButtons(){
  var tableIndex=0;
  var NavigationBoxes=new Object();
  var Tables=document.getElementsByTagName('table');
  for(var i=0;i<Tables.length;i++){
  if(hasClass(Tables[i],'collapsible'))

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to