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

Andrew Garrett <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|PATCH_TO_REVIEW             |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #5 from Andrew Garrett <[email protected]> ---
I've looked into the data, and it seems that this error is a result of loading
references from other wikis with namespaces that don't exist on the viewing
wiki.

I did this by dumping the flow_wiki_ref table from flowdb, and then running the
following on each line of the output.

list( $ns, $title ) = preg_split( '/(?<=\d)\s+/', trim($ref), 2 ); $titleObj =
Title::makeTitleSafe( $ns, $title ); if ( ! $titleObj ) { var_dump( compact(
array( 'ns', 'title', 'ref' ) ) ); }

The output was fine on mediawikiwiki but on enwiki I got the following errors:

array(3) {
  ["ns"]=>
  string(3) "102"
  ["title"]=>
  string(11) "ConfirmEdit"
  ["ref"]=>
  string(16) "102    ConfirmEdit
"
}
array(3) {
  ["ns"]=>
  string(3) "102"
  ["title"]=>
  string(9) "Flow/Spam"
  ["ref"]=>
  string(14) "102    Flow/Spam
"
}
array(3) {
  ["ns"]=>
  string(3) "102"
  ["title"]=>
  string(9) "Translate"
  ["ref"]=>
  string(14) "102    Translate
"
}

*** This bug has been marked as a duplicate of bug 65915 ***

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

Reply via email to